Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions | Variables
rds.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  rds_info_counter
 
struct  rds_info_connection
 
struct  rds_info_message
 
struct  rds_info_socket
 
struct  rds_info_tcp_socket
 
struct  rds_info_rdma_connection
 
struct  rds_iovec
 
struct  rds_get_mr_args
 
struct  rds_get_mr_for_dest_args
 
struct  rds_free_mr_args
 
struct  rds_rdma_args
 
struct  rds_atomic_args
 
struct  rds_rdma_notify
 

Macros

#define RDS_IB_ABI_VERSION   0x301
 
#define RDS_CANCEL_SENT_TO   1
 
#define RDS_GET_MR   2
 
#define RDS_FREE_MR   3
 
#define RDS_RECVERR   5
 
#define RDS_CONG_MONITOR   6
 
#define RDS_GET_MR_FOR_DEST   7
 
#define RDS_CMSG_RDMA_ARGS   1
 
#define RDS_CMSG_RDMA_DEST   2
 
#define RDS_CMSG_RDMA_MAP   3
 
#define RDS_CMSG_RDMA_STATUS   4
 
#define RDS_CMSG_CONG_UPDATE   5
 
#define RDS_CMSG_ATOMIC_FADD   6
 
#define RDS_CMSG_ATOMIC_CSWP   7
 
#define RDS_CMSG_MASKED_ATOMIC_FADD   8
 
#define RDS_CMSG_MASKED_ATOMIC_CSWP   9
 
#define RDS_INFO_FIRST   10000
 
#define RDS_INFO_COUNTERS   10000
 
#define RDS_INFO_CONNECTIONS   10001
 
#define RDS_INFO_SEND_MESSAGES   10003
 
#define RDS_INFO_RETRANS_MESSAGES   10004
 
#define RDS_INFO_RECV_MESSAGES   10005
 
#define RDS_INFO_SOCKETS   10006
 
#define RDS_INFO_TCP_SOCKETS   10007
 
#define RDS_INFO_IB_CONNECTIONS   10008
 
#define RDS_INFO_CONNECTION_STATS   10009
 
#define RDS_INFO_IWARP_CONNECTIONS   10010
 
#define RDS_INFO_LAST   10010
 
#define RDS_INFO_CONNECTION_FLAG_SENDING   0x01
 
#define RDS_INFO_CONNECTION_FLAG_CONNECTING   0x02
 
#define RDS_INFO_CONNECTION_FLAG_CONNECTED   0x04
 
#define TRANSNAMSIZ   16
 
#define RDS_INFO_MESSAGE_FLAG_ACK   0x01
 
#define RDS_INFO_MESSAGE_FLAG_FAST_ACK   0x02
 
#define RDS_IB_GID_LEN   16
 
#define RDS_CONG_MONITOR_SIZE   64
 
#define RDS_CONG_MONITOR_BIT(port)   (((unsigned int) port) % RDS_CONG_MONITOR_SIZE)
 
#define RDS_CONG_MONITOR_MASK(port)   (1ULL << RDS_CONG_MONITOR_BIT(port))
 
#define RDS_RDMA_SUCCESS   0
 
#define RDS_RDMA_REMOTE_ERROR   1
 
#define RDS_RDMA_CANCELED   2
 
#define RDS_RDMA_DROPPED   3
 
#define RDS_RDMA_OTHER_ERROR   4
 
#define RDS_RDMA_READWRITE   0x0001
 
#define RDS_RDMA_FENCE   0x0002 /* use FENCE for immediate send */
 
#define RDS_RDMA_INVALIDATE   0x0004 /* invalidate R_Key after freeing MR */
 
#define RDS_RDMA_USE_ONCE   0x0008 /* free MR after use */
 
#define RDS_RDMA_DONTWAIT   0x0010 /* Don't wait in SET_BARRIER */
 
#define RDS_RDMA_NOTIFY_ME   0x0020 /* Notify when operation completes */
 
#define RDS_RDMA_SILENT   0x0040 /* Do not interrupt remote */
 

Typedefs

typedef uint64_t rds_rdma_cookie_t
 

Functions

struct rds_info_counter __attribute__ ((packed))
 

Variables

