sfc: Enable all TSO features on VLANs
authorBen Hutchings <bhutchings@solarflare.com>
Tue, 5 Apr 2011 12:36:09 +0000 (13:36 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Tue, 5 Apr 2011 12:37:02 +0000 (13:37 +0100)
The TSO code already supports IPv6 on VLAN, so enable it.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
drivers/net/sfc/efx.c

index d890679..542f32d 100644 (file)
@@ -2457,7 +2457,7 @@ static int __devinit efx_pci_probe(struct pci_dev *pci_dev,
                net_dev->features |= NETIF_F_TSO6;
        /* Mask for features that also apply to VLAN devices */
        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);
        pci_set_drvdata(pci_dev, efx);
        SET_NETDEV_DEV(net_dev, &pci_dev->dev);