[PATCH 07/10] vdpa/nfp: setup the VF configure
Chaoyong He
chaoyong.he at corigine.com
Fri Jun 14 04:33:29 CEST 2024
> On 4/26/24 09:48, Chaoyong He wrote:
> > From: Xinying Yu <xinying.yu at corigine.com>
> >
> > Create the relay vring on host and then set the address of Rx used
> > ring to the VF config bar. So the device can DMA the used ring
> > information to host rather than directly to VM.
> >
> > Use 'NFP_NET_CFG_CTRL_LM_RELAY' notify the device side. And enable the
> > MSIX interrupt on device.
> >
> > Tx ring address is no need to change since the relay vring only
>
> not needed*
>
> > assistant Rx ring to do the dirty page logging.
>
> assists*
>
Will fix in the v2 patch series.
Thanks for your review.
> >
> > Signed-off-by: Xinying Yu <xinying.yu at corigine.com>
> > Reviewed-by: Chaoyong He <chaoyong.he at corigine.com>
> > Reviewed-by: Long Wu <long.wu at corigine.com>
> > Reviewed-by: Peng Zhang <peng.zhang at corigine.com>
> > ---
> > drivers/common/nfp/nfp_common_ctrl.h | 3 +
> > drivers/vdpa/nfp/nfp_vdpa.c | 202 ++++++++++++++++++++++++---
> > drivers/vdpa/nfp/nfp_vdpa_core.c | 55 ++++++--
> > drivers/vdpa/nfp/nfp_vdpa_core.h | 8 ++
> > 4 files changed, 238 insertions(+), 30 deletions(-)
>
>
> Reviewed-by: Maxime Coquelin <maxime.coquelin at redhat.com>
>
> Thanks,
> Maxime
More information about the dev
mailing list