On Thu, 4 Sep 2025 15:10:44 +0100 luca.bocca...@gmail.com wrote: > From: Luca Boccassi <luca.bocca...@gmail.com> > > The comment and docs say this should be built on x86_64 and aarch64, > but RTE_ARCH_64 is not aarch64, that's RTE_ARCH_ARM64, so fix it. > > Also the check makes the build skip unless RTE_ARCH_X86_64 is true, > so switch it to an 'and' instead of an 'or', to build on both arm64 > and x86_64, and skip elsewhere. > > Fixes: 29e89288ff14 ("net/zxdh: add driver skeleton") > Cc: sta...@dpdk.org > > Signed-off-by: Luca Boccassi <luca.bocca...@gmail.com>
There already was a patch submitted and queued in next-net. Your version is more succinct, it would be better to have one way of doing this for all drivers. commit 4916569f552ee881adbd54bf5446f1c06a607289 Author: Junlong Wang <wang.junlo...@zte.com.cn> Date: Thu Jul 10 18:56:38 2025 +0800 net/zxdh: fix meson.build issues in compilation fix meson.build issues in compilation, which caused the inability to compile in the arm64 environment. Fixes: 29e89288ff14 ("net/zxdh: add driver skeleton") Cc: sta...@dpdk.org Signed-off-by: Junlong Wang <wang.junlo...@zte.com.cn>