]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDS: Add support for fast registration work request
authorAvinash Repaka <avinash.repaka@oracle.com>
Thu, 17 Aug 2017 21:02:47 +0000 (14:02 -0700)
committerChuck Anderson <chuck.anderson@oracle.com>
Tue, 19 Sep 2017 05:43:39 +0000 (22:43 -0700)
commite7b7c2cffbb9b4acd688d4d1425385d5f51e8bfa
tree3991b2ae37ff8d5d607a1b0f9f5d590c5dcd5c17
parent2d7d022b8b8a4c7a1d33770ff3da0d32595de462
RDS: Add support for fast registration work request

This patch adds support for MR registration through work request in RDS,
commonly referred as FRWR/fastreg/FRMR.

With this patch added, RDS chooses the registration method, between FMR
and FRWR, based on the preference given through 'prefer_frwr' module
parameter and the support offered by the underlying device.

Please note that this patch is adding support for MR registration done
only through CMSG. Support for registrations through RDS_GET_MR socket
option will be added through another patch.

Orabug: 22145384

Suggested-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: Avinash Repaka <avinash.repaka@oracle.com>
Tested-by: Gerald Gibson <gerald.gibson@oracle.com>
Tested-by: Efrain Galaviz <efrain.galaviz@oracle.com>
Reviewed-by: Wei Lin Guay <wei.lin.guay@oracle.com>
net/rds/connection.c
net/rds/ib.c
net/rds/ib.h
net/rds/ib_cm.c
net/rds/ib_rdma.c
net/rds/ib_send.c
net/rds/rdma.c
net/rds/rds.h
net/rds/send.c