aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/sfc/efx.c
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2009-11-29 15:11:02 +0000
committerDavid S. Miller <davem@davemloft.net>2009-11-29 17:23:54 -0800
commitc383b53729a9bbbceee132a85955d084ba00ca3a (patch)
treeaf6a309a5859a9e2e055e674650aa652dffc010c /drivers/net/sfc/efx.c
parentsfc: Extend MTD driver for use with new NICs (diff)
downloadlinux-dev-c383b53729a9bbbceee132a85955d084ba00ca3a.tar.xz
linux-dev-c383b53729a9bbbceee132a85955d084ba00ca3a.zip
sfc: Allow for additional checksum offload features
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/efx.c b/drivers/net/sfc/efx.c
index 4fe6d635ef3b..c49d364ebdbd 100644
--- a/drivers/net/sfc/efx.c
+++ b/drivers/net/sfc/efx.c
@@ -2179,7 +2179,7 @@ static int __devinit efx_pci_probe(struct pci_dev *pci_dev,
net_dev = alloc_etherdev(sizeof(*efx));
if (!net_dev)
return -ENOMEM;
- net_dev->features |= (NETIF_F_IP_CSUM | NETIF_F_SG |
+ net_dev->features |= (type->offload_features | NETIF_F_SG |
NETIF_F_HIGHDMA | NETIF_F_TSO |
NETIF_F_GRO);
/* Mask for features that also apply to VLAN devices */