RDMA/mlx4: Remove FMR support for memory registration
authorMax Gurtovoy <maxg@mellanox.com>
Thu, 28 May 2020 19:45:50 +0000 (16:45 -0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 2 Jun 2020 23:32:54 +0000 (20:32 -0300)
commit1f55b7ab907d373581e9abf3fc4b24ed19cf831f
treeea027873f41d1300bf929c4985a899e9d20af0a6
parentf0c73c70db99e30f790572b97531aa569ec1ba60
RDMA/mlx4: Remove FMR support for memory registration

HCA's that are driven by mlx4 driver support FRWR method to register
memory. Remove the ancient and unsafe FMR method.

Link: https://lore.kernel.org/r/8-v3-f58e6669d5d3+2cf-fmr_removal_jgg@mellanox.com
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx4/main.c
drivers/infiniband/hw/mlx4/mlx4_ib.h
drivers/infiniband/hw/mlx4/mr.c
drivers/net/ethernet/mellanox/mlx4/main.c
drivers/net/ethernet/mellanox/mlx4/mr.c
include/linux/mlx4/device.h