Skip to contentSkip to conversation

bnxt_en: Add missing NETIF_F_TSO_ECN feature flag

PATCH Applied Michael Chan 2 participants 2 messages Aug 14 – Aug 17

Subsystems (3)
lore
Share & tools
lore

Michael Chan

author maintainer
#0 lore raw

PATCH 1/1 bnxt_en: Add missing NETIF_F_TSO_ECN feature flag

All bnxt devices support TSO packets with RFC 3168 ECN flags set. The CWR flag is replicated only on the first segment.

---
 drivers/net/ethernet/broadcom/bnxt/bnxt.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/net/ethernet/broadcom/bnxt/bnxt.c +2 -2
index 1e4944f3e606..dcc8c802951a 100644
@@ -17102,7 +17102,7 @@ static int bnxt_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
 	}
 
 	dev->hw_features = NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | NETIF_F_SG |
-			   NETIF_F_TSO | NETIF_F_TSO6 |
+			   NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_TSO_ECN |
 			   NETIF_F_GSO_UDP_TUNNEL | NETIF_F_GSO_GRE |
 			   NETIF_F_GSO_IPXIP4 |
 			   NETIF_F_GSO_UDP_TUNNEL_CSUM | NETIF_F_GSO_GRE_CSUM |
@@ -17115,7 +17115,7 @@ static int bnxt_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
 
 	dev->hw_enc_features =
 			NETIF_F_IP_CSUM | NETIF_F_IPV6_CSUM | NETIF_F_SG |
-			NETIF_F_TSO | NETIF_F_TSO6 |
+			NETIF_F_TSO | NETIF_F_TSO6 | NETIF_F_TSO_ECN |
 			NETIF_F_GSO_UDP_TUNNEL | NETIF_F_GSO_GRE |
 			NETIF_F_GSO_UDP_TUNNEL_CSUM | NETIF_F_GSO_GRE_CSUM |
 			NETIF_F_GSO_IPXIP4 | NETIF_F_GSO_PARTIAL;
Signature · 1 line
2.51.0
maintainer Applied
#1 lore raw
Quoted 2 lines · On Fri, 14 Aug 2026 14:56:55 -0700 Michael Chan wrote:

All bnxt devices support TSO packets with RFC 3168 ECN flags set. The CWR flag is replicated only on the first segment.

Applied, thanks!

Signature · 1 line
pw-bot: accept