summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/ixgbe/ixgbe.h
diff options
context:
space:
mode:
authorGreg Rose <gregory.v.rose@intel.com>2012-11-08 02:41:35 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2012-11-28 04:46:11 -0800
commit9b735984fba6d704fdf798b5831010980c1b8950 (patch)
tree1ac30cc4204584fe746d7626b53445fd1e1d8f8a /drivers/net/ethernet/intel/ixgbe/ixgbe.h
parent2afaa00d2fa2ae1fa806ebd229bc3f56df8449d5 (diff)
downloadlinux-stable-9b735984fba6d704fdf798b5831010980c1b8950.tar.gz
linux-stable-9b735984fba6d704fdf798b5831010980c1b8950.tar.bz2
linux-stable-9b735984fba6d704fdf798b5831010980c1b8950.zip
ixgbe: Make the bridge mode setting sticky
The internal bridge mode setting needs to be sticky so that it can be configured correctly after a device reset. This change is required now that the driver supports setting the bridge mode to VEB or VEPA. Signed-off-by: Greg Rose <gregory.v.rose@intel.com> Acked-by: John Fastabend <john.r.fastabend@intel.com> Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com> Tested-by: Sibai Li <Sibai.li@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe.h')
-rw-r--r--drivers/net/ethernet/intel/ixgbe/ixgbe.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe.h b/drivers/net/ethernet/intel/ixgbe/ixgbe.h
index 7ff4c4fdcb0d..8e786764c60e 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe.h
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe.h
@@ -483,6 +483,7 @@ struct ixgbe_adapter {
#define IXGBE_FLAG2_RSS_FIELD_IPV6_UDP (u32)(1 << 9)
#define IXGBE_FLAG2_PTP_ENABLED (u32)(1 << 10)
#define IXGBE_FLAG2_PTP_PPS_ENABLED (u32)(1 << 11)
+#define IXGBE_FLAG2_BRIDGE_MODE_VEB (u32)(1 << 12)
/* Tx fast path data */
int num_tx_queues;