[PATCH v3 3/5] crypto/ipsec_mb: add remaining SGL support
Zhang, Roy Fan
roy.fan.zhang at intel.com
Wed Sep 21 16:50:19 CEST 2022
> -----Original Message-----
> From: Power, Ciara <ciara.power at intel.com>
> Sent: Wednesday, September 21, 2022 1:51 PM
> To: Zhang, Roy Fan <roy.fan.zhang at intel.com>; De Lara Guarch, Pablo
> <pablo.de.lara.guarch at intel.com>
> Cc: dev at dpdk.org; Ji, Kai <kai.ji at intel.com>; Power, Ciara
> <ciara.power at intel.com>
> Subject: [PATCH v3 3/5] crypto/ipsec_mb: add remaining SGL support
>
> The intel-ipsec-mb library supports SGL for GCM and ChaChaPoly
> algorithms using the JOB API.
> This support was added to AESNI_MB PMD previously, but the SGL feature
> flags could not be added due to no SGL support for other algorithms.
>
> This patch adds a workaround SGL approach for other algorithms
> using the JOB API. The segmented input buffers are copied into a
> linear buffer, which is passed as a single job to intel-ipsec-mb.
> The job is processed, and on return, the linear buffer is split into the
> original destination segments.
>
> Existing AESNI_MB testcases are passing with these feature flags added.
>
> Signed-off-by: Ciara Power <ciara.power at intel.com>
>
> ---
Acked-by: Fan Zhang <roy.fan.zhang at intel.com>
More information about the dev
mailing list