]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
tg3: Work around HW/FW limitations with vlan encapsulated frames
authorVlad Yasevich <vyasevich@gmail.com>
Thu, 18 Sep 2014 14:31:17 +0000 (10:31 -0400)
committerJiri Slaby <jslaby@suse.cz>
Fri, 17 Oct 2014 07:43:15 +0000 (09:43 +0200)
commit1042464ee3e7c833b24859a62943d351ccf66cad
tree6c447ecde5a1c9e73c2900f2bf0e77608f67df00
parent77bd83323c2423d2f42bacc2140923860e269af9
tg3: Work around HW/FW limitations with vlan encapsulated frames

[ Upstream commit 476c18850c6cbaa3f2bb661ae9710645081563b9 ]

TG3 appears to have an issue performing TSO and checksum offloading
correclty when the frame has been vlan encapsulated (non-accelrated).
In these cases, tcp checksum is not correctly updated.

This patch attempts to work around this issue.  After the patch,
802.1ad vlans start working correctly over tg3 devices.

CC: Prashant Sreedharan <prashant@broadcom.com>
CC: Michael Chan <mchan@broadcom.com>
Signed-off-by: Vladislav Yasevich <vyasevic@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/net/ethernet/broadcom/tg3.c