]> www.infradead.org Git - users/willy/xarray.git/commit
ice: Rebuild TC queues on VSI queue reconfiguration
authorJan Sokolowski <jan.sokolowski@intel.com>
Fri, 21 Jun 2024 17:54:19 +0000 (10:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 23 Jun 2024 11:53:07 +0000 (12:53 +0100)
commitf4b91c1d17c676b8ad4c6bd674da874f3f7d5701
tree73c686eeacb2128b5c9d3af2fbade6a202c6ace4
parent8a67cbd47bf431a1f531ba73e952ce4c114a33a5
ice: Rebuild TC queues on VSI queue reconfiguration

TC queues needs to be correctly updated when the number of queues on
a VSI is reconfigured, so netdev's queue and TC settings will be
dynamically adjusted and could accurately represent the underlying
hardware state after changes to the VSI queue counts.

Fixes: 0754d65bd4be ("ice: Add infrastructure for mqprio support via ndo_setup_tc")
Reviewed-by: Wojciech Drewek <wojciech.drewek@intel.com>
Signed-off-by: Jan Sokolowski <jan.sokolowski@intel.com>
Signed-off-by: Karen Ostrowska <karen.ostrowska@intel.com>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ice/ice_main.c