DPDK patches and discussions
 help / color / mirror / Atom feed
From: sunyuechi <sunyuechi@iscas.ac.cn>
To: Konstantin Ananyev <konstantin.ananyev@huawei.com>,
	"dev@dpdk.org" <dev@dpdk.org>
Cc: Zijian <zijian.oerv@isrc.iscas.ac.cn>,
	"Stanisław Kardach" <stanislaw.kardach@gmail.com>,
	"Bruce Richardson" <bruce.richardson@intel.com>
Subject: Re: [PATCH] acl: add RISC-V vector extension implementation
Date: Mon, 29 Dec 2025 13:48:41 +0800	[thread overview]
Message-ID: <e12c9054-a5a3-4b40-931c-b21c668e996f@iscas.ac.cn> (raw)
In-Reply-To: <fb1b6b08a8b54d998f37f098727a8581@huawei.com>

> You probably need to update examples/l3fwd/l3fwd_acl.c too.
>
> Let's keep SCALAR as the last one, as default.
>   
Got it, fixed.
> +#include "acl_run_rvv.h"
> +
> +int
> +rte_acl_classify_rvv(const struct rte_acl_ctx *ctx, const uint8_t **data,
> +		      uint32_t *results, uint32_t num, uint32_t categories)
> +{
> +	if (likely(num >= 8))
> Why not use 'MAX_SEARCHES_RVV?' defined above?
I adapted this file from the NEON version but forgot to use it. Updated 
in v2.


      reply	other threads:[~2025-12-29  5:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-11-30 20:08 Sun Yuechi
2025-12-24  8:09 ` sunyuechi
2025-12-28 12:13 ` Konstantin Ananyev
2025-12-29  5:48   ` sunyuechi [this message]

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=e12c9054-a5a3-4b40-931c-b21c668e996f@iscas.ac.cn \
    --to=sunyuechi@iscas.ac.cn \
    --cc=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=konstantin.ananyev@huawei.com \
    --cc=stanislaw.kardach@gmail.com \
    --cc=zijian.oerv@isrc.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).