Hi Heng, This may be of interest for your use-case. https://patches.dpdk.org/patch/65559/ Fiona
> -----Original Message----- > From: dev <[email protected]> On Behalf Of Heng Wang > Sent: Monday, December 23, 2019 2:28 PM > To: Doherty, Declan <[email protected]> > Cc: Filip Pudak <[email protected]>; [email protected] > 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

