||The name for the custom resource object.
||The namespace where the SR-IOV Network Operator is installed.
||The resource name of the SR-IOV network device plug-in. You can create multiple SR-IOV network node policies for a resource name.
||The node selector specifies the nodes to configure. Only SR-IOV network devices on the selected nodes are configured. The SR-IOV Container Network Interface (CNI) plug-in and device plug-in are deployed on selected nodes only.
||Optional: The priority is an integer value between
99. A smaller value receives higher priority. For example, a priority of
10 is a higher priority than
99. The default value is
||Optional: The maximum transmission unit (MTU) of the virtual function. The maximum MTU value can vary for different network interface controller (NIC) models.
true to mount the
/dev/vhost-net device in the pod. Use the mounted
/dev/vhost-net device with Data Plane Development Kit (DPDK) to forward traffic to the kernel network stack.
||The number of the virtual functions (VF) to create for the SR-IOV physical network device. For an Intel network interface controller (NIC), the number of VFs cannot be larger than the total VFs supported by the device. For a Mellanox NIC, the number of VFs cannot be larger than
||The NIC selector identifies the device for the Operator to configure. You do not have to specify values for all the parameters. It is recommended to identify the network device with enough precision to avoid selecting a device unintentionally.
If you specify
rootDevices, you must also specify a value for
pfNames. If you specify both
rootDevices at the same time, ensure that they refer to the same device. If you specify a value for
netFilter, then you do not need to specify any other parameter because a network ID is unique.
||Optional: The vendor hexadecimal code of the SR-IOV network device. The only allowed values are
||Optional: The device hexadecimal code of the SR-IOV network device. For example,
101b is the device ID for a Mellanox ConnectX-6 device.
||Optional: An array of one or more physical function (PF) names for the device.
||Optional: An array of one or more PCI bus addresses for the PF of the device. Provide the address in the following format:
||Optional: The platform-specific network filter. The only supported platform is OpenStack. Acceptable values use the following format:
xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx with the value from the
/var/config/openstack/latest/network_data.json metadata file.
||Optional: The driver type for the virtual functions. The only allowed values are
vfio-pci. The default value is
For a Mellanox NIC to work in DPDK mode on bare metal nodes, use the
netdevice driver type and set
||Optional: Configures whether to enable remote direct memory access (RDMA) mode. The default value is
isRdma parameter is set to
true, you can continue to use the RDMA-enabled VF as a normal network device. A device can be used in either mode.
true and additionally set
true to configure a Mellanox NIC for use with Fast Datapath DPDK applications.
||Optional: The link type for the VFs. The default value is
eth for Ethernet. Change this value to
ib for InfiniBand.
linkType is set to
isRdma is automatically set to
true by the SR-IOV Network Operator webhook. When
linkType is set to
deviceType should not be set to
Do not set
SriovNetworkNodePolicy, because this can lead to an incorrect number of available devices reported by the device plug-in.
||Optional: To enable hardware offloading, the
eSwitchMode field must be set to