aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMatt Carlson <mcarlson@broadcom.com>2011-05-19 08:12:47 -0400
committerDavid S. Miller <davem@davemloft.net>2011-05-19 18:00:00 -0400
commit108a6c1655f184c9abb7b5917838a8fb204361f5 (patch)
tree58d90d1ff077a08e4a572f635a94131be5888265 /drivers
parent1ff30a59f6d0c754e99442501a5145bdbbcfa6ea (diff)
tg3: Fix IPv6 TCP problems for 5719
Commit 4d163b75e979833979cc401ae433cb1d7743d57e, entitled "tg3: Fix 5719 A0 tx completion bug" turned off TSO to fix a hardware bug. In doing so, it accidentally turned off all IPv6 TCP checksum offloading too. This patch fixes the problem by reenabling the hardware bit that control both features. The TSO capability is still not exposed to the kernel. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Reviewed-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/tg3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
index 09f2c11db247..6c53e2c4aa7c 100644
--- a/drivers/net/tg3.c
+++ b/drivers/net/tg3.c
@@ -8303,7 +8303,7 @@ static int tg3_reset_hw(struct tg3 *tp, int reset_phy)
8303 tg3_flag(tp, HW_TSO_3)) 8303 tg3_flag(tp, HW_TSO_3))
8304 rdmac_mode |= RDMAC_MODE_IPV4_LSO_EN; 8304 rdmac_mode |= RDMAC_MODE_IPV4_LSO_EN;
8305 8305
8306 if (tg3_flag(tp, HW_TSO_3) || 8306 if (tg3_flag(tp, 57765_PLUS) ||
8307 GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5785 || 8307 GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5785 ||
8308 GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_57780) 8308 GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_57780)
8309 rdmac_mode |= RDMAC_MODE_IPV6_LSO_EN; 8309 rdmac_mode |= RDMAC_MODE_IPV6_LSO_EN;