pci: adding support to specify a device_type in pci requests
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-manuals |
Fix Released
|
Medium
|
venkatamahesh |
Bug Description
https:/
Dear bug triager. This bug was created since a commit was marked with DOCIMPACT.
commit f85b2b84aa4ffa1
Author: Vladik Romanovsky <email address hidden>
Date: Mon Nov 23 21:48:04 2015 -0500
pci: adding support to specify a device_type in pci requests
PCI stats will also include device_type in it's pools, in order
to meet the request specs.
Changing the request device_type allowed values to match the
values defined in nova.fields.
Supporting a device_type in a pci requests specs
will allow the users to explicitly request pci devices by
it's type, i.e. PF or a VF
Some SR-IOV cards expose the same device_id for both PFs and VFs
Due to this fact PFs will be filtered out for the available pools
unless it has been explicitly requested.
While keeping track of the number of available physical functions
in the pci pools, this change will also update the dependent virtual
functions count and remove it from the pools, when PF is allocated.
Physical function will be removed from the pools when one of it's
VFs is allocated.
DocImpact
Partially implements blueprint sriov-physical-
Change-Id: If631d828fbad37
This change will affect the table and is auto-generated. The table is https:/ /github. com/openstack/ openstack- manuals/ blob/master/ doc/config- reference/ source/ tables/ nova-pci. rst