[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250321211639.3812992-1-michael.chan@broadcom.com>
Date: Fri, 21 Mar 2025 14:16:37 -0700
From: Michael Chan <michael.chan@...adcom.com>
To: davem@...emloft.net
Cc: netdev@...r.kernel.org,
edumazet@...gle.com,
kuba@...nel.org,
pabeni@...hat.com,
andrew+netdev@...n.ch,
pavan.chebbi@...adcom.com,
andrew.gospodarek@...adcom.com,
osk@...gle.com
Subject: [PATCH net 0/2] bnxt_en: Fix MAX_SKB_FRAGS > 30
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
Powered by blists - more mailing lists