Go to the documentation of this file.
37 #include <linux/types.h>
39 #define RDS_IB_ABI_VERSION 0x301
44 #define RDS_CANCEL_SENT_TO 1
49 #define RDS_CONG_MONITOR 6
50 #define RDS_GET_MR_FOR_DEST 7
71 #define RDS_CMSG_RDMA_ARGS 1
72 #define RDS_CMSG_RDMA_DEST 2
73 #define RDS_CMSG_RDMA_MAP 3
74 #define RDS_CMSG_RDMA_STATUS 4
75 #define RDS_CMSG_CONG_UPDATE 5
76 #define RDS_CMSG_ATOMIC_FADD 6
77 #define RDS_CMSG_ATOMIC_CSWP 7
78 #define RDS_CMSG_MASKED_ATOMIC_FADD 8
79 #define RDS_CMSG_MASKED_ATOMIC_CSWP 9
81 #define RDS_INFO_FIRST 10000
82 #define RDS_INFO_COUNTERS 10000
83 #define RDS_INFO_CONNECTIONS 10001
85 #define RDS_INFO_SEND_MESSAGES 10003
86 #define RDS_INFO_RETRANS_MESSAGES 10004
87 #define RDS_INFO_RECV_MESSAGES 10005
88 #define RDS_INFO_SOCKETS 10006
89 #define RDS_INFO_TCP_SOCKETS 10007
90 #define RDS_INFO_IB_CONNECTIONS 10008
91 #define RDS_INFO_CONNECTION_STATS 10009
92 #define RDS_INFO_IWARP_CONNECTIONS 10010
93 #define RDS_INFO_LAST 10010
100 #define RDS_INFO_CONNECTION_FLAG_SENDING 0x01
101 #define RDS_INFO_CONNECTION_FLAG_CONNECTING 0x02
102 #define RDS_INFO_CONNECTION_FLAG_CONNECTED 0x04
104 #define TRANSNAMSIZ 16
115 #define RDS_INFO_MESSAGE_FLAG_ACK 0x01
116 #define RDS_INFO_MESSAGE_FLAG_FAST_ACK 0x02
150 #define RDS_IB_GID_LEN 16
187 #define RDS_CONG_MONITOR_SIZE 64
188 #define RDS_CONG_MONITOR_BIT(port) (((unsigned int) port) % RDS_CONG_MONITOR_SIZE)
189 #define RDS_CONG_MONITOR_MASK(port) (1ULL << RDS_CONG_MONITOR_BIT(port))
268 #define RDS_RDMA_SUCCESS 0
269 #define RDS_RDMA_REMOTE_ERROR 1
270 #define RDS_RDMA_CANCELED 2
271 #define RDS_RDMA_DROPPED 3
272 #define RDS_RDMA_OTHER_ERROR 4
277 #define RDS_RDMA_READWRITE 0x0001
278 #define RDS_RDMA_FENCE 0x0002
279 #define RDS_RDMA_INVALIDATE 0x0004
280 #define RDS_RDMA_USE_ONCE 0x0008
281 #define RDS_RDMA_DONTWAIT 0x0010
282 #define RDS_RDMA_NOTIFY_ME 0x0020
283 #define RDS_RDMA_SILENT 0x0040