-----Original Message----- > Date: Sun, 16 Sep 2018 05:53:30 +0000 > From: Shahaf Shuler <shah...@mellanox.com> > To: Jerin Jacob <jerin.ja...@caviumnetworks.com> > CC: Wenzhuo Lu <wenzhuo...@intel.com>, Jingjing Wu <jingjing...@intel.com>, > Bernard Iremonger <bernard.iremon...@intel.com>, John McNamara > <john.mcnam...@intel.com>, Marko Kovacevic <marko.kovace...@intel.com>, > Thomas Monjalon <tho...@monjalon.net>, Ferruh Yigit > <ferruh.yi...@intel.com>, Andrew Rybchenko <arybche...@solarflare.com>, > Olivier Matz <olivier.m...@6wind.com>, "dev@dpdk.org" <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 <shah...@mellanox.com> > > > To: Jerin Jacob <jerin.ja...@caviumnetworks.com>, Wenzhuo Lu > > > <wenzhuo...@intel.com>, Jingjing Wu <jingjing...@intel.com>, Bernard > > > Iremonger <bernard.iremon...@intel.com>, John McNamara > > > <john.mcnam...@intel.com>, Marko Kovacevic > > > <marko.kovace...@intel.com>, Thomas Monjalon > > <tho...@monjalon.net>, > > > Ferruh Yigit <ferruh.yi...@intel.com>, Andrew Rybchenko > > > <arybche...@solarflare.com>, Olivier Matz <olivier.m...@6wind.com> > > > CC: "dev@dpdk.org" <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.