diff options
author | Alan Brady <alan.brady@intel.com> | 2017-07-14 09:27:08 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2017-09-29 12:51:01 -0700 |
commit | a3f5aa907340b5d7b54223ddbaa90410f168864d (patch) | |
tree | 82aeaf9da62201332533b4fb848522e25450e9b5 /drivers/net/ethernet/intel/i40evf | |
parent | c97fc9b6a798f4253c176231ba0aceda6b59b058 (diff) | |
download | linux-a3f5aa907340b5d7b54223ddbaa90410f168864d.tar.bz2 |
i40e: Enable VF to negotiate number of allocated queues
Currently the PF allocates a default number of queues for each VF and
cannot be changed. This patch enables the VF to request a different
number of queues allocated to it. This patch also adds a new virtchnl
op and capability flag to facilitate this negotiation.
After the PF receives a request message, it will set a requested number
of queues for that VF. Then when the VF resets, its VSI will get a new
number of queues allocated to it.
This is a best effort request and since we only allocate a guaranteed
default number, if the VF tries to ask for more than the guaranteed
number, there may not be enough in HW to accommodate it unless other
queues for other VFs are freed. It should also be noted decreasing the
number queues allocated to a VF to below the default will NOT enable the
allocation of more than 32 VFs per PF and will not free queues guaranteed
to each VF by default.
Signed-off-by: Alan Brady <alan.brady@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40evf')
0 files changed, 0 insertions, 0 deletions