aboutsummaryrefslogtreecommitdiffstats
path: root/vnet/vnet/devices/dpdk/dpdk.h
diff options
context:
space:
mode:
authorSachin <sachin.saxena@nxp.com>2016-06-17 09:24:20 +0530
committerDamjan Marion <damarion@cisco.com>2016-06-17 07:10:55 +0000
commita29f20068841a05ee5813c1601ba2f07d9398afa (patch)
treea91b8bbc1c6816f0933d8ed9faad929059c291c4 /vnet/vnet/devices/dpdk/dpdk.h
parentb84ccc614d2032b5ddee9ab145d82d2eb70723e8 (diff)
VNET: Initialization support for NXP DPAA2 poll mode driver
- NXP proposed a poll mode driver "rte_dpaa2_dpni" in DPDK upstream. - When using external DPDK with the given dpaa2 driver, VPP needs modification to initialize the PMD and to understand the DPAA2 N/W interfaces. Change-Id: I00eb127fa88c71fb430d3def238d50ba68fd595f Signed-off-by: Sachin <sachin.saxena@nxp.com>
Diffstat (limited to 'vnet/vnet/devices/dpdk/dpdk.h')
-rw-r--r--vnet/vnet/devices/dpdk/dpdk.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/vnet/vnet/devices/dpdk/dpdk.h b/vnet/vnet/devices/dpdk/dpdk.h
index 116be3632fd..6d4ded19879 100644
--- a/vnet/vnet/devices/dpdk/dpdk.h
+++ b/vnet/vnet/devices/dpdk/dpdk.h
@@ -92,7 +92,8 @@ typedef enum {
_ ("AF_PACKET PMD", AF_PACKET) \
_ ("rte_bond_pmd", BOND) \
_ ("rte_pmd_fm10k", FM10K) \
- _ ("rte_cxgbe_pmd", CXGBE)
+ _ ("rte_cxgbe_pmd", CXGBE) \
+ _ ("rte_dpaa2_dpni", DPAA2)
typedef enum {
VNET_DPDK_PMD_NONE,
@@ -684,6 +685,10 @@ dpdk_pmd_constructor_init()
_(bond_drv)
#endif
+#ifdef RTE_LIBRTE_DPAA2_PMD
+ _(pmd_dpaa2_drv)
+#endif
+
#undef _
/*