]> git.baikalelectronics.ru Git - kernel.git/commit
IXGBE: Set the SW prio_tc values at initialization to the HW setting.
authorAmir Hanania <amir.hanania@intel.com>
Thu, 18 Apr 2013 04:23:52 +0000 (04:23 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 21 May 2013 10:14:21 +0000 (03:14 -0700)
commit503a562d7a6dcada432c71fd27f7c7e410599c8a
treec7ba40149e72007f984ba8f85b2a15c270deebd6
parent19f699fd204d56062bb45aace78b2a1d4598d0c0
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>
drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.c
drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.h
drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.h
drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c