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 897CDA0547;
	Tue, 20 Apr 2021 09:51:49 +0200 (CEST)
Received: from [217.70.189.124] (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 0CC2F415D7;
	Tue, 20 Apr 2021 09:51:49 +0200 (CEST)
Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com
 [66.111.4.26]) by mails.dpdk.org (Postfix) with ESMTP id 15541415D0
 for <dev@dpdk.org>; Tue, 20 Apr 2021 09:51:48 +0200 (CEST)
Received: from compute2.internal (compute2.nyi.internal [10.202.2.42])
 by mailout.nyi.internal (Postfix) with ESMTP id 5A9FC5C00CB;
 Tue, 20 Apr 2021 03:51:46 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162])
 by compute2.internal (MEProxy); Tue, 20 Apr 2021 03:51:46 -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=fm1; bh=
 QCzQItbJTTEZapuFRzsxEbp+MKX3cKTjQHwN3h3AtEo=; b=KgN933tEzv5A9xJK
 6t8kKDrQRlj4xBj2Zf/DJjue2brU7o1PDe3CCVE81ap9Vgyo2QuCw9yyhoFfnfei
 0/341cLjpVNDzpjgDeNXS6JIv1EXSV6rtZOLGiZQNVA7pxZU6j5AzaIA4QwUFFRA
 NK+y9xSbsy00w3PQ+xU4Slt0BFAi2nMTnAiabMSGHC/Jy0Z6F/d42vzgtMTqBOUQ
 J8f6xK51pHabdpnrv30Uw4akIWCkn+GHoU0AWxuQzczgOu1qm+StCqF9kzEuzb+1
 irokW737zyjQQ8wFGGZhA3trNSqKUgCeTwa62aCfIaBBk4JYdenQEECpZxWTZmq2
 U1BCjA==
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=fm2; bh=QCzQItbJTTEZapuFRzsxEbp+MKX3cKTjQHwN3h3At
 Eo=; b=ZL13MwlryHt5xBAvsdpmYeGpQIW968KJDBxGL6U60LyvlAzbYxUxMosmF
 pguWglBj2mjM88pepL18FKByisO69mdHOBMys/5iTiZPl3gzmGJ2dbjb5jAmN+fO
 zKupxeskhl48CNec0tILj6vwITGKxj0shqmahWAjvVMvlvLuAqXujn1je2T3B/7R
 NnPyaGeeqBHa/Gk9KDLeavO8qHORCj4IBVn4liglFKhfcOkgnD3FJl4sClLg+lb5
 FYDxRYEhhitrjjbG2PZsj4e8KUoSd38SK9objVaq2VASNMRgrdNsYalYfEB+K0Sm
 kcY7k2hPwxfBTAfqKPGuUqKRnPYPg==
X-ME-Sender: <xms:EYh-YA5fDNVaWlbrRchUn8Mhh3RzZvs_Eh5xkHqbRypOlrBDO1dAMg>
 <xme:EYh-YB4pieDLEHmWJlVn3W7w99PcwIpkc86p77nuE8k-jC7dXGBNedzFTxYvNeOq1
 gwCigPb5mSyJ9gnkg>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddthedguddviecutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd
 enucfjughrpefhvffufffkjghfggfgtgesthfuredttddtvdenucfhrhhomhepvfhhohhm
 rghsucfoohhnjhgrlhhonhcuoehthhhomhgrshesmhhonhhjrghlohhnrdhnvghtqeenuc
 ggtffrrghtthgvrhhnpeffvdffjeeuteelfeeileduudeugfetjeelveefkeejfeeigeeh
 teffvdekfeegudenucffohhmrghinhepughpughkrdhorhhgnecukfhppeejjedrudefge
 drvddtfedrudekgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhl
 fhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrdhnvght
X-ME-Proxy: <xmx:EYh-YPfNX7iqzphq6SqQiIjA7UNcDs5E-JoytZU9xo1DmzC9UB2K_w>
 <xmx:EYh-YFIIbuqbSKVyhu49pmIblFXJvnq7PJUYBnlNRsH7v4WYhJ6ycg>
 <xmx:EYh-YEL7LrAHMpOe3cEpAjmb2PPv6xHyQphoRdZzj621gnU4eYmRQQ>
 <xmx:Eoh-YI3KnfAjdsL4B_q9eESxjLg6o2XcH7gMzrg5QgEZWhp0bOFeaQ>
Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184])
 by mail.messagingengine.com (Postfix) with ESMTPA id B044F240057;
 Tue, 20 Apr 2021 03:51:44 -0400 (EDT)
From: Thomas Monjalon <thomas@monjalon.net>
To: "Liu, Lingyu" <lingyu.liu@intel.com>
Cc: Olivier Matz <olivier.matz@6wind.com>, "dev@dpdk.org" <dev@dpdk.org>,
 "Zhang, Qi Z" <qi.z.zhang@intel.com>,
 "david.marchand@redhat.com" <david.marchand@redhat.com>,
 Hemant Agrawal <hemant.agrawal@nxp.com>
Date: Tue, 20 Apr 2021 09:51:41 +0200
Message-ID: <1960280.AK4zKTLmrX@thomas>
In-Reply-To: <BYAPR11MB30477754F16A90A2981C41ED91489@BYAPR11MB3047.namprd11.prod.outlook.com>
References: <20210417090415.5477-1-lingyu.liu@intel.com>
 <20210419142453.GC1726@platinum>
 <BYAPR11MB30477754F16A90A2981C41ED91489@BYAPR11MB3047.namprd11.prod.outlook.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Subject: Re: [dpdk-dev] [PATCH v2] mbuf: support eCPRI hardware packet type
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>

20/04/2021 04:17, Liu, Lingyu:
> Hi Olivier,
> 
> This new packet type will be used by iavf driver to map ECPRI hardware packet.
> This is the patch which will use this new hardware packet type.
> http://patchwork.dpdk.org/project/dpdk/patch/20210420083817.10741-3-lingyu.liu@intel.com/

I think it does not reply Olivier's question about how it will be used.
Why is it important to report this packet type in mbuf?

PS: please do not top-post


> > From: Olivier Matz <olivier.matz@6wind.com>
> > 
> > Hi Lingyu,
> > 
> > On Sat, Apr 17, 2021 at 09:25:31AM +0000, Lingyu Liu wrote:
> > > Add L2_ETHER_ECPRI and L4_UDP_TUNNEL_ECPRI in RTE_PTYPE.
> > >
> > > Signed-off-by: Lingyu Liu <lingyu.liu@intel.com>
> > > Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
> > 
> > The number of available packet types for tunnels is quite low (already
> > mentionned in this thread [1]).
> > 
> > [1] https://patches.dpdk.org/project/dpdk/patch/20210408081720.23314-3-
> > ktejasree@marvell.com
> > 
> > Can you give some details about how it will be used? For instance, which
> > driver will set it, which kind of application will use it.
> > 
> > Thanks,
> > Olivier