FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
netmap_if_t Struct Reference
+ Collaboration diagram for netmap_if_t:

Public Member Functions

 CLIB_CACHE_LINE_ALIGN_MARK (cacheline0)
 

Data Fields

clib_spinlock_t lockp
 
u8host_if_name
 
uword if_index
 
u32 hw_if_index
 
u32 sw_if_index
 
u32 clib_file_index
 
u32 per_interface_next_index
 
u8 is_admin_up
 
struct nmreqreq
 
u16 mem_region
 
int fd
 
struct netmap_ifnifp
 
u16 first_tx_ring
 
u16 last_tx_ring
 
u16 first_rx_ring
 
u16 last_rx_ring
 

Detailed Description

Definition at line 45 of file netmap.h.

Member Function Documentation

◆ CLIB_CACHE_LINE_ALIGN_MARK()

netmap_if_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

Field Documentation

◆ clib_file_index

u32 netmap_if_t::clib_file_index

Definition at line 53 of file netmap.h.

◆ fd

int netmap_if_t::fd

Definition at line 61 of file netmap.h.

◆ first_rx_ring

u16 netmap_if_t::first_rx_ring

Definition at line 65 of file netmap.h.

◆ first_tx_ring

u16 netmap_if_t::first_tx_ring

Definition at line 63 of file netmap.h.

◆ host_if_name

u8* netmap_if_t::host_if_name

Definition at line 49 of file netmap.h.

◆ hw_if_index

u32 netmap_if_t::hw_if_index

Definition at line 51 of file netmap.h.

◆ if_index

uword netmap_if_t::if_index

Definition at line 50 of file netmap.h.

◆ is_admin_up

u8 netmap_if_t::is_admin_up

Definition at line 56 of file netmap.h.

◆ last_rx_ring

u16 netmap_if_t::last_rx_ring

Definition at line 66 of file netmap.h.

◆ last_tx_ring

u16 netmap_if_t::last_tx_ring

Definition at line 64 of file netmap.h.

◆ lockp

clib_spinlock_t netmap_if_t::lockp

Definition at line 48 of file netmap.h.

◆ mem_region

u16 netmap_if_t::mem_region

Definition at line 60 of file netmap.h.

◆ nifp

struct netmap_if* netmap_if_t::nifp

Definition at line 62 of file netmap.h.

◆ per_interface_next_index

u32 netmap_if_t::per_interface_next_index

Definition at line 55 of file netmap.h.

◆ req

struct nmreq* netmap_if_t::req

Definition at line 59 of file netmap.h.

◆ sw_if_index

u32 netmap_if_t::sw_if_index

Definition at line 52 of file netmap.h.


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