Skip to content

Commit dc2e460

Browse files
author
Steven Smith
committed
Updates eSwitch mode in SRIOV docs
1 parent b95b439 commit dc2e460

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

modules/nw-sriov-networknodepolicy-object.adoc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ spec:
3434
deviceType: <device_type> <15>
3535
isRdma: false <16>
3636
linkType: <link_type> <17>
37-
eSwitchMode: "switchdev" <18>
37+
eSwitchMode: <mode> <18>
3838
excludeTopology: false <19>
3939
----
4040
<1> The name for the custom resource object.
@@ -97,7 +97,11 @@ When `linkType` is set to `ib`, `isRdma` is automatically set to `true` by the S
9797
+
9898
Do not set linkType to 'eth' for SriovNetworkNodePolicy, because this can lead to an incorrect number of available devices reported by the device plugin.
9999

100-
<18> Optional: To enable hardware offloading, the 'eSwitchMode' field must be set to `"switchdev"`.
100+
<18> Optional: The NIC device mode. The only allowed values are `legacy` or `switchdev`.
101+
+
102+
When `eSwitchMode` is set to `legacy`, the default SR-IOV behavior is enabled.
103+
+
104+
When `eSwitchMode` is set to `switchdev`, hardware offloading is enabled.
101105

102106
<19> Optional: To exclude advertising an SR-IOV network resource's NUMA node to the Topology Manager, set the value to `true`. The default value is `false`.
103107

0 commit comments

Comments
 (0)