Linux Kernel
3.7.1
|
#include <ib_mad.h>
Data Fields | |
struct ib_mad_send_buf * | next |
void * | mad |
struct ib_mad_agent * | mad_agent |
struct ib_ah * | ah |
void * | context [2] |
int | hdr_len |
int | data_len |
int | seg_count |
int | seg_size |
int | timeout_ms |
int | retries |
ib_mad_send_buf - MAD data buffer and work request for sends. : A pointer used to chain together MADs for posting. : References an allocated MAD data buffer for MADs that do not have RMPP active. For MADs using RMPP, references the common and management class specific headers. : MAD agent that allocated the buffer. : The address handle to use when sending the MAD. : User-controlled context fields. : Indicates the size of the data header of the MAD. This length includes the common MAD, RMPP, and class specific headers. : Indicates the total size of user-transferred data. : The number of RMPP segments allocated for this send. : Size of each RMPP segment. : Time to wait for a response. : Number of times to retry a request for a response. For MADs using RMPP, this applies per window. On completion, returns the number of retries needed to complete the transfer.
Users are responsible for initializing the MAD buffer itself, with the exception of any RMPP header. Additional segment buffer space allocated beyond data_len is padding.
struct ib_mad_agent* mad_agent |
struct ib_mad_send_buf* next |