aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorStefan Assmann <[email protected]>2023-01-10 09:00:18 +0100
committerTony Nguyen <[email protected]>2023-01-20 09:00:58 -0800
commite2b53ea5a7c1fb484277ad12cd075f502cf03b04 (patch)
treeee1ec51d9b2ff9051d4926750c08d180fb6d02fa /tools/perf/scripts/python/libxed.py
parent7598f4b40bd60e4a4280de645eb2893eea80b59d (diff)
iavf: schedule watchdog immediately when changing primary MAC
iavf_replace_primary_mac() utilizes queue_work() to schedule the watchdog task but that only ensures that the watchdog task is queued to run. To make sure the watchdog is executed asap use mod_delayed_work(). Without this patch it may take up to 2s until the watchdog task gets executed, which may cause long delays when setting the MAC address. Fixes: a3e839d539e0 ("iavf: Add usage of new virtchnl format to set default MAC") Signed-off-by: Stefan Assmann <[email protected]> Reviewed-by: Michal Schmidt <[email protected]> Tested-by: Michal Schmidt <[email protected]> Tested-by: Rafal Romanowski <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions