You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<1> When configuring the node network policy for a virtual machine, the `numVfs` parameter is always set to `1`.
56
-
<2> When the virtual machine is deployed on {rh-openstack}, the `netFilter` parameter must refer to a network ID. Valid values for `netFilter` are available from an `SriovNetworkNodeState` object.
57
-
53
+
* When configuring the node network policy for a virtual machine, the `numVfs` parameter is always set to `1`.
54
+
* When the virtual machine is deployed on {rh-openstack}, the `netFilter` parameter must refer to a network ID. Valid values for `netFilter` are available from an `SriovNetworkNodeState` object.
Copy file name to clipboardExpand all lines: modules/nw-sriov-configuring-device.adoc
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,13 +69,13 @@ spec:
69
69
deviceType: vfio-pci
70
70
isRdma: false
71
71
----
72
-
**`metadata.name`specifies a name for the `SriovNetworkNodePolicy` object.
73
-
**`metadata.namespace`specifies the namespace where the SR-IOV Network Operator is installed.
74
-
**`spec.resourceName`specifies the resource name of the SR-IOV device plugin. You can create multiple `SriovNetworkNodePolicy` objects for a resource name.
75
-
**`spec.nodeSelector.feature.node.kubernetes.io/network-sriov.capable`specifies the node selector to select which nodes are configured. Only SR-IOV network devices on selected nodes are configured. The SR-IOV Container Network Interface (CNI) plugin and device plugin are deployed only on selected nodes.
76
-
**`spec.priority` is an optional field that specifies an integer value between `0` and `99`. A smaller number gets higher priority, so a priority of `10` is higher than a priority of `99`. The default value is `99`.
77
-
**`spec.mtu` is an optional field that specifies a value for the maximum transmission unit (MTU) of the virtual function. The maximum MTU value can vary for different NIC models.
78
-
**`spec.numVfs`specifies 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 `127`.
72
+
**`metadata.name`defines a name for the `SriovNetworkNodePolicy` object.
73
+
**`metadata.namespace`defines the namespace where the SR-IOV Network Operator is installed.
74
+
**`spec.resourceName`defines the resource name of the SR-IOV device plugin. You can create multiple `SriovNetworkNodePolicy` objects for a resource name.
75
+
**`spec.nodeSelector.feature.node.kubernetes.io/network-sriov.capable`defines the node selector to select which nodes are configured. Only SR-IOV network devices on selected nodes are configured. The SR-IOV Container Network Interface (CNI) plugin and device plugin are deployed only on selected nodes.
76
+
**`spec.priority` is an optional field that defines an integer value between `0` and `99`. A smaller number gets higher priority, so a priority of `10` is higher than a priority of `99`. The default value is `99`.
77
+
**`spec.mtu` is an optional field that defines a value for the maximum transmission unit (MTU) of the virtual function. The maximum MTU value can vary for different NIC models.
78
+
**`spec.numVfs`defines 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 `127`.
79
79
**`spec.nicSelector` selects the Ethernet device for the Operator to configure. You do not need to specify values for all the parameters.
80
80
+
81
81
[NOTE]
@@ -85,12 +85,12 @@ If you specify `rootDevices`, you must also specify a value for `vendor`, `devic
85
85
====
86
86
+
87
87
If you specify both `pfNames` and `rootDevices` at the same time, ensure that they point to an identical device.
88
-
**`spec.nicSelector.vendor` is an optional field that specifies the vendor hex code of the SR-IOV network device. The only allowed values are either `8086` or `15b3`.
89
-
**`spec.nicSelector.deviceID` is an optional field that specifies the device hex code of SR-IOV network device. The only allowed values are `158b`, `1015`, `1017`.
90
-
**`spec.nicSelector.pfNames` is an optional field that specifies an array of one or more physical function (PF) names for the Ethernet device.
91
-
**`spec.nicSelector.rootDevices` is an optional field that specifies an array of one or more PCI bus addresses for the physical function of the Ethernet device. Provide the address in the following format: `0000:02:00.1`.
92
-
**`spec.deviceType`specifies the driver type. The `vfio-pci` driver type is required for virtual functions in {VirtProductName}.
93
-
**`spec.isRdma` is an optional field that specifies whether to enable remote direct memory access (RDMA) mode. For a Mellanox card, set `isRdma` to `false`. The default value is `false`.
88
+
**`spec.nicSelector.vendor` is an optional field that defines the vendor hex code of the SR-IOV network device. The only allowed values are either `8086` or `15b3`.
89
+
**`spec.nicSelector.deviceID` is an optional field that defines the device hex code of SR-IOV network device. The only allowed values are `158b`, `1015`, `1017`.
90
+
**`spec.nicSelector.pfNames` is an optional field that defines an array of one or more physical function (PF) names for the Ethernet device.
91
+
**`spec.nicSelector.rootDevices` is an optional field that defines an array of one or more PCI bus addresses for the physical function of the Ethernet device. Provide the address in the following format: `0000:02:00.1`.
92
+
**`spec.deviceType`defines the driver type. The `vfio-pci` driver type is required for virtual functions in {VirtProductName}.
93
+
**`spec.isRdma` is an optional field that defines whether to enable remote direct memory access (RDMA) mode. For a Mellanox card, set `isRdma` to `false`. The default value is `false`.
0 commit comments