linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* generic RDMA READ/WRITE API V4
@ 2016-03-08 18:16 Christoph Hellwig
  2016-03-08 18:16 ` [PATCH v4 1/9] IB/cma: pass the port number to ib_create_qp Christoph Hellwig
                   ` (6 more replies)
  0 siblings, 7 replies; 46+ messages in thread
From: Christoph Hellwig @ 2016-03-08 18:16 UTC (permalink / raw)
  To: dledford, bart.vanassche; +Cc: sagig, swise, linux-rdma, target-devel

This series contains patches that implement a first version of a generic
API to handle RDMA READ/WRITE operations as commonly used on the target
(or server) side for storage protocols.

I think it's basically ready to merge now, but I'd really like to have
a positive review from Bart for the SRP target conversion.

This has been developed for the upcoming NVMe over Fabrics target, and
extensively teѕted as part of that, although this upstream version has
additional updates over the one we're currently using.

It hides details such as the use of MRs for iWarp devices, and will allow
looking at other HCA specifics easily in the future.

This series contains a conversion of the SRP target, and the git tree
below also has a RFC conversion of the iSER target (a little hacky
due to the signature MR support which I can't test)

I also have a git tree available at:

	git://git.infradead.org/users/hch/rdma.git rdma-rw-api

Gitweb:

	http://git.infradead.org/users/hch/rdma.git/shortlog/refs/heads/rdma-rw-api

These two also include the RFC iSER target conversion.

Changes since V3:
 - really fold the list_del in mr_pool_get into the right patch

Changes since V2:
 - fold the list_del in mr_pool_get into the right patch
 - clamp the max FR page size length
 - minor srpt style fix
 - spelling fixes
 - renamed rdma_has_read_invalidate to rdma_cap_read_inv

Changes since V1:
 - fixed offset handling in ib_sg_to_pages
 - uses proper SG iterators to handle larger than PAGE_SIZE segments
 - adjusted parameters for some functions to reduce size of the context
 - SRP target support

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

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

Thread overview: 46+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-08 18:16 generic RDMA READ/WRITE API V4 Christoph Hellwig
2016-03-08 18:16 ` [PATCH v4 1/9] IB/cma: pass the port number to ib_create_qp Christoph Hellwig
2016-03-08 19:25   ` Bart Van Assche
2016-03-08 19:27   ` Leon Romanovsky
     [not found]     ` <20160308192709.GJ13396-2ukJVAZIZ/Y@public.gmane.org>
2016-03-08 19:38       ` Steve Wise
2016-03-08 19:55         ` Leon Romanovsky
2016-03-09 13:58           ` 'Christoph Hellwig'
     [not found]             ` <20160309135804.GA32315-jcswGhMUV9g@public.gmane.org>
2016-03-09 14:43               ` Leon Romanovsky
2016-03-09 15:51               ` Steve Wise
2016-03-09 15:52                 ` 'Christoph Hellwig'
2016-03-08 18:16 ` [PATCH v4 2/9] IB/core: allow passing mapping an offset into the SG in ib_map_mr_sg Christoph Hellwig
2016-03-08 19:27   ` Bart Van Assche
2016-03-08 18:16 ` [PATCH v4 3/9] IB/core: add a helper to check for READ WITH INVALIDATE support Christoph Hellwig
2016-03-08 18:16 ` [PATCH v4 4/9] IB/core: refactor ib_create_qp Christoph Hellwig
2016-03-08 19:33   ` Bart Van Assche
     [not found]     ` <56DF2917.309-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2016-03-09 12:55       ` Christoph Hellwig
2016-03-08 18:16 ` [PATCH v4 5/9] IB/core: add a simple MR pool Christoph Hellwig
     [not found]   ` <1457461000-24088-6-git-send-email-hch-jcswGhMUV9g@public.gmane.org>
2016-03-08 19:37     ` Bart Van Assche
2016-03-09 12:56       ` Christoph Hellwig
     [not found] ` <1457461000-24088-1-git-send-email-hch-jcswGhMUV9g@public.gmane.org>
2016-03-08 18:16   ` [PATCH v4 6/9] IB/core: add a need_inval flag to struct ib_mr Christoph Hellwig
2016-03-08 19:41     ` Bart Van Assche
2016-03-08 18:16   ` [PATCH v4 7/9] IB/core: generic RDMA READ/WRITE API Christoph Hellwig
2016-03-08 21:32     ` Bart Van Assche
2016-03-09 13:07       ` Christoph Hellwig
2016-03-09 15:54         ` Christoph Hellwig
2016-03-09 18:55           ` Bart Van Assche
2016-03-10  7:57             ` Christoph Hellwig
2016-03-10 15:30               ` Bart Van Assche
     [not found]                 ` <56E1931C.1040206-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2016-03-10 16:21                   ` Christoph Hellwig
     [not found]                     ` <20160310162150.GA9544-jcswGhMUV9g@public.gmane.org>
2016-03-10 17:00                       ` Bart Van Assche
     [not found]                         ` <56E1A810.1080001-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2016-03-10 17:01                           ` Christoph Hellwig
2016-03-11 22:39                       ` Bart Van Assche
     [not found]                         ` <56E34914.2020108-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2016-03-12  6:12                           ` Christoph Hellwig
     [not found]                             ` <20160312061232.GA15236-jcswGhMUV9g@public.gmane.org>
2016-03-14  1:04                               ` Bart Van Assche
     [not found]                                 ` <56E60E0F.7060900-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2016-03-15  8:45                                   ` Christoph Hellwig
     [not found]           ` <20160309155457.GA1898-jcswGhMUV9g@public.gmane.org>
2016-03-11  1:26             ` Bart Van Assche
2016-03-11  9:22               ` Christoph Hellwig
2016-03-08 18:16   ` [PATCH v4 8/9] target: enhance and export target_alloc_sgl/target_free_sgl Christoph Hellwig
2016-03-08 21:37     ` Bart Van Assche
2016-03-08 18:16 ` [PATCH v4 9/9] IB/srpt: convert to the generic RDMA READ/WRITE API Christoph Hellwig
2016-03-08 20:13   ` Leon Romanovsky
2016-03-09 12:59     ` Christoph Hellwig
2016-03-10 22:08       ` Bart Van Assche
2016-03-11  9:09         ` Christoph Hellwig
     [not found]   ` <1457461000-24088-10-git-send-email-hch-jcswGhMUV9g@public.gmane.org>
2016-03-10 22:40     ` Bart Van Assche
     [not found]       ` <56E1F7C8.9000101-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2016-03-11  9:14         ` Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).