octeontx2-af: update cpt lf alloc mailbox
authorSrujana Challa <schalla@marvell.com>
Wed, 18 Jan 2023 12:03:53 +0000 (17:33 +0530)
committerJakub Kicinski <kuba@kernel.org>
Fri, 20 Jan 2023 16:37:10 +0000 (08:37 -0800)
commitd1e1de102f181283cdefe5b683f2396ce606f185
treedfb68157d0b8ba84bd2d7b75384e5fa759d91781
parente2784acb61b32713d7ac2b27419e2234ede2a3fa
octeontx2-af: update cpt lf alloc mailbox

The CN10K CPT coprocessor contains a context processor
to accelerate updates to the IPsec security association
contexts. The context processor contains a context cache.
This patch updates CPT LF ALLOC mailbox to config ctx_ilen
requested by VFs. CPT_LF_ALLOC:ctx_ilen is the size of
initial context fetch.

Signed-off-by: Srujana Challa <schalla@marvell.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/marvell/octeontx2/af/mbox.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_cpt.c