diff options
| author | Ram Amrani <Ram.Amrani@cavium.com> | 2016-10-10 06:15:34 -0400 |
|---|---|---|
| committer | Doug Ledford <dledford@redhat.com> | 2016-10-14 15:00:10 -0400 |
| commit | cecbcddf6461a11ce229e80bb3981415220c9763 (patch) | |
| tree | 36698f6c07e427f27b57f7c922700141f8ea2ab7 /include/uapi | |
| parent | a7efd7773e31b60f695816c27393fc717a9df127 (diff) | |
qedr: Add support for QP verbs
Add support for Queue Pair verbs which adds, deletes,
modifies and queries Queue Pairs.
Signed-off-by: Rajesh Borundia <rajesh.borundia@cavium.com>
Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/uapi')
| -rw-r--r-- | include/uapi/rdma/qedr-abi.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/include/uapi/rdma/qedr-abi.h b/include/uapi/rdma/qedr-abi.h index b0fc5f2125e0..75c270d839c8 100644 --- a/include/uapi/rdma/qedr-abi.h +++ b/include/uapi/rdma/qedr-abi.h | |||
| @@ -69,4 +69,38 @@ struct qedr_create_cq_uresp { | |||
| 69 | __u16 icid; | 69 | __u16 icid; |
| 70 | }; | 70 | }; |
| 71 | 71 | ||
| 72 | struct qedr_create_qp_ureq { | ||
| 73 | __u32 qp_handle_hi; | ||
| 74 | __u32 qp_handle_lo; | ||
| 75 | |||
| 76 | /* SQ */ | ||
| 77 | /* user space virtual address of SQ buffer */ | ||
| 78 | __u64 sq_addr; | ||
| 79 | |||
| 80 | /* length of SQ buffer */ | ||
| 81 | __u64 sq_len; | ||
| 82 | |||
| 83 | /* RQ */ | ||
| 84 | /* user space virtual address of RQ buffer */ | ||
| 85 | __u64 rq_addr; | ||
| 86 | |||
| 87 | /* length of RQ buffer */ | ||
| 88 | __u64 rq_len; | ||
| 89 | }; | ||
| 90 | |||
| 91 | struct qedr_create_qp_uresp { | ||
| 92 | __u32 qp_id; | ||
| 93 | __u32 atomic_supported; | ||
| 94 | |||
| 95 | /* SQ */ | ||
| 96 | __u32 sq_db_offset; | ||
| 97 | __u16 sq_icid; | ||
| 98 | |||
| 99 | /* RQ */ | ||
| 100 | __u32 rq_db_offset; | ||
| 101 | __u16 rq_icid; | ||
| 102 | |||
| 103 | __u32 rq_db2_offset; | ||
| 104 | }; | ||
| 105 | |||
| 72 | #endif /* __QEDR_USER_H__ */ | 106 | #endif /* __QEDR_USER_H__ */ |
