FD.io VPP  v20.05.1-6-gf53edbc3b
Vector Packet Processing
dpdk_device_t Struct Reference
+ Collaboration diagram for dpdk_device_t:

Public Member Functions

 CLIB_CACHE_LINE_ALIGN_MARK (cacheline0)
 
 CLIB_CACHE_LINE_ALIGN_MARK (cacheline1)
 

Data Fields

volatile u32 ** lockp
 
dpdk_portid_t device_index
 
dpdk_portid_t port_id
 
u32 hw_if_index
 
u32 sw_if_index
 
u32 per_interface_next_index
 
dpdk_pmd_t pmd:8
 
i8 cpu_socket
 
u16 flags
 
u16 nb_tx_desc
 
u8name
 
u8interface_name_suffix
 
u16 num_subifs
 
u16 tx_q_used
 
u16 rx_q_used
 
u16 nb_rx_desc
 
u16cpu_socket_id_by_queue
 
u8buffer_pool_for_queue
 
struct rte_eth_conf port_conf
 
struct rte_eth_txconf tx_conf
 
u32 supported_flow_actions
 
dpdk_flow_entry_tflow_entries
 
dpdk_flow_lookup_entry_tflow_lookup_entries
 
u32parked_lookup_indexes
 
u32 parked_loop_count
 
struct rte_flow_error last_flow_error
 
u16 af_packet_instance_num
 
struct rte_eth_link link
 
f64 time_last_link_update
 
struct rte_eth_stats stats
 
struct rte_eth_stats last_stats
 
struct rte_eth_xstat * xstats
 
f64 time_last_stats_update
 
dpdk_port_type_t port_type
 
u8default_mac_address
 
clib_error_terrors
 

Detailed Description

Definition at line 156 of file dpdk.h.

Member Function Documentation

◆ CLIB_CACHE_LINE_ALIGN_MARK() [1/2]

dpdk_device_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

◆ CLIB_CACHE_LINE_ALIGN_MARK() [2/2]

dpdk_device_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline1  )

Field Documentation

◆ af_packet_instance_num

u16 dpdk_device_t::af_packet_instance_num

Definition at line 205 of file dpdk.h.

◆ buffer_pool_for_queue

u8* dpdk_device_t::buffer_pool_for_queue

Definition at line 192 of file dpdk.h.

◆ cpu_socket

i8 dpdk_device_t::cpu_socket

Definition at line 174 of file dpdk.h.

◆ cpu_socket_id_by_queue

u16* dpdk_device_t::cpu_socket_id_by_queue

Definition at line 191 of file dpdk.h.

◆ default_mac_address

u8* dpdk_device_t::default_mac_address

Definition at line 217 of file dpdk.h.

◆ device_index

dpdk_portid_t dpdk_device_t::device_index

Definition at line 162 of file dpdk.h.

◆ errors

clib_error_t* dpdk_device_t::errors

Definition at line 220 of file dpdk.h.

◆ flags

u16 dpdk_device_t::flags

Definition at line 176 of file dpdk.h.

◆ flow_entries

dpdk_flow_entry_t* dpdk_device_t::flow_entries

Definition at line 198 of file dpdk.h.

◆ flow_lookup_entries

dpdk_flow_lookup_entry_t* dpdk_device_t::flow_lookup_entries

Definition at line 199 of file dpdk.h.

◆ hw_if_index

u32 dpdk_device_t::hw_if_index

Definition at line 167 of file dpdk.h.

◆ interface_name_suffix

u8* dpdk_device_t::interface_name_suffix

Definition at line 182 of file dpdk.h.

◆ last_flow_error

struct rte_flow_error dpdk_device_t::last_flow_error

Definition at line 202 of file dpdk.h.

◆ last_stats

struct rte_eth_stats dpdk_device_t::last_stats

Definition at line 211 of file dpdk.h.

◆ link

struct rte_eth_link dpdk_device_t::link

Definition at line 207 of file dpdk.h.

◆ lockp

volatile u32** dpdk_device_t::lockp

Definition at line 159 of file dpdk.h.

◆ name

u8* dpdk_device_t::name

Definition at line 181 of file dpdk.h.

◆ nb_rx_desc

u16 dpdk_device_t::nb_rx_desc

Definition at line 190 of file dpdk.h.

◆ nb_tx_desc

u16 dpdk_device_t::nb_tx_desc

Definition at line 178 of file dpdk.h.

◆ num_subifs

u16 dpdk_device_t::num_subifs

Definition at line 185 of file dpdk.h.

◆ parked_lookup_indexes

u32* dpdk_device_t::parked_lookup_indexes

Definition at line 200 of file dpdk.h.

◆ parked_loop_count

u32 dpdk_device_t::parked_loop_count

Definition at line 201 of file dpdk.h.

◆ per_interface_next_index

u32 dpdk_device_t::per_interface_next_index

Definition at line 171 of file dpdk.h.

◆ pmd

dpdk_pmd_t dpdk_device_t::pmd

Definition at line 173 of file dpdk.h.

◆ port_conf

struct rte_eth_conf dpdk_device_t::port_conf

Definition at line 193 of file dpdk.h.

◆ port_id

dpdk_portid_t dpdk_device_t::port_id

Definition at line 165 of file dpdk.h.

◆ port_type

dpdk_port_type_t dpdk_device_t::port_type

Definition at line 214 of file dpdk.h.

◆ rx_q_used

u16 dpdk_device_t::rx_q_used

Definition at line 189 of file dpdk.h.

◆ stats

struct rte_eth_stats dpdk_device_t::stats

Definition at line 210 of file dpdk.h.

◆ supported_flow_actions

u32 dpdk_device_t::supported_flow_actions

Definition at line 197 of file dpdk.h.

◆ sw_if_index

u32 dpdk_device_t::sw_if_index

Definition at line 168 of file dpdk.h.

◆ time_last_link_update

f64 dpdk_device_t::time_last_link_update

Definition at line 208 of file dpdk.h.

◆ time_last_stats_update

f64 dpdk_device_t::time_last_stats_update

Definition at line 213 of file dpdk.h.

◆ tx_conf

struct rte_eth_txconf dpdk_device_t::tx_conf

Definition at line 194 of file dpdk.h.

◆ tx_q_used

u16 dpdk_device_t::tx_q_used

Definition at line 188 of file dpdk.h.

◆ xstats

struct rte_eth_xstat* dpdk_device_t::xstats

Definition at line 212 of file dpdk.h.


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