diff options
author | 2022-06-15 11:59:28 -0500 | |
---|---|---|
committer | 2022-06-16 20:44:04 -0700 | |
commit | 9f1c3ad65406b3ee9e03884bd1d8c6973a76b3eb (patch) | |
tree | 35de8cf665e756b6fd8fbbbe9a17a7b433615ab4 /tools/testing/selftests/bpf/prog_tests | |
parent | net: ipa: pass GSI pointer to gsi_evt_ring_rx_update() (diff) | |
download | linux-dev-9f1c3ad65406b3ee9e03884bd1d8c6973a76b3eb.tar.xz linux-dev-9f1c3ad65406b3ee9e03884bd1d8c6973a76b3eb.zip |
net: ipa: call gsi_evt_ring_rx_update() unconditionally
When an RX transaction completes, we update the trans->len field to
contain the actual number of bytes received. This is done in a loop
in gsi_evt_ring_rx_update().
Change that function so it checks the data transfer direction
recorded in the transaction, and only updates trans->len for RX
transfers.
Then call it unconditionally. This means events for TX endpoints
will run through the loop without otherwise doing anything, but
this will change shortly.
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