[RFC libibverbs 0/2] Use MR with contiguous pages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This RFC introduces an ability to user space application to work
with contiguous pages when ibv_reg_mr is used.

This ability achieved by asking the provider as part of ibv_reg_mr
to allocate from the kernel such a memory in a transparent way to
the application.

The idea is to pass NULL as part of ibv_reg_mr and turn on an access
flag bit asking for that.

Patches:
#1 - Add the above support as part of ibv_reg_mr.
#2 - Example usage as part of ibv_rc_pingpong.
 
Yishai Hadas (2):
  Add contiguous pages support
  Example code to use contig pages

 examples/rc_pingpong.c     | 47 +++++++++++++++++++++++++++++++++++-----------
 include/infiniband/verbs.h |  2 ++
 src/verbs.c                | 29 ++++++++++++++++++++++------
 3 files changed, 61 insertions(+), 17 deletions(-)

-- 
1.8.3.1

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



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux