Skip to content

Commit

Permalink
vfio/mlx5: Init QP based resources for dirty tracking
Browse files Browse the repository at this point in the history
Init QP based resources for dirty tracking to be used upon start
logging.

It includes:
Creating the host and firmware RC QPs, move each of them to its expected
state based on the device specification, etc.

Creating the relevant resources which are needed by both QPs as of UAR,
PD, etc.

Creating the host receive side resources as of MKEY, CQ, receive WQEs,
etc.

The above resources are cleaned-up upon stop logging.

The tracker object that will be introduced by next patches will use
those resources.

Signed-off-by: Yishai Hadas <yishaih@nvidia.com>
Link: https://lore.kernel.org/r/20220908183448.195262-7-yishaih@nvidia.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
  • Loading branch information
Yishai Hadas authored and Alex Williamson committed Sep 8, 2022
1 parent 80c4b92 commit 79c3cf2
Show file tree
Hide file tree
Showing 2 changed files with 636 additions and 12 deletions.
Loading

0 comments on commit 79c3cf2

Please sign in to comment.