ixgbe: Reset the NIC if up2tc has changed
authorAmir Hanania <amir.hanania@intel.com>
Tue, 4 Dec 2012 03:03:03 +0000 (03:03 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 1 Feb 2013 05:27:11 +0000 (21:27 -0800)
commitd1d18b30f099fdfd688a34325a02a806ea86c5a2
tree3a4476d30da7a1cd459ce5ce93b25d39ce351bcc
parent58d7553d5593292e1bdbfd6423b44caaca0799bd
ixgbe: Reset the NIC if up2tc has changed

Check for up2tc change and call ixgbe_dcbnl_devreset() if the mapping has
changed but the number of TC's in use has not changed.

Signed-off-by: Amir Hanania <amir.hanania@intel.com>
Tested-by: Jack Morgan <jack.morgan@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_dcb_nl.c