summaryrefslogtreecommitdiff
path: root/include/rdma/ib_hdrs.h
diff options
context:
space:
mode:
authorKaike Wan <kaike.wan@intel.com>2019-01-23 21:48:28 -0800
committerDoug Ledford <dledford@redhat.com>2019-02-05 18:07:43 -0500
commitc098bbb00cd1986cbb58ed1712643f80ed00fcc3 (patch)
tree3204232a72a64870d0f93f447ea1c73792f2fd39 /include/rdma/ib_hdrs.h
parenta2f3bde88174e5c8edf7d6f1b3403a9214439d50 (diff)
IB/hfi1: Build TID RDMA WRITE request
This patch adds the functions to build TID RDMA WRITE request. The work request opcode, packet opcode, and packet formats for TID RDMA WRITE protocol are also defined in this patch. Signed-off-by: Mitko Haralanov <mitko.haralanov@intel.com> Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Ashutosh Dixit <ashutosh.dixit@intel.com> Signed-off-by: Kaike Wan <kaike.wan@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'include/rdma/ib_hdrs.h')
-rw-r--r--include/rdma/ib_hdrs.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/rdma/ib_hdrs.h b/include/rdma/ib_hdrs.h
index 58a0a0f99e7f..9a90bd031e8c 100644
--- a/include/rdma/ib_hdrs.h
+++ b/include/rdma/ib_hdrs.h
@@ -123,6 +123,11 @@ union ib_ehdrs {
union {
struct tid_rdma_read_req r_req;
struct tid_rdma_read_resp r_rsp;
+ struct tid_rdma_write_req w_req;
+ struct tid_rdma_write_resp w_rsp;
+ struct tid_rdma_write_data w_data;
+ struct tid_rdma_resync resync;
+ struct tid_rdma_ack ack;
} tid_rdma;
} __packed;