From: Jean-Mickael Guerin <jean-mickael.gue...@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 at 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

Reply via email to