summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMoshe Shemesh <moshe@nvidia.com>2022-07-28 18:53:45 +0300
committerJakub Kicinski <kuba@kernel.org>2022-07-29 07:58:46 +0300
commit84a433a40d0ebf3bbf36b8bfa58c6f45dc782344 (patch)
tree29d14ccf6e933e6f50d2d003c7623a7b65ceec2c /tools/perf/scripts/python/export-to-sqlite.py
parentc12f4c6ac3b49bdf38b31f7362cfde5ed63ea7cb (diff)
downloadlinux-84a433a40d0ebf3bbf36b8bfa58c6f45dc782344.tar.xz
net/mlx5: Lock mlx5 devlink reload callbacks
Change devlink instance locks in mlx5 driver to have devlink reload callbacks locked, while keeping all driver paths which lead to devl_ API functions called by the driver locked. Add mlx5_load_one_devl_locked() and mlx5_unload_one_devl_locked() which are used by the paths which are already locked such as devlink reload callbacks. This patch makes the driver use devl_ API also for traps register as these functions are called from the driver paths parallel to reload that requires locking now. Signed-off-by: Moshe Shemesh <moshe@nvidia.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions