summaryrefslogtreecommitdiff
path: root/drivers/net/Makefile
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 /drivers/net/Makefile
parent859081d3fbbf81501726a5920749e47a2a65e9d3 (diff)
downloaddpdk-next-eventdev-75e2bc54c018bbaecd21294241db24963d7ac1f6.zip
dpdk-next-eventdev-75e2bc54c018bbaecd21294241db24963d7ac1f6.tar.gz
dpdk-next-eventdev-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 'drivers/net/Makefile')
-rw-r--r--drivers/net/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/Makefile b/drivers/net/Makefile
index 5b0bc34..ac5d3b3 100644
--- a/drivers/net/Makefile
+++ b/drivers/net/Makefile
@@ -85,6 +85,11 @@ DEPDIRS-vmxnet3 = $(core-libs)
DIRS-$(CONFIG_RTE_LIBRTE_PMD_XENVIRT) += xenvirt
DEPDIRS-xenvirt = $(core-libs) librte_cmdline
+ifeq ($(CONFIG_RTE_LIBRTE_KNI),y)
+DIRS-$(CONFIG_RTE_LIBRTE_PMD_KNI) += kni
+endif
+DEPDIRS-kni = $(core-libs) librte_kni
+
ifeq ($(CONFIG_RTE_LIBRTE_VHOST),y)
DIRS-$(CONFIG_RTE_LIBRTE_PMD_VHOST) += vhost
endif # $(CONFIG_RTE_LIBRTE_VHOST)