Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
cm_msgs.h File Reference
#include <rdma/ib_mad.h>
#include <rdma/ib_cm.h>

Go to the source code of this file.

Data Structures

struct  cm_req_msg
 
struct  cm_mra_msg
 
struct  cm_rej_msg
 
struct  cm_rep_msg
 
struct  cm_rtu_msg
 
struct  cm_dreq_msg
 
struct  cm_drep_msg
 
struct  cm_lap_msg
 
struct  cm_apr_msg
 
struct  cm_sidr_req_msg
 
struct  cm_sidr_rep_msg
 

Macros

#define IB_CM_CLASS_VERSION   2 /* IB specification 1.2 */
 

Enumerations

enum  cm_msg_sequence { CM_MSG_SEQUENCE_REQ, CM_MSG_SEQUENCE_LAP, CM_MSG_SEQUENCE_DREQ, CM_MSG_SEQUENCE_SIDR }
 
enum  cm_msg_response { CM_MSG_RESPONSE_REQ = 0x0, CM_MSG_RESPONSE_REP = 0x1, CM_MSG_RESPONSE_OTHER = 0x2 }
 

Functions

struct cm_req_msg __attribute__ ((packed))
 

Variables

struct ib_mad_hdr hdr
 
__be32 local_comm_id
 
__be32 rsvd4
 
__be64 service_id
 
__be64 local_ca_guid
 
__be32 rsvd24
 
__be32 local_qkey
 
__be32 offset32
 
__be32 offset36
 
__be32 offset40
 
__be32 offset44
 
__be16 pkey
 
u8 offset50
 
u8 offset51
 
__be16 primary_local_lid
 
__be16 primary_remote_lid
 
union ib_gid primary_local_gid
 
union ib_gid primary_remote_gid
 
__be32 primary_offset88
 
u8 primary_traffic_class
 
u8 primary_hop_limit
 
u8 primary_offset94
 
u8 primary_offset95
 
__be16 alt_local_lid
 
__be16 alt_remote_lid
 
union ib_gid alt_local_gid
 
union ib_gid alt_remote_gid
 
__be32 alt_offset132
 
u8 alt_traffic_class
 
u8 alt_hop_limit
 
u8 alt_offset138
 
u8 alt_offset139
 
u8 private_data [IB_CM_REQ_PRIVATE_DATA_SIZE]
 
enum cm_msg_response __attribute__
 
__be32 remote_comm_id
 
u8 offset8
 
u8 offset9
 
__be16 reason
 
u8 ari [IB_CM_REJ_ARI_LENGTH]
 
__be32 offset12
 
__be32 offset16
 
__be32 offset20
 
u8 resp_resources
 
u8 initiator_depth
 
u8 offset26
 
u8 offset27
 
__be32 rsvd8
 
__be32 rsvd16
 
__be32 offset56
 
u8 offset61
 
u8 offset62
 
u8 offset63
 
u8 info_length
 
u8 ap_status
 
__be16 rsvd
 
u8 info [IB_CM_APR_INFO_LENGTH]
 
__be32 request_id
 
u8 status
 
__be32 qkey
 

Macro Definition Documentation

#define IB_CM_CLASS_VERSION   2 /* IB specification 1.2 */

Definition at line 45 of file cm_msgs.h.

Enumeration Type Documentation

Enumerator:
CM_MSG_RESPONSE_REQ 
CM_MSG_RESPONSE_REP 
CM_MSG_RESPONSE_OTHER 

Definition at line 415 of file cm_msgs.h.

Enumerator:
CM_MSG_SEQUENCE_REQ 
CM_MSG_SEQUENCE_LAP 
CM_MSG_SEQUENCE_DREQ 
CM_MSG_SEQUENCE_SIDR 

Definition at line 47 of file cm_msgs.h.

Function Documentation

struct cm_req_msg __attribute__ ( (packed)  )
read

Definition at line 171 of file esd_usb2.c.

Variable Documentation

u8 alt_hop_limit

Definition at line 154 of file cm_msgs.h.

union ib_gid alt_local_gid

