net/mlx5: Change define name for 0x100 lkey value
authorOr Har-Toov <ohartoov@nvidia.com>
Tue, 17 Jan 2023 13:14:50 +0000 (15:14 +0200)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 17 Feb 2023 20:22:22 +0000 (16:22 -0400)
commita419bfb7632095410adc3aecb1e863568f049add
tree00313be7362883f9ff640be3c4d1efaac165daa2
parent4b7296aa6c6618d6a6840fbe857e4990f626bd90
net/mlx5: Change define name for 0x100 lkey value

Change define of 0x100 lkey value from MLX5_INVALID_LKEY to be
MLX5_TERMINATE_SCATTER_LIST_LKEY as 0x100 is the value of
terminate_scatter_list_mkey.

Link: https://lore.kernel.org/r/3a116dc3fbae4cb6b76a63d27d418830b06ade0c.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/infiniband/hw/mlx5/odp.c
drivers/infiniband/hw/mlx5/srq.c
drivers/infiniband/hw/mlx5/wr.c
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
include/linux/mlx5/qp.h