[dpdk-dev] [PATCH 1/2] crypto/qat: rework request builder for performance

Jain, Deepak K deepak.k.jain at intel.com
Mon Oct 24 15:34:01 CEST 2016



> -----Original Message-----
> From: Trahe, Fiona
> Sent: Monday, October 24, 2016 1:00 PM
> To: dev at dpdk.org
> Cc: De Lara Guarch, Pablo <pablo.de.lara.guarch at intel.com>; Trahe, Fiona
> <fiona.trahe at intel.com>; Griffin, John <john.griffin at intel.com>; Jain,
> Deepak K <deepak.k.jain at intel.com>; Kusztal, ArkadiuszX
> <arkadiuszx.kusztal at intel.com>
> Subject: [PATCH 1/2] crypto/qat: rework request builder for performance
> 
> QAT PMD adjusts the buffer start address and offsets passed to the device
> so that the DMAs in and out of the device are 64-byte aligned.
> This gives more consistent throughput, which had been variable depending
> on how the application set up the mbuf.
> The message builder code had to be considerably re-factored to do this
> efficiently.
> 
> Signed-off-by: Fiona Trahe <fiona.trahe at intel.com>
> ---
>  drivers/crypto/qat/qat_adf/icp_qat_hw.h          |   5 +
>  drivers/crypto/qat/qat_adf/qat_algs.h            |   1 +
>  drivers/crypto/qat/qat_adf/qat_algs_build_desc.c |   2 +
>  drivers/crypto/qat/qat_crypto.c                  | 239 ++++++++++++++++-------
>  4 files changed, 176 insertions(+), 71 deletions(-)
> 
> diff --git a/drivers/crypto/qat/qat_adf/icp_qat_hw.h
> b/drivers/crypto/qat/qat_adf/icp_qat_hw.h
> index a08094f..ebe245f 100644
> --- a/drivers/crypto/qat/qat_adf/icp_qat_hw.h
> --
> 2.5.0
Acked-By: Deepak Kumar Jain <deepak.k.jain at intel.com>


More information about the dev mailing list