On Mon, Oct 9, 2023 at 7:25 PM Dragos Tatulea <dtatu...@nvidia.com> wrote: > > The current flow for updating an mr works directly on mvdev->mr which > makes it cumbersome to handle multiple new mr structs. > > This patch makes the flow more straightforward by having > mlx5_vdpa_create_mr return a new mr which will update the old mr (if > any). The old mr will be deleted and unlinked from mvdev. > > This change paves the way for adding mrs for different ASIDs. > > The initialized bool is no longer needed as mr is now a pointer in the > mlx5_vdpa_dev struct which will be NULL when not initialized. > > Acked-by: Eugenio Pérez <epere...@redhat.com> > Signed-off-by: Dragos Tatulea <dtatu...@nvidia.com> > ---
Acked-by: Jason Wang <jasow...@redhat.com> Thanks _______________________________________________ Virtualization mailing list Virtualization@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/virtualization