Motr  M0
nlx_core_buffer_event Struct Reference

#include <lnet_core_types.h>

Collaboration diagram for nlx_core_buffer_event:
Collaboration graph

Data Fields

struct nlx_core_bev_link cbe_tm_link
 
nlx_core_opaque_ptr_t cbe_buffer_id
 
m0_time_t cbe_time
 
int32_t cbe_status
 
m0_bcount_t cbe_length
 
m0_bindex_t cbe_offset
 
struct nlx_core_ep_addr cbe_sender
 
bool cbe_unlinked
 
void * cbe_kpvt
 

Detailed Description

This structure describes a buffer event. It is very similar to struct m0_net_buffer_event.

Definition at line 181 of file lnet_core_types.h.

Field Documentation

◆ cbe_buffer_id

nlx_core_opaque_ptr_t cbe_buffer_id

This value is set by the kernel Core module's LNet event handler, and is copied from the nlx_core_buffer::cb_buffer_id field. The value is a pointer to the m0_net_buffer structure in the transport address space.

Definition at line 191 of file lnet_core_types.h.

◆ cbe_kpvt

void* cbe_kpvt

Core kernel space private.

Definition at line 212 of file lnet_core_types.h.

◆ cbe_length

m0_bcount_t cbe_length

Length of data in the buffer

Definition at line 200 of file lnet_core_types.h.

◆ cbe_offset

m0_bindex_t cbe_offset

Offset of start of the data in the buffer. (Receive only)

Definition at line 203 of file lnet_core_types.h.

◆ cbe_sender

struct nlx_core_ep_addr cbe_sender

Address of the other end point. (unsolicited Receive only)

Definition at line 206 of file lnet_core_types.h.

◆ cbe_status

int32_t cbe_status

Status code (-errno). 0 is success

Definition at line 197 of file lnet_core_types.h.

◆ cbe_time

m0_time_t cbe_time

Event timestamp, relative to the buffer add time

Definition at line 194 of file lnet_core_types.h.

◆ cbe_tm_link

struct nlx_core_bev_link cbe_tm_link

Linkage in the TM buffer event queue

Definition at line 183 of file lnet_core_types.h.

◆ cbe_unlinked

bool cbe_unlinked

True if the buffer is no longer in use

Definition at line 209 of file lnet_core_types.h.


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