FD.io VPP  v19.01.3-6-g70449b9b9
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
 
dpdk_device_hqos_per_worker_thread_thqos_wt
 
dpdk_device_hqos_per_hqos_thread_thqos_ht
 
u16 af_packet_instance_num
 
u16 bond_instance_num
 
dpdk_portid_t bond_port
 
struct rte_eth_link link
 
f64 time_last_link_update
 
struct rte_eth_stats stats
 
struct rte_eth_stats last_stats
 
struct rte_eth_stats last_cleared_stats
 
struct rte_eth_xstat * xstats
 
struct rte_eth_xstat * last_cleared_xstats
 
f64 time_last_stats_update
 
dpdk_port_type_t port_type
 
u8default_mac_address
 
clib_error_terrors
 

Detailed Description

Definition at line 196 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 249 of file dpdk.h.

◆ bond_instance_num

u16 dpdk_device_t::bond_instance_num

Definition at line 250 of file dpdk.h.

◆ bond_port

dpdk_portid_t dpdk_device_t::bond_port

Definition at line 254 of file dpdk.h.

◆ buffer_pool_for_queue

u8* dpdk_device_t::buffer_pool_for_queue

Definition at line 232 of file dpdk.h.

◆ cpu_socket

i8 dpdk_device_t::cpu_socket

Definition at line 214 of file dpdk.h.

◆ cpu_socket_id_by_queue

u16* dpdk_device_t::cpu_socket_id_by_queue

Definition at line 231 of file dpdk.h.

◆ default_mac_address

u8* dpdk_device_t::default_mac_address

Definition at line 268 of file dpdk.h.

◆ device_index

dpdk_portid_t dpdk_device_t::device_index

Definition at line 202 of file dpdk.h.

◆ errors

clib_error_t* dpdk_device_t::errors

Definition at line 271 of file dpdk.h.

◆ flags

u16 dpdk_device_t::flags

Definition at line 216 of file dpdk.h.

◆ flow_entries

dpdk_flow_entry_t* dpdk_device_t::flow_entries

Definition at line 238 of file dpdk.h.

◆ flow_lookup_entries

dpdk_flow_lookup_entry_t* dpdk_device_t::flow_lookup_entries

Definition at line 239 of file dpdk.h.

◆ hqos_ht

dpdk_device_hqos_per_hqos_thread_t* dpdk_device_t::hqos_ht

Definition at line 246 of file dpdk.h.

◆ hqos_wt

dpdk_device_hqos_per_worker_thread_t* dpdk_device_t::hqos_wt

Definition at line 245 of file dpdk.h.

◆ hw_if_index

u32 dpdk_device_t::hw_if_index

Definition at line 207 of file dpdk.h.

◆ interface_name_suffix

u8* dpdk_device_t::interface_name_suffix

Definition at line 222 of file dpdk.h.

◆ last_cleared_stats

struct rte_eth_stats dpdk_device_t::last_cleared_stats

Definition at line 261 of file dpdk.h.

◆ last_cleared_xstats

struct rte_eth_xstat* dpdk_device_t::last_cleared_xstats

Definition at line 263 of file dpdk.h.

◆ last_flow_error

struct rte_flow_error dpdk_device_t::last_flow_error

Definition at line 242 of file dpdk.h.

◆ last_stats

struct rte_eth_stats dpdk_device_t::last_stats

Definition at line 260 of file dpdk.h.

◆ link

struct rte_eth_link dpdk_device_t::link

Definition at line 256 of file dpdk.h.

◆ lockp

volatile u32** dpdk_device_t::lockp

Definition at line 199 of file dpdk.h.

◆ name

u8* dpdk_device_t::name

Definition at line 221 of file dpdk.h.

◆ nb_rx_desc

u16 dpdk_device_t::nb_rx_desc

Definition at line 230 of file dpdk.h.

◆ nb_tx_desc

u16 dpdk_device_t::nb_tx_desc

Definition at line 218 of file dpdk.h.

◆ num_subifs

u16 dpdk_device_t::num_subifs

Definition at line 225 of file dpdk.h.

◆ parked_lookup_indexes

u32* dpdk_device_t::parked_lookup_indexes

Definition at line 240 of file dpdk.h.

◆ parked_loop_count

u32 dpdk_device_t::parked_loop_count

Definition at line 241 of file dpdk.h.

◆ per_interface_next_index

u32 dpdk_device_t::per_interface_next_index

Definition at line 211 of file dpdk.h.

◆ pmd

dpdk_pmd_t dpdk_device_t::pmd

Definition at line 213 of file dpdk.h.

◆ port_conf

struct rte_eth_conf dpdk_device_t::port_conf

Definition at line 233 of file dpdk.h.

◆ port_id

dpdk_portid_t dpdk_device_t::port_id

Definition at line 205 of file dpdk.h.

◆ port_type

dpdk_port_type_t dpdk_device_t::port_type

Definition at line 265 of file dpdk.h.

◆ rx_q_used

u16 dpdk_device_t::rx_q_used

Definition at line 229 of file dpdk.h.

◆ stats

struct rte_eth_stats dpdk_device_t::stats

Definition at line 259 of file dpdk.h.

◆ supported_flow_actions

u32 dpdk_device_t::supported_flow_actions

Definition at line 237 of file dpdk.h.

◆ sw_if_index

u32 dpdk_device_t::sw_if_index

Definition at line 208 of file dpdk.h.

◆ time_last_link_update

f64 dpdk_device_t::time_last_link_update

Definition at line 257 of file dpdk.h.

◆ time_last_stats_update

f64 dpdk_device_t::time_last_stats_update

Definition at line 264 of file dpdk.h.

◆ tx_conf

struct rte_eth_txconf dpdk_device_t::tx_conf

Definition at line 234 of file dpdk.h.

◆ tx_q_used

u16 dpdk_device_t::tx_q_used

Definition at line 228 of file dpdk.h.

◆ xstats

struct rte_eth_xstat* dpdk_device_t::xstats

Definition at line 262 of file dpdk.h.


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