diff options
author | 2022-06-15 11:59:29 -0500 | |
---|---|---|
committer | 2022-06-16 20:44:04 -0700 | |
commit | 81765eeac1b050bdbf360f00b757d15f25613b63 (patch) | |
tree | 8df50bff23357b3646795941fb0dd3b2070f14af /tools/testing/selftests/bpf/prog_tests | |
parent | net: ipa: call gsi_evt_ring_rx_update() unconditionally (diff) | |
download | linux-dev-81765eeac1b050bdbf360f00b757d15f25613b63.tar.xz linux-dev-81765eeac1b050bdbf360f00b757d15f25613b63.zip |
net: ipa: move more code out of gsi_channel_update()
Move the processing done for TX channels in gsi_channel_update()
into gsi_evt_ring_rx_update(). The called function is called for
both RX and TX channels, so rename it to be gsi_evt_ring_update().
As a result, this code no longer assumes events in an event ring are
associated with just one channel.
Because all events in a ring are handled in that function, we can
move the call to gsi_trans_move_complete() there, and can ring the
event ring doorbell there as well after all new events in the ring
have been processed.
Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests')
0 files changed, 0 insertions, 0 deletions