summaryrefslogtreecommitdiffstats
path: root/include/uapi/rdma
diff options
context:
space:
mode:
authorMoni Shoua2016-11-23 07:23:23 +0100
committerDoug Ledford2016-12-13 19:37:19 +0100
commit6ad279c5a2e55bf2bd100b4222090d4717de88d5 (patch)
treedabc2b5a782ba821d3f2d41887a672580eac7bc1 /include/uapi/rdma
parentIB/core: Change ib_resolve_eth_dmac to use it in create AH (diff)
downloadkernel-qcow2-linux-6ad279c5a2e55bf2bd100b4222090d4717de88d5.tar.gz
kernel-qcow2-linux-6ad279c5a2e55bf2bd100b4222090d4717de88d5.tar.xz
kernel-qcow2-linux-6ad279c5a2e55bf2bd100b4222090d4717de88d5.zip
IB/mlx5: Report that device has udata response in create_ah
To make mlx5 user driver aware of whether kernel driver returns dmac in user data response add a new flag that will be returned back to user-space through alloc_ucontext. Signed-off-by: Moni Shoua <monis@mellanox.com> Reviewed-by: Yishai Hadas <yishaih@mellanox.com> Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/uapi/rdma')
-rw-r--r--include/uapi/rdma/mlx5-abi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uapi/rdma/mlx5-abi.h b/include/uapi/rdma/mlx5-abi.h
index b0a41c8dc1fb..ac28729a1245 100644
--- a/include/uapi/rdma/mlx5-abi.h
+++ b/include/uapi/rdma/mlx5-abi.h
@@ -82,6 +82,7 @@ enum mlx5_ib_alloc_ucontext_resp_mask {
enum mlx5_user_cmds_supp_uhw {
MLX5_USER_CMDS_SUPP_UHW_QUERY_DEVICE = 1 << 0,
+ MLX5_USER_CMDS_SUPP_UHW_CREATE_AH = 1 << 1,
};
struct mlx5_ib_alloc_ucontext_resp {