diff options
| author | Akiva Goldberger <[email protected]> | 2024-06-27 21:23:50 +0300 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2024-06-27 16:28:22 -0300 |
| commit | 589b844f1bf04850d9fabcaa2e943325dc6768b4 (patch) | |
| tree | 3421b77a26719194a19303a3c04c1e013eb4d336 /include/uapi | |
| parent | dd6d7f8574d7f8b6a0bf1aeef0b285d2706b8c2a (diff) | |
RDMA/mlx5: Send UAR page index as ioctl attribute
Add UAR page index as a driver ioctl attribute to increase the number of
supported indices, previously limited to 16 bits by mlx5_ib_create_cq
struct.
Link: https://lore.kernel.org/r/0e18b34d7ec3b1ae02d694b0d545aed7413c0ef7.1719512393.git.leon@kernel.org
Signed-off-by: Akiva Goldberger <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/rdma/mlx5_user_ioctl_cmds.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/uapi/rdma/mlx5_user_ioctl_cmds.h b/include/uapi/rdma/mlx5_user_ioctl_cmds.h index 595edad03dfe..5b74d6534899 100644 --- a/include/uapi/rdma/mlx5_user_ioctl_cmds.h +++ b/include/uapi/rdma/mlx5_user_ioctl_cmds.h @@ -270,6 +270,10 @@ enum mlx5_ib_device_query_context_attrs { MLX5_IB_ATTR_QUERY_CONTEXT_RESP_UCTX = (1U << UVERBS_ID_NS_SHIFT), }; +enum mlx5_ib_create_cq_attrs { + MLX5_IB_ATTR_CREATE_CQ_UAR_INDEX = UVERBS_ID_DRIVER_NS_WITH_UHW, +}; + #define MLX5_IB_DW_MATCH_PARAM 0xA0 struct mlx5_ib_match_params { |