Subject: Re: [PATCH iwl-next 1/10] ice: translate FW to SW for max num TCs encoding

From: Simon Horman <[email-masked]>
Date: Tue, 14 Apr 2026 09:44:16 +0100

On Fri, Apr 10, 2026 at 09:49:12AM +0200, Aleksandr Loktionov wrote:
> From: Dave Ertman <[email-masked]>
> 
> 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-masked]>
> Signed-off-by: Aleksandr Loktionov <[email-masked]>

I'm not sure if you want to reconsider this as a bug fix.
But the code changes look good to me.

Reviewed-by: Simon Horman <[email-masked]>