uint8_t name [32]
 
uint64_t value
 
uint64_t next_tx_seq
 
uint64_t next_rx_seq
 
__be32 laddr
 
__be32 faddr
 
uint8_t transport [TRANSNAMSIZ]
 
uint8_t flags
 
uint64_t seq
 
uint32_t len
 
__be16 lport
 
__be16 fport
 
uint32_t sndbuf
 
__be32 bound_addr
 
__be32 connected_addr
 
__be16 bound_port
 
__be16 connected_port
 
uint32_t rcvbuf
 
uint64_t inum
 
__be32 local_addr
 
__be16 local_port
 
__be32 peer_addr
 
__be16 peer_port
 
uint64_t hdr_rem
 
uint64_t data_rem
 
uint32_t last_sent_nxt
 
uint32_t last_expected_una
 
uint32_t last_seen_una
 
struct rds_info_rdma_connection __attribute__
 

Macro Definition Documentation

#define RDS_CANCEL_SENT_TO   1

Definition at line 44 of file rds.h.

#define RDS_CMSG_ATOMIC_CSWP   7

Definition at line 77 of file rds.h.

#define RDS_CMSG_ATOMIC_FADD   6

Definition at line 76 of file rds.h.

#define RDS_CMSG_CONG_UPDATE   5

Definition at line 75 of file rds.h.

#define RDS_CMSG_MASKED_ATOMIC_CSWP   9

Definition at line 79 of file rds.h.

#define RDS_CMSG_MASKED_ATOMIC_FADD   8

Definition at line 78 of file rds.h.

#define RDS_CMSG_RDMA_ARGS   1

Definition at line 71 of file rds.h.

#define RDS_CMSG_RDMA_DEST   2

Definition at line 72 of file rds.h.

#define RDS_CMSG_RDMA_MAP   3

Definition at line 73 of file rds.h.

#define RDS_CMSG_RDMA_STATUS   4

Definition at line 74 of file rds.h.

#define RDS_CONG_MONITOR   6

Definition at line 49 of file rds.h.

#define RDS_CONG_MONITOR_BIT (   port)    (((unsigned int) port) % RDS_CONG_MONITOR_SIZE)

Definition at line 188 of file rds.h.

#define RDS_CONG_MONITOR_MASK (   port)    (1ULL << RDS_CONG_MONITOR_BIT(port))

Definition at line 189 of file rds.h.

#define RDS_CONG_MONITOR_SIZE   64

Definition at line 187 of file rds.h.

#define RDS_FREE_MR   3

Definition at line 46 of file rds.h.

#define RDS_GET_MR   2

Definition at line 45 of file rds.h.

#define RDS_GET_MR_FOR_DEST   7

Definition at line 50 of file rds.h.

#define RDS_IB_ABI_VERSION   0x301

Definition at line 39 of file rds.h.

#define RDS_IB_GID_LEN   16

Definition at line 150 of file rds.h.

#define RDS_INFO_CONNECTION_FLAG_CONNECTED   0x04

Definition at line 102 of file rds.h.

#define RDS_INFO_CONNECTION_FLAG_CONNECTING   0x02

Definition at line 101 of file rds.h.

#define RDS_INFO_CONNECTION_FLAG_SENDING   0x01

Definition at line 100 of file rds.h.

#define RDS_INFO_CONNECTION_STATS   10009

Definition at line 91 of file rds.h.

#define RDS_INFO_CONNECTIONS   10001

Definition at line 83 of file rds.h.

#define RDS_INFO_COUNTERS   10000

Definition at line 82 of file rds.h.

#define RDS_INFO_FIRST   10000

Definition at line 81 of file rds.h.

#define RDS_INFO_IB_CONNECTIONS   10008

Definition at line 90 of file rds.h.

#define RDS_INFO_IWARP_CONNECTIONS   10010

Definition at line 92 of file rds.h.

#define RDS_INFO_LAST   10010

Definition at line 93 of file rds.h.

#define RDS_INFO_MESSAGE_FLAG_ACK   0x01

Definition at line 115 of file rds.h.

#define RDS_INFO_MESSAGE_FLAG_FAST_ACK   0x02

Definition at line 116 of file rds.h.

