diff options
author | Moshe Shemesh <moshe@nvidia.com> | 2022-07-11 01:14:01 -0700 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-07-12 10:26:22 +0200 |
commit | 03f9c47d0f7983bc73854ee34be6814b580ac7fc (patch) | |
tree | 520b65f991fa792a7f3df7c8c21465134ac36ba0 /include/net/gtp.h | |
parent | 367dfa1212050b9418b890a2f74a3550e31b571d (diff) |
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 'include/net/gtp.h')
0 files changed, 0 insertions, 0 deletions