OSDN Git Service

octeontx2-af: add mbox to return CPT_AF_FLT_INT info
authorSrujana Challa <schalla@marvell.com>
Wed, 18 Jan 2023 12:03:54 +0000 (17:33 +0530)
committerJakub Kicinski <kuba@kernel.org>
Fri, 20 Jan 2023 16:37:10 +0000 (08:37 -0800)
commitb814cc90e57801b643c1be18aac1a8080dc66b9a
tree899d4e361a04c1dee04496c1ae9aef93af409d0d
parentd1e1de102f181283cdefe5b683f2396ce606f185
octeontx2-af: add mbox to return CPT_AF_FLT_INT info

CPT HW would trigger the CPT AF FLT interrupt when CPT engines
hits some uncorrectable errors and AF is the one which receives
the interrupt and recovers the engines.
This patch adds a mailbox for CPT VFs to request for CPT faulted
and recovered engines info.

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.h
drivers/net/ethernet/marvell/octeontx2/af/rvu_cpt.c