[PATCH net 0/2] bnxt_en: Fix MAX_SKB_FRAGS > 30

From
Michael Chan <michael.chan@broadcom.com>
Date
2025-03-21 21:17:16
The driver was written with the assumption that MAX_SKB_FRAGS could
not exceed what the NIC can support.  About 2 years ago,
CONFIG_MAX_SKB_FRAGS was added.  The value can exceed what the NIC
can support and it may cause TX timeout.  These 2 patches will fix
the issue.

Michael Chan (2):
  bnxt_en: Mask the bd_cnt field in the TX BD properly
  bnxt_en: Linearize TX SKB if the fragments exceed the max

 drivers/net/ethernet/broadcom/bnxt/bnxt.c     | 15 +++++++++++++--
 drivers/net/ethernet/broadcom/bnxt/bnxt.h     |  6 ++++++
 drivers/net/ethernet/broadcom/bnxt/bnxt_xdp.c |  3 +--
 3 files changed, 20 insertions(+), 4 deletions(-)

-- 
2.30.1
Thread (12 messages) 12 messages, 5 authors, last reply 2025-05-05
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help