Motr  M0
lnet_core_types.h File Reference
#include "net/net.h"
Include dependency graph for lnet_core_types.h:

Go to the source code of this file.

Data Structures

struct  nlx_core_ep_addr
 
struct  nlx_core_kmem_loc
 
struct  nlx_core_bev_link
 
struct  nlx_core_bev_cqueue
 
struct  nlx_core_buffer_event
 
struct  nlx_core_domain
 
struct  nlx_core_transfer_mc
 
struct  nlx_core_buffer
 
struct  nlx_core_buf_desc
 

Macros

#define __MOTR_NET_LNET_CORE_TYPES_H__
 

Typedefs

typedef uint64_t nlx_core_opaque_ptr_t
 

Enumerations

enum  {
  M0_NET_LNET_TMID_BITS = 12, M0_NET_LNET_TMID_SHIFT = 64 - M0_NET_LNET_TMID_BITS, M0_NET_LNET_TMID_MAX = (1 << M0_NET_LNET_TMID_BITS) - 1, M0_NET_LNET_TMID_INVALID = M0_NET_LNET_TMID_MAX+1,
  M0_NET_LNET_BUFFER_ID_BITS = 64 - M0_NET_LNET_TMID_BITS, M0_NET_LNET_BUFFER_ID_MIN = 1, M0_NET_LNET_BUFFER_ID_MAX = (1ULL << M0_NET_LNET_BUFFER_ID_BITS) - 1, M0_NET_LNET_BUFFER_ID_MASK = M0_NET_LNET_BUFFER_ID_MAX
}
 
enum  { M0_NET_LNET_NIDSTR_SIZE = 32 }
 
enum  { M0_NET_LNET_BEVQ_MIN_SIZE = 2, M0_NET_LNET_BEVQ_NUM_RESERVED = 1 }
 

Functions

 M0_BASSERT (sizeof(nlx_core_opaque_ptr_t) >=sizeof(void *))
 
struct nlx_core_ep_addr __attribute__ ((__packed__))
 
 M0_BASSERT (M0_NET_LNET_TMID_BITS+M0_NET_LNET_BUFFER_ID_BITS<=64)
 
 M0_BASSERT (sizeof(((struct nlx_core_kmem_loc *) NULL) ->kl_page)+sizeof(((struct nlx_core_kmem_loc *) NULL) ->kl_offset)==sizeof(((struct nlx_core_kmem_loc *) NULL) ->kl_data))
 

Variables

uint64_t cepa_nid
 
uint32_t cepa_pid
 
uint32_t cepa_portal
 
uint32_t cepa_tmid
 
enum { ... }  __attribute__
 
struct page * kl_page
 
uint32_t kl_offset
 

Macro Definition Documentation

◆ __MOTR_NET_LNET_CORE_TYPES_H__

#define __MOTR_NET_LNET_CORE_TYPES_H__

Definition at line 26 of file lnet_core_types.h.

Variable Documentation

◆ cepa_nid

uint64_t cepa_nid

The LNet Network Identifier

Definition at line 51 of file lnet_core_types.h.

◆ cepa_pid

uint32_t cepa_pid

The LNet Process Identifier

Definition at line 52 of file lnet_core_types.h.

◆ cepa_portal

uint32_t cepa_portal

The LNet Portal Number

Definition at line 53 of file lnet_core_types.h.

◆ cepa_tmid

uint32_t cepa_tmid

The Transfer Machine Identifier

Definition at line 54 of file lnet_core_types.h.

◆ kl_offset

uint32_t kl_offset

Offset of the object in the page.

Definition at line 102 of file lnet_core_types.h.

◆ kl_page

struct page* kl_page

Page containing the object.

Definition at line 100 of file lnet_core_types.h.