]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: octeontx2 - increase CPT HW instruction queue length
authorSrujana Challa <schalla@marvell.com>
Tue, 25 Jan 2022 18:26:24 +0000 (23:56 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 5 Feb 2022 04:10:50 +0000 (15:10 +1100)
commit0d466d15776c89ed16e428450d077dc6e56cf92c
tree0ed668ad75376ed14567465670f1a7b91bf7b170
parentf9ec4e23d7a1915f6a6994b91e43e51a6e044f18
crypto: octeontx2 - increase CPT HW instruction queue length

LDWB is getting incorrectly used in HW when
CPT_AF_LF()_PTR_CTL[IQB_LDWB]=1 and CPT instruction queue has less than
320 free entries. So, increase HW instruction queue size by 320 and give
320 entries less for SW/NIX RX as a SW workaround.

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_cptlf.h