summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Mickael Guerin <jean-mickael.guerin@6wind.com>2013-03-04 16:48:25 +0000
committerThomas Monjalon <thomas.monjalon@6wind.com>2013-09-17 14:16:11 +0200
commitfff300fec36a2c9deefadfc29bb087982b236bcc (patch)
tree8c59f92d34201f4487a30f6e8390b5c77a9f3fac
parentcd449b929bdbdd5d2b70c7bcf91442dea6780ffc (diff)
downloaddpdk-fff300fec36a2c9deefadfc29bb087982b236bcc.zip
dpdk-fff300fec36a2c9deefadfc29bb087982b236bcc.tar.gz
dpdk-fff300fec36a2c9deefadfc29bb087982b236bcc.tar.xz
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 <jean-mickael.guerin@6wind.com> Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
-rw-r--r--config/defconfig_i686-default-linuxapp-gcc3
-rw-r--r--config/defconfig_i686-default-linuxapp-icc3
2 files changed, 4 insertions, 2 deletions
diff --git a/config/defconfig_i686-default-linuxapp-gcc b/config/defconfig_i686-default-linuxapp-gcc
index f821929..26bfee6 100644
--- a/config/defconfig_i686-default-linuxapp-gcc
+++ b/config/defconfig_i686-default-linuxapp-gcc
@@ -251,8 +251,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
#
# Enable warning directives
diff --git a/config/defconfig_i686-default-linuxapp-icc b/config/defconfig_i686-default-linuxapp-icc
index ad01e06..67b826b 100644
--- a/config/defconfig_i686-default-linuxapp-icc
+++ b/config/defconfig_i686-default-linuxapp-icc
@@ -252,8 +252,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
#
# Enable warning directives