net/mlx5e: Use query_special_contexts for mkeys
authorOr Har-Toov <ohartoov@nvidia.com>
Tue, 17 Jan 2023 13:14:51 +0000 (15:14 +0200)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 17 Feb 2023 20:22:22 +0000 (16:22 -0400)
commit1b1e4868836a4b5b375be75fd4c9583d29500517
tree14ff773a219cbeb158034f7085e59a1ea9d10dcd
parenta419bfb7632095410adc3aecb1e863568f049add
net/mlx5e: Use query_special_contexts for mkeys

Use query_sepcial_contexts in order to get the correct value of
terminate_scatter_list_mkey, as FW will change it for certain
configurations.

Link: https://lore.kernel.org/r/fff70d94258233effb0e34f3d62cb08a692f5af5.1673960981.git.leon@kernel.org
Signed-off-by: Or Har-Toov <ohartoov@nvidia.com>
Reviewed-by: Michael Guralnik <michaelgur@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c