RDMA/rdmavt: Remove FMR memory registration
authorMax Gurtovoy <maxg@mellanox.com>
Thu, 28 May 2020 19:45:52 +0000 (16:45 -0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 2 Jun 2020 23:32:54 +0000 (20:32 -0300)
commit22c9cc2408b734d2e5b193d287572cd2c7011183
tree309abff4910c93d4630c93a3b1f6bb19584d1018
parentd6747b3715561ddc14e805e7ad4dfab2c9f245bb
RDMA/rdmavt: Remove FMR memory registration

Use FRWR method to register memory by default and remove the ancient and
unsafe FMR method.

Link: https://lore.kernel.org/r/10-v3-f58e6669d5d3+2cf-fmr_removal_jgg@mellanox.com
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Tested-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Acked-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/sw/rdmavt/mr.c
drivers/infiniband/sw/rdmavt/mr.h
drivers/infiniband/sw/rdmavt/vt.c