DPDK patches and discussions
 help / color / mirror / Atom feed
From: Heng Wang <heng.wang@ericsson.com>
To: "Trahe, Fiona" <fiona.trahe@intel.com>,
	"Doherty, Declan" <declan.doherty@intel.com>
Cc: Filip Pudak <filip.pudak@ericsson.com>,
	"dev@dpdk.org" <dev@dpdk.org>,
	"Coyle, David" <david.coyle@intel.com>
Subject: Re: [dpdk-dev] Offloading L4 checksum to crypto device
Date: Thu, 6 Feb 2020 08:02:53 +0000	[thread overview]
Message-ID: <AM0PR07MB5396621FF96B052EE8ABC55B9C1D0@AM0PR07MB5396.eurprd07.prod.outlook.com> (raw)
In-Reply-To: <BN6PR11MB179626E245BA2043A55F109BE4020@BN6PR11MB1796.namprd11.prod.outlook.com>

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@intel.com> 
Sent: den 5 februari 2020 18:23
To: Heng Wang <heng.wang@ericsson.com>; Doherty, Declan <declan.doherty@intel.com>
Cc: Filip Pudak <filip.pudak@ericsson.com>; dev@dpdk.org; Trahe, Fiona <fiona.trahe@intel.com>; Coyle, David <david.coyle@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@dpdk.org> On Behalf Of Heng Wang
> Sent: Monday, December 23, 2019 2:28 PM
> To: Doherty, Declan <declan.doherty@intel.com>
> Cc: Filip Pudak <filip.pudak@ericsson.com>; dev@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

  reply	other threads:[~2020-02-09 19:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-12-23 14:27 Heng Wang
2020-02-05 17:22 ` Trahe, Fiona
2020-02-06  8:02   ` Heng Wang [this message]
2020-02-10  2:01     ` Trahe, Fiona

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AM0PR07MB5396621FF96B052EE8ABC55B9C1D0@AM0PR07MB5396.eurprd07.prod.outlook.com \
    --to=heng.wang@ericsson.com \
    --cc=david.coyle@intel.com \
    --cc=declan.doherty@intel.com \
    --cc=dev@dpdk.org \
    --cc=filip.pudak@ericsson.com \
    --cc=fiona.trahe@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).