]> git.baikalelectronics.ru Git - kernel.git/commit
vfio/mlx5: Create and destroy page tracker object
authorYishai Hadas <yishaih@nvidia.com>
Thu, 8 Sep 2022 18:34:45 +0000 (21:34 +0300)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 8 Sep 2022 18:59:01 +0000 (12:59 -0600)
commitd9e130a5ee5950adffe71075787e3797be7d38e7
treea856f16a5ecf578dbdb69495c928f07843a1d933
parent9f35984e43cf8ccbf9b0f636e371a440257b4a70
vfio/mlx5: Create and destroy page tracker object

Add support for creating and destroying page tracker object.

This object is used to control/report the device dirty pages.

As part of creating the tracker need to consider the device capabilities
for max ranges and adapt/combine ranges accordingly.

Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Link: https://lore.kernel.org/r/20220908183448.195262-8-yishaih@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/pci/mlx5/cmd.c
drivers/vfio/pci/mlx5/cmd.h