sfc: Allow for additional checksum offload features
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
7688483568
commit
c383b53729
@@ -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 */
|
||||
|
Reference in New Issue
Block a user