IB/mlx5: Add advise_mr() support
The verb advise_mr() is used to give advice to the kernel about an address range that belongs to a MR. Implement the verb and register it on the device. The current implementation supports the only known advice to date, prefetch. Signed-off-by:Moni Shoua <monis@mellanox.com> Reviewed-by:
Guy Levi <guyle@mellanox.com> Signed-off-by:
Leon Romanovsky <leonro@mellanox.com> Signed-off-by:
Jason Gunthorpe <jgg@mellanox.com>
Showing
- drivers/infiniband/hw/mlx5/main.c 8 additions, 0 deletionsdrivers/infiniband/hw/mlx5/main.c
- drivers/infiniband/hw/mlx5/mlx5_ib.h 18 additions, 0 deletionsdrivers/infiniband/hw/mlx5/mlx5_ib.h
- drivers/infiniband/hw/mlx5/mr.c 15 additions, 0 deletionsdrivers/infiniband/hw/mlx5/mr.c
- drivers/infiniband/hw/mlx5/odp.c 116 additions, 9 deletionsdrivers/infiniband/hw/mlx5/odp.c
Loading
Please register or sign in to comment