public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH for-next 0/2] Adding memory re-registration for mlx5
@ 2016-02-29 14:46 Matan Barak
       [not found] ` <1456757211-8112-1-git-send-email-matanb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Matan Barak @ 2016-02-29 14:46 UTC (permalink / raw)
  To: Doug Ledford
  Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, Matan Barak, Or Gerlitz,
	Majd Dibbiny, Noa Osherovich

From: Noa Osherovich <noaos-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>

Hi Doug,

This series adds memory re-registration support for the mlx5 driver.
Re-registration of memory region uses UMR if the current MKey is large
enough to encompass the requested length. When this is not possible,
a new MKey is created using the firmware command interface. In this
case, new LKey and RKey are created and must be communicated to
remote peers by the user.

The MR's umem is kept only through a PD-only change. Otherwise, it is
replaced as well.

The series contains 2 patches:
The first patch refactors the register and deregister MR flow so that
some code parts could be shared later on with the re-registration
flow.
The second patch introduces the actual re-registration flow.

Thanks,
Noa and Matan

Noa Osherovich (2):
  IB/mlx5: Refactoring register MR code
  IB/mlx5: Added support for re-registration of MRs

 drivers/infiniband/hw/mlx5/main.c    |   2 +
 drivers/infiniband/hw/mlx5/mlx5_ib.h |   9 +
 drivers/infiniband/hw/mlx5/mr.c      | 375 ++++++++++++++++++++++++++++-------
 drivers/infiniband/hw/mlx5/qp.c      |  51 ++++-
 4 files changed, 359 insertions(+), 78 deletions(-)

-- 
1.8.3.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-03-03 15:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-29 14:46 [PATCH for-next 0/2] Adding memory re-registration for mlx5 Matan Barak
     [not found] ` <1456757211-8112-1-git-send-email-matanb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-02-29 14:46   ` [PATCH for-next 1/2] IB/mlx5: Refactoring register MR code Matan Barak
2016-02-29 14:46   ` [PATCH for-next 2/2] IB/mlx5: Added support for re-registration of MRs Matan Barak
2016-03-03 15:48   ` [PATCH for-next 0/2] Adding memory re-registration for mlx5 Doug Ledford

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox