FD.io VPP  v21.01.1
Vector Packet Processing
vl_api_memif_details_t Struct Reference

Memory interface details structure. More...

Data Fields

u32 context
 
vl_api_interface_index_t sw_if_index
 
vl_api_mac_address_t hw_addr
 
u32 id
 
vl_api_memif_role_t role
 
vl_api_memif_mode_t mode
 
bool zero_copy
 
u32 socket_id
 
u32 ring_size
 
u16 buffer_size
 
vl_api_if_status_flags_t flags
 
string if_name [64]
 

Detailed Description

Memory interface details structure.

Template Parameters
context- sender context, to match reply w/ request (memif_dump)
sw_if_index- index of the interface
hw_addr- interface MAC address
id- id associated with the interface
role- role of the interface in the connection (master/slave)
mode- interface mode
zero_copy- zero copy flag present
socket_id- id of the socket filename used by this interface to establish new connections
ring_size- the number of entries of RX/TX rings
buffer_size- size of the buffer allocated for each ring entry
flags- interface_status flags
if_name- name of the interface

Definition at line 154 of file memif.api.

Field Documentation

◆ buffer_size

u16 vl_api_memif_details_t::buffer_size

Definition at line 168 of file memif.api.

◆ context

u32 vl_api_memif_details_t::context

Definition at line 156 of file memif.api.

◆ flags

vl_api_if_status_flags_t vl_api_memif_details_t::flags

Definition at line 170 of file memif.api.

◆ hw_addr

vl_api_mac_address_t vl_api_memif_details_t::hw_addr

Definition at line 159 of file memif.api.

◆ id

u32 vl_api_memif_details_t::id

Definition at line 162 of file memif.api.

◆ if_name

string vl_api_memif_details_t::if_name[64]

Definition at line 172 of file memif.api.

◆ mode

vl_api_memif_mode_t vl_api_memif_details_t::mode

Definition at line 164 of file memif.api.

◆ ring_size

u32 vl_api_memif_details_t::ring_size

Definition at line 167 of file memif.api.

◆ role

vl_api_memif_role_t vl_api_memif_details_t::role

Definition at line 163 of file memif.api.

◆ socket_id

u32 vl_api_memif_details_t::socket_id

Definition at line 166 of file memif.api.

◆ sw_if_index

vl_api_interface_index_t vl_api_memif_details_t::sw_if_index

Definition at line 158 of file memif.api.

◆ zero_copy

bool vl_api_memif_details_t::zero_copy

Definition at line 165 of file memif.api.


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