FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
af_xdp_device_t Struct Reference
+ Collaboration diagram for af_xdp_device_t:

Public Member Functions

 CLIB_CACHE_LINE_ALIGN_MARK (cacheline0)
 

Data Fields

af_xdp_rxq_trxqs
 
af_xdp_txq_ttxqs
 
vlib_buffer_tbuffer_template
 
u32 per_interface_next_index
 
u32 sw_if_index
 
u32 hw_if_index
 
u32 flags
 
u8 pool
 
u8 txq_num
 
char * name
 
char * linux_ifname
 
u32 dev_instance
 
u8 hwaddr [6]
 
u8 rxq_num
 
struct xsk_umem ** umem
 
struct xsk_socket ** xsk
 
struct bpf_object * bpf_obj
 
unsigned linux_ifindex
 
clib_error_terror
 

Detailed Description

Definition at line 91 of file af_xdp.h.

Member Function Documentation

◆ CLIB_CACHE_LINE_ALIGN_MARK()

af_xdp_device_t::CLIB_CACHE_LINE_ALIGN_MARK ( cacheline0  )

Field Documentation

◆ bpf_obj

struct bpf_object* af_xdp_device_t::bpf_obj

Definition at line 119 of file af_xdp.h.

◆ buffer_template

vlib_buffer_t* af_xdp_device_t::buffer_template

Definition at line 99 of file af_xdp.h.

◆ dev_instance

u32 af_xdp_device_t::dev_instance

Definition at line 111 of file af_xdp.h.

◆ error

clib_error_t* af_xdp_device_t::error

Definition at line 123 of file af_xdp.h.

◆ flags

u32 af_xdp_device_t::flags

Definition at line 103 of file af_xdp.h.

◆ hw_if_index

u32 af_xdp_device_t::hw_if_index

Definition at line 102 of file af_xdp.h.

◆ hwaddr

u8 af_xdp_device_t::hwaddr[6]

Definition at line 112 of file af_xdp.h.

◆ linux_ifindex

unsigned af_xdp_device_t::linux_ifindex

Definition at line 120 of file af_xdp.h.

◆ linux_ifname

char* af_xdp_device_t::linux_ifname

Definition at line 110 of file af_xdp.h.

◆ name

char* af_xdp_device_t::name

Definition at line 109 of file af_xdp.h.

◆ per_interface_next_index

u32 af_xdp_device_t::per_interface_next_index

Definition at line 100 of file af_xdp.h.

◆ pool

u8 af_xdp_device_t::pool

Definition at line 104 of file af_xdp.h.

◆ rxq_num

u8 af_xdp_device_t::rxq_num

Definition at line 114 of file af_xdp.h.

◆ rxqs

af_xdp_rxq_t* af_xdp_device_t::rxqs

Definition at line 97 of file af_xdp.h.

◆ sw_if_index

u32 af_xdp_device_t::sw_if_index

Definition at line 101 of file af_xdp.h.

◆ txq_num

u8 af_xdp_device_t::txq_num

Definition at line 105 of file af_xdp.h.

◆ txqs

af_xdp_txq_t* af_xdp_device_t::txqs

Definition at line 98 of file af_xdp.h.

◆ umem

struct xsk_umem** af_xdp_device_t::umem

Definition at line 116 of file af_xdp.h.

◆ xsk

struct xsk_socket** af_xdp_device_t::xsk

Definition at line 117 of file af_xdp.h.


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