/* Keep it same as ibv_sge to allow for memcpy */ struct siw_sge {
__aligned_u64 laddr;
__u32 length;
__u32 lkey;
};
/* * Inline data are kept within the work request itself occupying * the space of sge[1] .. sge[n]. Therefore, inline data cannot be * supported if SIW_MAX_SGE is below 2 elements.
*/ #define SIW_MAX_INLINE (sizeof(struct siw_sge) * (SIW_MAX_SGE - 1))
#if SIW_MAX_SGE < 2 #error"SIW_MAX_SGE must be at least 2" #endif
/* Receive Queue Element */ struct siw_rqe {
__aligned_u64 id;
__u16 flags;
__u8 num_sge; /* * only used by kernel driver, * ignored if set by user
*/
__u8 opcode;
__u32 unused; struct siw_sge sge[SIW_MAX_SGE];
};
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.