diff options
author | Jason Gunthorpe <jgg@mellanox.com> | 2018-03-14 16:01:50 -0600 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-03-15 15:58:04 -0600 |
commit | 7f86260b5f44d93ab20d3e9afda0e3f48d005ffe (patch) | |
tree | 9d5b717f71c82069e5f3eabcdf951d3b98fc20a3 /include/uapi/rdma/cxgb4-abi.h | |
parent | 633fb4d9fdaa613308c136293107f28e08e85d25 (diff) | |
download | blackbird-obmc-linux-7f86260b5f44d93ab20d3e9afda0e3f48d005ffe.tar.gz blackbird-obmc-linux-7f86260b5f44d93ab20d3e9afda0e3f48d005ffe.zip |
RDMA/cxgb4: 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.
Reviewed-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'include/uapi/rdma/cxgb4-abi.h')
-rw-r--r-- | include/uapi/rdma/cxgb4-abi.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/uapi/rdma/cxgb4-abi.h b/include/uapi/rdma/cxgb4-abi.h index 05f71f1bc119..c398a1ee8d00 100644 --- a/include/uapi/rdma/cxgb4-abi.h +++ b/include/uapi/rdma/cxgb4-abi.h @@ -79,4 +79,9 @@ struct c4iw_alloc_ucontext_resp { __u32 status_page_size; __u32 reserved; /* explicit padding (optional for i386) */ }; + +struct c4iw_alloc_pd_resp { + __u32 pdid; +}; + #endif /* CXGB4_ABI_USER_H */ |