From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: [PATCH] config: disable KNI for 32-bit because cannot work Date: Fri, 26 Jul 2013 11:49:59 +0200 Message-ID: <1374832199-25316-1-git-send-email-thomas.monjalon@6wind.com> To: dev-VfR2kkLFssw@public.gmane.org Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" From: Jean-Mickael Guerin 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 --- 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