aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/net/lib/py/netns.py
diff options
context:
space:
mode:
authorSuraj Gupta <[email protected]>2025-05-21 18:16:08 +0000
committerPaolo Abeni <[email protected]>2025-05-27 06:18:51 +0000
commit32374234ab0101881e7d0c6a8ef7ebce566c46c9 (patch)
tree81a91510345ddee26f1d1172daf93ad7ddf60146 /tools/testing/selftests/net/lib/py/netns.py
parentnet/mlx5_core: Add error handling inmlx5_query_nic_vport_qkey_viol_cntr() (diff)
downloadkernel-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