]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Report correct DCB mode
authorAvinash Dayanand <avinash.dayanand@intel.com>
Thu, 13 Feb 2020 21:31:20 +0000 (13:31 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 19 Feb 2020 21:06:58 +0000 (13:06 -0800)
commitdf2cf2d10208b0a6e7cdd019ab1f6d63b0fe9671
treea69d8518a8fbabbff75fea4ac7d01cb86b6144f6
parenta92051289a1c9c547f9495d647932f8ab5602a68
ice: Report correct DCB mode

Add code to detect if DCB is in IEEE or CEE mode. Without this the code
will always report as IEEE mode which is incorrect and confuses the
user.

Signed-off-by: Avinash Dayanand <avinash.dayanand@intel.com>
Signed-off-by: Scott Register <scottx.register@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_dcb_lib.c