Skip to content

Commit 60c82b2

Browse files
committed
config-linux: Refined JSON definitions for RDMA limits
Signed-off-by: Parav Pandit <[email protected]>
1 parent dc60c1d commit 60c82b2

File tree

1 file changed

+20
-15
lines changed

1 file changed

+20
-15
lines changed

config-linux.md

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,8 @@ 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-
* **`limits`** *(list of objects, OPTIONAL)* - specifies a list of objects of the limits applicable to processes in the group.
465+
* **`rdmaLimits`** *(list of objects, OPTIONAL)* - specifies a list of limit objects applicable to processes in the group.
466+
Limit object is a key value pair that defines limits of a device.
466467
* **`hca_device`** *(string, REQUIRED)* - specifies the device name whose resources limit to be configured
467468
The following parameters can be specified per-device:
468469
* **`hca_handles`** *(uint32, OPTIONAL)* - specifies the maximum number of hca_objects in the cgroup
@@ -472,20 +473,24 @@ The following parameters can be specified to set up the controller:
472473
#### Example
473474

474475
```json
475-
"rdma": {
476-
"limits": [
477-
"mlx5_1": {
478-
"hca_handles": 3,
479-
"hca_objects": 10000
480-
},
481-
"rxe3": {
482-
"hca_handles": 3,
483-
},
484-
"mlx4_0": {
485-
"hca_objects": 1000
486-
}
487-
]
488-
}
476+
"rdma": [
477+
{
478+
"mlx5_1": {
479+
"hca_handles": 3,
480+
"hca_objects": 10000
481+
}
482+
},
483+
{
484+
"mlx4_0": {
485+
"hca_objects": 1000
486+
}
487+
},
488+
{
489+
"rxe3": {
490+
"hca_objects": 10000
491+
}
492+
}
493+
]
489494
```
490495

491496
## <a name="configLinuxIntelRdt" />IntelRdt

0 commit comments

Comments
 (0)