FD.io VPP  v18.07.1-19-g511ce25
Vector Packet Processing
memif_if_t Struct Reference
+ Collaboration diagram for memif_if_t:

Public Member Functions

 CLIB_CACHE_LINE_ALIGN_MARK (cacheline0)
 

Data Fields

clib_spinlock_t lockp
 
u32 flags
 
memif_interface_id_t id
 
u32 hw_if_index
 
u32 sw_if_index
 
uword dev_instance
 
memif_interface_mode_t mode:8
 
u32 per_interface_next_index
 
clib_socket_tsock
 
uword socket_file_index
 
memif_msg_fifo_elt_tmsg_queue
 
u8secret
 
memif_region_tregions
 
memif_queue_trx_queues
 
memif_queue_ttx_queues
 
u8remote_name
 
u8remote_if_name
 
struct {
   memif_log2_ring_size_t   log2_ring_size
 
   u8   num_s2m_rings
 
   u8   num_m2s_rings
 
   u16   buffer_size
 
cfg
 
struct {
   memif_log2_ring_size_t   log2_ring_size
 
   u8   num_s2m_rings
 
   u8   num_m2s_rings
 
   u16   buffer_size
 
run
 
u8local_disc_string
 
u8remote_disc_string
 

Detailed Description

Definition at line 120 of file private.h.

Member Function Documentation

memif_if_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

Field Documentation

u16 memif_if_t::buffer_size

Definition at line 153 of file private.h.

struct { ... } memif_if_t::cfg
uword memif_if_t::dev_instance

Definition at line 128 of file private.h.

u32 memif_if_t::flags

Definition at line 124 of file private.h.

u32 memif_if_t::hw_if_index

Definition at line 126 of file private.h.

memif_interface_id_t memif_if_t::id

Definition at line 125 of file private.h.

u8* memif_if_t::local_disc_string

Definition at line 165 of file private.h.

clib_spinlock_t memif_if_t::lockp

Definition at line 123 of file private.h.

memif_log2_ring_size_t memif_if_t::log2_ring_size

Definition at line 150 of file private.h.

memif_interface_mode_t memif_if_t::mode

Definition at line 129 of file private.h.

memif_msg_fifo_elt_t* memif_if_t::msg_queue

Definition at line 136 of file private.h.

u8 memif_if_t::num_m2s_rings

Definition at line 152 of file private.h.

u8 memif_if_t::num_s2m_rings

Definition at line 151 of file private.h.

u32 memif_if_t::per_interface_next_index

Definition at line 131 of file private.h.

memif_region_t* memif_if_t::regions

Definition at line 139 of file private.h.

u8* memif_if_t::remote_disc_string

Definition at line 166 of file private.h.

u8* memif_if_t::remote_if_name

Definition at line 146 of file private.h.

u8* memif_if_t::remote_name

Definition at line 145 of file private.h.

struct { ... } memif_if_t::run
memif_queue_t* memif_if_t::rx_queues

Definition at line 141 of file private.h.

u8* memif_if_t::secret

Definition at line 137 of file private.h.

clib_socket_t* memif_if_t::sock

Definition at line 134 of file private.h.

uword memif_if_t::socket_file_index

Definition at line 135 of file private.h.

u32 memif_if_t::sw_if_index

Definition at line 127 of file private.h.

memif_queue_t* memif_if_t::tx_queues

Definition at line 142 of file private.h.


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