[PATCH i-g-t 0/5] Add xe_sriov_auto_provisioning tests
Marcin Bernatowicz
marcin.bernatowicz at linux.intel.com
Wed Dec 18 12:00:51 UTC 2024
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.
Cc: Adam Miszczak <adam.miszczak at linux.intel.com>
Cc: Jakub Kolakowski <jakub1.kolakowski at intel.com>
Cc: Lukasz Laguna <lukasz.laguna at intel.com>
Cc: Michał Wajdeczko <michal.wajdeczko at intel.com>
Cc: Michał Winiarski <michal.winiarski at intel.com>
Cc: Narasimha C V <narasimha.c.v at intel.com>
Cc: Piotr Piórkowski <piotr.piorkowski at intel.com>
Cc: Satyanarayana K V P <satyanarayana.k.v.p at intel.com>
Cc: Tomasz Lis <tomasz.lis at intel.com>
Marcin Bernatowicz (5):
lib/xe/xe_sriov_debugfs: Add debugfs get/set functions for u32, u64,
bool
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
lib/igt_sriov_device.h | 82 ++++-
lib/xe/xe_sriov_debugfs.c | 151 +++++++++
lib/xe/xe_sriov_debugfs.h | 18 +
lib/xe/xe_sriov_provisioning.c | 146 +++++++++
lib/xe/xe_sriov_provisioning.h | 43 +++
tests/intel/xe_sriov_auto_provisioning.c | 399 +++++++++++++++++++++++
tests/meson.build | 1 +
7 files changed, 833 insertions(+), 7 deletions(-)
create mode 100644 tests/intel/xe_sriov_auto_provisioning.c
--
2.31.1
More information about the igt-dev
mailing list