FD.io VPP  v18.10-34-gcce845e
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 151 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 184 of file private.h.

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

Definition at line 159 of file private.h.

u32 memif_if_t::flags

Definition at line 155 of file private.h.

u32 memif_if_t::hw_if_index

Definition at line 157 of file private.h.

memif_interface_id_t memif_if_t::id

Definition at line 156 of file private.h.

u8* memif_if_t::local_disc_string

Definition at line 196 of file private.h.

clib_spinlock_t memif_if_t::lockp

Definition at line 154 of file private.h.

memif_log2_ring_size_t memif_if_t::log2_ring_size

Definition at line 181 of file private.h.

memif_interface_mode_t memif_if_t::mode

Definition at line 160 of file private.h.

memif_msg_fifo_elt_t* memif_if_t::msg_queue

Definition at line 167 of file private.h.

u8 memif_if_t::num_m2s_rings

Definition at line 183 of file private.h.

u8 memif_if_t::num_s2m_rings

Definition at line 182 of file private.h.

u32 memif_if_t::per_interface_next_index

Definition at line 162 of file private.h.

memif_region_t* memif_if_t::regions

Definition at line 170 of file private.h.

u8* memif_if_t::remote_disc_string

Definition at line 197 of file private.h.

u8* memif_if_t::remote_if_name

Definition at line 177 of file private.h.

u8* memif_if_t::remote_name

Definition at line 176 of file private.h.

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

Definition at line 172 of file private.h.

u8* memif_if_t::secret

Definition at line 168 of file private.h.

clib_socket_t* memif_if_t::sock

Definition at line 165 of file private.h.

uword memif_if_t::socket_file_index

Definition at line 166 of file private.h.

u32 memif_if_t::sw_if_index

Definition at line 158 of file private.h.

memif_queue_t* memif_if_t::tx_queues

Definition at line 173 of file private.h.


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