DPDK patches and discussions
 help / color / mirror / Atom feed
From: 孙越池 <sunyuechi@iscas.ac.cn>
To: "Thomas Monjalon" <thomas@monjalon.net>
Cc: dev@dpdk.org, "Stanislaw Kardach" <stanislaw.kardach@gmail.com>,
	 uk7b@foxmail.com
Subject: Re: Re: [PATCH v2 2/5] eal/riscv/spinlock: add rte_cpuflag.h
Date: Sat, 20 Sep 2025 00:37:17 +0800 (GMT+08:00)	[thread overview]
Message-ID: <40a240e5.30087.19962d65496.Coremail.sunyuechi@iscas.ac.cn> (raw)
In-Reply-To: <40834601.10thIPus4b@thomas>

Okay, I initially thought this was common practice across all architectures, but it turns out only x86 added #include "rte_cpuflags.h" here.
I’ve now moved it to lib/fib/dir24_8_rvv.h and updated v3.


&gt; -----原始邮件-----
&gt; 发件人: "Thomas Monjalon" <thomas@monjalon.net>
&gt; 发送时间: 2025-09-19 23:13:19 (星期五)
&gt; 收件人: "Sun Yuechi" <sunyuechi@iscas.ac.cn>
&gt; 抄送: dev@dpdk.org, "Stanislaw Kardach" <stanislaw.kardach@gmail.com>, uk7b@foxmail.com
&gt; 主题: Re: [PATCH v2 2/5] eal/riscv/spinlock: add rte_cpuflag.h
&gt; 
&gt; 01/07/2025 20:20, uk7b@foxmail.com:
&gt; &gt; From: Sun Yuechi <sunyuechi@iscas.ac.cn>
&gt; &gt; 
&gt; &gt; Same as the x86 style, include "rte_cpuflags.h" in rte_spinlock.h
&gt; &gt; so that files like lib/fib/dir24_8.c don’t need to include it.
&gt; &gt; 
&gt; &gt; Signed-off-by: Sun Yuechi <sunyuechi@iscas.ac.cn>
&gt; 
&gt; I disagree.
&gt; I prefer removing useless includes like in x86 spinlock.
&gt; 
</sunyuechi@iscas.ac.cn></sunyuechi@iscas.ac.cn></stanislaw.kardach@gmail.com></sunyuechi@iscas.ac.cn></thomas@monjalon.net>

  reply	other threads:[~2025-09-19 16:37 UTC|newest]

Thread overview: 13+ 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-09-05  2:50     ` 孙越池
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
2025-09-19 15:13   ` Thomas Monjalon
2025-09-19 16:37     ` 孙越池 [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=40a240e5.30087.19962d65496.Coremail.sunyuechi@iscas.ac.cn \
    --to=sunyuechi@iscas.ac.cn \
    --cc=dev@dpdk.org \
    --cc=stanislaw.kardach@gmail.com \
    --cc=thomas@monjalon.net \
    --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).