-----Original Message----- > Date: Sun, 16 Sep 2018 05:53:30 +0000 > From: Shahaf Shuler <[email protected]> > To: Jerin Jacob <[email protected]> > CC: Wenzhuo Lu <[email protected]>, Jingjing Wu <[email protected]>, > Bernard Iremonger <[email protected]>, John McNamara > <[email protected]>, Marko Kovacevic <[email protected]>, > Thomas Monjalon <[email protected]>, Ferruh Yigit > <[email protected]>, Andrew Rybchenko <[email protected]>, > Olivier Matz <[email protected]>, "[email protected]" <[email protected]> > 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 <[email protected]> > > > To: Jerin Jacob <[email protected]>, Wenzhuo Lu > > > <[email protected]>, Jingjing Wu <[email protected]>, Bernard > > > Iremonger <[email protected]>, John McNamara > > > <[email protected]>, Marko Kovacevic > > > <[email protected]>, Thomas Monjalon > > <[email protected]>, > > > Ferruh Yigit <[email protected]>, Andrew Rybchenko > > > <[email protected]>, Olivier Matz <[email protected]> > > > CC: "[email protected]" <[email protected]> > > > 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.

