From: uk7b@foxmail.com
To: dev@dpdk.org
Cc: Sun Yuechi <sunyuechi@iscas.ac.cn>,
Stanislaw Kardach <stanislaw.kardach@gmail.com>
Subject: [PATCH v2 2/5] eal/riscv/spinlock: add rte_cpuflag.h
Date: Wed, 2 Jul 2025 02:20:30 +0800 [thread overview]
Message-ID: <tencent_EFCE09AB3F6C9C0743F5C9226108A2D86D05@qq.com> (raw)
In-Reply-To: <20250701182033.642384-1-uk7b@foxmail.com>
From: Sun Yuechi <sunyuechi@iscas.ac.cn>
Same as the x86 style, include "rte_cpuflags.h" in rte_spinlock.h
so that files like lib/fib/dir24_8.c don’t need to include it.
Signed-off-by: Sun Yuechi <sunyuechi@iscas.ac.cn>
---
lib/eal/riscv/include/rte_spinlock.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/eal/riscv/include/rte_spinlock.h b/lib/eal/riscv/include/rte_spinlock.h
index 5fe4980e44..afbe83a061 100644
--- a/lib/eal/riscv/include/rte_spinlock.h
+++ b/lib/eal/riscv/include/rte_spinlock.h
@@ -14,6 +14,7 @@
#include <rte_common.h>
#include "generic/rte_spinlock.h"
+#include "rte_cpuflags.h"
#ifdef __cplusplus
extern "C" {
--
2.50.0
next prev parent reply other threads:[~2025-07-01 18:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20250701182033.642384-1-uk7b@foxmail.com>
2025-07-01 18:20 ` [PATCH v2 1/5] config/riscv: detect V extension uk7b
2025-07-01 18:20 ` uk7b [this message]
2025-07-01 18:20 ` [PATCH v2 3/5] lib/lpm: R-V V rte_lpm_lookupx4 uk7b
2025-07-01 18:20 ` [PATCH v2 4/5] lib/fib: R-V V rte_fib_lookup_bulk uk7b
2025-07-01 18:20 ` [PATCH v2 5/5] riscv: override machine_args only when default uk7b
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=tencent_EFCE09AB3F6C9C0743F5C9226108A2D86D05@qq.com \
--to=uk7b@foxmail.com \
--cc=dev@dpdk.org \
--cc=stanislaw.kardach@gmail.com \
--cc=sunyuechi@iscas.ac.cn \
/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).