]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0223d058a6cdeba9cb257cb516fd0e855269300b
treeea027873f41d1300bf929c4985a899e9d20af0a6
parentdd8ea859e12cccd2c0fb4e63e677b70251d20b2a
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