diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-11-29 10:16:05 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-29 20:23:57 -0500 |
commit | 738a8f4b0c0e6ce7260e1514d41c764f334982e4 (patch) | |
tree | ef24785fe6f168be25a97e00f7619eb7ec9e0d89 /drivers/net/sfc/efx.c | |
parent | 8880f4ec21e668dcab3c6d387524a887e5bcbf73 (diff) |
sfc: Implement TSO for TCP/IPv6
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/efx.c')
-rw-r--r-- | drivers/net/sfc/efx.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/sfc/efx.c b/drivers/net/sfc/efx.c index 4b5c786f0e2c..3c0d6bea126e 100644 --- a/drivers/net/sfc/efx.c +++ b/drivers/net/sfc/efx.c | |||
@@ -2208,6 +2208,8 @@ static int __devinit efx_pci_probe(struct pci_dev *pci_dev, | |||
2208 | net_dev->features |= (type->offload_features | NETIF_F_SG | | 2208 | net_dev->features |= (type->offload_features | NETIF_F_SG | |
2209 | NETIF_F_HIGHDMA | NETIF_F_TSO | | 2209 | NETIF_F_HIGHDMA | NETIF_F_TSO | |
2210 | NETIF_F_GRO); | 2210 | NETIF_F_GRO); |
2211 | if (type->offload_features & NETIF_F_V6_CSUM) | ||
2212 | net_dev->features |= NETIF_F_TSO6; | ||
2211 | /* Mask for features that also apply to VLAN devices */ | 2213 | /* Mask for features that also apply to VLAN devices */ |
2212 | net_dev->vlan_features |= (NETIF_F_ALL_CSUM | NETIF_F_SG | | 2214 | net_dev->vlan_features |= (NETIF_F_ALL_CSUM | NETIF_F_SG | |
2213 | NETIF_F_HIGHDMA | NETIF_F_TSO); | 2215 | NETIF_F_HIGHDMA | NETIF_F_TSO); |