enic: set netdev->vlan_features
authorGovindarajulu Varadarajan <_govind@gmx.com>
Fri, 15 Apr 2016 19:10:43 +0000 (00:40 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Apr 2016 18:53:21 +0000 (14:53 -0400)
Driver sets vlan_feature to netdev->features as hardware supports all of
them on vlan interface.

Signed-off-by: Govindarajulu Varadarajan <_govind@gmx.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cisco/enic/enic_main.c

index b2182d3ba3cc464d1504856e7d3d36712e9c65d5..f15560a0671804df24c7ac2ae61cb6b9b3fd5f01 100644 (file)
@@ -2740,6 +2740,7 @@ static int enic_probe(struct pci_dev *pdev, const struct pci_device_id *ent)
                netdev->hw_features |= NETIF_F_RXCSUM;
 
        netdev->features |= netdev->hw_features;
+       netdev->vlan_features |= netdev->features;
 
 #ifdef CONFIG_RFS_ACCEL
        netdev->hw_features |= NETIF_F_NTUPLE;