]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: octeontx2 - add devlink option to set t106 mode
authorSrujana Challa <schalla@marvell.com>
Wed, 13 Dec 2023 07:30:49 +0000 (13:00 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 29 Dec 2023 03:25:38 +0000 (11:25 +0800)
commit82f89f1aa6ca33a6c1e50ddb165e2d5b882025e1
tree66ecfaa8750f3377be0e78320b206442cbe29d43
parent92508e7fcffdd77d6e2a18d3dd9c8863f61b040f
crypto: octeontx2 - add devlink option to set t106 mode

On CN10KA B0/CN10KB, CPT scatter gather format has modified
to support multi-seg in inline IPsec. Due to this CPT requires
new firmware and doesn't work with CN10KA0/A1 firmware. To make
HW works in backward compatibility mode or works with CN10KA0/A1
firmware, a bit(T106_MODE) is introduced in HW CSR.

This patch adds devlink parameter for configuring T106_MODE.
This patch also documents the devlink parameter under
Documentation/crypto/device_drivers.

Signed-off-by: Srujana Challa <schalla@marvell.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Documentation/crypto/device_drivers/index.rst [new file with mode: 0644]
Documentation/crypto/device_drivers/octeontx2.rst [new file with mode: 0644]
Documentation/crypto/index.rst
drivers/crypto/marvell/octeontx2/otx2_cpt_common.h
drivers/crypto/marvell/octeontx2/otx2_cpt_devlink.c
drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c