ixgbe: Make the bridge mode setting sticky
authorGreg Rose <gregory.v.rose@intel.com>
Thu, 8 Nov 2012 02:41:35 +0000 (02:41 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 28 Nov 2012 12:46:11 +0000 (04:46 -0800)
commit9b735984fba6d704fdf798b5831010980c1b8950
tree1ac30cc4204584fe746d7626b53445fd1e1d8f8a
parent2afaa00d2fa2ae1fa806ebd229bc3f56df8449d5
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>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c