FD.io VPP  v16.06
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   2048
 
#define DPDK_NB_TX_DESC_10GE   2048
 
#define DPDK_NB_RX_DESC_40GE   (4096-128)
 
#define DPDK_NB_TX_DESC_40GE   2048
 
#define DPDK_NB_RX_DESC_ENIC   (4096+1024)
 
#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 u32 dpdk_rx_burst (dpdk_main_t *dm, dpdk_device_t *xd, u16 queue_id)
 
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   2048

Definition at line 20 of file dpdk_priv.h.

#define DPDK_NB_RX_DESC_40GE   (4096-128)

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   (4096+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   2048

Definition at line 21 of file dpdk_priv.h.

#define DPDK_NB_TX_DESC_40GE   2048

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 45 of file dpdk_priv.h.

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

Definition at line 27 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:72

Definition at line 39 of file dpdk_priv.h.

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

Definition at line 35 of file dpdk_priv.h.

Function Documentation

static void dpdk_get_xstats ( dpdk_device_t xd)
inlinestatic

Definition at line 146 of file dpdk_priv.h.

+ Here is the caller graph for this function:

static u32 dpdk_rx_burst ( dpdk_main_t dm,
dpdk_device_t xd,
u16  queue_id 
)
inlinestatic

Definition at line 52 of file dpdk_priv.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void dpdk_update_counters ( dpdk_device_t xd,
f64  now 
)
inlinestatic

Definition at line 167 of file dpdk_priv.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: