public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2 libibverbs 0/2] Add memory re-registration support
@ 2016-01-11 15:05 Yishai Hadas
       [not found] ` <1452524718-21575-1-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Yishai Hadas @ 2016-01-11 15:05 UTC (permalink / raw)
  To: dledford-H+wXaHxf7aLQT0dZR+AlfA
  Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, yishaih-VPRAkNaXOzVWk0Htik3J/w,
	matanb-VPRAkNaXOzVWk0Htik3J/w, majd-VPRAkNaXOzVWk0Htik3J/w,
	ogerlitz-VPRAkNaXOzVWk0Htik3J/w

Hi Doug,

This series of patches from Matan Barak exposes to user application
the memory region re-registration verb.

The kernel part was already accepted more than
a year ago as part of 3.17.

We made some extra review on V1 and addressed some issues,
details below.

The series was retested successfully with mlx4 driver (lib, kernel)
and can be accessed also from my openfabrics GIT at:
git://openfabrics.org/~yishaih/libibverbs.git
branch: for-upstream.

Yishai


Details:
Memory re-registration is a feature that enables one to change
the attributes of a memory region, including PD, translation
(address and length) and access flags.

The first patch changes the API between libibverbs and the provider's
library. This change is safe as there's no ibv_rereg_mr verb exposed to
the user and thus no reason for a vendor to implement or use this function.

The second patch adds the actual memory region re-registration support.

changes from V1:
#patch #2:
- Fix man page issues.
- Fix mismatch in the API around the 'access' field.
- Improve input parameters validation.
- Drop some un-relevant comment.

Changes from V0:
Split to 2 patches:
  libibverbs <--> provider's library API change
  Add MR re-registration support

Matan Barak (2):
  Change rereg_mr API between libibverbs and the provider's library
  Add MR re-registeration

 include/infiniband/driver.h   |  5 ++++
 include/infiniband/kern-abi.h | 20 ++++++++++++++
 include/infiniband/verbs.h    | 11 ++++++--
 man/ibv_rereg_mr.3            | 62 +++++++++++++++++++++++++++++++++++++++++++
 src/cmd.c                     | 29 ++++++++++++++++++++
 src/libibverbs.map            |  1 +
 src/verbs.c                   | 56 ++++++++++++++++++++++++++++++++++++++
 7 files changed, 182 insertions(+), 2 deletions(-)
 create mode 100644 man/ibv_rereg_mr.3

-- 
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] 7+ messages in thread
* [PATCH v2 libibverbs 0/2] Add memory re-registration support
@ 2014-11-05  8:23 Matan Barak
       [not found] ` <1415175783-4612-1-git-send-email-matanb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 7+ messages in thread
From: Matan Barak @ 2014-11-05  8:23 UTC (permalink / raw)
  To: Roland Dreier, Doug Ledford
  Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA, Or Gerlitz, Matan Barak,
	Jason Gunthorpe, Sagi Grimberg, Yishai Hadas

Hi Roland,

These two patches add memory region re-registration support.
Memory re-registration is a feature that enables one to change
the attributes of a memory region, including PD, translation
(address and length) and access flags.

The first patch changes the API between libibverbs and the provider's
library. This change is safe as there's no ibv_rereg_mr verb exposed to
the user and thus no reason for a vendor to implement or use this function.

The second patch adds the actual memory region re-registration support.

Matan

Changes from V1:
  - Added man page

Changes from V0:
  - Split to 2 patches:
      libibverbs <--> provider's library API change
      Add MR re-registration support

Matan Barak (2):
  Change rereg_mr API between libibverbs and the provider's library
  Add MR re-registeration

 include/infiniband/driver.h   |  5 +++
 include/infiniband/kern-abi.h | 20 ++++++++++++
 include/infiniband/verbs.h    | 11 +++++--
 man/ibv_rereg_mr.3            | 72 +++++++++++++++++++++++++++++++++++++++++++
 src/cmd.c                     | 29 +++++++++++++++++
 src/libibverbs.map            |  1 +
 src/verbs.c                   | 55 +++++++++++++++++++++++++++++++++
 7 files changed, 191 insertions(+), 2 deletions(-)
 create mode 100644 man/ibv_rereg_mr.3

-- 
1.9.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] 7+ messages in thread

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

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-11 15:05 [PATCH V2 libibverbs 0/2] Add memory re-registration support Yishai Hadas
     [not found] ` <1452524718-21575-1-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-01-11 15:05   ` [PATCH V2 libibverbs 1/2] Change rereg_mr API between libibverbs and the provider's library Yishai Hadas
2016-01-11 15:05   ` [PATCH V2 libibverbs 2/2] Add MR re-registeration Yishai Hadas
     [not found]     ` <1452524718-21575-3-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-03-03  2:30       ` Doug Ledford
     [not found]         ` <56D7A1C1.8070306-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-03-03 10:02           ` Yishai Hadas
     [not found]             ` <56D80B9B.8010703-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2016-03-03 15:45               ` Doug Ledford
  -- strict thread matches above, loose matches on Subject: below --
2014-11-05  8:23 [PATCH v2 libibverbs 0/2] Add memory re-registration support Matan Barak
     [not found] ` <1415175783-4612-1-git-send-email-matanb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2014-11-05  8:23   ` [PATCH v2 libibverbs 2/2] Add MR re-registeration Matan Barak

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