]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: Fix bridged GSO for 57710/57711 chips
authorYuval Mintz <yuvalmin@broadcom.com>
Mon, 3 Jun 2013 02:59:57 +0000 (02:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Jun 2013 00:17:08 +0000 (17:17 -0700)
commit17df1cd0c9597ca8ebae9181c8ba4c8c49acebb9
treebc712e05381747fd87090c373c34edde03f351e8
parentbfa817e7204d80810c14cf8f01dd96fe02947e51
bnx2x: Fix bridged GSO for 57710/57711 chips

It was recently found out that GSO on 57710/57711 was broken, due to packets
being sent without a valid IP checksum.

Commit f4e02fd "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>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c