ixgbe: Move bridge mode from flag to variable
authorDon Skidmore <donald.c.skidmore@intel.com>
Fri, 10 Apr 2015 05:03:22 +0000 (22:03 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 10 Apr 2015 05:04:22 +0000 (22:04 -0700)
commitaa2bacb60963870919ec5bc59ac69f0c31572d26
tree28f55aab6d93fc08642c2093135a783f30d23737
parent322d3ed1679047e4ed0c9997d84acf3cdd4f1d29
ixgbe: Move bridge mode from flag to variable

We are currently storing our BRIDGE_MODE as a bit in our adapter flags.
This patch will store the actual mode instead which minimizes obfuscation
and makes following patches for X550 simpler.

Signed-off-by: Don Skidmore <donald.c.skidmore@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@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