FD.io VPP  v16.09
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
 
u32 device_index
 
u32 vlib_hw_if_index
 
u32 vlib_sw_if_index
 
u32 per_interface_next_index
 
struct rte_mbuf *** tx_vectors
 
struct rte_mbuf *** rx_vectors
 
u32d_trace_buffers
 
u16 vlan_subifs
 
dpdk_device_type_t dev_type:8
 
dpdk_pmd_t pmd:8
 
i8 cpu_socket
 
u8 admin_up
 
u8 promisc
 
u8interface_name_suffix
 
u16 tx_q_used
 
u16 rx_q_used
 
u16 nb_rx_desc
 
u16 nb_tx_desc
 
u16cpu_socket_id_by_queue
 
struct rte_eth_conf port_conf
 
struct rte_eth_txconf tx_conf
 
struct rte_kni * kni
 
u8 kni_port_id
 
u8 af_packet_port_id
 
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
 
dpdk_efd_agent_t efd_agent
 
u8 need_txlock
 

Detailed Description

Definition at line 193 of file dpdk.h.

Member Function Documentation

dpdk_device_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )
dpdk_device_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline1  )

Field Documentation

u8 dpdk_device_t::admin_up

Definition at line 221 of file dpdk.h.

u8 dpdk_device_t::af_packet_port_id

Definition at line 250 of file dpdk.h.

i8 dpdk_device_t::cpu_socket

Definition at line 219 of file dpdk.h.

u16* dpdk_device_t::cpu_socket_id_by_queue

Definition at line 233 of file dpdk.h.

u32* dpdk_device_t::d_trace_buffers

Definition at line 212 of file dpdk.h.

dpdk_device_type_t dpdk_device_t::dev_type

Definition at line 217 of file dpdk.h.

u32 dpdk_device_t::device_index

Definition at line 199 of file dpdk.h.

dpdk_efd_agent_t dpdk_device_t::efd_agent

Definition at line 268 of file dpdk.h.

u8* dpdk_device_t::interface_name_suffix

Definition at line 226 of file dpdk.h.

struct rte_kni* dpdk_device_t::kni

Definition at line 238 of file dpdk.h.

u8 dpdk_device_t::kni_port_id

Definition at line 239 of file dpdk.h.

struct rte_eth_stats dpdk_device_t::last_cleared_stats

Definition at line 257 of file dpdk.h.

struct rte_eth_xstat* dpdk_device_t::last_cleared_xstats

Definition at line 260 of file dpdk.h.

struct rte_eth_stats dpdk_device_t::last_stats

Definition at line 256 of file dpdk.h.

struct rte_eth_link dpdk_device_t::link

Definition at line 252 of file dpdk.h.

volatile u32** dpdk_device_t::lockp

Definition at line 196 of file dpdk.h.

u16 dpdk_device_t::nb_rx_desc

Definition at line 231 of file dpdk.h.

u16 dpdk_device_t::nb_tx_desc

Definition at line 232 of file dpdk.h.

u8 dpdk_device_t::need_txlock

Definition at line 269 of file dpdk.h.

u32 dpdk_device_t::per_interface_next_index

Definition at line 205 of file dpdk.h.

dpdk_pmd_t dpdk_device_t::pmd

Definition at line 218 of file dpdk.h.

struct rte_eth_conf dpdk_device_t::port_conf

Definition at line 234 of file dpdk.h.

dpdk_port_type_t dpdk_device_t::port_type

Definition at line 266 of file dpdk.h.

u8 dpdk_device_t::promisc

Definition at line 222 of file dpdk.h.

u16 dpdk_device_t::rx_q_used

Definition at line 230 of file dpdk.h.

struct rte_mbuf*** dpdk_device_t::rx_vectors

Definition at line 209 of file dpdk.h.

struct rte_eth_stats dpdk_device_t::stats

Definition at line 255 of file dpdk.h.

f64 dpdk_device_t::time_last_link_update

Definition at line 253 of file dpdk.h.

f64 dpdk_device_t::time_last_stats_update

Definition at line 265 of file dpdk.h.

struct rte_eth_txconf dpdk_device_t::tx_conf

Definition at line 235 of file dpdk.h.

u16 dpdk_device_t::tx_q_used

Definition at line 229 of file dpdk.h.

struct rte_mbuf*** dpdk_device_t::tx_vectors

Definition at line 208 of file dpdk.h.

u16 dpdk_device_t::vlan_subifs

Definition at line 215 of file dpdk.h.

u32 dpdk_device_t::vlib_hw_if_index

Definition at line 201 of file dpdk.h.

u32 dpdk_device_t::vlib_sw_if_index

Definition at line 202 of file dpdk.h.

struct rte_eth_xstat* dpdk_device_t::xstats

Definition at line 259 of file dpdk.h.


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