* [PATCH net] bnx2x: Fix bridged GSO for 57710/57711 chips
@ 2013-06-03 12:59 Yuval Mintz
2013-06-05 0:17 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: Yuval Mintz @ 2013-06-03 12:59 UTC (permalink / raw)
To: davem, netdev; +Cc: Yuval Mintz, Ariel Elior, Eilon Greenstein
It was recently found out that GSO on 57710/57711 was broken, due to packets
being sent without a valid IP checksum.
Commit 057cf65 "bnx2x: Fix GSO for 57710/57711 chips" partially fixed this
issue, but failed to set the correct IP checksum when receiving GSO packets
via bridges, as such packets enter bnx2x_tx_split() and the FW flags needed
to calculate IP checksum were erroneously set in the incorrect
buffer descriptor.
This patch re-enables GSO in said scenario for 57710/57711 chips.
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
---
Hi Dave,
Please consider applying this to `net'.
Thanks,
Yuval
---
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
index be59ec4..c937260 100644
--- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
+++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
@@ -3818,8 +3818,7 @@ netdev_tx_t bnx2x_start_xmit(struct sk_buff *skb, struct net_device *dev)
bnx2x_set_pbd_gso_e2(skb, &pbd_e2_parsing_data,
xmit_type);
else
- bnx2x_set_pbd_gso(skb, pbd_e1x, tx_start_bd,
- xmit_type);
+ bnx2x_set_pbd_gso(skb, pbd_e1x, first_bd, xmit_type);
}
/* Set the PBD's parsing_data field if not zero
--
1.8.1.227.g44fe835
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net] bnx2x: Fix bridged GSO for 57710/57711 chips
2013-06-03 12:59 [PATCH net] bnx2x: Fix bridged GSO for 57710/57711 chips Yuval Mintz
@ 2013-06-05 0:17 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2013-06-05 0:17 UTC (permalink / raw)
To: yuvalmin; +Cc: netdev, ariele, eilong
From: "Yuval Mintz" <yuvalmin@broadcom.com>
Date: Mon, 3 Jun 2013 15:59:57 +0300
> It was recently found out that GSO on 57710/57711 was broken, due to packets
> being sent without a valid IP checksum.
>
> Commit 057cf65 "bnx2x: Fix GSO for 57710/57711 chips" partially fixed this
> issue, but failed to set the correct IP checksum when receiving GSO packets
> via bridges, as such packets enter bnx2x_tx_split() and the FW flags needed
> to calculate IP checksum were erroneously set in the incorrect
> buffer descriptor.
>
> This patch re-enables GSO in said scenario for 57710/57711 chips.
>
> Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
> Signed-off-by: Ariel Elior <ariele@broadcom.com>
> Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Applied, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-06-05 0:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-03 12:59 [PATCH net] bnx2x: Fix bridged GSO for 57710/57711 chips Yuval Mintz
2013-06-05 0:17 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).