crypto: hisilicon/qm - add UACCE_CMD_QM_SET_QP_INFO support
authorWeili Qian <qianweili@huawei.com>
Fri, 9 Sep 2022 09:46:57 +0000 (17:46 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 16 Sep 2022 10:29:44 +0000 (18:29 +0800)
commitc832da79cbf9448e7ece097c3a93996b4c74a83e
tree2cefdeadd5b6af19e29fdac3618780f96fae6005
parent129a9f340172b4f3857260a7a7bb9d7b3496ba50
crypto: hisilicon/qm - add UACCE_CMD_QM_SET_QP_INFO support

To be compatible with accelerator devices of different
versions, 'UACCE_CMD_QM_SET_QP_INFO' ioctl is added to obtain
queue information in userspace, including queue depth and buffer
description size.

Signed-off-by: Weili Qian <qianweili@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/hisilicon/qm.c
include/uapi/misc/uacce/hisi_qm.h