[dpdk-dev] [PATCH 2/3] crypto/qat: optimise check for chained mbufs

Kusztal, ArkadiuszX arkadiuszx.kusztal at intel.com
Wed Mar 11 16:44:28 CET 2020



> -----Original Message-----
> From: dev <dev-bounces at dpdk.org> On Behalf Of Adam Dybkowski
> Sent: Wednesday, March 11, 2020 1:26 PM
> To: dev at dpdk.org; Trahe, Fiona <fiona.trahe at intel.com>;
> akhil.goyal at nxp.com; Dybkowski, AdamX <adamx.dybkowski at intel.com>
> Subject: [dpdk-dev] [PATCH 2/3] crypto/qat: optimise check for chained
> mbufs
> 
> From: Fiona Trahe <fiona.trahe at intel.com>
> 
> To detect if sgl, use nb_segs > 1, instead of checking for next pointer, as
> nb_segs is in first cache-line while next is in second cache-line.
> 
> Signed-off-by: Fiona Trahe <fiona.trahe at intel.com>
> ---
>  drivers/crypto/qat/qat_sym.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 2.17.1
Acked-by: Arek Kusztal <arkadiuszx.kusztal at intel.com>


More information about the dev mailing list