]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite0634fdae7d768474cfbd39492e7aac6514f5c98
treee516bfceff3cb94322dc2dd25751ec236f8bbbba
parentaa4f2f1c960300f03ba4324f2d1b242f5ceb5a9e
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