config: remove NFP PMD from 32-bits builds
Checks
Commit Message
Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
---
config/defconfig_i686-native-linuxapp-gcc | 5 +++++
config/defconfig_i686-native-linuxapp-icc | 5 +++++
config/defconfig_x86_x32-native-linuxapp-gcc | 5 +++++
3 files changed, 15 insertions(+)
Comments
14/01/2019 19:12, Alejandro Lucero:
> Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
> ---
> config/defconfig_i686-native-linuxapp-gcc | 5 +++++
> config/defconfig_i686-native-linuxapp-icc | 5 +++++
> config/defconfig_x86_x32-native-linuxapp-gcc | 5 +++++
> 3 files changed, 15 insertions(+)
You forgot config/defconfig_arm-armv7a-linuxapp-gcc.
Applied with change for armv7, thanks
PS: It makes me think we have no way to disable some PMDs
for 32-bit with meson. Bruce, any idea?
On Mon, Jan 14, 2019 at 08:04:00PM +0100, Thomas Monjalon wrote:
> 14/01/2019 19:12, Alejandro Lucero:
> > Signed-off-by: Alejandro Lucero <alejandro.lucero@netronome.com>
> > ---
> > config/defconfig_i686-native-linuxapp-gcc | 5 +++++
> > config/defconfig_i686-native-linuxapp-icc | 5 +++++
> > config/defconfig_x86_x32-native-linuxapp-gcc | 5 +++++
> > 3 files changed, 15 insertions(+)
>
> You forgot config/defconfig_arm-armv7a-linuxapp-gcc.
>
> Applied with change for armv7, thanks
>
> PS: It makes me think we have no way to disable some PMDs
> for 32-bit with meson. Bruce, any idea?
>
Put something similar to below in the meson.build file for the driver:
if not dpdk_conf.has('RTE_ARCH_64')
build = false
endif
For drivers which don't already have a condition check you can simplify to:
build = (dpdk_conf.has('RTE_ARCH_64'))
/Bruce
@@ -47,5 +47,10 @@ CONFIG_RTE_LIBRTE_PMD_ZUC=n
#
CONFIG_RTE_LIBRTE_AVP_PMD=n
+#
+# NFP PMD is not supported on 32-bit
+#
+CONFIG_RTE_LIBRTE_NFP_PMD=n
+
# 32-bit doesn't break up memory in lists, but does have VA allocation limit
CONFIG_RTE_MAX_MEM_MB=2048
@@ -47,5 +47,10 @@ CONFIG_RTE_LIBRTE_PMD_ZUC=n
#
CONFIG_RTE_LIBRTE_AVP_PMD=n
+#
+# NFP PMD is not supported on 32-bit
+#
+CONFIG_RTE_LIBRTE_NFP_PMD=n
+
# 32-bit doesn't break up memory in lists, but does have VA allocation limit
CONFIG_RTE_MAX_MEM_MB=2048
@@ -27,5 +27,10 @@ CONFIG_RTE_LIBRTE_SFC_EFX_PMD=n
#
CONFIG_RTE_LIBRTE_AVP_PMD=n
+#
+# NFP PMD is not supported on 32-bit
+#
+CONFIG_RTE_LIBRTE_NFP_PMD=n
+
# 32-bit doesn't break up memory in lists, but does have VA allocation limit
CONFIG_RTE_MAX_MEM_MB=2048