* [dpdk-dev] [PATCH] Add CONFIG_RTE_KNI_KMOD build option.
@ 2015-08-03 16:12 Nikita Kozlov
2015-08-03 16:30 ` Thomas Monjalon
0 siblings, 1 reply; 2+ messages in thread
From: Nikita Kozlov @ 2015-08-03 16:12 UTC (permalink / raw)
To: dev
This option permit to build librte_kni.so without building rte_kni.ko so
you can build a sdk without building kernel drivers.
Signed-off-by: Nikita Kozlov <nikita@elyzion.net>
---
config/common_linuxapp | 1 +
lib/librte_eal/linuxapp/Makefile | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/config/common_linuxapp b/config/common_linuxapp
index bda9a63..0de43d5 100644
--- a/config/common_linuxapp
+++ b/config/common_linuxapp
@@ -425,6 +425,7 @@ CONFIG_RTE_PIPELINE_STATS_COLLECT=n
# Compile librte_kni
#
CONFIG_RTE_LIBRTE_KNI=y
+CONFIG_RTE_KNI_KMOD=y
CONFIG_RTE_KNI_PREEMPT_DEFAULT=y
CONFIG_RTE_KNI_KO_DEBUG=n
CONFIG_RTE_KNI_VHOST=n
diff --git a/lib/librte_eal/linuxapp/Makefile b/lib/librte_eal/linuxapp/Makefile
index 8fcfdf6..d9c5233 100644
--- a/lib/librte_eal/linuxapp/Makefile
+++ b/lib/librte_eal/linuxapp/Makefile
@@ -35,7 +35,7 @@ ifeq ($(CONFIG_RTE_EAL_IGB_UIO),y)
DIRS-$(CONFIG_RTE_LIBRTE_EAL_LINUXAPP) += igb_uio
endif
DIRS-$(CONFIG_RTE_LIBRTE_EAL_LINUXAPP) += eal
-ifeq ($(CONFIG_RTE_LIBRTE_KNI),y)
+ifeq ($(CONFIG_RTE_KNI_KMOD),y)
DIRS-$(CONFIG_RTE_LIBRTE_EAL_LINUXAPP) += kni
endif
ifeq ($(CONFIG_RTE_LIBRTE_XEN_DOM0),y)
--
2.4.6
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] [PATCH] Add CONFIG_RTE_KNI_KMOD build option.
2015-08-03 16:12 [dpdk-dev] [PATCH] Add CONFIG_RTE_KNI_KMOD build option Nikita Kozlov
@ 2015-08-03 16:30 ` Thomas Monjalon
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2015-08-03 16:30 UTC (permalink / raw)
To: Nikita Kozlov; +Cc: dev
2015-08-03 18:12, Nikita Kozlov:
> This option permit to build librte_kni.so without building rte_kni.ko so
> you can build a sdk without building kernel drivers.
>
> Signed-off-by: Nikita Kozlov <nikita@elyzion.net>
Applied, thannks
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-08-03 16:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-03 16:12 [dpdk-dev] [PATCH] Add CONFIG_RTE_KNI_KMOD build option Nikita Kozlov
2015-08-03 16:30 ` Thomas Monjalon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).