aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorWei Zhang <[email protected]>2023-10-12 12:27:37 -0700
committerSaeed Mahameed <[email protected]>2023-10-14 10:16:30 -0700
commit15fa898aebe5b5fdff393bde8c81ba8b6e7427bf (patch)
tree408b1ad8c0c60dded9a9ff9c53bc6b657218c62f /tools/perf/scripts/python
parent3f7f31fff2510272334f3d0374c432bdaa4f1536 (diff)
net/mlx5: Redesign SF active work to remove table_lock
active_work is a work that iterates over all possible SF devices which their SF port representors are located on different function, and in case SF is in active state, probes it. Currently, the active_work in active_wq is synced with mlx5_vhca_events_work via table_lock and this lock causing a bottleneck in performance. To remove table_lock, redesign active_wq logic so that it now pushes active_work per SF to mlx5_vhca_events_workqueues. Since the latter workqueues are ordered, active_work and mlx5_vhca_events_work with same index will be pushed into same workqueue, thus it completely eliminates the need for a lock. Signed-off-by: Wei Zhang <[email protected]> Signed-off-by: Shay Drory <[email protected]> Reviewed-by: Jacob Keller <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions