diff options
author | 2013-04-18 04:23:52 +0000 | |
---|---|---|
committer | 2013-05-21 03:14:21 -0700 | |
commit | e8915bebb4b33c63d6e08161edc3fbda32a840a7 (patch) | |
tree | c7ba40149e72007f984ba8f85b2a15c270deebd6 /drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.h | |
parent | igb: Removed unused i2c function (diff) | |
download | linux-e8915bebb4b33c63d6e08161edc3fbda32a840a7.tar.gz linux-e8915bebb4b33c63d6e08161edc3fbda32a840a7.tar.bz2 linux-e8915bebb4b33c63d6e08161edc3fbda32a840a7.zip |
IXGBE: Set the SW prio_tc values at initialization to the HW setting.
Set the SW prio_tc values at initialization to the HW setting.
Setting the SW prio_tc default values to be the HW setting by reading the
rtrup2tc register. For any TC change we need to reset the device.
This will remove the need to reset the device at the first
time we call ixgbe_dcbnl_ieee_setets.
Signed-off-by: Amir Hanania <amir.hanania@intel.com>
Tested-by: Jack Morgan<jack.morgan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.h')
-rw-r--r-- | drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.h b/drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.h index a4ef07631d1e..d71d9ce3e394 100644 --- a/drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.h +++ b/drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.h @@ -45,6 +45,7 @@ /* Receive UP2TC mapping */ #define IXGBE_RTRUP2TC_UP_SHIFT 3 +#define IXGBE_RTRUP2TC_UP_MASK 7 /* Transmit UP2TC mapping */ #define IXGBE_RTTUP2TC_UP_SHIFT 3 |