summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorFerruh Yigit <ferruh.yigit@intel.com>2017-02-17 13:42:38 +0000
committerFerruh Yigit <ferruh.yigit@intel.com>2017-04-04 15:52:50 +0200
commit75e2bc54c018bbaecd21294241db24963d7ac1f6 (patch)
tree10466be9ce111abebd1c36c4688af81092869efb /config
parent859081d3fbbf81501726a5920749e47a2a65e9d3 (diff)
downloaddpdk-75e2bc54c018bbaecd21294241db24963d7ac1f6.zip
dpdk-75e2bc54c018bbaecd21294241db24963d7ac1f6.tar.gz
dpdk-75e2bc54c018bbaecd21294241db24963d7ac1f6.tar.xz
net/kni: add KNI PMD
Add KNI PMD which wraps librte_kni for ease of use. KNI PMD can be used as any regular PMD to send / receive packets to the Linux networking stack. Signed-off-by: Ferruh Yigit <ferruh.yigit@intel.com> Reviewed-by: Yong Wang <yongwang@vmware.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Yong Wang <yongwang@vmware.com>
Diffstat (limited to 'config')
-rw-r--r--config/common_base1
-rw-r--r--config/common_linuxapp1
2 files changed, 2 insertions, 0 deletions
diff --git a/config/common_base b/config/common_base
index 41191c8..9134b1f 100644
--- a/config/common_base
+++ b/config/common_base
@@ -589,6 +589,7 @@ CONFIG_RTE_PIPELINE_STATS_COLLECT=n
# Compile librte_kni
#
CONFIG_RTE_LIBRTE_KNI=n
+CONFIG_RTE_LIBRTE_PMD_KNI=n
CONFIG_RTE_KNI_KMOD=n
CONFIG_RTE_KNI_KMOD_ETHTOOL=n
CONFIG_RTE_KNI_PREEMPT_DEFAULT=y
diff --git a/config/common_linuxapp b/config/common_linuxapp
index 00ebaac..d03a60a 100644
--- a/config/common_linuxapp
+++ b/config/common_linuxapp
@@ -39,6 +39,7 @@ CONFIG_RTE_EAL_IGB_UIO=y
CONFIG_RTE_EAL_VFIO=y
CONFIG_RTE_KNI_KMOD=y
CONFIG_RTE_LIBRTE_KNI=y
+CONFIG_RTE_LIBRTE_PMD_KNI=y
CONFIG_RTE_LIBRTE_VHOST=y
CONFIG_RTE_LIBRTE_PMD_VHOST=y
CONFIG_RTE_LIBRTE_PMD_AF_PACKET=y