From 7d2b7441c2a54f9cf3f3b36f32a7f7cac39ff370 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Tue, 22 Jun 2021 03:52:53 -0400 Subject: [PATCH] Mention SR-IOV in the Daemon and Ansible manuals --- docs/manuals/ansible.md | 18 ++++++++++++++++++ docs/manuals/daemon.md | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/docs/manuals/ansible.md b/docs/manuals/ansible.md index b89b0f94..e3b163d0 100644 --- a/docs/manuals/ansible.md +++ b/docs/manuals/ansible.md @@ -451,6 +451,12 @@ pvc_nodes: pvc_bridge_device: bondU +pvc_sriov_enable: True +pvc_sriov_device: + - phy: ens1f0 + mtu: 9000 + vfcount: 6 + pvc_upstream_device: "{{ networks['upstream']['device'] }}" pvc_upstream_mtu: "{{ networks['upstream']['mtu'] }}" pvc_upstream_domain: "{{ networks['upstream']['domain'] }}" @@ -901,6 +907,18 @@ The IPMI password for the node management controller. Unless a per-host override The device name of the underlying network interface to be used for "bridged"-type client networks. For each "bridged"-type network, an IEEE 802.3q vLAN and bridge will be created on top of this device to pass these networks. In most cases, using the reflexive `networks['cluster']['raw_device']` or `networks['upstream']['raw_device']` from the Base role is sufficient. +#### `pvc_sriov_enable` + +* *optional* + +Whether to enable or disable SR-IOV functionality. + +#### `pvc_sriov_device` + +* *optional* + +A list of SR-IOV devices. See the Daemon manual for details. + #### `pvc__*` The next set of entries is hard-coded to use the values from the global `networks` list. It should not need to be changed under most circumstances. Refer to the previous sections for specific notes about each entry. diff --git a/docs/manuals/daemon.md b/docs/manuals/daemon.md index e651727c..de46dbe6 100644 --- a/docs/manuals/daemon.md +++ b/docs/manuals/daemon.md @@ -146,6 +146,11 @@ pvc: console_log_lines: 1000 networking: bridge_device: ens4 + sriov_enable: True + sriov_device: + - phy: ens1f0 + mtu: 9000 + vfcount: 7 upstream: device: ens4 mtu: 1500 @@ -422,6 +427,34 @@ How many lines of VM console logs to keep in the Zookeeper database for each VM. The network interface device used to create Bridged client network vLANs on. For most clusters, should match the underlying device of the various static networks (e.g. `ens4` or `bond0`), though may also use a separate network interface. +#### `system` → `configuration` → `networking` → `sriov_enable` + +* *optional*, defaults to `False` +* *requires* `functions` → `enable_networking` + +Enables (or disables) SR-IOV functionality in PVC. If enabled, at least one `sriov_device` entry should be specified. + +#### `system` → `configuration` → `networking` → `sriov_device` + +* *optional* +* *requires* `functions` → `enable_networking` + +Contains a list of SR-IOV PF (physical function) devices and their basic configuration. Each element contains the following entries: + +##### `phy`: + +* *required* + +The raw Linux network device with SR-IOV PF functionality. + +##### `mtu` + +The MTU of the PF device, set on daemon startup. + +##### `vfcount` + +The number of VF devices to create on this PF. VF devices are then managed via PVC on a per-node basis. + #### `system` → `configuration` → `networking` * *optional*