[dpdk-dev] [PATCH v2 3/3] crypto/qat: enable TX tail writes coalescing

Trahe, Fiona fiona.trahe at intel.com
Fri Sep 15 15:17:37 CEST 2017



> -----Original Message-----
> From: Burakov, Anatoly
> Sent: Tuesday, September 12, 2017 10:31 AM
> To: dev at dpdk.org
> Cc: Trahe, Fiona <fiona.trahe at intel.com>; Griffin, John <john.griffin at intel.com>; Jain, Deepak K
> <deepak.k.jain at intel.com>; De Lara Guarch, Pablo <pablo.de.lara.guarch at intel.com>
> Subject: [PATCH v2 3/3] crypto/qat: enable TX tail writes coalescing
> 
> Don't write CSR tail until we processed enough TX descriptors.
> 
> To avoid crypto operations sitting in the TX ring indefinitely,
> the "force write" threshold is used:
>  - on TX, no tail write coalescing will occur if number of inflights
>    is below force write threshold
>  - on RX, check if we have a number of crypto ops enqueued that is
>    below force write threshold that are not yet submitted to
>    processing.
> 
> Signed-off-by: Anatoly Burakov <anatoly.burakov at intel.com>
Acked-by: Fiona Trahe <fiona.trahe at intel.com>


More information about the dev mailing list