diff options
author | 2022-07-11 01:14:01 -0700 | |
---|---|---|
committer | 2022-07-12 10:26:22 +0200 | |
commit | 03f9c47d0f7983bc73854ee34be6814b580ac7fc (patch) | |
tree | 520b65f991fa792a7f3df7c8c21465134ac36ba0 /net/core/devlink.c | |
parent | net/mlx5: Remove devl_unlock from mlx5_eswtich_mode_callback_enter (diff) | |
download | wireguard-linux-03f9c47d0f7983bc73854ee34be6814b580ac7fc.tar.xz wireguard-linux-03f9c47d0f7983bc73854ee34be6814b580ac7fc.zip |
net/mlx5: Use devl_ API for rate nodes destroy
Use devl_rate_nodes_destroy() instead of devlink_rate_nodes_destroy().
Add devlink instance lock in the driver paths to this function to have
it locked while calling devl_ API function.
This will be used by the downstream patch to invoke
mlx5_devlink_eswitch_mode_set() with devlink lock held.
Signed-off-by: Moshe Shemesh <moshe@nvidia.com>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'net/core/devlink.c')
0 files changed, 0 insertions, 0 deletions