13 #ifndef __PACKET_INFINIBAND_H_
14 #define __PACKET_INFINIBAND_H_
16 #define MAD_DATA_SIZE 232
22 gboolean client_to_server;
26 guint8 mad_private_data[MAD_DATA_SIZE];
35 #define RC_SEND_FIRST 0
36 #define RC_SEND_MIDDLE 1
37 #define RC_SEND_LAST 2
38 #define RC_SEND_LAST_IMM 3
39 #define RC_SEND_ONLY 4
40 #define RC_SEND_ONLY_IMM 5
41 #define RC_RDMA_WRITE_FIRST 6
42 #define RC_RDMA_WRITE_MIDDLE 7
43 #define RC_RDMA_WRITE_LAST 8
44 #define RC_RDMA_WRITE_LAST_IMM 9
45 #define RC_RDMA_WRITE_ONLY 10
46 #define RC_RDMA_WRITE_ONLY_IMM 11
47 #define RC_RDMA_READ_REQUEST 12
48 #define RC_RDMA_READ_RESPONSE_FIRST 13
49 #define RC_RDMA_READ_RESPONSE_MIDDLE 14
50 #define RC_RDMA_READ_RESPONSE_LAST 15
51 #define RC_RDMA_READ_RESPONSE_ONLY 16
52 #define RC_ACKNOWLEDGE 17
53 #define RC_ATOMIC_ACKNOWLEDGE 18
54 #define RC_CMP_SWAP 19
55 #define RC_FETCH_ADD 20
56 #define RC_SEND_LAST_INVAL 22
57 #define RC_SEND_ONLY_INVAL 23
61 #define RD_SEND_FIRST 64
62 #define RD_SEND_MIDDLE 65
63 #define RD_SEND_LAST 66
64 #define RD_SEND_LAST_IMM 67
65 #define RD_SEND_ONLY 68
66 #define RD_SEND_ONLY_IMM 69
67 #define RD_RDMA_WRITE_FIRST 70
68 #define RD_RDMA_WRITE_MIDDLE 71
69 #define RD_RDMA_WRITE_LAST 72
70 #define RD_RDMA_WRITE_LAST_IMM 73
71 #define RD_RDMA_WRITE_ONLY 74
72 #define RD_RDMA_WRITE_ONLY_IMM 75
73 #define RD_RDMA_READ_REQUEST 76
74 #define RD_RDMA_READ_RESPONSE_FIRST 77
75 #define RD_RDMA_READ_RESPONSE_MIDDLE 78
76 #define RD_RDMA_READ_RESPONSE_LAST 79
77 #define RD_RDMA_READ_RESPONSE_ONLY 80
78 #define RD_ACKNOWLEDGE 81
79 #define RD_ATOMIC_ACKNOWLEDGE 82
80 #define RD_CMP_SWAP 83
81 #define RD_FETCH_ADD 84
86 #define UD_SEND_ONLY 100
87 #define UD_SEND_ONLY_IMM 101
91 #define UC_SEND_FIRST 32
92 #define UC_SEND_MIDDLE 33
93 #define UC_SEND_LAST 34
94 #define UC_SEND_LAST_IMM 35
95 #define UC_SEND_ONLY 36
96 #define UC_SEND_ONLY_IMM 37
97 #define UC_RDMA_WRITE_FIRST 38
98 #define UC_RDMA_WRITE_MIDDLE 39
99 #define UC_RDMA_WRITE_LAST 40
100 #define UC_RDMA_WRITE_LAST_IMM 41
101 #define UC_RDMA_WRITE_ONLY 42
102 #define UC_RDMA_WRITE_ONLY_IMM 43
105 #define ATTR_CM_REQ 0x0010
106 #define ATTR_CM_REJ 0x0012
107 #define ATTR_CM_REP 0x0013
108 #define ATTR_CM_RTU 0x0014
109 #define ATTR_CM_DREQ 0x0015
110 #define ATTR_CM_DRSP 0x0016
119 guint16 cm_attribute_id;
120 guint32 reth_remote_key;
121 guint64 reth_remote_address;
122 guint32 reth_dma_length;
123 guint32 packet_seq_num;
Definition: packet-infiniband.h:20
Definition: packet-infiniband.h:115