Skip to content

Commit 106312c

Browse files
committed
config-linux: Updated RDMA definitions to be optional
Made RDMA controller options as optional. Signed-off-by: Parav Pandit <[email protected]>
1 parent c50a867 commit 106312c

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

config-linux.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ In addition to any devices configured with this setting, the runtime MUST also s
169169
## <a name="configLinuxControlGroups" />Control groups
170170

171171
Also known as cgroups, they are used to restrict resource usage for a container and handle device access.
172-
cgroups provide controls (through controllers) to restrict cpu, memory, IO, pids, network and rdma resources for the container.
172+
cgroups provide controls (through controllers) to restrict cpu, memory, IO, pids, network and RDMA resources for the container.
173173
For more information, see the [kernel cgroups documentation][cgroup-v1].
174174

175175
### <a name="configLinuxCgroupsPath" />Cgroups Path
@@ -462,9 +462,10 @@ For more information, see the kernel cgroups documentation about [rdma][cgroup-v
462462

463463
The following parameters can be specified to set up the controller:
464464

465-
* **`hca_device`** *(string, REQUIRED)* - specifies the device name whose resources limit to be configured
466-
* **`hca_handles`** *(uint32, REQUIRED)* - specifies the maximum number of hca_objects in the cgroup for a specified device
467-
* **`hca_objects`** *(uint32, REQUIRED)* - specifies the maximum number of hca_handles in the cgroup for a specified device
465+
* **`hca_device`** *(string, OPTIONAL)* - specifies the device name whose resources limit to be configured
466+
* **`hca_handles`** *(uint32, OPTIONAL)* - specifies the maximum number of hca_objects in the cgroup for a specified device
467+
* **`hca_objects`** *(uint32, OPTIONAL)* - specifies the maximum number of hca_handles in the cgroup for a specified device
468+
You must specify valid `hca_device` when either of the `hca_handles` or `hca_objects` is provided.
468469

469470
#### Example
470471

0 commit comments

Comments
 (0)