summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2022-12-13 17:33:41 +0000
committerGerrit Code Review <review@openstack.org>2022-12-13 17:33:41 +0000
commit035b1c6fbe93440c575cea6988121a9eb2fc7143 (patch)
tree917ab60be3e8d0e7a7a35d41bfc5bb62cf4abe57 /doc/source
parent0ac870c8fa2a56aee5ae35a8368534f5a0fc3fd6 (diff)
parentb10482cbc00518853485d83a9ace35c8d5172749 (diff)
downloadnova-035b1c6fbe93440c575cea6988121a9eb2fc7143.tar.gz
Merge "Support resource_class and traits in PCI alias"
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/admin/pci-passthrough.rst15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/source/admin/pci-passthrough.rst b/doc/source/admin/pci-passthrough.rst
index de79792f16..46d1604214 100644
--- a/doc/source/admin/pci-passthrough.rst
+++ b/doc/source/admin/pci-passthrough.rst
@@ -442,6 +442,21 @@ removed and VFs from the same PF is configured (or vice versa) then
nova-compute will refuse to start as it would create a situation where both
the PF and its VFs are made available for consumption.
+If a flavor requests multiple ``type-VF`` devices via
+:nova:extra-spec:`pci_passthrough:alias` then it is important to consider the
+value of :nova:extra-spec:`group_policy` as well. The value ``none``
+allows nova to select VFs from the same parent PF to fulfill the request. The
+value ``isolate`` restricts nova to select each VF from a different parent PF
+to fulfill the request. If :nova:extra-spec:`group_policy` is not provided in
+such flavor then it will defaulted to ``none``.
+
+Symmetrically with the ``resource_class`` and ``traits`` fields of
+:oslo.config:option:`pci.device_spec` the :oslo.config:option:`pci.alias`
+configuration option supports requesting devices by Placement resource class
+name via the ``resource_class`` field and also support requesting traits to
+be present on the selected devices via the ``traits`` field in the alias. If
+the ``resource_class`` field is not specified in the alias then it is defaulted
+by nova to ``CUSTOM_PCI_<vendor_id>_<product_id>``.
For deeper technical details please read the `nova specification. <https://specs.openstack.org/openstack/nova-specs/specs/zed/approved/pci-device-tracking-in-placement.html>`_