Commit 60722c2b authored by Achiad Shochat's avatar Achiad Shochat Committed by David S. Miller

net/mlx5_core: Use the right inbox struct in destroy mkey command

struct mlx5_query_mkey_mbox_in rather than mlx5_destroy_mkey_mbox_in
Signed-off-by: default avatarAchiad Shochat <achiad@mellanox.com>
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
Signed-off-by: default avatarEli Cohen <eli@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent b812b544
...@@ -141,7 +141,7 @@ EXPORT_SYMBOL(mlx5_core_destroy_mkey); ...@@ -141,7 +141,7 @@ EXPORT_SYMBOL(mlx5_core_destroy_mkey);
int mlx5_core_query_mkey(struct mlx5_core_dev *dev, struct mlx5_core_mr *mr, int mlx5_core_query_mkey(struct mlx5_core_dev *dev, struct mlx5_core_mr *mr,
struct mlx5_query_mkey_mbox_out *out, int outlen) struct mlx5_query_mkey_mbox_out *out, int outlen)
{ {
struct mlx5_destroy_mkey_mbox_in in; struct mlx5_query_mkey_mbox_in in;
int err; int err;
memset(&in, 0, sizeof(in)); memset(&in, 0, sizeof(in));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment