[dpdk-dev] [PATCH 3/4] ethdev: add Rx offload outer L4 checksum definitions

Jerin Jacob jerin.jacob at caviumnetworks.com
Sun Sep 16 11:32:25 CEST 2018


-----Original Message-----
> Date: Sun, 16 Sep 2018 05:53:30 +0000
> From: Shahaf Shuler <shahafs at mellanox.com>
> To: Jerin Jacob <jerin.jacob at caviumnetworks.com>
> CC: Wenzhuo Lu <wenzhuo.lu at intel.com>, Jingjing Wu <jingjing.wu at intel.com>,
>  Bernard Iremonger <bernard.iremonger at intel.com>, John McNamara
>  <john.mcnamara at intel.com>, Marko Kovacevic <marko.kovacevic at intel.com>,
>  Thomas Monjalon <thomas at monjalon.net>, Ferruh Yigit
>  <ferruh.yigit at intel.com>, Andrew Rybchenko <arybchenko at solarflare.com>,
>  Olivier Matz <olivier.matz at 6wind.com>, "dev at dpdk.org" <dev at 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 <shahafs at mellanox.com>
> > > To: Jerin Jacob <jerin.jacob at caviumnetworks.com>, Wenzhuo Lu
> > > <wenzhuo.lu at intel.com>, Jingjing Wu <jingjing.wu at intel.com>, Bernard
> > > Iremonger <bernard.iremonger at intel.com>, John McNamara
> > > <john.mcnamara at intel.com>, Marko Kovacevic
> > > <marko.kovacevic at intel.com>,  Thomas Monjalon
> > <thomas at monjalon.net>,
> > > Ferruh Yigit  <ferruh.yigit at intel.com>, Andrew Rybchenko
> > > <arybchenko at solarflare.com>,  Olivier Matz <olivier.matz at 6wind.com>
> > > CC: "dev at dpdk.org" <dev at 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.


More information about the dev mailing list