aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe.h
diff options
context:
space:
mode:
authorJesse Gross <jesse@nicira.com>2010-10-20 09:56:10 -0400
committerDavid S. Miller <davem@davemloft.net>2010-10-21 04:26:55 -0400
commitf62bbb5e62c6e4a91fb222d22bc46e8d4d7e59ef (patch)
treed85a5bfb7daf205859da588d50cf2d04b6c011fc /drivers/net/ixgbe/ixgbe.h
parent7d0fd2117e3d0550d7987b3aff2bfbc0244cf7c6 (diff)
ixgbe: Update ixgbe to use new vlan accleration.
Make the ixgbe driver use the new vlan accleration model. Signed-off-by: Jesse Gross <jesse@nicira.com> CC: Peter Waskiewicz <peter.p.waskiewicz.jr@intel.com> CC: Emil Tantilov <emil.s.tantilov@intel.com> CC: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ixgbe/ixgbe.h')
-rw-r--r--drivers/net/ixgbe/ixgbe.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe.h b/drivers/net/ixgbe/ixgbe.h
index a8c47b01a6fa..5e38de79fbbd 100644
--- a/drivers/net/ixgbe/ixgbe.h
+++ b/drivers/net/ixgbe/ixgbe.h
@@ -28,11 +28,13 @@
28#ifndef _IXGBE_H_ 28#ifndef _IXGBE_H_
29#define _IXGBE_H_ 29#define _IXGBE_H_
30 30
31#include <linux/bitops.h>
31#include <linux/types.h> 32#include <linux/types.h>
32#include <linux/pci.h> 33#include <linux/pci.h>
33#include <linux/netdevice.h> 34#include <linux/netdevice.h>
34#include <linux/cpumask.h> 35#include <linux/cpumask.h>
35#include <linux/aer.h> 36#include <linux/aer.h>
37#include <linux/if_vlan.h>
36 38
37#include "ixgbe_type.h" 39#include "ixgbe_type.h"
38#include "ixgbe_common.h" 40#include "ixgbe_common.h"
@@ -287,7 +289,7 @@ struct ixgbe_q_vector {
287/* board specific private data structure */ 289/* board specific private data structure */
288struct ixgbe_adapter { 290struct ixgbe_adapter {
289 struct timer_list watchdog_timer; 291 struct timer_list watchdog_timer;
290 struct vlan_group *vlgrp; 292 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)];
291 u16 bd_number; 293 u16 bd_number;
292 struct work_struct reset_task; 294 struct work_struct reset_task;
293 struct ixgbe_q_vector *q_vector[MAX_MSIX_Q_VECTORS]; 295 struct ixgbe_q_vector *q_vector[MAX_MSIX_Q_VECTORS];