From: Juraj Linkeš <juraj.linkes@pantheon.tech> To: Ruifeng.Wang@arm.com, Honnappa.Nagarahalli@arm.com, juraj.linkes@pantheon.tech Cc: Ruifeng Wang <ruifeng.wang@arm.com>, arybchenko@solarflare.com, stable@dpdk.org Subject: [dpdk-stable] [PATCH v16 1/8] net/sfc: fix aarch32 build Date: Tue, 20 Apr 2021 12:45:10 +0200 Message-ID: <1618915517-2473-2-git-send-email-juraj.linkes@pantheon.tech> (raw) In-Reply-To: <1618915517-2473-1-git-send-email-juraj.linkes@pantheon.tech> From: Ruifeng Wang <ruifeng.wang@arm.com> The sfc PMD was enabled for aarch32 which is 32-bit mode but has cpu_family set to aarch64. As sfc support only 64-bit system, it should be disabled for aarch32. Updated meson file to disable sfc for aarch32 build. Fixes: 141d2870675a ("net/sfc: support aarch64 architecture") Cc: arybchenko@solarflare.com Cc: stable@dpdk.org Signed-off-by: Ruifeng Wang <ruifeng.wang@arm.com> Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru> --- drivers/common/sfc_efx/meson.build | 2 +- drivers/net/sfc/meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/common/sfc_efx/meson.build b/drivers/common/sfc_efx/meson.build index 1ca9510733..db5a6a8b42 100644 --- a/drivers/common/sfc_efx/meson.build +++ b/drivers/common/sfc_efx/meson.build @@ -10,7 +10,7 @@ if is_windows reason = 'not supported on Windows' endif -if (arch_subdir != 'x86' or not dpdk_conf.get('RTE_ARCH_64')) and (arch_subdir != 'arm' or not host_machine.cpu_family().startswith('aarch64')) +if (arch_subdir != 'x86' or arch_subdir != 'arm') and (not dpdk_conf.get('RTE_ARCH_64')) build = false reason = 'only supported on x86_64 and aarch64' endif diff --git a/drivers/net/sfc/meson.build b/drivers/net/sfc/meson.build index 0c5cfb9058..0a96235e33 100644 --- a/drivers/net/sfc/meson.build +++ b/drivers/net/sfc/meson.build @@ -12,7 +12,7 @@ if is_windows subdir_done() endif -if (arch_subdir != 'x86' or not dpdk_conf.get('RTE_ARCH_64')) and (arch_subdir != 'arm' or not host_machine.cpu_family().startswith('aarch64')) +if (arch_subdir != 'x86' or arch_subdir != 'arm') and (not dpdk_conf.get('RTE_ARCH_64')) build = false reason = 'only supported on x86_64 and aarch64' endif -- 2.20.1
next parent reply other threads:[~2021-04-20 10:45 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <1618915517-2473-1-git-send-email-juraj.linkes@pantheon.tech> 2021-04-20 10:45 ` Juraj Linkeš [this message] 2021-04-20 10:45 ` [dpdk-stable] [PATCH v16 2/8] net/bnxt: " Juraj Linkeš 2021-04-20 10:45 ` [dpdk-stable] [PATCH v16 3/8] net/virtio: " Juraj Linkeš [not found] <1615988163-17371-1-git-send-email-juraj.linkes@pantheon.tech> [not found] ` <1618995020-4775-1-git-send-email-juraj.linkes@pantheon.tech> 2021-04-21 8:50 ` [dpdk-stable] [PATCH v16 1/8] net/sfc: " Juraj Linkeš
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1618915517-2473-2-git-send-email-juraj.linkes@pantheon.tech \ --to=juraj.linkes@pantheon.tech \ --cc=Honnappa.Nagarahalli@arm.com \ --cc=Ruifeng.Wang@arm.com \ --cc=arybchenko@solarflare.com \ --cc=stable@dpdk.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
patches for DPDK stable branches This inbox may be cloned and mirrored by anyone: git clone --mirror https://inbox.dpdk.org/stable/0 stable/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 stable stable/ https://inbox.dpdk.org/stable \ stable@dpdk.org public-inbox-index stable Example config snippet for mirrors. Newsgroup available over NNTP: nntp://inbox.dpdk.org/inbox.dpdk.stable AGPL code for this site: git clone https://public-inbox.org/public-inbox.git