> -----Original Message----- > From: Intel-wired-lan <[email protected]> On Behalf Of > Aleksandr Loktionov > Sent: Friday, April 10, 2026 12:49 AM > To: [email protected]; Nguyen, Anthony L > <[email protected]>; Loktionov, > Aleksandr <[email protected]> > Cc: [email protected]; Ertman, David M <[email protected]> > Subject: [Intel-wired-lan] [PATCH iwl-next 1/10] ice: translate FW to SW for > max num TCs encoding > > From: Dave Ertman <[email protected]> > > The FW uses a 3-bit field in a TLV to represent the maximum number of Traffic > Classes supported per interface. Since the maximum value is 8, and at least > one TC must be supported, the encoding uses bit values > of > 000 to represent 8 TCs. > > The driver currently does not translate this value and reports 0 max TCs to > the DCBNL interface instead of 8. > > Add a translation when interfacing with the FW to use 0x0 as the value for 8 > max TCs. > > Signed-off-by: Dave Ertman <[email protected]> > Signed-off-by: Aleksandr Loktionov <[email protected]> > --- > drivers/net/ethernet/intel/ice/ice_dcb.c | 2 ++ > drivers/net/ethernet/intel/ice/ice_dcb.h | 3 +++ > 2 files changed, 5 insertions(+)
Tested-by: Alexander Nowlin <[email protected]>
