summaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorShannon Nelson <shannon.nelson@intel.com>2015-02-27 09:15:24 +0000
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2015-03-07 04:59:44 -0800
commit1e200e4a5744b727f64880855689bdb1b2502d43 (patch)
tree4622f1187295ea9239735289d636fde2578f6f13 /net/switchdev/switchdev.c
parent7b115dd06dd5e06a85324c2cdebb59c2cb17772f (diff)
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>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions