summaryrefslogtreecommitdiffstats
path: root/drivers/net/enic/enic_main.c
diff options
context:
space:
mode:
authorScott Feldman <scofeldm@cisco.com>2009-09-03 19:02:29 +0200
committerDavid S. Miller <davem@davemloft.net>2009-09-04 05:19:19 +0200
commit9f63a7c6aef00a8eafa7521342099f199f68c575 (patch)
tree7c4b14d3faee0582c7924d1b96bffa304c024767 /drivers/net/enic/enic_main.c
parentenic: provision for multiple Rx/Tx queues; prepare for RSS support (diff)
downloadlinux-9f63a7c6aef00a8eafa7521342099f199f68c575.tar.xz
linux-9f63a7c6aef00a8eafa7521342099f199f68c575.zip
enic: bug fix: enable VLAN filtering
Bug fix: enable VLAN filtering Signed-off-by: Scott Feldman <scofeldm@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/enic/enic_main.c')
-rw-r--r--drivers/net/enic/enic_main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/enic/enic_main.c b/drivers/net/enic/enic_main.c
index e01067e727b2..e0bf224d7f9b 100644
--- a/drivers/net/enic/enic_main.c
+++ b/drivers/net/enic/enic_main.c
@@ -1968,7 +1968,8 @@ static int __devinit enic_probe(struct pci_dev *pdev,
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))
netdev->features |= NETIF_F_SG | NETIF_F_HW_CSUM;
if (ENIC_SETTING(enic, TSO))