config: disable KNI for 32-bit because cannot work
PATCH 1/1 config: disable KNI for 32-bit because cannot work
From: Jean-Mickael Guerin <[email protected]>
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]
--- config/defconfig_i686-default-linuxapp-gcc | 4 ++-- config/defconfig_i686-default-linuxapp-icc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
config/defconfig_i686-default-linuxapp-gcc +2 -2
@@ -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
config/defconfig_i686-default-linuxapp-icc +2 -2
@@ -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
Signature · 1 line
1.7.10.4
Adrien Mazarguil
Acked-byQuoted 7 lines · Thomas Monjalon
From: Jean-Mickael Guerin <[email protected]>
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]
Quoted 5 lines
Signed-off-by Jean-Mickael Guerin <[email protected]>--- config/defconfig_i686-default-linuxapp-gcc | 4 ++-- config/defconfig_i686-default-linuxapp-icc | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
Signature · 2 lines
Adrien Mazarguil 6WIND
26/07/2013 14:11, Adrien Mazarguil :
Quoted 8 lines · Thomas Monjalon
Quoted 7 lines
From: Jean-Mickael Guerin <[email protected]>
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]
Quoted 8 lines
Quoted 6 lines
Signed-off-by Jean-Mickael Guerin <[email protected]>---
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 <[email protected]>
pushed
Signature · 1 line
Thomas