[Intel-wired-lan] [PATCH net v2] ice: config netdev tc before setting queues number

G, GurucharanX gurucharanx.g at intel.com
Fri Sep 9 13:33:04 UTC 2022



> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces at osuosl.org> On Behalf Of
> Michal Swiatkowski
> Sent: Monday, August 8, 2022 3:29 PM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH net v2] ice: config netdev tc before setting
> queues number
> 
> After lowering number of tx queues the warning appears:
> "Number of in use tx queues changed invalidating tc mappings. Priority traffic
> classification disabled!"
> Example command to reproduce:
> ethtool -L enp24s0f0 tx 36 rx 36
> 
> Fix this by setting correct tc mapping before setting real number of queues
> on netdev.
> 
> Fixes: 0754d65bd4be5 ("ice: Add infrastructure for mqprio support via
> ndo_setup_tc")
> Signed-off-by: Michal Swiatkowski <michal.swiatkowski at linux.intel.com>
> ---
>  drivers/net/ethernet/intel/ice/ice_main.c | 2 ++
>  1 file changed, 2 insertions(+)
> 

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


More information about the Intel-wired-lan mailing list