aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/net/lib/py/env.py
diff options
context:
space:
mode:
authorMeghana Malladi <[email protected]>2025-05-06 11:05:46 +0000
committerJakub Kicinski <[email protected]>2025-05-08 01:19:12 +0000
commit1884fc85ae6ed0652fa324c66b1d89e25174e73b (patch)
treeee3359772c681746529856a50c5796acb198ffe9 /tools/testing/selftests/drivers/net/lib/py/env.py
parentnet: ti: icssg-prueth: Fix kernel panic during concurrent Tx queue access (diff)
downloadkernel-1884fc85ae6ed0652fa324c66b1d89e25174e73b.tar.gz
kernel-1884fc85ae6ed0652fa324c66b1d89e25174e73b.zip
net: ti: icssg-prueth: Report BQL before sending XDP packets
When sending out any kind of traffic, it is essential that the driver keeps reporting BQL of the number of bytes that have been sent so that BQL can track the amount of data in the queue and prevents it from overflowing. If BQL is not reported, the driver may continue sending packets even when the queue is full, leading to packet loss, congestion and decreased network performance. Currently this is missing in emac_xmit_xdp_frame() and this patch fixes it. Fixes: 62aa3246f462 ("net: ti: icssg-prueth: Add XDP support") Signed-off-by: Meghana Malladi <[email protected]> Reviewed-by: Jacob Keller <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/testing/selftests/drivers/net/lib/py/env.py')
0 files changed, 0 insertions, 0 deletions