]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ice: Fix added in VSI supported nodes calc
authorVictor Raj <victor.raj@intel.com>
Fri, 8 Feb 2019 20:50:30 +0000 (12:50 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 25 Feb 2019 16:56:01 +0000 (08:56 -0800)
commit0e8fd74df2f37e2dcc305ed22f4feb8587b91929
tree92b30e30f797377fe205617de5db2d8e47f2043c
parent5ed5d316d90b1487c51b8973c2b845495f3558c0
ice: Fix added in VSI supported nodes calc

VSI supported nodes are calculated in order to add the VSI parent or
intermediate nodes to the scheduler tree. If one of the node in below
layers (from VSI layer) has space to add the new VSI or intermediate node
above that layer then it's not required to continue the calculation further
for below layers.

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