new ib_drain_qp() API
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest0 of 3 patches 5 repliesIn review
- v20 of 3 patches 20 repliesSuperseded
- v10 of 3 patches 0 repliesSuperseded
Changes in v3 from the cover letter
- created 3 drain API functions: ib_drain_rq(), ib_drain_sq(), and ib_drain_qp()
- add provider-specific drain function pointers for the sq and rq
- refactored the code a bit
- support for IB_DIRECT_POLL CQs
Patches in v3 No applies recorded yet
None of the 3 patches the cover letter announces are in this archive.
Reviews trailers per patch
| Patch | Chuck Lever | Bart Van Assche |
|---|---|---|
| Series | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 0/3] new ib_drain_qp() API
This series creates new helper API functions for draining a queue pair. It is a rework of an original patch created by Christoph Hellwig as part of the CQ API rework and was dropped to be resubmitted by me with iw_cxgb4 support.
Original thread: http://www.spinics.net/lists/linux-rdma/msg30296.html
Changes since v2:
- created 3 drain API functions: ib_drain_rq(), ib_drain_sq(), and ib_drain_qp()
- add provider-specific drain function pointers for the sq and rq
- refactored the code a bit
- support for IB_DIRECT_POLL CQs
Changes since v1:
- added comments to the ib_drain_qp() function header specifying the consumer requirements
- in __ib_drain_qp(), if the ib_post_send() fails, still wait for the recv wr to drain since we already posted it.
- CC the SRP maintainer, [email protected]
---
Steve Wise (3):
IB: new common API for draining queues
iw_cxgb4: add queue drain functions
IB/srp: use ib_drain_rq()
drivers/infiniband/core/verbs.c | 144 +++++++++++++++++++++++++++++++++ drivers/infiniband/hw/cxgb4/cq.c | 9 ++- drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 4 + drivers/infiniband/hw/cxgb4/provider.c | 2 + drivers/infiniband/hw/cxgb4/qp.c | 16 ++++ drivers/infiniband/ulp/srp/ib_srp.c | 40 +-------- include/rdma/ib_verbs.h | 5 ++ 7 files changed, 183 insertions(+), 37 deletions(-)
Signature · 6 lines
2.7.0 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html