From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Ananyev, Konstantin" Subject: Re: [PATCH v2 1/4] ethdev: add Rx offload outer UDP checksum definition Date: Wed, 3 Oct 2018 10:16:31 +0000 Message-ID: <2601191342CEEE43887BDE71AB9772580102FE159A@IRSMSX106.ger.corp.intel.com> References: <20180913134707.23698-1-jerin.jacob@caviumnetworks.com> <20181002192451.19119-1-jerin.jacob@caviumnetworks.com> <2601191342CEEE43887BDE71AB9772580102FE1479@IRSMSX106.ger.corp.intel.com> <20181003085909.GA9894@jerin> <2601191342CEEE43887BDE71AB9772580102FE152A@IRSMSX106.ger.corp.intel.com> <20181003092159.GB9894@jerin> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Cc: "Lu, Wenzhuo" , "Wu, Jingjing" , "Iremonger, Bernard" , "Mcnamara, John" , "Kovacevic, Marko" , Thomas Monjalon , "Yigit, Ferruh" , Andrew Rybchenko , Olivier Matz , "dev@dpdk.org" , "shahafs@mellanox.com" To: Jerin Jacob Return-path: Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id B816C7CE2 for ; Wed, 3 Oct 2018 12:16:36 +0200 (CEST) In-Reply-To: <20181003092159.GB9894@jerin> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Jerin Jacob [mailto:jerin.jacob@caviumnetworks.com] > Sent: Wednesday, October 3, 2018 10:22 AM > To: Ananyev, Konstantin > Cc: Lu, Wenzhuo ; Wu, Jingjing ; Iremonger, Bernard ; > Mcnamara, John ; Kovacevic, Marko ; Thomas Monjalon > ; Yigit, Ferruh ; Andrew Ryb= chenko ; Olivier Matz > ; dev@dpdk.org; shahafs@mellanox.com > Subject: Re: [dpdk-dev] [PATCH v2 1/4] ethdev: add Rx offload outer UDP c= hecksum definition >=20 > -----Original Message----- > > Date: Wed, 3 Oct 2018 09:17:18 +0000 > > From: "Ananyev, Konstantin" > > To: Jerin Jacob > > CC: "Lu, Wenzhuo" , "Wu, Jingjing" > > , "Iremonger, Bernard" > > , "Mcnamara, John" , > > "Kovacevic, Marko" , Thomas Monjalon > > , "Yigit, Ferruh" , Andre= w > > Rybchenko , Olivier Matz > > , "dev@dpdk.org" , > > "shahafs@mellanox.com" > > Subject: RE: [dpdk-dev] [PATCH v2 1/4] ethdev: add Rx offload outer UDP > > checksum definition > > > > > > > -----Original Message----- > > > From: Jerin Jacob [mailto:jerin.jacob@caviumnetworks.com] > > > Sent: Wednesday, October 3, 2018 9:59 AM > > > To: Ananyev, Konstantin > > > Cc: Lu, Wenzhuo ; Wu, Jingjing ; Iremonger, Bernard > ; > > > Mcnamara, John ; Kovacevic, Marko ; Thomas Monjalon > > > ; Yigit, Ferruh ; Andrew= Rybchenko ; Olivier Matz > > > ; dev@dpdk.org; shahafs@mellanox.com > > > Subject: Re: [dpdk-dev] [PATCH v2 1/4] ethdev: add Rx offload outer U= DP checksum definition > > > > > > -----Original Message----- > > > > Date: Wed, 3 Oct 2018 08:53:22 +0000 > > > > From: "Ananyev, Konstantin" > > > > To: Jerin Jacob , "Lu, Wenzhuo" > > > > , "Wu, Jingjing" , > > > > "Iremonger, Bernard" , "Mcnamara, Joh= n" > > > > , "Kovacevic, Marko" , > > > > Thomas Monjalon , "Yigit, Ferruh" > > > > , Andrew Rybchenko , > > > > Olivier Matz > > > > CC: "dev@dpdk.org" , "shahafs@mellanox.com" > > > > > > > > Subject: RE: [dpdk-dev] [PATCH v2 1/4] ethdev: add Rx offload outer= UDP > > > > checksum definition > > > > > > > > > > > > Hi Jerin, > > > > > > Hi Konstantin, > > > > > > > > > > > > > > > > > Introduced DEV_RX_OFFLOAD_OUTER_UDP_CKSUM Rx offload flag and > > > > > PKT_RX_EL4_CKSUM_BAD mbuf ol_flags to detect outer UDP checksum > > > > > failure. > > > > > > > > > > - To use hardware Rx outer UDP checksum offload, the user needs t= o > > > > > configure DEV_RX_OFFLOAD_OUTER_UDP_CKSUM offload flags in slowpat= h. > > > > > > > > > > - Driver updates the PKT_RX_EL4_CKSUM_BAD mbuf ol_flag on checksu= m failure > > > > > similar to the outer L3 PKT_RX_EIP_CKSUM_BAD flag. > > > > > > > > > > Signed-off-by: Jerin Jacob > > > > > > > > Looks ok to me in general. > > > > Just wonder is there any PMD that supports all these new features? > > > > > > octeontx2 PMD has this feature. I am planning to push the PMD for v19= .02. > > > Before that I adding all the common code change to avoid the dependen= cy. > > > > Ok, but why then ethdev/mbuf changes has to go into 18.11? >=20 > It it is a generic change then why not? What is the real concern here? If there is no implementation for it, how we can conclude that it is really= 'generic' one? :) My main concern is that we already have several features in rte_ethdev and = rte_security that supposed to be 'generic' but right now no-one support them.=20 I wouldn't to object about these particular features, they look reasonable = to me. But in general I think we need some better defined policy - about what is allowed to propagate without real evidence (particular implem= entation) and what is not. >=20 > > Do you plan your new PMD backward compatible with 18.11 LTS? >=20 > Yes. I see. Konstantin