* [dpdk-dev] [PATCH] config: disable KNI for 32-bit because cannot work
@ 2013-07-26 9:49 Thomas Monjalon
2013-07-26 12:11 ` Adrien Mazarguil
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Monjalon @ 2013-07-26 9:49 UTC (permalink / raw)
To: dev
From: Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
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@6wind.com>
---
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 [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] config: disable KNI for 32-bit because cannot work
2013-07-26 9:49 [dpdk-dev] [PATCH] config: disable KNI for 32-bit because cannot work Thomas Monjalon
@ 2013-07-26 12:11 ` Adrien Mazarguil
2013-07-26 13:20 ` Thomas Monjalon
0 siblings, 1 reply; 3+ messages in thread
From: Adrien Mazarguil @ 2013-07-26 12:11 UTC (permalink / raw)
To: Thomas Monjalon; +Cc: dev
On Fri, Jul 26, 2013 at 11:49:59AM +0200, Thomas Monjalon wrote:
> From: Jean-Mickael Guerin <jean-mickael.guerin@6wind.com>
>
> 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@6wind.com>
> ---
> 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@6wind.com>
--
Adrien Mazarguil
6WIND
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [dpdk-dev] [PATCH] config: disable KNI for 32-bit because cannot work
2013-07-26 12:11 ` Adrien Mazarguil
@ 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
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@6wind.com>
> >
> > 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@6wind.com>
> > ---
> >
> > 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@6wind.com>
pushed
--
Thomas
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-07-26 13:19 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 [dpdk-dev] [PATCH] config: disable KNI for 32-bit because cannot work Thomas Monjalon
2013-07-26 12:11 ` Adrien Mazarguil
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).