Re: [PATCH 2/4] soc: marvell: rvu-pf: Add PF to AF mailbox communication support.

From: Alexander Sverdlin
Date: Tue Sep 24 2024 - 19:09:31 EST


Hi Anshumali,

thanks for explanation!

On Fri, 2024-09-20 at 16:53 +0530, Anshumali Gaur wrote:
> Resource provisioning for virtual functions (VFs) is done by RVU admin
> function (AF). RVU PF and AF shares a memory region which can be used
> for communication. This patch adds support for mailbox communication
> between PF and AF, notification of messages is via IRQs.
>
> Example mailbox messages types and structures can be found at
> drivers/net/ethernet/marvell/octeontx2/af/mbox.h
>
> Signed-off-by: Anshumali Gaur <agaur@xxxxxxxxxxx>

Reviewed-by: Alexander Sverdlin <alexander.sverdlin@xxxxxxxxx>

> ---
>  drivers/soc/marvell/rvu_gen_pf/gen_pf.c | 263 +++++++++++++++++++++++-
>  drivers/soc/marvell/rvu_gen_pf/gen_pf.h | 124 +++++++++++
>  2 files changed, 386 insertions(+), 1 deletion(-)

--
Alexander Sverdlin.