diff options
| author | Lorenzo Bianconi <[email protected]> | 2025-05-15 06:33:06 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-05-16 23:35:45 +0000 |
| commit | d6d2b0e1538d5c381ec0ca95afaf772c096ea5dc (patch) | |
| tree | e027645cbcc4f0d7c78e84a341645a93ed055141 /tools/testing/selftests/net/lib/py/netns.py | |
| parent | vmxnet3: update MTU after device quiesce (diff) | |
| download | kernel-d6d2b0e1538d5c381ec0ca95afaf772c096ea5dc.tar.gz kernel-d6d2b0e1538d5c381ec0ca95afaf772c096ea5dc.zip | |
net: airoha: Fix page recycling in airoha_qdma_rx_process()
Do not recycle the page twice in airoha_qdma_rx_process routine in case
of error. Just run dev_kfree_skb() if the skb has been allocated and marked
for recycling. Run page_pool_put_full_page() directly if the skb has not
been allocated yet.
Moreover, rely on DMA address from queue entry element instead of reading
it from the DMA descriptor for DMA syncing in airoha_qdma_rx_process().
Fixes: e12182ddb6e71 ("net: airoha: Enable Rx Scatter-Gather")
Signed-off-by: Lorenzo Bianconi <[email protected]>
Link: https://patch.msgid.link/20250515-airoha-fix-rx-process-error-condition-v2-1-657e92c894b9@kernel.org
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/netns.py')
0 files changed, 0 insertions, 0 deletions
