Skip to content

Commit 8d0bde8

Browse files
authored
Merge pull request #46561 from tshwartz/BZ-2087989
BZ-2087989: Updating sriov network node policy
2 parents 8b48553 + 69359b8 commit 8d0bde8

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

modules/nw-sriov-networknodepolicy-object.adoc

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,13 @@ If the `isRdma` parameter is set to `true`, you can continue to use the RDMA-ena
7676
+
7777
Set `isRdma` to `true` and additionally set `needVhostNet` to `true` to configure a Mellanox NIC for use with Fast Datapath DPDK applications.
7878

79-
<17> Optional: The link type for the VFs. You can specify one of the following values: `eth` or `ib`. Specify `eth` for Ethernet or `ib` for InfiniBand. The default value is `eth`.
80-
81-
<18> Optional: To enable hardware offloading, the 'eSwitchMode' field must be set to `"switchdev"`.
79+
<17> Optional: The link type for the VFs. The default value is `eth` for Ethernet. Change this value to 'ib' for InfiniBand.
8280
+
8381
When `linkType` is set to `ib`, `isRdma` is automatically set to `true` by the SR-IOV Network Operator webhook. When `linkType` is set to `ib`, `deviceType` should not be set to `vfio-pci`.
82+
+
83+
Do not set linkType to 'eth' for SriovNetworkNodePolicy, because this can lead to an incorrect number of available devices reported by the device plugin.
84+
85+
<18> Optional: To enable hardware offloading, the 'eSwitchMode' field must be set to `"switchdev"`.
8486

8587
[id="sr-iov-network-node-configuration-examples_{context}"]
8688
== SR-IOV network node configuration examples

0 commit comments

Comments
 (0)