RE: [PATCH v6 2/3] ethdev: add compare item

2024-02-05 Thread Suanming Mou
> -Original Message- > From: Thomas Monjalon > Sent: Monday, February 5, 2024 10:09 PM > To: Suanming Mou > Cc: ferruh.yi...@amd.com; Ori Kam ; Aman Singh > ; Yuying Zhang ; > Andrew Rybchenko ; dev@dpdk.org > Subject: Re: [PATCH v6 2/3] ethdev: add compare it

Re: [PATCH v6 2/3] ethdev: add compare item

2024-02-05 Thread Thomas Monjalon
05/02/2024 14:28, Suanming Mou: > From: Thomas Monjalon > > 02/02/2024 01:42, Suanming Mou: > > > --- a/doc/guides/rel_notes/release_24_03.rst > > > +++ b/doc/guides/rel_notes/release_24_03.rst > > > +* **Added compare flow matching criteria.** > > > > Suggestion: > > "Added flow matching with va

RE: [PATCH v6 2/3] ethdev: add compare item

2024-02-05 Thread Suanming Mou
Hi Thomas, > -Original Message- > From: Thomas Monjalon > Sent: Monday, February 5, 2024 9:01 PM > To: Suanming Mou > Cc: ferruh.yi...@amd.com; Ori Kam ; Aman Singh > ; Yuying Zhang ; > Andrew Rybchenko ; dev@dpdk.org > Subject: Re: [PATCH v6 2/3] ethdev: add

Re: [PATCH v6 2/3] ethdev: add compare item

2024-02-05 Thread Thomas Monjalon
02/02/2024 01:42, Suanming Mou: > --- a/doc/guides/rel_notes/release_24_03.rst > +++ b/doc/guides/rel_notes/release_24_03.rst > +* **Added compare flow matching criteria.** Suggestion: "Added flow matching with various comparisons." Not sure how to illustrate the idea. > + Added ``RTE_FLOW_ITEM_

[PATCH v6 2/3] ethdev: add compare item

2024-02-01 Thread Suanming Mou
The new item type is added for the case user wants to match traffic based on packet field compare result with other fields or immediate value. e.g. take advantage the compare item user will be able to accumulate a IPv4/TCP packet's TCP data_offset and IPv4 IHL field to a tag register, then compare