octeontx2-af: update cpt lf alloc mailbox
authorSrujana Challa <schalla@marvell.com>
Wed, 18 Jan 2023 12:03:53 +0000 (17:33 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Jan 2023 09:00:08 +0000 (09:00 +0000)
commitc0688ec002a451d04a51d43b849765c5ce6cb36f
tree3ee631d733cd24a5e896ce8c4f74a4f0fa9c8747
parentd5b2e0a299f36c6ccdda4830525ca20550243536
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: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/mbox.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_cpt.c