* [PATCH v1] net/zxdh: add support compiling on riscv-64 systems
@ 2025-09-11 2:32 Junlong Wang
0 siblings, 0 replies; only message in thread
From: Junlong Wang @ 2025-09-11 2:32 UTC (permalink / raw)
To: stephen; +Cc: dev, Junlong Wang
[-- Attachment #1.1.1: Type: text/plain, Size: 1785 bytes --]
modify meson.build for support compiling on riscv-64 systems
Signed-off-by: Junlong Wang <wang.junlong1@zte.com.cn>
---
MAINTAINERS | 2 +-
doc/guides/nics/zxdh.rst | 2 +-
drivers/net/zxdh/meson.build | 10 ++--------
3 files changed, 4 insertions(+), 10 deletions(-)
diff --git a/MAINTAINERS b/MAINTAINERS
index 7aca98c537..4def220c64 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -1092,7 +1092,7 @@ F: drivers/net/avp/
F: doc/guides/nics/avp.rst
F: doc/guides/nics/features/avp.ini
-ZTE zxdh - EXPERIMENTAL
+ZTE zxdh
M: Junlong Wang <wang.junlong1@zte.com.cn>
M: Lijie Shan <shan.lijie@zte.com.cn>
F: drivers/net/zxdh/
diff --git a/doc/guides/nics/zxdh.rst b/doc/guides/nics/zxdh.rst
index 47dabde97e..f1dfea86ab 100644
--- a/doc/guides/nics/zxdh.rst
+++ b/doc/guides/nics/zxdh.rst
@@ -54,4 +54,4 @@ for details.
Limitations or Known issues
---------------------------
-X86-32, Power8, ARMv7, RISC-V, Windows and BSD are not supported yet.
+X86-32, Power8, ARMv7, RISC-V-32, Windows and BSD are not supported yet.
diff --git a/drivers/net/zxdh/meson.build b/drivers/net/zxdh/meson.build
index 7554d4dc60..0213ccb2fa 100644
--- a/drivers/net/zxdh/meson.build
+++ b/drivers/net/zxdh/meson.build
@@ -1,15 +1,9 @@
# SPDX-License-Identifier: BSD-3-Clause
# Copyright(c) 2024 ZTE Corporation
-if not is_linux
+if not is_linux or not dpdk_conf.get('RTE_ARCH_64')
build = false
- reason = 'only supported on Linux'
- subdir_done()
-endif
-
-if arch_subdir != 'x86' and arch_subdir != 'arm' or not dpdk_conf.get('RTE_ARCH_64')
- build = false
- reason = 'only supported on x86_64 and aarch64'
+ reason = 'only supported on 64-bit Linux'
subdir_done()
endif
--
2.27.0
[-- Attachment #1.1.2: Type: text/html , Size: 3172 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2025-09-11 2:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-11 2:32 [PATCH v1] net/zxdh: add support compiling on riscv-64 systems Junlong Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).