From: Ferruh Yigit <ferruh.yigit@amd.com>
To: Alexander Kozyrev <akozyrev@nvidia.com>, dev@dpdk.org
Cc: orika@nvidia.com, olivier.matz@6wind.com, matan@nvidia.com,
thomas@monjalon.net
Subject: Re: [PATCH v3] ethdev: add packet type matching item
Date: Tue, 10 Oct 2023 12:28:00 +0100 [thread overview]
Message-ID: <aeb0f189-fe77-40eb-b8de-85a21b4230d8@amd.com> (raw)
In-Reply-To: <20231009162444.3998178-1-akozyrev@nvidia.com>
On 10/9/2023 5:24 PM, Alexander Kozyrev wrote:
> Add RTE_FLOW_ITEM_TYPE_PTYPE to allow matching on
> L2/L3/L4 and tunnel information as defined in mbuf.
>
> To match on RTE_PTYPE_L4_TCP and RTE_PTYPE_INNER_L4_UDP:
> flow pattern_template 0 create pattern_template_id 1
> ingress template ptype packet_type mask 0x0f000f00 / end
> flow queue 0 create 0 template_table 1
> pattern_template 0 actions_template 0
> pattern ptype packet_type is 0x02000100 / end
> actions queue index 1 / end
>
> Signed-off-by: Alexander Kozyrev <akozyrev@nvidia.com>
> Acked-by: Ori Kam <orika@nvidia.com>
>
Applied to dpdk-next-net/main, thanks.
prev parent reply other threads:[~2023-10-10 11:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20230810161447.2108369-1-akozyrev@nvidia.com[D>
2023-10-09 16:08 ` [PATCH v2] " Alexander Kozyrev
2023-10-09 16:24 ` [PATCH v3] " Alexander Kozyrev
2023-10-10 11:28 ` Ferruh Yigit [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=aeb0f189-fe77-40eb-b8de-85a21b4230d8@amd.com \
--to=ferruh.yigit@amd.com \
--cc=akozyrev@nvidia.com \
--cc=dev@dpdk.org \
--cc=matan@nvidia.com \
--cc=olivier.matz@6wind.com \
--cc=orika@nvidia.com \
--cc=thomas@monjalon.net \
/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).