mirror of
https://github.com/torvalds/linux.git
synced 2024-12-13 06:32:50 +00:00
enic: set netdev->vlan_features
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>
This commit is contained in:
parent
84bf9cefb1
commit
e7600449be
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user