From: "Stanisław Kardach" <stanislaw.kardach@gmail.com>
To: uk7b@foxmail.com
Cc: dev@dpdk.org, Sun Yuechi <sunyuechi@iscas.ac.cn>
Subject: Re: [PATCH v2 2/5] eal/riscv/spinlock: add rte_cpuflag.h
Date: Tue, 12 Aug 2025 11:20:19 +0200 [thread overview]
Message-ID: <CAJcPQBquqVhnPPkBvgp1ouC7ptNg7p_GZDx1VredPd2DULiKMA@mail.gmail.com> (raw)
In-Reply-To: <tencent_EFCE09AB3F6C9C0743F5C9226108A2D86D05@qq.com>
[-- Attachment #1: Type: text/plain, Size: 868 bytes --]
On Tue, 1 Jul 2025, 20:20 , <uk7b@foxmail.com> wrote:
> 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>
>
Reviewed-by: Stanisław Kardach <stanislaw.kardach@gmail.com>
> ---
> 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
>
>
[-- Attachment #2: Type: text/html, Size: 1728 bytes --]
next prev parent reply other threads:[~2025-08-12 9:20 UTC|newest]
Thread overview: 10+ 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-08-12 9:21 ` Stanisław Kardach
2025-07-01 18:20 ` [PATCH v2 2/5] eal/riscv/spinlock: add rte_cpuflag.h uk7b
2025-08-12 9:20 ` Stanisław Kardach [this message]
2025-07-01 18:20 ` [PATCH v2 3/5] lib/lpm: R-V V rte_lpm_lookupx4 uk7b
2025-08-12 9:21 ` Stanisław Kardach
2025-07-01 18:20 ` [PATCH v2 4/5] lib/fib: R-V V rte_fib_lookup_bulk uk7b
2025-08-12 9:22 ` Stanisław Kardach
2025-07-01 18:20 ` [PATCH v2 5/5] riscv: override machine_args only when default uk7b
2025-08-12 9:22 ` Stanisław Kardach
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=CAJcPQBquqVhnPPkBvgp1ouC7ptNg7p_GZDx1VredPd2DULiKMA@mail.gmail.com \
--to=stanislaw.kardach@gmail.com \
--cc=dev@dpdk.org \
--cc=sunyuechi@iscas.ac.cn \
--cc=uk7b@foxmail.com \
/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).