RDMA/mlx5: Support handling of SW encap ICM area
authorShun Hao <shunh@nvidia.com>
Wed, 6 Dec 2023 14:01:35 +0000 (16:01 +0200)
committerLeon Romanovsky <leon@kernel.org>
Tue, 12 Dec 2023 07:03:57 +0000 (09:03 +0200)
commita429ec96c07f3020af12029acefc46f42ff5c91c
treef123c3e533bddc9b65954c97e92c989d7bf3f455
parent1ca51628e7303718fdabe29c7d36f582500d5cf2
RDMA/mlx5: Support handling of SW encap ICM area

New type for this ICM area, now the user can allocate/deallocate
the new type of SW encap ICM memory, to store the encap header data
which are managed by SW.

Signed-off-by: Shun Hao <shunh@nvidia.com>
Link: https://lore.kernel.org/r/546fe43fc700240709e30acf7713ec6834d652bd.1701871118.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/mlx5/dm.c
drivers/infiniband/hw/mlx5/mr.c
include/linux/mlx5/driver.h
include/uapi/rdma/mlx5_user_ioctl_verbs.h