On 5/28/20 12:45 PM, Jason Gunthorpe wrote:
From: Max Gurtovoy <maxg@xxxxxxxxxxxx> Use FRWR method for memory registration by default and remove the ancient and unsafe FMR method. Signed-off-by: Max Gurtovoy <maxg@xxxxxxxxxxxx> Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx>
--- net/rds/Makefile | 2 +- net/rds/ib.c | 20 ++-- net/rds/ib.h | 2 - net/rds/ib_cm.c | 4 +- net/rds/ib_fmr.c | 269 ---------------------------------------------- net/rds/ib_frmr.c | 4 +- net/rds/ib_mr.h | 14 +-- net/rds/ib_rdma.c | 28 ++--- 8 files changed, 21 insertions(+), 322 deletions(-) delete mode 100644 net/rds/ib_fmr.c
Patch looks accurate to me Jason/Max. I wanted to get few regression tests run with it before providing the ack. Will send a note once its tested ok. Regards, Santosh