]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
enic: set netdev->vlan_features
authorGovindarajulu Varadarajan <_govind@gmx.com>
Fri, 15 Apr 2016 19:10:43 +0000 (00:40 +0530)
committerChuck Anderson <chuck.anderson@oracle.com>
Mon, 6 Mar 2017 06:02:17 +0000 (22:02 -0800)
Orabug: 25535122

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>
(cherry picked from commit e7600449bef0650ee7818be6de26955e81579d13)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
drivers/net/ethernet/cisco/enic/enic_main.c

index b36643ef0593a1679dc0e0605711bb2846cfd58d..a7df18127bba5f7652e4ad6e12d7b1375c10c7b9 100644 (file)
@@ -2742,6 +2742,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;