> -----Original Message-----
> From: Thomas Monjalon <[email protected]>
> Sent: Friday, November 5, 2021 9:10 PM
> To: Zhang, Qi Z <[email protected]>; Xu, Ting <[email protected]>
> Cc: [email protected]; Yang, Qiming <[email protected]>; Guo, Junfeng
> <[email protected]>; [email protected]; [email protected]; Yigit,
> Ferruh <[email protected]>; [email protected]
> Subject: Re: [dpdk-dev] [PATCH v4 0/2] enable protocol agnostic flow
> offloading in RSS
>
> 04/11/2021 03:22, Ting Xu:
> > Enable protocol agnostic flow offloading to support raw pattern input
> > for RSS hash flow rule creation. It is based on Parser Library feature.
> > Current rte_flow raw API is utilized.
>
> I remember raw item was especially targetting encapsulation action.
> Which action do you achieve in ice PMD? Only RSS with raw item?
>
> For matching, raw item is quite limited. I think the new flex item is more
> appropriate for general custom protocol parsing.
> Did you look into flex item feature?
>
Hi, Thomas, we make use of the API for rte_raw to achieve our protocol agnostic
flow offloading method, including RSS and FDIR. Behind it is the new Parser
Library feature based on DDP, rather than the original logic I think.
Binary-format pattern spec and mask are passed to Parser Library and the
corresponding protocol ID and offset will be provided.