aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2018-03-14 14:39:42 -0600
committerJason Gunthorpe <jgg@mellanox.com>2018-03-15 15:58:04 -0600
commit633fb4d9fdaa613308c136293107f28e08e85d25 (patch)
tree29d3e13600f6caedc5b7016afd5c69d0bfbf6245 /include
parentRDMA/i40iw: Move uapi header to include/uapi (diff)
downloadlinux-dev-633fb4d9fdaa613308c136293107f28e08e85d25.tar.xz
linux-dev-633fb4d9fdaa613308c136293107f28e08e85d25.zip
RDMA/hns: Use structs to describe the uABI instead of opencoding
Open coding a loose value is not acceptable for describing the uABI in RDMA. Provide the missing struct. Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include')
-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 f7af7e59a5e4..aa774985a0c7 100644
--- a/include/uapi/rdma/hns-abi.h
+++ b/include/uapi/rdma/hns-abi.h
@@ -63,4 +63,9 @@ struct hns_roce_ib_alloc_ucontext_resp {
__u32 qp_tab_size;
__u32 reserved;
};
+
+struct hns_roce_ib_alloc_pd_resp {
+ __u32 pdn;
+};
+
#endif /* HNS_ABI_USER_H */