]> git.dujemihanovic.xyz Git - linux.git/commit
vdpa/mlx5: Delete direct MKEYs in parallel
authorDragos Tatulea <dtatulea@nvidia.com>
Fri, 30 Aug 2024 10:58:33 +0000 (13:58 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 25 Sep 2024 11:07:43 +0000 (07:07 -0400)
commite1ba5c947e56ccb09773eebfb730cae458b6a4fd
treed89d82538ef1d49d5a4f446137c5d562ad1accc5
parent0071b138d44af4296bf871e6624369ce697b4b15
vdpa/mlx5: Delete direct MKEYs in parallel

Use the async interface to issue MTT MKEY deletion.

This makes destroy_user_mr() on average 8x times faster.
This number is also dependent on the size of the MR being
deleted.

Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com>
Reviewed-by: Cosmin Ratiu <cratiu@nvidia.com>
Acked-by: Eugenio PĂ©rez <eperezma@redhat.com>
Message-Id: <20240830105838.2666587-4-dtatulea@nvidia.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vdpa/mlx5/core/mr.c