Skip to contentSkip to conversation

config: disable KNI for 32-bit because cannot work

PATCH In review Thomas Monjalon 2 participants 3 messages Jul 26, 2013 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

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
index 756f1cd..bcea6f9 100644
@@ -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
index e2d268b..125277e 100644
@@ -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
#2 lore raw
In reply to a message not in the archive
Quoted 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
---
 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
#4 lore raw
In reply to a message not in the archive

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

---

 config/defconfig_i686-default-linuxapp-gcc |    4 ++--
 config/defconfig_i686-default-linuxapp-icc |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

pushed

Signature · 1 line
Thomas