Skip to content

features-linux: expose IntelRdt monitoring support #1290

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion features-linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,16 @@ Irrelevant to the availability of Intel RDT on the host operating system.
* **`enabled`** (bool, OPTIONAL) represents whether the runtime supports Intel RDT.
* **`schemata`** (bool, OPTIONAL) represents whether the
(`schemata` field of `linux.intelRdt` in `config.json`)[config-linux.md#intelrdt] is supported.
* **`monitoring`** (bool, OPTIONAL) represents whether the
(`enableMonitoring` field of `linux.intelRdt` in `config.json`)[config-linux.md#intelrdt] is supported.

### Example

```json
"intelRdt": {
"enabled": true,
"schemata": true
"schemata": true,
"monitoring": true
}
```

Expand Down
3 changes: 2 additions & 1 deletion features.md
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,8 @@ Here is a full example for reference.
},
"intelRdt": {
"enabled": true,
"schemata": true
"schemata": true,
"monitoring": true
}
},
"annotations": {
Expand Down
4 changes: 4 additions & 0 deletions specs-go/features/features.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,10 @@ type IntelRdt struct {
// Unrelated to whether the host supports Intel RDT or not.
// Nil value means "unknown", not "false".
Enabled *bool `json:"enabled,omitempty"`
// Monitoring is true if the "linux.intelRdt.enableMonitoring" field of the
// spec is implemented.
// Nil value means "unknown", not "false".
Monitoring *bool `json:"monitoring,omitempty"`
}

// MountExtensions represents the "mountExtensions" field.
Expand Down
Loading