Motr  M0

#include <klnet_core.h>

Collaboration diagram for nlx_kcore_buffer:
Collaboration graph

Data Fields

uint64_t kb_magic
 
struct nlx_core_kmem_loc kb_cb_loc
 
struct nlx_kcore_transfer_mckb_ktm
 
struct m0_tlink kb_drv_linkage
 
nlx_core_opaque_ptr_t kb_buffer_id
 
enum m0_net_queue_type kb_qtype
 
m0_time_t kb_add_time
 
lnet_kiov_t * kb_kiov
 
size_t kb_kiov_len
 
size_t kb_kiov_adj_idx
 
unsigned kb_kiov_orig_len
 
lnet_handle_md_t kb_mdh
 
bool kb_ooo_reply
 
unsigned kb_ooo_mlength
 
int kb_ooo_status
 
unsigned kb_ooo_offset
 

Detailed Description

Kernel buffer private data. This structure is pointed to by nlx_core_buffer::cb_kpvt.

Definition at line 159 of file klnet_core.h.

Field Documentation

◆ kb_add_time

m0_time_t kb_add_time

Time at which a buffer operation is initiated.

Definition at line 185 of file klnet_core.h.

◆ kb_buffer_id

nlx_core_opaque_ptr_t kb_buffer_id

The address of the m0_net_buffer structure in the transport address space. The value is set by the nlx_kcore_buffer_register() subroutine.

Definition at line 176 of file klnet_core.h.

◆ kb_cb_loc

struct nlx_core_kmem_loc kb_cb_loc

Reference to the shared memory nlx_core_buffer structure.

Definition at line 163 of file klnet_core.h.

◆ kb_drv_linkage

struct m0_tlink kb_drv_linkage

Linkage of buffers tracked by driver, per domain.

Definition at line 169 of file klnet_core.h.

◆ kb_kiov

lnet_kiov_t* kb_kiov

The LNet I/O vector.

Definition at line 188 of file klnet_core.h.

◆ kb_kiov_adj_idx

size_t kb_kiov_adj_idx

The length of a kiov vector element is adjusted at runtime to reflect the actual buffer data length under consideration. This field keeps track of the element index adjusted.

Definition at line 197 of file klnet_core.h.

◆ kb_kiov_len

size_t kb_kiov_len

The number of elements in kb_kiov

Definition at line 191 of file klnet_core.h.

◆ kb_kiov_orig_len

unsigned kb_kiov_orig_len

The kiov is adjusted at runtime to reflect the actual buffer data length under consideration. This field keeps track of original length.

Definition at line 203 of file klnet_core.h.

◆ kb_ktm

struct nlx_kcore_transfer_mc* kb_ktm

Pointer to kernel core TM data.

Definition at line 166 of file klnet_core.h.

◆ kb_magic

uint64_t kb_magic

Definition at line 160 of file klnet_core.h.

◆ kb_mdh

lnet_handle_md_t kb_mdh

MD handle

Definition at line 206 of file klnet_core.h.

◆ kb_ooo_mlength

unsigned kb_ooo_mlength

The saved mlength value in the case of an out-of-order REPLY/SEND event sequence.

Definition at line 214 of file klnet_core.h.

◆ kb_ooo_offset

unsigned kb_ooo_offset

The saved offset value in the case of an out-of-order REPLY/SEND event sequence.

Definition at line 224 of file klnet_core.h.

◆ kb_ooo_reply

bool kb_ooo_reply

Track the receipt of an out-of-order REPLY

Definition at line 209 of file klnet_core.h.

◆ kb_ooo_status

int kb_ooo_status

The saved status value in the case of an out-of-order REPLY/SEND event sequence.

Definition at line 219 of file klnet_core.h.

◆ kb_qtype

enum m0_net_queue_type kb_qtype

The buffer queue type - copied from nlx_core_buffer::cb_qtype when a buffer operation is initiated.

Definition at line 182 of file klnet_core.h.


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