diff options
author | Meghana Malladi <m-malladi@ti.com> | 2025-05-06 16:35:46 +0530 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-05-07 18:19:12 -0700 |
commit | 1884fc85ae6ed0652fa324c66b1d89e25174e73b (patch) | |
tree | ee3359772c681746529856a50c5796acb198ffe9 /drivers/net/dsa/bcm_sf2.c | |
parent | 8b3fae3e2376b70b7a76005263bc34d034b9c7bf (diff) |
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 <m-malladi@ti.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Link: https://patch.msgid.link/20250506110546.4065715-4-m-malladi@ti.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/dsa/bcm_sf2.c')
0 files changed, 0 insertions, 0 deletions