FD.io VPP  v20.09-64-g4f7b92f0a
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

dpdk_rx_queue_trx_queues
 
dpdk_tx_queue_ttx_queues
 
u32 device_index
 
u32 hw_if_index
 
u32 sw_if_index
 
u32 per_interface_next_index
 
u16 rx_q_used
 
u16 tx_q_used
 
u16 flags
 
dpdk_portid_t port_id
 
dpdk_pmd_t pmd:8
 
i8 cpu_socket
 
u16 nb_tx_desc
 
u16 nb_rx_desc
 
u8name
 
u8interface_name_suffix
 
u16 num_subifs
 
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 168 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 216 of file dpdk.h.

◆ cpu_socket

i8 dpdk_device_t::cpu_socket

Definition at line 191 of file dpdk.h.

◆ default_mac_address

u8* dpdk_device_t::default_mac_address

Definition at line 228 of file dpdk.h.

◆ device_index

u32 dpdk_device_t::device_index

Definition at line 176 of file dpdk.h.

◆ errors

clib_error_t* dpdk_device_t::errors

Definition at line 231 of file dpdk.h.

◆ flags

u16 dpdk_device_t::flags

Definition at line 186 of file dpdk.h.

◆ flow_entries

dpdk_flow_entry_t* dpdk_device_t::flow_entries

Definition at line 209 of file dpdk.h.

◆ flow_lookup_entries

dpdk_flow_lookup_entry_t* dpdk_device_t::flow_lookup_entries

Definition at line 210 of file dpdk.h.

◆ hw_if_index

u32 dpdk_device_t::hw_if_index

Definition at line 178 of file dpdk.h.

◆ interface_name_suffix

u8* dpdk_device_t::interface_name_suffix

Definition at line 198 of file dpdk.h.

◆ last_flow_error

struct rte_flow_error dpdk_device_t::last_flow_error

Definition at line 213 of file dpdk.h.

◆ last_stats

struct rte_eth_stats dpdk_device_t::last_stats

Definition at line 222 of file dpdk.h.

◆ link

struct rte_eth_link dpdk_device_t::link

Definition at line 218 of file dpdk.h.

◆ name

u8* dpdk_device_t::name

Definition at line 197 of file dpdk.h.

◆ nb_rx_desc

u16 dpdk_device_t::nb_rx_desc

Definition at line 195 of file dpdk.h.

◆ nb_tx_desc

u16 dpdk_device_t::nb_tx_desc

Definition at line 194 of file dpdk.h.

◆ num_subifs

u16 dpdk_device_t::num_subifs

Definition at line 201 of file dpdk.h.

◆ parked_lookup_indexes

u32* dpdk_device_t::parked_lookup_indexes

Definition at line 211 of file dpdk.h.

◆ parked_loop_count

u32 dpdk_device_t::parked_loop_count

Definition at line 212 of file dpdk.h.

◆ per_interface_next_index

u32 dpdk_device_t::per_interface_next_index

Definition at line 182 of file dpdk.h.

◆ pmd

dpdk_pmd_t dpdk_device_t::pmd

Definition at line 190 of file dpdk.h.

◆ port_conf

struct rte_eth_conf dpdk_device_t::port_conf

Definition at line 204 of file dpdk.h.

◆ port_id

dpdk_portid_t dpdk_device_t::port_id

Definition at line 189 of file dpdk.h.

◆ port_type

dpdk_port_type_t dpdk_device_t::port_type

Definition at line 225 of file dpdk.h.

◆ rx_q_used

u16 dpdk_device_t::rx_q_used

Definition at line 184 of file dpdk.h.

◆ rx_queues

dpdk_rx_queue_t* dpdk_device_t::rx_queues

Definition at line 172 of file dpdk.h.

◆ stats

struct rte_eth_stats dpdk_device_t::stats

Definition at line 221 of file dpdk.h.

◆ supported_flow_actions

u32 dpdk_device_t::supported_flow_actions

Definition at line 208 of file dpdk.h.

◆ sw_if_index

u32 dpdk_device_t::sw_if_index

Definition at line 179 of file dpdk.h.

◆ time_last_link_update

f64 dpdk_device_t::time_last_link_update

Definition at line 219 of file dpdk.h.

◆ time_last_stats_update

f64 dpdk_device_t::time_last_stats_update

Definition at line 224 of file dpdk.h.

◆ tx_conf

struct rte_eth_txconf dpdk_device_t::tx_conf

Definition at line 205 of file dpdk.h.

◆ tx_q_used

u16 dpdk_device_t::tx_q_used

Definition at line 185 of file dpdk.h.

◆ tx_queues

dpdk_tx_queue_t* dpdk_device_t::tx_queues

Definition at line 173 of file dpdk.h.

◆ xstats

struct rte_eth_xstat* dpdk_device_t::xstats

Definition at line 223 of file dpdk.h.


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