OSDN Git Service

ice: handle DCBx non-contiguous TC request
authorPaul Greenwalt <paul.greenwalt@intel.com>
Wed, 9 Oct 2019 14:09:43 +0000 (07:09 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 7 Nov 2019 00:41:45 +0000 (16:41 -0800)
commitcfbf13674be4ecb9a38048cd228c382825807b12
treeb2e19b57efeb39d724ecd7fa1267a6db181103f7
parent031f21475297042d86534246c1b2948fc58172b6
ice: handle DCBx non-contiguous TC request

If DCBx request non-contiguous TCs, then the driver will configure default
traffic class (TC0). This is done to prevent Tx hang since the driver
currently does not support non-contiguous TC.

Signed-off-by: Paul Greenwalt <paul.greenwalt@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@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