FD.io VPP  v16.09
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   512
 
#define DPDK_NB_TX_DESC_DEFAULT   512
 
#define DPDK_NB_RX_DESC_VIRTIO   256
 
#define DPDK_NB_TX_DESC_VIRTIO   256
 
#define DPDK_NB_RX_DESC_10GE   1024
 
#define DPDK_NB_TX_DESC_10GE   1024
 
#define DPDK_NB_RX_DESC_40GE   1024
 
#define DPDK_NB_TX_DESC_40GE   1024
 
#define DPDK_NB_RX_DESC_ENIC   1024
 
#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

#define DPDK_NB_RX_DESC_10GE   1024

Definition at line 20 of file dpdk_priv.h.

#define DPDK_NB_RX_DESC_40GE   1024

Definition at line 22 of file dpdk_priv.h.

#define DPDK_NB_RX_DESC_DEFAULT   512

Definition at line 16 of file dpdk_priv.h.

#define DPDK_NB_RX_DESC_ENIC   1024

Definition at line 24 of file dpdk_priv.h.

#define DPDK_NB_RX_DESC_VIRTIO   256

Definition at line 18 of file dpdk_priv.h.

#define DPDK_NB_TX_DESC_10GE   1024

Definition at line 21 of file dpdk_priv.h.

#define DPDK_NB_TX_DESC_40GE   1024

Definition at line 23 of file dpdk_priv.h.

#define DPDK_NB_TX_DESC_DEFAULT   512

Definition at line 17 of file dpdk_priv.h.

#define DPDK_NB_TX_DESC_VIRTIO   256

Definition at line 19 of file dpdk_priv.h.

#define foreach_eal_double_hyphen_arg
Value:
_(huge-dir) \
_(proc-type) \
_(file-prefix) \
_(vdev)
bad routing header type(not 4)") sr_error (NO_MORE_SEGMENTS

Definition at line 53 of file dpdk_priv.h.

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

Definition at line 36 of file dpdk_priv.h.

#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:75

Definition at line 47 of file dpdk_priv.h.

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

Definition at line 43 of file dpdk_priv.h.

#define I40E_DEV_ID_10G_BASE_T   0x1586

Definition at line 31 of file dpdk_priv.h.

#define I40E_DEV_ID_QSFP_A   0x1583

Definition at line 28 of file dpdk_priv.h.

#define I40E_DEV_ID_QSFP_B   0x1584

Definition at line 29 of file dpdk_priv.h.

#define I40E_DEV_ID_QSFP_C   0x1585

Definition at line 30 of file dpdk_priv.h.

#define I40E_DEV_ID_SFP_XL710   0x1572

Definition at line 27 of file dpdk_priv.h.

#define I40E_DEV_ID_VF   0x154C

Definition at line 32 of file dpdk_priv.h.

Function Documentation

static void dpdk_get_xstats ( dpdk_device_t xd)
inlinestatic

Definition at line 60 of file dpdk_priv.h.

+ Here is the caller graph for this function:

static void dpdk_update_counters ( dpdk_device_t xd,
f64  now 
)
inlinestatic

Definition at line 83 of file dpdk_priv.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: