> -----Original Message-----
> From: Thomas Monjalon <tho...@monjalon.net>
> Sent: Friday, November 5, 2021 9:10 PM
> To: Zhang, Qi Z <qi.z.zh...@intel.com>; Xu, Ting <ting...@intel.com>
> Cc: dev@dpdk.org; Yang, Qiming <qiming.y...@intel.com>; Guo, Junfeng
> <junfeng....@intel.com>; or...@nvidia.com; viachesl...@nvidia.com; Yigit,
> Ferruh <ferruh.yi...@intel.com>; andrew.rybche...@oktetlabs.ru
> 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.

Reply via email to