Commit 9f63a7c6 authored by Scott Feldman's avatar Scott Feldman Committed by David S. Miller

enic: bug fix: enable VLAN filtering

Bug fix: enable VLAN filtering
Signed-off-by: default avatarScott Feldman <scofeldm@cisco.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6ba9cdc0
...@@ -1968,7 +1968,8 @@ static int __devinit enic_probe(struct pci_dev *pdev, ...@@ -1968,7 +1968,8 @@ static int __devinit enic_probe(struct pci_dev *pdev,
break; break;
} }
netdev->features |= NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_RX; netdev->features |= NETIF_F_HW_VLAN_TX |
NETIF_F_HW_VLAN_RX | NETIF_F_HW_VLAN_FILTER;
if (ENIC_SETTING(enic, TXCSUM)) if (ENIC_SETTING(enic, TXCSUM))
netdev->features |= NETIF_F_SG | NETIF_F_HW_CSUM; netdev->features |= NETIF_F_SG | NETIF_F_HW_CSUM;
if (ENIC_SETTING(enic, TSO)) if (ENIC_SETTING(enic, TSO))
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment