summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorJason Gunthorpe <jgg@mellanox.com>2018-03-20 13:59:50 -0600
committerJason Gunthorpe <jgg@mellanox.com>2018-03-22 12:42:48 -0600
commit761fc376c999df9febaa491bffae2f6722f423ff (patch)
tree18f4a612a1982cbae4e245bddccec0d9e15b69f6 /include/uapi
parent97d82a48d7a7eca6f20b100ae19811134509406e (diff)
downloadop-kernel-dev-761fc376c999df9febaa491bffae2f6722f423ff.zip
op-kernel-dev-761fc376c999df9febaa491bffae2f6722f423ff.tar.gz
RDMA/cxgb3: 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. Acked-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/rdma/cxgb3-abi.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/uapi/rdma/cxgb3-abi.h b/include/uapi/rdma/cxgb3-abi.h
index d5745e4..17116c1c 100644
--- a/include/uapi/rdma/cxgb3-abi.h
+++ b/include/uapi/rdma/cxgb3-abi.h
@@ -74,4 +74,9 @@ struct iwch_create_qp_resp {
struct iwch_reg_user_mr_resp {
__u32 pbl_addr;
};
+
+struct iwch_alloc_pd_resp {
+ __u32 pdid;
+};
+
#endif /* CXGB3_ABI_USER_H */
OpenPOWER on IntegriCloud