crypto: octeontx2 - add LF framework
authorSrujana Challa <schalla@marvell.com>
Fri, 15 Jan 2021 13:52:23 +0000 (19:22 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Jan 2021 03:58:03 +0000 (14:58 +1100)
commit64506017030dd44f0fc91c5110840ac7996213dd
treeb9ffc1fdf41f6f8365ee702d9c0cfc32958d3c62
parent43ac0b824f1cb7c63c5fe98ea2b80ec480412601
crypto: octeontx2 - add LF framework

CPT RVU Local Functions(LFs) needs to be attached to the
PF/VF to submit the instructions to CPT.
This patch adds the interface to initialize and attach
the LFs. It also adds interface to register the LF's
interrupts.

Signed-off-by: Suheil Chandran <schandran@marvell.com>
Signed-off-by: Lukasz Bartosik <lbartosik@marvell.com>
Signed-off-by: Srujana Challa <schalla@marvell.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/marvell/octeontx2/Makefile
drivers/crypto/marvell/octeontx2/otx2_cpt_common.h
drivers/crypto/marvell/octeontx2/otx2_cpt_mbox_common.c
drivers/crypto/marvell/octeontx2/otx2_cptlf.c [new file with mode: 0644]
drivers/crypto/marvell/octeontx2/otx2_cptlf.h [new file with mode: 0644]
drivers/crypto/marvell/octeontx2/otx2_cptpf.h
drivers/crypto/marvell/octeontx2/otx2_cptpf_mbox.c