Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
ib_user_mad_hdr Struct Reference

#include <ib_user_mad.h>

Data Fields

__u32 id
 
__u32 status
 
__u32 timeout_ms
 
__u32 retries
 
__u32 length
 
__be32 qpn
 
__be32 qkey
 
__be16 lid
 
__u8 sl
 
__u8 path_bits
 
__u8 grh_present
 
__u8 gid_index
 
__u8 hop_limit
 
__u8 traffic_class
 
__u8 gid [16]
 
__be32 flow_label
 
__u16 pkey_index
 
__u8 reserved [6]
 

Detailed Description

ib_user_mad_hdr - MAD packet header This layout allows specifying/receiving the P_Key index. To use this capability, an application must call the IB_USER_MAD_ENABLE_PKEY ioctl on the user MAD file handle before any other actions with the file handle. - ID of agent MAD received with/to be sent with - 0 on successful receive, ETIMEDOUT if no response received (transaction ID in data[] will be set to TID of original request) (ignored on send) - Milliseconds to wait for response (unset on receive) - Number of automatic retries to attempt - Remote QP number received from/to be sent to - Remote Q_Key to be sent with (unset on receive) - Remote lid received from/to be sent to - Service level received with/to be sent with - Local path bits received with/to be sent with - If set, GRH was received/should be sent - Local GID index to send with (unset on receive) - Hop limit in GRH - Traffic class in GRH - Remote GID in GRH - Flow label in GRH - P_Key index

Definition at line 116 of file ib_user_mad.h.

Field Documentation

__be32 flow_label

Definition at line 132 of file ib_user_mad.h.

__u8 gid[16]

Definition at line 131 of file ib_user_mad.h.

__u8 gid_index

Definition at line 128 of file ib_user_mad.h.

__u8 grh_present

Definition at line 127 of file ib_user_mad.h.

__u8 hop_limit

Definition at line 129 of file ib_user_mad.h.

Definition at line 117 of file ib_user_mad.h.

__u32 length

Definition at line 121 of file ib_user_mad.h.

__be16 lid

Definition at line 124 of file ib_user_mad.h.

__u8 path_bits

Definition at line 126 of file ib_user_mad.h.

__u16 pkey_index

Definition at line 133 of file ib_user_mad.h.

__be32 qkey

Definition at line 123 of file ib_user_mad.h.

__be32 qpn

Definition at line 122 of file ib_user_mad.h.

__u8 reserved[6]

Definition at line 134 of file ib_user_mad.h.

__u32 retries

Definition at line 120 of file ib_user_mad.h.

Definition at line 125 of file ib_user_mad.h.

Definition at line 118 of file ib_user_mad.h.

__u32 timeout_ms

Definition at line 119 of file ib_user_mad.h.

__u8 traffic_class

Definition at line 130 of file ib_user_mad.h.


The documentation for this struct was generated from the following file: