diff options
author | Dave Ertman <david.m.ertman@intel.com> | 2021-10-12 13:31:21 -0700 |
---|---|---|
committer | Tony Nguyen <anthony.l.nguyen@intel.com> | 2021-12-07 13:21:01 -0800 |
commit | 6d39ea19b0fb6cc72427c862b32d39f5af468be3 (patch) | |
tree | 4303f8e4cfd5e43839b3a5e4c8763d8c0a50ef6a /drivers/net/ethernet/intel/ice/ice_tc_lib.c | |
parent | 2657e16d8c52fb6ffc7250b0b6536f93886e32d6 (diff) |
ice: Fix problems with DSCP QoS implementation
The patch that implemented DSCP QoS implementation removed a
bandwidth check that was used to check for a specific condition
caused by some corner cases. This check should not of been
removed.
The same patch also added a check for when the DCBx state could
be changed in relation to DSCP, but the check was erroneously
added nested in a check for CEE mode, which made the check useless.
Fix these problems by re-adding the bandwidth check and relocating
the DSCP mode check earlier in the function that changes DCBx state
in the driver.
Fixes: 2a87bd73e50d ("ice: Add DSCP support")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Dave Ertman <david.m.ertman@intel.com>
Tested-by: Gurucharan G <gurucharanx.g@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_tc_lib.c')
0 files changed, 0 insertions, 0 deletions