]> 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)
commitc74dac538520847fc3540fe17a8f39e591c8817f
tree5f197c26800673e90ef60ad6230656ef3639ed48
parent92de9c7ed3869a896acf8deb37fd13e84d44eaf2
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