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

2024-02-01 Thread Ferruh Yigit
On 2/1/2024 12:29 PM, Suanming Mou wrote: > Actions list > > @@ -5320,6 +5327,23 @@ A RAW rule can be created as following using > ``pattern_hex`` key and mask. > pattern_hex mask > / end actions >

[PATCH v5 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