mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-23 21:19:04 -04:00
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>
This commit is contained in:
parent
9a657b4c4a
commit
633fb4d9fd
2 changed files with 9 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue