FD.io VPP  v20.01-48-g3e0dafb74
Vector Packet Processing
dpdk_priv.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DPDK_NB_RX_DESC_DEFAULT   1024
 
#define DPDK_NB_TX_DESC_DEFAULT   1024
 
#define DPDK_NB_RX_DESC_VIRTIO   256
 
#define DPDK_NB_TX_DESC_VIRTIO   256
 
#define I40E_DEV_ID_SFP_XL710   0x1572
 
#define I40E_DEV_ID_QSFP_A   0x1583
 
#define I40E_DEV_ID_QSFP_B   0x1584
 
#define I40E_DEV_ID_QSFP_C   0x1585
 
#define I40E_DEV_ID_10G_BASE_T   0x1586
 
#define I40E_DEV_ID_VF   0x154C
 
#define foreach_eal_double_hyphen_predicate_arg
 
#define foreach_eal_single_hyphen_mandatory_arg
 
#define foreach_eal_single_hyphen_arg
 
#define foreach_eal_double_hyphen_arg
 

Functions

static void dpdk_get_xstats (dpdk_device_t *xd)
 
static void dpdk_update_counters (dpdk_device_t *xd, f64 now)
 

Macro Definition Documentation

◆ DPDK_NB_RX_DESC_DEFAULT

#define DPDK_NB_RX_DESC_DEFAULT   1024

Definition at line 16 of file dpdk_priv.h.

◆ DPDK_NB_RX_DESC_VIRTIO

#define DPDK_NB_RX_DESC_VIRTIO   256

Definition at line 18 of file dpdk_priv.h.

◆ DPDK_NB_TX_DESC_DEFAULT

#define DPDK_NB_TX_DESC_DEFAULT   1024

Definition at line 17 of file dpdk_priv.h.

◆ DPDK_NB_TX_DESC_VIRTIO

#define DPDK_NB_TX_DESC_VIRTIO   256

Definition at line 19 of file dpdk_priv.h.

◆ foreach_eal_double_hyphen_arg

#define foreach_eal_double_hyphen_arg
Value:
_(huge-dir) \
_(proc-type) \
_(file-prefix) \
_(vdev) \
_(log-level)
vl_api_prefix_t prefix
Definition: ip.api:144
vl_api_fib_path_type_t type
Definition: fib_types.api:123
vhost_user_log_t log
Definition: vhost_user.h:149

Definition at line 45 of file dpdk_priv.h.

◆ foreach_eal_double_hyphen_predicate_arg

#define foreach_eal_double_hyphen_predicate_arg
Value:
_(no-shconf) \
_(no-hpet) \
_(no-huge) \
_(vmware-tsc-map)

Definition at line 29 of file dpdk_priv.h.

◆ foreach_eal_single_hyphen_arg

#define foreach_eal_single_hyphen_arg
Value:
_(blacklist, b) \
_(mem-alloc-request, m) \
_(force-ranks, r)
vhost_user_req_t request
Definition: vhost_user.h:140
void * mem

Definition at line 39 of file dpdk_priv.h.

◆ foreach_eal_single_hyphen_mandatory_arg

#define foreach_eal_single_hyphen_mandatory_arg
Value:
_(coremask, c) \
_(nchannels, n) \
svmdb_client_t * c

Definition at line 35 of file dpdk_priv.h.

◆ I40E_DEV_ID_10G_BASE_T

#define I40E_DEV_ID_10G_BASE_T   0x1586

Definition at line 25 of file dpdk_priv.h.

◆ I40E_DEV_ID_QSFP_A

#define I40E_DEV_ID_QSFP_A   0x1583

Definition at line 22 of file dpdk_priv.h.

◆ I40E_DEV_ID_QSFP_B

#define I40E_DEV_ID_QSFP_B   0x1584

Definition at line 23 of file dpdk_priv.h.

◆ I40E_DEV_ID_QSFP_C

#define I40E_DEV_ID_QSFP_C   0x1585

Definition at line 24 of file dpdk_priv.h.

◆ I40E_DEV_ID_SFP_XL710

#define I40E_DEV_ID_SFP_XL710   0x1572

Definition at line 21 of file dpdk_priv.h.

◆ I40E_DEV_ID_VF

#define I40E_DEV_ID_VF   0x154C

Definition at line 26 of file dpdk_priv.h.

Function Documentation

◆ dpdk_get_xstats()

static void dpdk_get_xstats ( dpdk_device_t xd)
inlinestatic

Definition at line 53 of file dpdk_priv.h.

+ Here is the caller graph for this function:

◆ dpdk_update_counters()

static void dpdk_update_counters ( dpdk_device_t xd,
f64  now 
)
inlinestatic

Definition at line 77 of file dpdk_priv.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: