aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/net/lib/py/utils.py
diff options
context:
space:
mode:
authorMichal Wajdeczko <[email protected]>2024-07-01 12:27:36 +0200
committerMichal Wajdeczko <[email protected]>2024-07-01 19:43:50 +0200
commit234670cea9a2995554dad6e084e5e18b0bcd151d (patch)
treef1b0c1ae4f48b46572e82ffb12f8341ad5acb1e0 /tools/testing/selftests/net/lib/py/utils.py
parentd2d5409786fda857e44478e5fa27c9441a128219 (diff)
drm/xe/pf: Skip fair VFs provisioning if already provisioned
Our debugfs allows to view and change VFs' provisioning configs. If we attempt to experiment with VFs provisioning before enabling them, this early config will affect fair provisioning calculations, and will also be overwritten, which is undesirable behavior. To improve this, check if the VFs configs are empty (unprovisioned) before starting the fair provisioning procedure. Signed-off-by: Michal Wajdeczko <[email protected]> Reviewed-by: Piotr Piórkowski <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions