All of lore.kernel.org
 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

* Re: [PATCH] config: disable KNI for 32-bit because cannot work
       [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>
  0 siblings, 1 reply; 3+ messages in thread
From: Adrien Mazarguil @ 2013-07-26 12:11 UTC (permalink / raw)
  To: Thomas Monjalon; +Cc: dev-VfR2kkLFssw

On Fri, Jul 26, 2013 at 11:49:59AM +0200, Thomas Monjalon wrote:
> 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(-)

Acked-by: Adrien Mazarguil <adrien.mazarguil-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>

-- 
Adrien Mazarguil
6WIND

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

* Re: [PATCH] config: disable KNI for 32-bit because cannot work
       [not found]     ` <20130726121109.GI7849-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>
@ 2013-07-26 13:20       ` Thomas Monjalon
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2013-07-26 13:20 UTC (permalink / raw)
  To: Adrien Mazarguil; +Cc: dev-VfR2kkLFssw

26/07/2013 14:11, Adrien Mazarguil :
> On Fri, Jul 26, 2013 at 11:49:59AM +0200, Thomas Monjalon wrote:
> > 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(-)
> 
> Acked-by: Adrien Mazarguil <adrien.mazarguil-pdR9zngts4EAvxtiuMwx3w@public.gmane.org>

pushed

-- 
Thomas

^ permalink raw reply	[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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.