diff options
| author | Jacob Keller <[email protected]> | 2017-04-19 09:25:52 -0400 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2017-04-30 04:18:17 -0700 |
| commit | 707d088af33043642692d4522225cb9ca638e7ee (patch) | |
| tree | 1eea496dc8de65299933d90197a0a4b91c4db9ca /tools/perf/scripts/python | |
| parent | 1f190d9369487c1edfaea4d892231a62ea8206cc (diff) | |
i40e: amortize wait time when disabling lots of VFs
Just as we do in i40e_reset_all_vfs, save some time when freeing VFs by
amortizing the wait time for stopping queues. We can use
i40e_vsi_stop_rings_no_wait() to begin the process of stopping all the
VF rings at once. Then, once we've started the process on each VF we can
begin waiting for the VFs to stop. This helps reduce the total wait time
by a large factor.
Signed-off-by: Jacob Keller <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions