aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/enic
diff options
context:
space:
mode:
authorScott Feldman <scofeldm@cisco.com>2009-09-03 13:02:29 -0400
committerDavid S. Miller <davem@davemloft.net>2009-09-03 23:19:19 -0400
commit9f63a7c6aef00a8eafa7521342099f199f68c575 (patch)
tree7c4b14d3faee0582c7924d1b96bffa304c024767 /drivers/net/enic
parent6ba9cdc09678d6925c205ef0b0bd374e31589ecf (diff)
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')
-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,
1968 break; 1968 break;
1969 } 1969 }
1970 1970
1971 netdev->features |= NETIF_F_HW_VLAN_TX | NETIF_F_HW_VLAN_RX; 1971 netdev->features |= NETIF_F_HW_VLAN_TX |
1972 NETIF_F_HW_VLAN_RX | NETIF_F_HW_VLAN_FILTER;
1972 if (ENIC_SETTING(enic, TXCSUM)) 1973 if (ENIC_SETTING(enic, TXCSUM))
1973 netdev->features |= NETIF_F_SG | NETIF_F_HW_CSUM; 1974 netdev->features |= NETIF_F_SG | NETIF_F_HW_CSUM;
1974 if (ENIC_SETTING(enic, TSO)) 1975 if (ENIC_SETTING(enic, TSO))