FD.io VPP  v19.04.4-rc0-5-ge88582fac
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 153 of file private.h.

Member Function Documentation

◆ CLIB_CACHE_LINE_ALIGN_MARK()

memif_if_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

Field Documentation

◆ buffer_size

u16 memif_if_t::buffer_size

Definition at line 186 of file private.h.

◆ cfg

struct { ... } memif_if_t::cfg

◆ dev_instance

uword memif_if_t::dev_instance

Definition at line 161 of file private.h.

◆ flags

u32 memif_if_t::flags

Definition at line 157 of file private.h.

◆ hw_if_index

u32 memif_if_t::hw_if_index

Definition at line 159 of file private.h.

◆ id

memif_interface_id_t memif_if_t::id

Definition at line 158 of file private.h.

◆ local_disc_string

u8* memif_if_t::local_disc_string

Definition at line 198 of file private.h.

◆ lockp

clib_spinlock_t memif_if_t::lockp

Definition at line 156 of file private.h.

◆ log2_ring_size

memif_log2_ring_size_t memif_if_t::log2_ring_size

Definition at line 183 of file private.h.

◆ mode

memif_interface_mode_t memif_if_t::mode

Definition at line 162 of file private.h.

◆ msg_queue

memif_msg_fifo_elt_t* memif_if_t::msg_queue

Definition at line 169 of file private.h.

◆ num_m2s_rings

u8 memif_if_t::num_m2s_rings

Definition at line 185 of file private.h.

◆ num_s2m_rings

u8 memif_if_t::num_s2m_rings

Definition at line 184 of file private.h.

◆ per_interface_next_index

u32 memif_if_t::per_interface_next_index

Definition at line 164 of file private.h.

◆ regions

memif_region_t* memif_if_t::regions

Definition at line 172 of file private.h.

◆ remote_disc_string

u8* memif_if_t::remote_disc_string

Definition at line 199 of file private.h.

◆ remote_if_name

u8* memif_if_t::remote_if_name

Definition at line 179 of file private.h.

◆ remote_name

u8* memif_if_t::remote_name

Definition at line 178 of file private.h.

◆ run

struct { ... } memif_if_t::run

◆ rx_queues

memif_queue_t* memif_if_t::rx_queues

Definition at line 174 of file private.h.

◆ secret

u8* memif_if_t::secret

Definition at line 170 of file private.h.

◆ sock

clib_socket_t* memif_if_t::sock

Definition at line 167 of file private.h.

◆ socket_file_index

uword memif_if_t::socket_file_index

Definition at line 168 of file private.h.

◆ sw_if_index

u32 memif_if_t::sw_if_index

Definition at line 160 of file private.h.

◆ tx_queues

memif_queue_t* memif_if_t::tx_queues

Definition at line 175 of file private.h.


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