]> git.baikalelectronics.ru Git - kernel.git/commit
ice: update VSI config dynamically
authorVictor Raj <victor.raj@intel.com>
Wed, 27 Feb 2019 00:35:20 +0000 (16:35 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 25 Mar 2019 14:23:20 +0000 (07:23 -0700)
commit5f2270fb864df58fabff84a035dd5bca2280e788
tree5f197c26800673e90ef60ad6230656ef3639ed48
parentd17b61e3b1f7d9eeefc3ae46444f314dbe2e68ce
ice: update VSI config dynamically

When VSI increases the number of queues dynamically, the scheduler
just needs to add the new required nodes rather than re-adjusting with
previously allocated number of nodes. Readjusting didn't provide enough
parents to add the upper layer nodes also can't place lan and rdma
subtrees separately.

In decrease case, keep the VSI configuration with max number of queues
always. This will leave some extra nodes in the tree but no harm done.

Signed-off-by: Victor Raj <victor.raj@intel.com>
Reviewed-by: Bruce Allan <bruce.w.allan@intel.com>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_sched.c