diff options
author | Michal Swiatkowski <[email protected]> | 2022-08-08 11:58:54 +0200 |
---|---|---|
committer | Tony Nguyen <[email protected]> | 2022-09-20 13:30:51 -0700 |
commit | 122045ca770492660005c22379995506f13efea8 (patch) | |
tree | 1d6e6867ad7f178f5793c7480be0d684c98f0d92 /lib/netdev-notifier-error-inject.c | |
parent | da847246ab80610c5acca34df5893bee1d8cf7c2 (diff) |
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 <[email protected]>
Tested-by: Gurucharan <[email protected]> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions