IB/mlx5: Manage indirection mkey upon DEVX flow for ODP
Manage indirection mkey upon DEVX flow to support ODP. To support a page fault event on the indirection mkey it needs to be part of the device mkey radix tree. Both the creation and the deletion flows for a DEVX object which is indirection mkey were adapted to handle that. Signed-off-by:Yishai Hadas <yishaih@mellanox.com> Reviewed-by:
Artemy Kovalyov <artemyko@mellanox.com> Signed-off-by:
Leon Romanovsky <leonro@mellanox.com> Signed-off-by:
Jason Gunthorpe <jgg@mellanox.com>
Showing
- drivers/infiniband/hw/mlx5/devx.c 88 additions, 1 deletiondrivers/infiniband/hw/mlx5/devx.c
- drivers/infiniband/hw/mlx5/main.c 1 addition, 0 deletionsdrivers/infiniband/hw/mlx5/main.c
- drivers/infiniband/hw/mlx5/mlx5_ib.h 6 additions, 0 deletionsdrivers/infiniband/hw/mlx5/mlx5_ib.h
- include/linux/mlx5/driver.h 1 addition, 0 deletionsinclude/linux/mlx5/driver.h
Loading
Please register or sign in to comment