diff options
| author | Suraj Gupta <[email protected]> | 2025-05-21 18:16:08 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2025-05-27 06:18:51 +0000 |
| commit | 32374234ab0101881e7d0c6a8ef7ebce566c46c9 (patch) | |
| tree | 81a91510345ddee26f1d1172daf93ad7ddf60146 /tools/testing/selftests/net/lib/py/netns.py | |
| parent | net/mlx5_core: Add error handling inmlx5_query_nic_vport_qkey_viol_cntr() (diff) | |
| download | kernel-32374234ab0101881e7d0c6a8ef7ebce566c46c9.tar.gz kernel-32374234ab0101881e7d0c6a8ef7ebce566c46c9.zip | |
net: xilinx: axienet: Fix Tx skb circular buffer occupancy check in dmaengine xmit
In Dmaengine flow, driver maintains struct skbuf_dma_descriptor rings each
element of which corresponds to a skb. In Tx datapath, compare available
space in skb ring with number of skbs instead of skb fragments.
Replace x * (MAX_SKB_FRAGS) in netif_txq_completed_wake() and
netif_txq_maybe_stop() with x * (1 skb) to fix the comparison.
Fixes: 6a91b846af85 ("net: axienet: Introduce dmaengine support")
Signed-off-by: Suraj Gupta <[email protected]>
Reviewed-by: Sean Anderson <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/netns.py')
0 files changed, 0 insertions, 0 deletions
