From 7a6b51aab759c1959cae9809823d0f9383dd4812 Mon Sep 17 00:00:00 2001 From: Jean-Mickael Guerin Date: Mon, 4 Mar 2013 16:48:25 +0000 Subject: [PATCH] config: disable KNI for 32-bit because cannot work 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 Acked-by: Adrien Mazarguil --- config/defconfig_i686-default-linuxapp-gcc | 3 ++- config/defconfig_i686-default-linuxapp-icc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config/defconfig_i686-default-linuxapp-gcc b/config/defconfig_i686-default-linuxapp-gcc index 4c16519de3..af1387beb2 100644 --- a/config/defconfig_i686-default-linuxapp-gcc +++ b/config/defconfig_i686-default-linuxapp-gcc @@ -293,8 +293,9 @@ CONFIG_RTE_SCHED_PORT_N_GRINDERS=8 # # Compile librte_kni +# KNI is not supported on 32-bit # -CONFIG_RTE_LIBRTE_KNI=y +CONFIG_RTE_LIBRTE_KNI=n CONFIG_RTE_LIBRTE_KNI_DEBUG=n CONFIG_RTE_KNI_KO_DEBUG=n CONFIG_RTE_KNI_VHOST=n diff --git a/config/defconfig_i686-default-linuxapp-icc b/config/defconfig_i686-default-linuxapp-icc index 1f30a9be03..0e92444b49 100644 --- a/config/defconfig_i686-default-linuxapp-icc +++ b/config/defconfig_i686-default-linuxapp-icc @@ -292,8 +292,9 @@ CONFIG_RTE_SCHED_PORT_N_GRINDERS=8 # # Compile librte_kni +# KNI is not supported on 32-bit # -CONFIG_RTE_LIBRTE_KNI=y +CONFIG_RTE_LIBRTE_KNI=n CONFIG_RTE_LIBRTE_KNI_DEBUG=n CONFIG_RTE_KNI_KO_DEBUG=n CONFIG_RTE_KNI_VHOST=n -- 2.20.1