sfc: Enable all TSO features on VLANs
The TSO code already supports IPv6 on VLAN, so enable it. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
This commit is contained in:
Родитель
ab3cf6d0f3
Коммит
f82d9a67fb
|
@ -2457,7 +2457,7 @@ static int __devinit efx_pci_probe(struct pci_dev *pci_dev,
|
||||||
net_dev->features |= NETIF_F_TSO6;
|
net_dev->features |= NETIF_F_TSO6;
|
||||||
/* Mask for features that also apply to VLAN devices */
|
/* Mask for features that also apply to VLAN devices */
|
||||||
net_dev->vlan_features |= (NETIF_F_ALL_CSUM | NETIF_F_SG |
|
net_dev->vlan_features |= (NETIF_F_ALL_CSUM | NETIF_F_SG |
|
||||||
NETIF_F_HIGHDMA | NETIF_F_TSO);
|
NETIF_F_HIGHDMA | NETIF_F_ALL_TSO);
|
||||||
efx = netdev_priv(net_dev);
|
efx = netdev_priv(net_dev);
|
||||||
pci_set_drvdata(pci_dev, efx);
|
pci_set_drvdata(pci_dev, efx);
|
||||||
SET_NETDEV_DEV(net_dev, &pci_dev->dev);
|
SET_NETDEV_DEV(net_dev, &pci_dev->dev);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче