From: Junlong Wang <wang.junlong1@zte.com.cn>
To: stephen@networkplumber.org
Cc: dev@dpdk.org, Junlong Wang <wang.junlong1@zte.com.cn>
Subject: [PATCH v1] net/zxdh: add support compiling on riscv-64 systems
Date: Thu, 11 Sep 2025 10:32:11 +0800 [thread overview]
Message-ID: <20250911023211.3576860-1-wang.junlong1@zte.com.cn> (raw)
[-- 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 --]
reply other threads:[~2025-09-11 2:44 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20250911023211.3576860-1-wang.junlong1@zte.com.cn \
--to=wang.junlong1@zte.com.cn \
--cc=dev@dpdk.org \
--cc=stephen@networkplumber.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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).