XLIO
The NVIDIA® Accelerated IO
xlio_poll_group_attr Struct Reference

Polling group attributes. More...

#include <xlio_types.h>

Public Attributes

unsigned flags
 
xlio_socket_event_cb_t socket_event_cb
 
xlio_socket_comp_cb_t socket_comp_cb
 
xlio_socket_rx_cb_t socket_rx_cb
 
xlio_socket_accept_cb_t socket_accept_cb
 

Detailed Description

Polling group attributes.

Structure containing configuration for a polling group creation and updates. Event callbacks are registered per group, allowing different handling logic for different types of connections.

Required Callbacks:
  • socket_event_cb: Must be provided (handles connection state changes)
Optional Callbacks:
  • socket_comp_cb: Zero-copy completion notifications
  • socket_rx_cb: Receive data notifications
  • socket_accept_cb: New connection acceptance (required for listening sockets)
Structure Members:
  • unsigned flags: Group flags (XLIO_GROUP_FLAG_*)
  • xlio_socket_event_cb_t socket_event_cb: Socket event callback (required)
  • xlio_socket_comp_cb_t socket_comp_cb: Zero-copy completion callback (optional)
  • xlio_socket_rx_cb_t socket_rx_cb: Receive data callback (optional)
  • xlio_socket_accept_cb_t socket_accept_cb: Accept callback for listening sockets (optional)

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