From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 44570A0C55;
	Fri,  5 Nov 2021 14:23:08 +0100 (CET)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 2EDDF41161;
	Fri,  5 Nov 2021 14:23:08 +0100 (CET)
Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com
 [66.111.4.27]) by mails.dpdk.org (Postfix) with ESMTP id 369AB40E5A
 for <dev@dpdk.org>; Fri,  5 Nov 2021 14:23:07 +0100 (CET)
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43])
 by mailout.nyi.internal (Postfix) with ESMTP id D92465C00ED;
 Fri,  5 Nov 2021 09:23:06 -0400 (EDT)
Received: from mailfrontend2 ([10.202.2.163])
 by compute3.internal (MEProxy); Fri, 05 Nov 2021 09:23:06 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h=
 from:to:cc:subject:date:message-id:in-reply-to:references
 :mime-version:content-transfer-encoding:content-type; s=fm2; bh=
 +NhPd2RZoYOeKCry5gpcwb0s/LSiUz8jsi8A3dLoLgA=; b=qFkg3CXu2Sn8yLU+
 xWT3mYBQjHLI/diC87yx1+HfDxZ25Stj+x9A4A/ht9vtjjOlqGz4vJ7tG+5DQx2R
 5ith5wd/DK29hJmjHZ/zHkX4Ep6dqmjr5FAVpuvAQOo2T0JbVcwyeMIYKF6HEPOF
 xsHiyst44EyhQE2SdObyglSNt5aXdE2C/eWvQ9IpoQwQXSQKplz5PL9aW2cIAYLw
 ck7T8A/P5K0RDu195vd24GWUfyi+6TugMOSGlXgKaJtuaWiO3gCBex4P+Ad8KSJN
 kUUhBGTFf9ey5xHODco3cAZWMu5H50nKnWffvR6aqRe/85CA3s6lKVdwoEr59dnz
 sUSMwA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-transfer-encoding:content-type
 :date:from:in-reply-to:message-id:mime-version:references
 :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender
 :x-sasl-enc; s=fm1; bh=+NhPd2RZoYOeKCry5gpcwb0s/LSiUz8jsi8A3dLoL
 gA=; b=RMgOPjX0ggA9x5vzOC8Wje/zS7F0L331d6dg6AsOIxnMkfvSNc7gKHK4W
 iX7CF489UjnyMEQuM4fLprz74zaQGNf21+X1x5TKXXmPYZTSbOZ1vu9PKcVLRQ1I
 PjBonExnH+AtYvGt+0Bw6RQB/NBPdo3fz0FB2ntgbMae/hQjf2t7yYtEAvxM2Ryk
 Zulut6vYSrAexq6xbwlw/pyRsy6Z8JNPsJ84YcOibduhfk6xDvr+qU/Smig7xz35
 KC1qvKj6BvVPBenbEo+HyOTLB3I0J5si0d7sFQzvvtq6C40fIPbnjiSGOvgeu5w5
 A94L45B5ARYMbd9tLbLBviK/A6yFQ==
X-ME-Sender: <xms:OjCFYSSkgTvM4AYzooU8PJ0-AsSYSN_Gxk_lT-ucKGkYrn7PmsLYYQ>
 <xme:OjCFYXxX0aApmpdQM7zD7rO-mgS567_vlC8fhrFmObgQaGLkuZNMds3m9sNS1Vp_q
 eWmNDza7oXxXRldiw>
X-ME-Received: <xmr:OjCFYf3_a7OaEm6dr6qQW0Sc1pi02kSE2kix8_sTAbU1ZkLHGpfy-IRvga29fztXlfwpoSByag9k94J78O0rmQC5Dw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrtdeigdeglecutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
 uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc
 fjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhmrghs
 ucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenucggtf
 frrghtthgvrhhnpeffvdffjeeuteelfeeileduudeugfetjeelveefkeejfeeigeehteff
 vdekfeegudenucffohhmrghinhepughpughkrdhorhhgnecuvehluhhsthgvrhfuihiivg
 eptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdr
 nhgvth
X-ME-Proxy: <xmx:OjCFYeC4GBUbpkQgpUeENudp7sNXGM46NiZSo8JQenvW-ZTd0N5MpA>
 <xmx:OjCFYbi7YxykDUngdOzvqQK6JjNPj9RgQSqyyc1kqfOpQ2VoMtTMLQ>
 <xmx:OjCFYarZpM_aa9bLom1jV7M31ECItTPbjDX8i8k9nU8G5r-fFbzBgA>
 <xmx:OjCFYbi4b44iXBpwntVKswlJxHL-d6LtPL6w_G8RRp-iXJzOgW1FaQ>
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri,
 5 Nov 2021 09:23:05 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: "Zhang, Qi Z" <qi.z.zhang@intel.com>, "Xu, Ting" <ting.xu@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>, "Yang, Qiming" <qiming.yang@intel.com>, "Guo,
 Junfeng" <junfeng.guo@intel.com>, "orika@nvidia.com" <orika@nvidia.com>,
 "viacheslavo@nvidia.com" <viacheslavo@nvidia.com>, "Yigit,
 Ferruh" <ferruh.yigit@intel.com>,
 "andrew.rybchenko@oktetlabs.ru" <andrew.rybchenko@oktetlabs.ru>
Date: Fri, 05 Nov 2021 14:23:04 +0100
Message-ID: <4597919.4CLRmV2U1y@thomas>
In-Reply-To: <CO6PR11MB56345CEACEA35A35E23BE0A4F88E9@CO6PR11MB5634.namprd11.prod.outlook.com>
References: <20211008070934.6956-1-ting.xu@intel.com>
 <2404603.ePvfOphbkP@thomas>
 <CO6PR11MB56345CEACEA35A35E23BE0A4F88E9@CO6PR11MB5634.namprd11.prod.outlook.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-dev] [PATCH v4 0/2] enable protocol agnostic flow
 offloading in RSS
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org
Sender: "dev" <dev-bounces@dpdk.org>

05/11/2021 14:18, Xu, Ting:
> From: Thomas Monjalon <thomas@monjalon.net>
> > 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,

Where is this parser library code?

> 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.

Sorry you didn't reply about the new flex item added in this release.
Do you know it was added?
	https://git.dpdk.org/dpdk/commit/?id=dc4d860e8a89