NVIDIA DOCA SDK Data Center on a Chip Framework Documentation
storage::io_message_view Class Reference

#include </opt/mellanox/doca/applications/storage/storage_common/io_message.hpp>

Static Public Member Functions

static io_message_type get_type (char const *buf)
 
static void set_type (io_message_type type, char *buf)
 
static doca_data get_user_data (char const *buf)
 
static void set_user_data (doca_data user_data, char *buf)
 
static uint32_t get_correlation_id (char const *buf)
 
static void set_correlation_id (uint32_t correlation_id, char *buf)
 
static doca_error_t get_result (char const *buf)
 
static void set_result (doca_error_t result, char *buf)
 
static uint64_t get_io_address (char const *buf)
 
static void set_io_address (uint64_t io_address, char *buf)
 
static uint32_t get_io_size (char const *buf)
 
static void set_io_size (uint32_t io_size, char *buf)
 
static uint32_t get_remote_offset (char const *buf)
 
static void set_remote_offset (uint32_t remote_offset, char *buf)
 

Detailed Description

Definition at line 58 of file io_message.hpp.

Member Function Documentation

◆ get_correlation_id()

static uint32_t storage::io_message_view::get_correlation_id ( char const *  buf)
inlinestatic

Definition at line 114 of file io_message.hpp.

◆ get_io_address()

static uint64_t storage::io_message_view::get_io_address ( char const *  buf)
inlinestatic

Definition at line 163 of file io_message.hpp.

◆ get_io_size()

static uint32_t storage::io_message_view::get_io_size ( char const *  buf)
inlinestatic

Definition at line 187 of file io_message.hpp.

◆ get_remote_offset()

static uint32_t storage::io_message_view::get_remote_offset ( char const *  buf)
inlinestatic

Definition at line 211 of file io_message.hpp.

◆ get_result()

static doca_error_t storage::io_message_view::get_result ( char const *  buf)
inlinestatic

Definition at line 138 of file io_message.hpp.

◆ get_type()

static io_message_type storage::io_message_view::get_type ( char const *  buf)
inlinestatic

Definition at line 66 of file io_message.hpp.

◆ get_user_data()

static doca_data storage::io_message_view::get_user_data ( char const *  buf)
inlinestatic

Definition at line 90 of file io_message.hpp.

◆ set_correlation_id()

static void storage::io_message_view::set_correlation_id ( uint32_t  correlation_id,
char *  buf 
)
inlinestatic

Definition at line 127 of file io_message.hpp.

◆ set_io_address()

static void storage::io_message_view::set_io_address ( uint64_t  io_address,
char *  buf 
)
inlinestatic

Definition at line 176 of file io_message.hpp.

◆ set_io_size()

static void storage::io_message_view::set_io_size ( uint32_t  io_size,
char *  buf 
)
inlinestatic

Definition at line 200 of file io_message.hpp.

◆ set_remote_offset()

static void storage::io_message_view::set_remote_offset ( uint32_t  remote_offset,
char *  buf 
)
inlinestatic

Definition at line 224 of file io_message.hpp.

◆ set_result()

static void storage::io_message_view::set_result ( doca_error_t  result,
char *  buf 
)
inlinestatic

Definition at line 152 of file io_message.hpp.

◆ set_type()

static void storage::io_message_view::set_type ( io_message_type  type,
char *  buf 
)
inlinestatic

Definition at line 79 of file io_message.hpp.

◆ set_user_data()

static void storage::io_message_view::set_user_data ( doca_data  user_data,
char *  buf 
)
inlinestatic

Definition at line 103 of file io_message.hpp.


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