octeontx2-af: Hardware configuration for inline IPsec
authorSrujana Challa <schalla@marvell.com>
Thu, 16 Sep 2021 09:41:14 +0000 (15:11 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 16 Sep 2021 13:37:38 +0000 (14:37 +0100)
commit4b5a3ab17c6c942bd428984b6b37fe3c07f18ab3
treee516bfceff3cb94322dc2dd25751ec236f8bbbba
parent227b9644ab16d2ecd98d593edbe15c32c0c9620a
octeontx2-af: Hardware configuration for inline IPsec

On OcteonTX2/CN10K SoC, the admin function (AF) is the only one
with all priviliges to configure HW and alloc resources, PFs and
it's VFs have to request AF via mailbox for all their needs.
This patch adds new mailbox messages for CPT PFs and VFs to configure
HW resources for inline-IPsec.

Signed-off-by: Subbaraya Sundeep <sbhatta@marvell.com>
Signed-off-by: Srujana Challa <schalla@marvell.com>
Signed-off-by: Vidya Sagar Velumuri <vvelumuri@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/octeontx2/af/common.h
drivers/net/ethernet/marvell/octeontx2/af/mbox.h
drivers/net/ethernet/marvell/octeontx2/af/rvu.c
drivers/net/ethernet/marvell/octeontx2/af/rvu.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_cn10k.c
drivers/net/ethernet/marvell/octeontx2/af/rvu_cpt.c
drivers/net/ethernet/marvell/octeontx2/af/rvu_nix.c
drivers/net/ethernet/marvell/octeontx2/af/rvu_reg.h