From: Huichao Cai <chcchc88@163.com>
To: konstantin.v.ananyev@yandex.ru
Cc: dev@dpdk.org
Subject: [PATCH] acl: fix the value of the trans table
Date: Thu, 31 Jul 2025 11:19:05 +0800 [thread overview]
Message-ID: <20250731031905.4430-1-chcchc88@163.com> (raw)
In-Reply-To: <20250725102151.6677-1-chcchc88@163.com>
Maybe that's not a problem, because ACL can handle idle
packets normally, so I can't reproduce this issue with
external test cases at the moment, but I'm just describing
what idle nomatch node has to do if it wants to implement
an effect pointing to itself:
The reason why RTE_ACL_NODE_SINGLE node can point to itself
(regardless of the value of the packet data) is that it relies
on the node_index high 32-bit assignment to the maximum boundary
value (RTE_ACL_QUAD_SINGLE), and the idle nomatch node has the
same properties, so it should also be like RTE_ACL_NODE_SINGLE
node_ index instead of the current boundary value of 0, the reason
why the current idle nomatch node can point to itself is because
the idle data is 0, which has nothing to do with the node pointing
to its own attributes, it is just a coincidence of the data.
prev parent reply other threads:[~2025-07-31 3:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-25 10:21 Huichao Cai
2025-07-25 11:03 ` Konstantin Ananyev
2025-07-28 3:53 ` Huichao Cai
2025-07-28 8:35 ` Konstantin Ananyev
2025-07-31 3:19 ` Huichao Cai [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=20250731031905.4430-1-chcchc88@163.com \
--to=chcchc88@163.com \
--cc=dev@dpdk.org \
--cc=konstantin.v.ananyev@yandex.ru \
/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).