Add xe_sriov_auto_provisioning tests
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest7 patches 3 repliesIn review
- v15 patches 7 repliesSuperseded
Changes in v2 from the cover letter
- Update DEFINE_XE_SRIOV_PF_DEBUGFS_FUNC macro comment (Lukasz)
- Simplify range validation in test (Lukasz)
(moved validation of provisioned ranges to library xe_sriov_pf_debugfs_read_check_ranges)
- Rename subtests for clarity (Lukasz)
- Add 'extended' command line option to enable dynamic subtests with arbitrary num_vfs
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | lib/xe/xe_sriov_debugfs: Add debugfs get/set functions for u32, u64, boollib/ lib/ | +169 | 0 replies | |
| 2/7 | lib/xe/xe_sriov_debugfs: Add validation for provisioned rangeslib/ lib/ | +120 | 1 reply | |
| 3/7 | lib/xe/xe_sriov_provisioning: Add accessors for quota/spare attributeslib/ lib/ | +138 | 0 replies | |
| 4/7 | lib/xe/xe_sriov_provisioning: Add shared resource provisionability checklib/ lib/ | +51 | 0 replies | |
| 5/7 | lib/igt_sriov_device: Add helper functions for VF range validationlib/ | +75 | 0 replies | |
| 6/7 | tests/xe_sriov_auto_provisioning: Add tests for SR-IOV auto-provisioningtests/ tests/ | +291 | 1 reply | |
| 7/7 | tests/xe_sriov_auto_provisioning: Add 'extended' command line optiontests/ | +39 | 1 reply |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Lukasz Laguna |
|---|---|
| 1/7 | R-b |
| 2/7 | R-b |
| 3/7 | R-b |
| 4/7 | R-b |
| 5/7 | R-b |
| 6/7 | R-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 i-g-t 0/7] Add xe_sriov_auto_provisioning tests
This patch series introduces several enhancements to the SR-IOV provisioning and validation functionalities. The changes include debugfs accessors, quota/spare attribute accessors, shared resource provisionability checks, and helper functions for VF range validation.
Additionally, the xe_sriov_auto_provisioning tests validate the following scenarios:
- Auto-provisioned resources are allocated by the PF driver in a fair manner.
- Auto-provisioned resources are released once VFs are disabled.
- Verify that ranges of auto-provisioned resources are exclusive.
v2:
- Update DEFINE_XE_SRIOV_PF_DEBUGFS_FUNC macro comment (Lukasz)
- Simplify range validation in test (Lukasz)
(moved validation of provisioned ranges to library xe_sriov_pf_debugfs_read_check_ranges)
- Rename subtests for clarity (Lukasz)
- Add 'extended' command line option to enable dynamic subtests with arbitrary num_vfs
Marcin Bernatowicz (7):
lib/xe/xe_sriov_debugfs: Add debugfs get/set functions for u32, u64,
bool
lib/xe/xe_sriov_debugfs: Add validation for provisioned ranges lib/xe/xe_sriov_provisioning: Add accessors for quota/spare attributes lib/xe/xe_sriov_provisioning: Add shared resource provisionability
check
lib/igt_sriov_device: Add helper functions for VF range validation tests/xe_sriov_auto_provisioning: Add tests for SR-IOV
auto-provisioning
tests/xe_sriov_auto_provisioning: Add 'extended' command line option
lib/igt_sriov_device.h | 82 +++++- lib/xe/xe_sriov_debugfs.c | 267 ++++++++++++++++++ lib/xe/xe_sriov_debugfs.h | 22 ++ lib/xe/xe_sriov_provisioning.c | 146 ++++++++++ lib/xe/xe_sriov_provisioning.h | 43 +++ tests/intel/xe_sriov_auto_provisioning.c | 328 +++++++++++++++++++++++ tests/meson.build | 1 + 7 files changed, 882 insertions(+), 7 deletions(-) create mode 100644 tests/intel/xe_sriov_auto_provisioning.c
Signature · 1 line
2.31.1