[Intel-wired-lan] [PATCH net v1] ice: Fix DSCP PFC TLV creation

G, GurucharanX gurucharanx.g at intel.com
Mon Mar 6 11:21:51 UTC 2023



> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Karen Ostrowska
> Sent: Friday, January 27, 2023 6:54 PM
> To: intel-wired-lan at lists.osuosl.org
> Cc: Ostrowska, Karen <karen.ostrowska at intel.com>
> Subject: [Intel-wired-lan] [PATCH net v1] ice: Fix DSCP PFC TLV creation
> 
> From: Dave Ertman <david.m.ertman at intel.com>
> 
> When creating the TLV to send to the FW for configuring DSCP mode PFC,the
> PFCENABLE field was being masked with a 4 bit mask (0xF), but this is an 8 bit
> bitmask for enabled classes for PFC.  This means that traffic classes
> 4-7 could not be enabled for PFC.
> 
> Remove the mask completely, as it is not necessary, as we are assigning 8 bits
> to an 8 bit field.
> 
> Fixes: 2a87bd73e50d ("ice: Add DSCP support")
> Signed-off-by: Dave Ertman <david.m.ertman at intel.com>
> Signed-off-by: Karen Ostrowska <karen.ostrowska at intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_dcb.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 

Tested-by: Gurucharan G <gurucharanx.g at intel.com> (A Contingent worker at Intel)


More information about the Intel-wired-lan mailing list