]> git.baikalelectronics.ru Git - kernel.git/commit
ice: SW DCB, report correct max TC value
authorDave Ertman <david.m.ertman@intel.com>
Thu, 13 Feb 2020 21:31:21 +0000 (13:31 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 19 Feb 2020 21:09:20 +0000 (13:09 -0800)
commitbdaf7c351a2e01e1ea7aa6e1013bd708efb7bb1c
tree0e7b7e457433bb70a1bc755822a9aa762606ae60
parentdf2cf2d10208b0a6e7cdd019ab1f6d63b0fe9671
ice: SW DCB, report correct max TC value

lldpad is using the value reported in the DCB config for
max_tc as the max allowed number of TCs, not the current
max.  ICE driver was reporting it as current maximum TC.

Change DCB_NL function to report maximum TC allowed by
this device.

Signed-off-by: Dave Ertman <david.m.ertman@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_nl.c