summaryrefslogtreecommitdiff
path: root/include/uapi/rdma
diff options
context:
space:
mode:
authorJunxian Huang <huangjunxian6@hisilicon.com>2023-12-07 19:42:28 +0800
committerLeon Romanovsky <leon@kernel.org>2023-12-07 15:09:16 +0200
commitd3f4020a213e1cb125eed2363fca372a23f7de7a (patch)
tree0c06f75083f4ec1e6d8d199dd20c984abda06c77 /include/uapi/rdma
parent95f6b40082aaf37fd0553828982402af36f81685 (diff)
RDMA/hns: Response dmac to userspace
While creating AH, dmac is already resolved in kernel. Response dmac to userspace so that userspace doesn't need to resolve dmac repeatedly. Signed-off-by: Junxian Huang <huangjunxian6@hisilicon.com> Link: https://lore.kernel.org/r/20231207114231.2872104-3-huangjunxian6@hisilicon.com Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'include/uapi/rdma')
-rw-r--r--include/uapi/rdma/hns-abi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/uapi/rdma/hns-abi.h b/include/uapi/rdma/hns-abi.h
index ce0f37f83416..c996e151081e 100644
--- a/include/uapi/rdma/hns-abi.h
+++ b/include/uapi/rdma/hns-abi.h
@@ -125,4 +125,9 @@ struct hns_roce_ib_alloc_pd_resp {
__u32 pdn;
};
+struct hns_roce_ib_create_ah_resp {
+ __u8 dmac[6];
+ __u8 reserved[2];
+};
+
#endif /* HNS_ABI_USER_H */