> -----Original Message-----
> From: Burakov, Anatoly
> Sent: Tuesday, September 12, 2017 10:31 AM
> To: [email protected]
> Cc: Trahe, Fiona <[email protected]>; Griffin, John
> <[email protected]>; Jain, Deepak K
> <[email protected]>; De Lara Guarch, Pablo
> <[email protected]>
> 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 <[email protected]>
Acked-by: Fiona Trahe <[email protected]>