[dpdk-dev] Offloading L4 checksum to crypto device

Trahe, Fiona fiona.trahe at intel.com
Mon Feb 10 03:01:30 CET 2020


Right now it's just an RFC. 
If you want to influence it you can take part in that discussion.
Or in development of a sample app to do what you propose.


> -----Original Message-----
> From: Heng Wang <heng.wang at ericsson.com>
> Sent: Thursday, February 6, 2020 8:03 AM
> To: Trahe, Fiona <fiona.trahe at intel.com>; Doherty, Declan <declan.doherty at intel.com>
> Cc: Filip Pudak <filip.pudak at ericsson.com>; dev at dpdk.org; Coyle, David <david.coyle at intel.com>
> Subject: RE: Offloading L4 checksum to crypto device
> 
> Hi Fiona,
>   Thanks for the info. Do you have a sample application to show how it works? It's better to have an
> example of chaining udp checksum with encryption/decryption. I am also wondering to which version it
> will merge?
> 
> Regards,
> Heng
> 
> -----Original Message-----
> From: Trahe, Fiona <fiona.trahe at intel.com>
> Sent: den 5 februari 2020 18:23
> To: Heng Wang <heng.wang at ericsson.com>; Doherty, Declan <declan.doherty at intel.com>
> Cc: Filip Pudak <filip.pudak at ericsson.com>; dev at dpdk.org; Trahe, Fiona <fiona.trahe at intel.com>;
> Coyle, David <david.coyle at intel.com>
> Subject: RE: Offloading L4 checksum to crypto device
> 
> Hi Heng,
> This may be of interest for your use-case.
> https://patches.dpdk.org/patch/65559/
> Fiona
> 
> > -----Original Message-----
> > From: dev <dev-bounces at dpdk.org> On Behalf Of Heng Wang
> > Sent: Monday, December 23, 2019 2:28 PM
> > To: Doherty, Declan <declan.doherty at intel.com>
> > Cc: Filip Pudak <filip.pudak at ericsson.com>; dev at dpdk.org
> > Subject: [dpdk-dev] Offloading L4 checksum to crypto device
> >
> > Hi,
> >  This is Heng from Ericsson. We are now developing a platform based on
> > dpdk. The platform usually processes the ipsec packets encapsulating udp packets.
> >   You know, calculating udp checksum is always time consuming. We
> > found a hardware solution where our crypto device can calculate the udp checksum during encryption.
> >  Unfortunately, in DPDK, I didn't find any feature flag for it. Also
> > the API rte_cryptodev_configure doesn't allow us to pass any offload flag to the crypto device.
> >  I think this could be a common case to calculate something, like
> > checksums, before encryption in crypto devices. Should we consider add
> > some new feature flag and offload support in dpdk crypto device?
> >
> > Regards,
> > Heng


More information about the dev mailing list