bnx2x: GSO implies CSUM offload
Subsystems (2)
PATCH 1/4 bnx2x: GSO implies CSUM offload
Making sure that whenever the FW/HW is configured for GSO, it is also configured to CSUM offload
Signed-off-by Eilon Greenstein <[email protected]>
--- drivers/net/bnx2x_main.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
drivers/net/bnx2x_main.c +2 -2
@@ -11121,10 +11121,10 @@ static inline u32 bnx2x_xmit_type(struct bnx2x *bp, struct sk_buff *skb) }if (skb_shinfo (skb)->gso_type &SKB_GSO_TCPV4 ) - rc |=XMIT_GSO_V4 ; + rc |= (XMIT_GSO_V4 |XMIT_CSUM_V4 |XMIT_CSUM_TCP );else if (skb_shinfo (skb)->gso_type &SKB_GSO_TCPV6 ) - rc |=XMIT_GSO_V6 ; + rc |= (XMIT_GSO_V6 |XMIT_CSUM_TCP |XMIT_CSUM_V6 );return rc; }
Signature · 1 line
1.5.4.3
From: "Eilon Greenstein" <[email protected]>
Date: Mon, 9 Nov 2009 18:09:22 +0200
Quoted 4 lines
Making sure that whenever the FW/HW is configured for GSO, it is also configured to CSUM offload
Signed-off-by Eilon Greenstein <[email protected]>
Applied.