[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210624073659.GF17892@gondor.apana.org.au>
Date: Thu, 24 Jun 2021 15:36:59 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Wenkai Lin <linwenkai6@...ilicon.com>
Cc: davem@...emloft.net, linux-kernel@...r.kernel.org,
linux-crypto@...r.kernel.org, prime.zeng@...ilicon.com,
wangzhou1@...ilicon.com
Subject: Re: [PATCH] crypto: hisilicon/qm - implement for querying hardware
tasks status.
On Fri, Jun 18, 2021 at 05:36:06PM +0800, Wenkai Lin wrote:
> This patch adds a function hisi_qm_is_q_updated to
> check if the task is ready in hardware queue when
> user polls an UACCE queue.This prevents users from
> repeatedly querying whether the accelerator has
> completed tasks, which wastes CPU resources.
>
> Signed-off-by: Wenkai Lin <linwenkai6@...ilicon.com>
> ---
> drivers/crypto/hisilicon/qm.c | 18 ++++++++++++++++++
> 1 file changed, 18 insertions(+)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists