diff options
| author | Yishai Hadas <yishaih@nvidia.com> | 2024-08-01 15:05:17 +0300 |
|---|---|---|
| committer | Leon Romanovsky <leon@kernel.org> | 2024-08-11 11:12:50 +0300 |
| commit | ec7ad6530909983c8736c80af46e3529ce7bab55 (patch) | |
| tree | 1c96e00fad2fbb4baded93b02c11885daf0fb4a2 /include/uapi | |
| parent | de8f847a5114ff7cfcdfc114af8485c431dec703 (diff) | |
| download | linux-ec7ad6530909983c8736c80af46e3529ce7bab55.tar.xz | |
RDMA/mlx5: Introduce GET_DATA_DIRECT_SYSFS_PATH ioctl
Introduce the 'GET_DATA_DIRECT_SYSFS_PATH' ioctl to return the sysfs
path of the affiliated 'data direct' device for a given device.
Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Link: https://patch.msgid.link/403745463e0ef52adbef681ff09aa6a29a756352.1722512548.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/rdma/mlx5_user_ioctl_cmds.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/uapi/rdma/mlx5_user_ioctl_cmds.h b/include/uapi/rdma/mlx5_user_ioctl_cmds.h index 106276a4cce7..fd2e4a3a56b3 100644 --- a/include/uapi/rdma/mlx5_user_ioctl_cmds.h +++ b/include/uapi/rdma/mlx5_user_ioctl_cmds.h @@ -348,6 +348,7 @@ enum mlx5_ib_pd_methods { enum mlx5_ib_device_methods { MLX5_IB_METHOD_QUERY_PORT = (1U << UVERBS_ID_NS_SHIFT), + MLX5_IB_METHOD_GET_DATA_DIRECT_SYSFS_PATH, }; enum mlx5_ib_query_port_attrs { @@ -355,4 +356,8 @@ enum mlx5_ib_query_port_attrs { MLX5_IB_ATTR_QUERY_PORT, }; +enum mlx5_ib_get_data_direct_sysfs_path_attrs { + MLX5_IB_ATTR_GET_DATA_DIRECT_SYSFS_PATH = (1U << UVERBS_ID_NS_SHIFT), +}; + #endif |
