From: Govindarajulu Varadarajan <_govind@gmx.com> Date: Fri, 15 Apr 2016 19:10:43 +0000 (+0530) Subject: enic: set netdev->vlan_features X-Git-Tag: v4.1.12-93~2^2~152 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=f78524bb95fd48c6c67711cd2b846ad267c4e2b3;p=users%2Fjedix%2Flinux-maple.git enic: set netdev->vlan_features 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 (cherry picked from commit e7600449bef0650ee7818be6de26955e81579d13) Signed-off-by: Brian Maly --- diff --git a/drivers/net/ethernet/cisco/enic/enic_main.c b/drivers/net/ethernet/cisco/enic/enic_main.c index b36643ef0593a..a7df18127bba5 100644 --- a/drivers/net/ethernet/cisco/enic/enic_main.c +++ b/drivers/net/ethernet/cisco/enic/enic_main.c @@ -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;