diff options
-rw-r--r-- | drivers/net/tg3.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index b0de6b2754cc..7deebd74223e 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c | |||
@@ -10881,11 +10881,12 @@ static int __devinit tg3_init_one(struct pci_dev *pdev, | |||
10881 | tp->tg3_flags2 |= TG3_FLG2_TSO_CAPABLE; | 10881 | tp->tg3_flags2 |= TG3_FLG2_TSO_CAPABLE; |
10882 | } | 10882 | } |
10883 | 10883 | ||
10884 | /* TSO is off by default, user can enable using ethtool. */ | 10884 | /* TSO is on by default on chips that support hardware TSO. |
10885 | #if 0 | 10885 | * Firmware TSO on older chips gives lower performance, so it |
10886 | if (tp->tg3_flags2 & TG3_FLG2_TSO_CAPABLE) | 10886 | * is off by default, but can be enabled using ethtool. |
10887 | */ | ||
10888 | if (tp->tg3_flags2 & TG3_FLG2_HW_TSO) | ||
10887 | dev->features |= NETIF_F_TSO; | 10889 | dev->features |= NETIF_F_TSO; |
10888 | #endif | ||
10889 | 10890 | ||
10890 | #endif | 10891 | #endif |
10891 | 10892 | ||