]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
crypto: octeontx2 - Rework how engine group number is obtained
authorAmit Singh Tomar <amitsinght@marvell.com>
Wed, 28 May 2025 14:59:40 +0000 (20:29 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 13 Jun 2025 09:26:16 +0000 (17:26 +0800)
commitfbfe4f47d931dc36fccec66546599663e08f4943
treec0cbfb7fdaad7e978aadd739ef0392c9f198ba05
parent71203f68c7749609d7fc8ae6ad054bdedeb24f91
crypto: octeontx2 - Rework how engine group number is obtained

By default, otx2_cpt_get_kcrypto_eng_grp_num() returns the engine group
number of SE engine type. Add an engine type parameter to support
retrieving the engine group number for different engine types.

Since otx2_cpt_get_kcrypto_eng_grp_num() always returns the kernel crypto
engine group number, rename it to otx2_cpt_get_eng_grp_num().

Signed-off-by: Amit Singh Tomar <amitsinght@marvell.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/octeontx2/otx2_cpt_reqmgr.h
drivers/crypto/marvell/octeontx2/otx2_cptlf.h
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c
drivers/crypto/marvell/octeontx2/otx2_cptvf_main.c
drivers/crypto/marvell/octeontx2/otx2_cptvf_mbox.c
drivers/crypto/marvell/octeontx2/otx2_cptvf_reqmgr.c