linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v4 0/5] Reduce RDMA RW API SGE limit
@ 2016-07-21 20:02 Bart Van Assche
       [not found] ` <75fc8647-16a6-5a89-400f-f5f418a8d6eb-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
  0 siblings, 1 reply; 12+ messages in thread
From: Bart Van Assche @ 2016-07-21 20:02 UTC (permalink / raw)
  To: Doug Ledford
  Cc: Christoph Hellwig, Sagi Grimberg, Steve Wise, Parav Pandit,
	Laurence Oberman, Nicholas A. Bellinger,
	linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org

Hello Doug,

The five patches in this series modify the RDMA RW API slightly. This is 
needed to avoid that the SRP and iSER target drivers submit RDMA 
requests with an SGE list that exceeds the queue pair limits. The 
ib_srpt changes in this series have been tested but the ib_isert changes 
not yet.

The changes compared to v3 of this patch series are:
* Split the single QP SGE limit into separate READ and WRITE SGE limits.
* Added a comment in ib_srpt.h that explains where the SGE limit comes
   from.

Changes compared to v2:
* For RDMA READs, limit SGE back to dev->attrs.max_sge_rd for iWARP.

Changes compared to v1:
* max_send_sge is now stored in struct ib_qp. This greatly simplifies
    this patch series.
* An unneeded initialization that I had added to rdma_rw_init_one_mr()
    has been left out again.
* Corrected "Fixes" tag in the patch description where needed.

The individual patches in this series are:

0001-IB-core-Make-rdma_rw_ctx_init-initialize-all-used-fi.patch
0002-IB-core-RDMA-RW-API-Do-not-exceed-QP-SGE-send-limit.patch
0003-IB-srpt-Limit-the-number-of-SG-elements-per-work-req.patch
0004-IB-srpt-Simplify-srpt_queue_response.patch
0005-IB-isert-Remove-an-unused-member-variable.patch

Thanks,

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

end of thread, other threads:[~2016-08-02 16:05 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-21 20:02 [PATCH v4 0/5] Reduce RDMA RW API SGE limit Bart Van Assche
     [not found] ` <75fc8647-16a6-5a89-400f-f5f418a8d6eb-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2016-07-21 20:03   ` [PATCH v4 1/5] IB/core: Make rdma_rw_ctx_init() initialize all used fields Bart Van Assche
2016-07-21 20:03   ` [PATCH v4 2/5] IB/core, RDMA RW API: Do not exceed QP SGE send limit Bart Van Assche
     [not found]     ` <c71ece34-36e2-86da-5032-2fc946ff0073-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2016-07-27 12:42       ` Leon Romanovsky
     [not found]         ` <20160727124217.GJ4628-2ukJVAZIZ/Y@public.gmane.org>
2016-07-27 15:24           ` Bart Van Assche
     [not found]             ` <8604bcdc-3ab4-28df-0eff-b1c0b6865c71-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2016-07-27 16:23               ` Leon Romanovsky
2016-08-01 10:56       ` Christoph Hellwig
2016-07-21 20:03   ` [PATCH v4 3/5] IB/srpt: Limit the number of SG elements per work request Bart Van Assche
     [not found]     ` <446e3039-ec25-89d8-2583-5e60dd2bfc88-XdAiOPVOjttBDgjK7y7TUQ@public.gmane.org>
2016-08-01 10:57       ` Christoph Hellwig
2016-07-21 20:04   ` [PATCH v4 4/5] IB/srpt: Simplify srpt_queue_response() Bart Van Assche
2016-07-21 20:04   ` [PATCH v4 5/5] IB/isert: Remove an unused member variable Bart Van Assche
2016-08-02 16:05   ` [PATCH v4 0/5] Reduce RDMA RW API SGE limit Doug Ledford

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).