diff options
author | Junxian Huang <huangjunxian6@hisilicon.com> | 2023-12-07 12:42:28 +0100 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2023-12-07 14:09:16 +0100 |
commit | d3f4020a213e1cb125eed2363fca372a23f7de7a (patch) | |
tree | 0c06f75083f4ec1e6d8d199dd20c984abda06c77 /include/uapi/rdma | |
parent | RDMA/hns: Rename the interrupts (diff) | |
download | linux-d3f4020a213e1cb125eed2363fca372a23f7de7a.tar.xz linux-d3f4020a213e1cb125eed2363fca372a23f7de7a.zip |
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.h | 5 |
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 */ |