FD.io VPP  v18.07.1-19-g511ce25
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.

Data Structures

struct  dpdk_mempool_private_t
 

Macros

#define rte_mbuf_from_vlib_buffer(x)   (((struct rte_mbuf *)x) - 1)
 
#define vlib_buffer_from_rte_mbuf(x)   ((vlib_buffer_t *)(x+1))
 
#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

#define DPDK_NB_RX_DESC_DEFAULT   1024

Definition at line 19 of file dpdk_priv.h.

#define DPDK_NB_RX_DESC_VIRTIO   256

Definition at line 21 of file dpdk_priv.h.

#define DPDK_NB_TX_DESC_DEFAULT   1024

Definition at line 20 of file dpdk_priv.h.

#define DPDK_NB_TX_DESC_VIRTIO   256

Definition at line 22 of file dpdk_priv.h.

#define foreach_eal_double_hyphen_arg
Value:
_(huge-dir) \
_(proc-type) \
_(file-prefix) \
_(vdev)
typedef prefix
Definition: ip_types.api:40

Definition at line 48 of file dpdk_priv.h.

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

Definition at line 32 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:109
void * mem

Definition at line 42 of file dpdk_priv.h.

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

Definition at line 38 of file dpdk_priv.h.

#define I40E_DEV_ID_10G_BASE_T   0x1586

Definition at line 28 of file dpdk_priv.h.

#define I40E_DEV_ID_QSFP_A   0x1583

Definition at line 25 of file dpdk_priv.h.

#define I40E_DEV_ID_QSFP_B   0x1584

Definition at line 26 of file dpdk_priv.h.

#define I40E_DEV_ID_QSFP_C   0x1585

Definition at line 27 of file dpdk_priv.h.

#define I40E_DEV_ID_SFP_XL710   0x1572

Definition at line 24 of file dpdk_priv.h.

#define I40E_DEV_ID_VF   0x154C

Definition at line 29 of file dpdk_priv.h.

#define rte_mbuf_from_vlib_buffer (   x)    (((struct rte_mbuf *)x) - 1)

Definition at line 16 of file dpdk_priv.h.

#define vlib_buffer_from_rte_mbuf (   x)    ((vlib_buffer_t *)(x+1))

Definition at line 17 of file dpdk_priv.h.

Function Documentation

static void dpdk_get_xstats ( dpdk_device_t xd)
inlinestatic

Definition at line 63 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 87 of file dpdk_priv.h.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: