[PATCH v3 i-g-t 0/2] tests/intel/xe_sriov_flr: Add parallel FLR subtest for SR-IOV VFs

Marcin Bernatowicz marcin.bernatowicz at linux.intel.com
Thu Jan 16 19:29:04 UTC 2025


Introduce a new subtest flr-vfs-parallel to validate parallel FLR
execution on all VFs. This subtest ensures correct behavior during
simultaneous resets.

Introduce the flr-twice subtest, which initiates FLR twice in parallel 
on the same VF. This subtest covers a use case where two FLRs can occur
within a short time frame, such as when starting a QEMU VM with
a passed VF.

v2: Reintroduce condition to reinitialize test data only if more VFs
    remain to be tested (omitted when extracting execute_sequential_flr).
v3: Introduce threaded FLR initiation to achieve better parallelism
    by mitigating 100ms reset delays.(Lukasz)

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 (2):
  tests/intel/xe_sriov_flr: Add parallel FLR subtest for SR-IOV VFs
  tests/intel/xe_sriov_flr: Add flr-twice subtest

 tests/intel/xe_sriov_flr.c | 230 +++++++++++++++++++++++++++++++++----
 1 file changed, 206 insertions(+), 24 deletions(-)

-- 
2.31.1



More information about the igt-dev mailing list