]> asedeno.scripts.mit.edu Git - linux.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)
commitb0153fdd7e8a625d4879f07d3cfb1ee1e2364222
tree5f197c26800673e90ef60ad6230656ef3639ed48
parent68cc2999f6926590c7783f2de12ba467ecad8c7d
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