diff options
author | Jiri Pirko <jpirko@redhat.com> | 2011-07-21 05:24:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-21 22:47:55 +0200 |
commit | 18c49b91777c66265d640f8fb221039bdf46b2d3 (patch) | |
tree | f245cc6eb83402897abd60d22a9fac59fdbe973a /drivers/net/qlge/qlge.h | |
parent | mlx4: do vlan cleanup (diff) | |
download | linux-18c49b91777c66265d640f8fb221039bdf46b2d3.tar.xz 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.h | 3 |
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; |