i40e: rework vector reservation
authorShannon Nelson <shannon.nelson@intel.com>
Fri, 27 Feb 2015 09:15:24 +0000 (09:15 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 7 Mar 2015 12:59:44 +0000 (04:59 -0800)
commit1e200e4a5744b727f64880855689bdb1b2502d43
tree4622f1187295ea9239735289d636fde2578f6f13
parent7b115dd06dd5e06a85324c2cdebb59c2cb17772f
i40e: rework vector reservation

The initial problem solved here is that the vector allocation was trying
too hard to save vectors for VMDq, to the point of not giving the PF enough
when in a tight situation such as an NPAR partition.  This change makes
sure that the PF will get all the queues and vectors it wants to fill
out its destiny.  Essentially, nothing is specially reserved for VMDq,
it simply gets whatever is left after the PF, FCoE, and FD sideband get
what they want.

Additionally, the calculations for the reservations were harder to follow
than necessary, so I've made it more straight forward.

Change-ID: I99b384f104535b686c690b8ef0a787559485c8d4
Signed-off-by: Shannon Nelson <shannon.nelson@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c
This page took 0.025467 seconds and 5 git commands to generate.