XLIO
The NVIDIA® Accelerated IO
xlio_socket_send_attr Struct Reference

Send operation attributes. More...

#include <xlio_types.h>

Public Attributes

unsigned flags
 
uint32_t mkey
 
uintptr_t userdata_op
 

Detailed Description

Send operation attributes.

Structure containing parameters for send operations (xlio_socket_send/sendv). Controls zero-copy behavior, flushing, and completion tracking.

Zero-Copy Operation:
  • mkey: Memory key for registered memory regions
  • userdata_op: User data provided to completion callback
  • For zero-copy, memory must be registered with ibv_pd from xlio_socket_get_pd()
Inline vs Zero-Copy:
  • INLINE flag: Data copied to internal buffers, no completion callback
  • Zero-copy: Data sent directly from user buffer, completion callback invoked
Structure Members:
  • unsigned flags: Send flags (XLIO_SOCKET_SEND_FLAG_*)
  • uint32_t mkey: Memory key for zero-copy operation (ignored for inline)
  • uintptr_t userdata_op: User data for completion callback (zero-copy only)

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