#define RDS_INFO_RECV_MESSAGES   10005

Definition at line 87 of file rds.h.

#define RDS_INFO_RETRANS_MESSAGES   10004

Definition at line 86 of file rds.h.

#define RDS_INFO_SEND_MESSAGES   10003

Definition at line 85 of file rds.h.

#define RDS_INFO_SOCKETS   10006

Definition at line 88 of file rds.h.

#define RDS_INFO_TCP_SOCKETS   10007

Definition at line 89 of file rds.h.

#define RDS_RDMA_CANCELED   2

Definition at line 270 of file rds.h.

#define RDS_RDMA_DONTWAIT   0x0010 /* Don't wait in SET_BARRIER */

Definition at line 281 of file rds.h.

#define RDS_RDMA_DROPPED   3

Definition at line 271 of file rds.h.

#define RDS_RDMA_FENCE   0x0002 /* use FENCE for immediate send */

Definition at line 278 of file rds.h.

#define RDS_RDMA_INVALIDATE   0x0004 /* invalidate R_Key after freeing MR */

Definition at line 279 of file rds.h.

#define RDS_RDMA_NOTIFY_ME   0x0020 /* Notify when operation completes */

Definition at line 282 of file rds.h.

#define RDS_RDMA_OTHER_ERROR   4

Definition at line 272 of file rds.h.

#define RDS_RDMA_READWRITE   0x0001

Definition at line 277 of file rds.h.

#define RDS_RDMA_REMOTE_ERROR   1

Definition at line 269 of file rds.h.

#define RDS_RDMA_SILENT   0x0040 /* Do not interrupt remote */

Definition at line 283 of file rds.h.

#define RDS_RDMA_SUCCESS   0

Definition at line 268 of file rds.h.

#define RDS_RDMA_USE_ONCE   0x0008 /* free MR after use */

Definition at line 280 of file rds.h.

#define RDS_RECVERR   5

Definition at line 48 of file rds.h.

#define TRANSNAMSIZ   16

Definition at line 104 of file rds.h.

Typedef Documentation

Definition at line 202 of file rds.h.

Function Documentation

struct rds_info_counter __attribute__ ( (packed)  )
read

mcontroller : adapter info structure for old mimd_t apps

: base address : irq number : number of logical drives : pci bus : pci device : pci function : pci id : vendor id : slot number : unique id

Definition at line 171 of file esd_usb2.c.

Variable Documentation

__be32 bound_addr

Definition at line 138 of file rds.h.

__be16 bound_port

Definition at line 140 of file rds.h.

__be32 connected_addr

Definition at line 139 of file rds.h.

__be16 connected_port

Definition at line 141 of file rds.h.

uint64_t data_rem

Definition at line 154 of file rds.h.

__be32 faddr

Definition at line 117 of file rds.h.

uint8_t flags

Definition at line 119 of file rds.h.

__be16 fport

Definition at line 132 of file rds.h.

uint64_t hdr_rem

Definition at line 153 of file rds.h.

uint64_t inum

Definition at line 143 of file rds.h.

Definition at line 116 of file rds.h.

uint32_t last_expected_una

Definition at line 156 of file rds.h.

uint32_t last_seen_una

Definition at line 157 of file rds.h.

uint32_t last_sent_nxt

Definition at line 155 of file rds.h.

uint32_t len

Definition at line 128 of file rds.h.

__be32 local_addr

Definition at line 149 of file rds.h.

__be16 local_port

Definition at line 150 of file rds.h.

__be16 lport

Definition at line 131 of file rds.h.

uint8_t name[32]

Definition at line 99 of file rds.h.

uint64_t next_rx_seq

Definition at line 115 of file rds.h.

uint64_t next_tx_seq

Definition at line 114 of file rds.h.

__be32 peer_addr

Definition at line 151 of file rds.h.

__be16 peer_port

Definition at line 152 of file rds.h.

uint32_t rcvbuf

Definition at line 142 of file rds.h.

uint64_t seq

Definition at line 127 of file rds.h.

uint32_t sndbuf

Definition at line 137 of file rds.h.

Definition at line 118 of file rds.h.

uint64_t value

Definition at line 100 of file rds.h.