summaryrefslogtreecommitdiffstats
path: root/drivers/net/qlge/qlge.h
diff options
context:
space:
mode:
authorJiri Pirko <jpirko@redhat.com>2011-07-21 03:24:11 +0000
committerDavid S. Miller <davem@davemloft.net>2011-07-21 13:47:55 -0700
commit18c49b91777c66265d640f8fb221039bdf46b2d3 (patch)
treef245cc6eb83402897abd60d22a9fac59fdbe973a /drivers/net/qlge/qlge.h
parentf1b553fbe73bfad38f41269d1c7a7ce3176d9539 (diff)
downloadlinux-18c49b91777c66265d640f8fb221039bdf46b2d3.tar.gz
linux-18c49b91777c66265d640f8fb221039bdf46b2d3.tar.bz2
linux-18c49b91777c66265d640f8fb221039bdf46b2d3.zip
qlge: do vlan cleanup
- unify vlan and nonvlan path - kill qdev->vlgrp and qlge_vlan_rx_register - allow to turn on/off rx/tx vlan accel via ethtool (set_features) Signed-off-by: Jiri Pirko <jpirko@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlge/qlge.h')
-rw-r--r--drivers/net/qlge/qlge.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/qlge/qlge.h b/drivers/net/qlge/qlge.h
index 794252c0aedd..8731f79c9efc 100644
--- a/drivers/net/qlge/qlge.h
+++ b/drivers/net/qlge/qlge.h
@@ -11,6 +11,7 @@
#include <linux/pci.h>
#include <linux/netdevice.h>
#include <linux/rtnetlink.h>
+#include <linux/if_vlan.h>
/*
* General definitions...
@@ -2052,7 +2053,7 @@ struct ql_adapter {
struct nic_stats nic_stats;
- struct vlan_group *vlgrp;
+ unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
/* PCI Configuration information for this device */
struct pci_dev *pdev;