diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2008-09-01 07:46:54 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-09-03 09:53:45 -0400 |
commit | 28506563e22a3ec7cf86e5acd853af8e68fe148b (patch) | |
tree | 2524de6a4263a7f6fa9c10406fa29aa0f9b36a07 /drivers/net | |
parent | dc8cfa55da8c21e0b3290c29677a9d05c0a3e595 (diff) |
sfc: Set net_device::vlan_features appropriately
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/sfc/efx.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/sfc/efx.c b/drivers/net/sfc/efx.c index 7eb11d32debf..022dc366c362 100644 --- a/drivers/net/sfc/efx.c +++ b/drivers/net/sfc/efx.c | |||
@@ -2092,6 +2092,9 @@ static int __devinit efx_pci_probe(struct pci_dev *pci_dev, | |||
2092 | NETIF_F_HIGHDMA | NETIF_F_TSO); | 2092 | NETIF_F_HIGHDMA | NETIF_F_TSO); |
2093 | if (lro) | 2093 | if (lro) |
2094 | net_dev->features |= NETIF_F_LRO; | 2094 | net_dev->features |= NETIF_F_LRO; |
2095 | /* Mask for features that also apply to VLAN devices */ | ||
2096 | net_dev->vlan_features |= (NETIF_F_ALL_CSUM | NETIF_F_SG | | ||
2097 | NETIF_F_HIGHDMA); | ||
2095 | efx = netdev_priv(net_dev); | 2098 | efx = netdev_priv(net_dev); |
2096 | pci_set_drvdata(pci_dev, efx); | 2099 | pci_set_drvdata(pci_dev, efx); |
2097 | rc = efx_init_struct(efx, type, pci_dev, net_dev); | 2100 | rc = efx_init_struct(efx, type, pci_dev, net_dev); |