Re: [PATCH 2/9] RDMA/mlx4: remove FMR support for memory registration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 27, 2020 at 12:46:27PM +0300, Max Gurtovoy wrote:
> HCA's that are driven by mlx4 driver support FRWR method to register
> memory. Remove the ancient and unsafe FMR method.
>
> Signed-off-by: Max Gurtovoy <maxg@xxxxxxxxxxxx>
> ---
>  drivers/infiniband/hw/mlx4/main.c       |  10 --
>  drivers/infiniband/hw/mlx4/mlx4_ib.h    |  16 ---
>  drivers/infiniband/hw/mlx4/mr.c         |  93 ----------------
>  drivers/net/ethernet/mellanox/mlx4/mr.c | 183 --------------------------------
>  include/linux/mlx4/device.h             |  21 +---
>  5 files changed, 2 insertions(+), 321 deletions(-)

I don't see this line removed and all "max_fmr_maps" related.
➜  kernel git:(rdma-next) git grep fmr drivers/infiniband/hw/mlx4/ | head -1
drivers/infiniband/hw/mlx4/main.c: props->max_map_per_fmr = dev->dev->caps.max_fmr_maps;

Thanks



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux