aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2019-12-17 23:16:11 -0600
committerSaeed Mahameed <saeedm@mellanox.com>2020-03-13 16:26:24 -0700
commit0e6fa491e8b0a9a0115896fc88a404f8d89c2e80 (patch)
treebee1c71414f93acc6129268611693eed89155031 /tools/perf/scripts/python
parentnet/mlx5: E-switch, Annotate esw state_lock mutex destroy (diff)
downloadlinux-0e6fa491e8b0a9a0115896fc88a404f8d89c2e80.tar.gz
linux-0e6fa491e8b0a9a0115896fc88a404f8d89c2e80.zip
net/mlx5: Avoid deriving mlx5_core_dev second time
All callers needs to work on mlx5_core_dev and it is already derived before calling mlx5_devlink_eswitch_check(). Hence, accept mlx5_core_dev in mlx5_devlink_eswitch_check(). Given that it works on mlx5_core_dev change helper function name to drop devlink prefix. Reviewed-by: Roi Dayan <roid@mellanox.com> Reviewed-by: Bodong Wang <bodong@mellanox.com> Signed-off-by: Parav Pandit <parav@mellanox.com> Reviewed-by: Mark Bloch <markb@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions