Skip to content

Commit 73c1ea9

Browse files
Vasanthy Kolluridavem330
authored andcommitted
enic: Do not advertise NETIF_F_HW_VLAN_RX
Hardware does not honor vlan filters from the host and so the driver does not need to advertise this. Signed-off-by: Scott Feldman <[email protected]> Signed-off-by: Vasanthy Kolluri <[email protected]> Signed-off-by: Roopa Prabhu <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent b6d24eb commit 73c1ea9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

drivers/net/enic/enic_main.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2058,8 +2058,7 @@ static int __devinit enic_probe(struct pci_dev *pdev,
20582058
netdev->watchdog_timeo = 2 * HZ;
20592059
netdev->ethtool_ops = &enic_ethtool_ops;
20602060

2061-
netdev->features |= NETIF_F_HW_VLAN_TX |
2062-
NETIF_F_HW_VLAN_RX | NETIF_F_HW_VLAN_FILTER;
2061+
netdev->features |= NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_RX;
20632062
if (ENIC_SETTING(enic, TXCSUM))
20642063
netdev->features |= NETIF_F_SG | NETIF_F_HW_CSUM;
20652064
if (ENIC_SETTING(enic, TSO))

0 commit comments

Comments
 (0)