-
Notifications
You must be signed in to change notification settings - Fork 541
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Linux kernel 4.11 adds support for RDMA cgroup resource controller. This allows limiting maximum number of open hca_handle and maximum number of hca_objects which can be created by processes. config-linux: Add documentation for Linux RDMA cgroup Add documentation, example and link to kernel documentation for Linux RDMA cgroup. additionalProperties is defined for the JSON Schema draft-04 in [1] with clearer documentation in draft-07 [2]. It is supportd by gojsonschema since xeipuuv/gojsonschema@0572d9d (added additionalProperties with inner schema, 2013-06-21). [1]: https://tools.ietf.org/html/draft-fge-json-schema-validation-00#section-5.4.4 [2]: https://tools.ietf.org/html/draft-handrews-json-schema-validation-00#section-6.5.6 Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: W. Trevor King <wking@tremily.us>
- Loading branch information
1 parent
520c634
commit 51c4bec
Showing
5 changed files
with
83 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"ociVersion": "1.0.0", | ||
"root": { | ||
"path": "rootfs" | ||
}, | ||
"linux": { | ||
"resources": { | ||
"rdmaLimits": { | ||
"mlx5_1": { | ||
"hcaHandles": 3, | ||
"hcaObjects": 10000 | ||
}, | ||
"mlx4_0": { | ||
"hcaObjects": 1000 | ||
}, | ||
"rxe3": { | ||
"hcaObjects": 10000 | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters