> On 4/26/24 09:48, Chaoyong He wrote: > > From: Xinying Yu <xinying...@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...@corigine.com> > > Reviewed-by: Chaoyong He <chaoyong...@corigine.com> > > Reviewed-by: Long Wu <long...@corigine.com> > > Reviewed-by: Peng Zhang <peng.zh...@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.coque...@redhat.com> > > Thanks, > Maxime