dev.dpdk.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] config: disable KNI for 32-bit because cannot work
@ 2013-07-26  9:49 Thomas Monjalon
       [not found] ` <1374832199-25316-1-git-send-email-thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Monjalon @ 2013-07-26  9:49 UTC (permalink / raw)
  To: dev-VfR2kkLFssw

From: Jean-Mickael Guerin <jean-mickael.guerin-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>

This is not supported, disable to avoid compilation error like:
	lib/librte_eal/linuxapp/kni/kni_misc.c:304:2: error:
		format '%llx' expects argument of type 'long long unsigned int',
		but argument 2 has type 'phys_addr_t' [-Werror=format]

Signed-off-by: Jean-Mickael Guerin <jean-mickael.guerin-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
---
 config/defconfig_i686-default-linuxapp-gcc |    4 ++--
 config/defconfig_i686-default-linuxapp-icc |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/config/defconfig_i686-default-linuxapp-gcc b/config/defconfig_i686-default-linuxapp-gcc
index 756f1cd..bcea6f9 100644
--- a/config/defconfig_i686-default-linuxapp-gcc
+++ b/config/defconfig_i686-default-linuxapp-gcc
@@ -222,9 +222,9 @@ CONFIG_RTE_LIBRTE_LPM_DEBUG=n
 CONFIG_RTE_LIBRTE_NET=y
 
 #
-# Compile librte_kni
+# KNI is not supported on 32-bit
 #
-CONFIG_RTE_LIBRTE_KNI=y
+CONFIG_RTE_LIBRTE_KNI=n
 
 #
 # Enable warning directives
diff --git a/config/defconfig_i686-default-linuxapp-icc b/config/defconfig_i686-default-linuxapp-icc
index e2d268b..125277e 100644
--- a/config/defconfig_i686-default-linuxapp-icc
+++ b/config/defconfig_i686-default-linuxapp-icc
@@ -222,9 +222,9 @@ CONFIG_RTE_LIBRTE_LPM_DEBUG=n
 CONFIG_RTE_LIBRTE_NET=y
 
 #
-# Compile librte_kni
+# KNI is not supported on 32-bit
 #
-CONFIG_RTE_LIBRTE_KNI=y
+CONFIG_RTE_LIBRTE_KNI=n
 
 #
 # Enable warning directives
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-07-26 13:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-26  9:49 [PATCH] config: disable KNI for 32-bit because cannot work Thomas Monjalon
     [not found] ` <1374832199-25316-1-git-send-email-thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2013-07-26 12:11   ` Adrien Mazarguil
     [not found]     ` <20130726121109.GI7849-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
2013-07-26 13:20       ` 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).