Definition at line 149 of file cm_msgs.h.

__be16 alt_local_lid

Definition at line 147 of file cm_msgs.h.

__be32 alt_offset132

Definition at line 152 of file cm_msgs.h.

u8 alt_offset138

Definition at line 156 of file cm_msgs.h.

u8 alt_offset139

Definition at line 158 of file cm_msgs.h.

union ib_gid alt_remote_gid

Definition at line 150 of file cm_msgs.h.

__be16 alt_remote_lid

Definition at line 148 of file cm_msgs.h.

u8 alt_traffic_class

Definition at line 153 of file cm_msgs.h.

u8 ap_status

Definition at line 801 of file cm_msgs.h.

Definition at line 481 of file cm_msgs.h.

Definition at line 109 of file cm_msgs.h.

Definition at line 803 of file cm_msgs.h.

u8 info_length

Definition at line 800 of file cm_msgs.h.

u8 initiator_depth

Definition at line 529 of file cm_msgs.h.

__be64 local_ca_guid

Definition at line 114 of file cm_msgs.h.

__be32 local_comm_id

Definition at line 111 of file cm_msgs.h.

__be32 local_qkey

Definition at line 116 of file cm_msgs.h.

__be32 offset12

Definition at line 523 of file cm_msgs.h.

__be32 offset16

Definition at line 525 of file cm_msgs.h.

__be32 offset20

Definition at line 527 of file cm_msgs.h.

u8 offset26

Definition at line 531 of file cm_msgs.h.

u8 offset27

Definition at line 533 of file cm_msgs.h.

__be32 offset32

Definition at line 118 of file cm_msgs.h.

__be32 offset36

Definition at line 120 of file cm_msgs.h.

__be32 offset40

Definition at line 125 of file cm_msgs.h.

__be32 offset44

Definition at line 127 of file cm_msgs.h.

u8 offset50

Definition at line 130 of file cm_msgs.h.

u8 offset51

Definition at line 132 of file cm_msgs.h.

__be32 offset56

Definition at line 701 of file cm_msgs.h.

u8 offset61

Definition at line 704 of file cm_msgs.h.

u8 offset62

Definition at line 706 of file cm_msgs.h.

u8 offset63

Definition at line 708 of file cm_msgs.h.

__be32 offset8

Definition at line 439 of file cm_msgs.h.

u8 offset9

Definition at line 441 of file cm_msgs.h.

__be16 pkey

Definition at line 128 of file cm_msgs.h.

u8 primary_hop_limit

Definition at line 141 of file cm_msgs.h.

union ib_gid primary_local_gid

Definition at line 136 of file cm_msgs.h.

__be16 primary_local_lid

Definition at line 134 of file cm_msgs.h.

__be32 primary_offset88

Definition at line 139 of file cm_msgs.h.

u8 primary_offset94

Definition at line 143 of file cm_msgs.h.

u8 primary_offset95

Definition at line 145 of file cm_msgs.h.

union ib_gid primary_remote_gid

Definition at line 137 of file cm_msgs.h.

__be16 primary_remote_lid

Definition at line 135 of file cm_msgs.h.

u8 primary_traffic_class

Definition at line 140 of file cm_msgs.h.

u8 private_data

Definition at line 160 of file cm_msgs.h.

__be32 qkey

Definition at line 831 of file cm_msgs.h.

__be16 reason

Definition at line 480 of file cm_msgs.h.

__be32 remote_comm_id

Definition at line 437 of file cm_msgs.h.

Definition at line 808 of file cm_msgs.h.

u8 resp_resources

Definition at line 528 of file cm_msgs.h.

__be16 rsvd

Definition at line 802 of file cm_msgs.h.

__be32 rsvd16

Definition at line 694 of file cm_msgs.h.

__be32 rsvd24

Definition at line 115 of file cm_msgs.h.

__be32 rsvd4

Definition at line 112 of file cm_msgs.h.

__be32 rsvd8

Definition at line 691 of file cm_msgs.h.

__be64 service_id

Definition at line 113 of file cm_msgs.h.

Definition at line 825 of file cm_msgs.h.