On Mon, Oct 9, 2023 at 7:25 PM Dragos Tatulea <[email protected]> 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 <[email protected]> > Signed-off-by: Dragos Tatulea <[email protected]> > ---
Acked-by: Jason Wang <[email protected]> Thanks _______________________________________________ Virtualization mailing list [email protected] https://lists.linuxfoundation.org/mailman/listinfo/virtualization
