summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.h
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2014-04-05 02:35:52 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2014-04-22 23:07:11 -0700
commite5776620a7b7b2aacbc60ff1cdbeca6814ec8411 (patch)
treea77c54df3d1f9e45b803f100a297f9cb866e1145 /drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.h
parentfd0d192be6e814495aec91f357b5801afc3b6262 (diff)
downloadop-kernel-dev-e5776620a7b7b2aacbc60ff1cdbeca6814ec8411.zip
op-kernel-dev-e5776620a7b7b2aacbc60ff1cdbeca6814ec8411.tar.gz
ixgbe: convert low_water into an array
Since fc.high_water is an array, we should treat low_water as an array also. This allows the algorithm to output different values for different TCs, and then we can distinguish between them. In addition, this patch changes one path that didn't honor the return value from ixgbe_setup_fc. Reported-by: Aaron Salter <aaron.k.salter@intel.com> Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.h')
-rw-r--r--drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.h b/drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.h
index b16cc78..0772b77 100644
--- a/drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.h
+++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.h
@@ -81,9 +81,7 @@ struct ixgbe_fcoe {
void *extra_ddp_buffer;
dma_addr_t extra_ddp_buffer_dma;
unsigned long mode;
-#ifdef CONFIG_IXGBE_DCB
u8 up;
-#endif
};
#endif /* _IXGBE_FCOE_H */
OpenPOWER on IntegriCloud