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)
commit27d9be98eda1d01073db142f11f4880ff513dae2
treea69d8518a8fbabbff75fea4ac7d01cb86b6144f6
parentc8608b5071d0ca168068375f204070d4acd4c77a
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