From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerin Jacob Subject: Re: [PATCH 3/4] ethdev: add Rx offload outer L4 checksum definitions Date: Sun, 16 Sep 2018 15:02:25 +0530 Message-ID: <20180916093200.GA1849@jerin> References: <20180913134707.23698-1-jerin.jacob@caviumnetworks.com> <20180913134707.23698-3-jerin.jacob@caviumnetworks.com> <20180914030541.GA3822@jerin> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Wenzhuo Lu , Jingjing Wu , Bernard Iremonger , John McNamara , Marko Kovacevic , Thomas Monjalon , Ferruh Yigit , Andrew Rybchenko , Olivier Matz , "dev@dpdk.org" To: Shahaf Shuler Return-path: Received: from NAM04-BN3-obe.outbound.protection.outlook.com (mail-eopbgr680053.outbound.protection.outlook.com [40.107.68.53]) by dpdk.org (Postfix) with ESMTP id 387EA2BD5 for ; Sun, 16 Sep 2018 11:32:50 +0200 (CEST) Content-Disposition: inline In-Reply-To: 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----- > Date: Sun, 16 Sep 2018 05:53:30 +0000 > From: Shahaf Shuler > To: Jerin Jacob > CC: Wenzhuo Lu , Jingjing Wu , > Bernard Iremonger , John McNamara > , Marko Kovacevic , > Thomas Monjalon , Ferruh Yigit > , Andrew Rybchenko , > Olivier Matz , "dev@dpdk.org" > Subject: RE: [dpdk-dev] [PATCH 3/4] ethdev: add Rx offload outer L4 > checksum definitions > > Friday, September 14, 2018 6:06 AM, Jerin Jacob: > > Subject: Re: [dpdk-dev] [PATCH 3/4] ethdev: add Rx offload outer L4 > > checksum definitions > > > > -----Original Message----- > > > Date: Thu, 13 Sep 2018 17:24:26 +0000 > > > From: Shahaf Shuler > > > To: Jerin Jacob , Wenzhuo Lu > > > , Jingjing Wu , Bernard > > > Iremonger , John McNamara > > > , Marko Kovacevic > > > , Thomas Monjalon > > , > > > Ferruh Yigit , Andrew Rybchenko > > > , Olivier Matz > > > CC: "dev@dpdk.org" > > > Subject: RE: [dpdk-dev] [PATCH 3/4] ethdev: add Rx offload outer L4 > > > checksum definitions > > > > > > > > > Thursday, September 13, 2018 4:47 PM, Jerin Jacob: > > > > Subject: [dpdk-dev] [PATCH 3/4] ethdev: add Rx offload outer L4 > > > > checksum definitions > > > > > > > > Introduced DEV_RX_OFFLOAD_OUTER_UDP_CKSUM, > > > > DEV_RX_OFFLOAD_OUTER_TCP_CKSUM and > > DEV_RX_OFFLOAD_OUTER_SCTP_CKSUM > > > > offload flags and > > > > > > Out of curiosity, which TCP based tunnels you target with this current > > patchset? > > > > I am not aware of any _popular_/_non proprietary_ protocols except SSTP > > for VPN. > > And your device can support such protocol inner and outer checksum check? Yes for TCP/UDP/SCTP. > From what I see the inner packet of SSTP is encrypted by SSL. > > So for outer and inner checksum validation device will need to: > 1. compute the outer TCP checksum > 2. if valid decrypt the inner PPP packet > 3. compute the PPP checksum.