]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
RDMA/mlx5: Add support for TLP VAR allocation
authorMaher Sanalla <msanalla@nvidia.com>
Wed, 25 Feb 2026 14:19:35 +0000 (16:19 +0200)
committerLeon Romanovsky <leonro@nvidia.com>
Thu, 5 Mar 2026 10:42:01 +0000 (05:42 -0500)
commit75b864f08773a6a69f8c467dc2516e5e06414fa7
tree9cd32e9066965115292af2e7e5c8edfd4ad622ad
parentd3552a1f1e2074effc9d1822911b562a9996e224
RDMA/mlx5: Add support for TLP VAR allocation

Extend the VAR allocation UAPI to accept an optional flags attribute,
allowing userspace to request TLP VAR allocation via the
MLX5_IB_UAPI_VAR_ALLOC_FLAG_TLP flag.

When the TLP flag "MLX5_IB_UAPI_VAR_ALLOC_FLAG_TLP" is specified,
the driver selects the TLP VAR region for allocation instead of the
regular VirtIO VAR region.

Signed-off-by: Maher Sanalla <msanalla@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
drivers/infiniband/hw/mlx5/main.c
include/uapi/rdma/mlx5_user_ioctl_cmds.h
include/uapi/rdma/mlx5_user_ioctl_verbs.h