[dpdk-dev] [RFC PATCH 2/2] config: enable compilation of raw device library

Hemant Agrawal hemant.agrawal at nxp.com
Wed Nov 8 18:40:54 CET 2017


Signed-off-by: Hemant Agrawal <hemant.agrawal at nxp.com>
---
 config/common_base | 7 +++++++
 lib/Makefile       | 3 +++
 2 files changed, 10 insertions(+)

diff --git a/config/common_base b/config/common_base
index 34f04a9..30ab741 100644
--- a/config/common_base
+++ b/config/common_base
@@ -793,6 +793,13 @@ CONFIG_RTE_LIBRTE_VHOST_NUMA=n
 CONFIG_RTE_LIBRTE_VHOST_DEBUG=n
 
 #
+# Compile raw device support
+# EXPERIMENTAL: API may change without prior notice
+#
+CONFIG_RTE_LIBRTE_RAWDEV=y
+CONFIG_RTE_LIBRTE_RAWDEV_DEBUG=n
+
+#
 # Compile vhost PMD
 # To compile, CONFIG_RTE_LIBRTE_VHOST should be enabled.
 #
diff --git a/lib/Makefile b/lib/Makefile
index dc4e8df..4c60f30 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -126,4 +126,7 @@ DIRS-$(CONFIG_RTE_LIBRTE_KNI) += librte_kni
 endif
 DEPDIRS-librte_kni := librte_eal librte_mempool librte_mbuf librte_ether
 
+DIRS-$(CONFIG_RTE_LIBRTE_RAWDEV) += librte_rawdev
+DEPDIRS-librte_rawdev := librte_eal librte_mbuf librte_ether librte_cryptodev
+
 include $(RTE_SDK)/mk/rte.subdir.mk
-- 
2.7.4



More information about the dev mailing list