crypto/octeontx2: support CN98xx
authorTejasree Kondoj <ktejasree@marvell.com>
Thu, 31 Dec 2020 17:52:57 +0000 (23:22 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Tue, 19 Jan 2021 17:05:17 +0000 (18:05 +0100)
commitbab97a3ffb1eab5a426ea342dfacae056f2314af
tree8d3fc1555a1747b3995080463a5887f3d5e39312
parent5be562bc5b787734c7d94467ce745fad3fe0a154
crypto/octeontx2: support CN98xx

CN98xx SoC comes up with two CPT blocks wrt
CN96xx, CN93xx, to achieve higher performance.

Adding support to allocate all LFs of VF with even BDF from CPT0
and all LFs of VF with odd BDF from CPT1.
If LFs are not available in one block then they will be allocated
from alternate block.

Signed-off-by: Tejasree Kondoj <ktejasree@marvell.com>
Acked-by: Anoob Joseph <anoobj@marvell.com>
doc/guides/cryptodevs/octeontx2.rst
doc/guides/rel_notes/release_21_02.rst
drivers/common/octeontx2/hw/otx2_rvu.h
drivers/crypto/octeontx2/otx2_cryptodev.h
drivers/crypto/octeontx2/otx2_cryptodev_hw_access.c
drivers/crypto/octeontx2/otx2_cryptodev_hw_access.h
drivers/crypto/octeontx2/otx2_cryptodev_mbox.c
drivers/crypto/octeontx2/otx2_cryptodev_mbox.h
drivers/crypto/octeontx2/otx2_cryptodev_ops.c
drivers/crypto/octeontx2/otx2_cryptodev_qp.h
drivers/event/octeontx2/otx2_evdev_crypto_adptr.c