crypto: octeontx2 - add apis for custom engine groups
authorSrujana Challa <schalla@marvell.com>
Wed, 1 Dec 2021 09:02:00 +0000 (14:32 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 11 Dec 2021 05:49:17 +0000 (16:49 +1100)
commitd9d7749773e8895aaedc11f1d2885a9eee5c73ac
tree5a48bca0a9a87abb43ae49bee9deec0818c42395
parent3d6b661330a7954d8136df98160d525eb04dcd6a
crypto: octeontx2 - add apis for custom engine groups

Octeon TX2 CPT has three type of engines to handle symmetric, asymmetric
and ipsec specific workload. For better utilization, these engines can
be grouped to custom groups at runtime.

This patch adds APIs to create and delete custom CPT engine groups.

Signed-off-by: Srujana Challa <schalla@marvell.com>
Signed-off-by: Shijith Thotton <sthotton@marvell.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c
drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.h