RDMA/erdma: Introduce custom implementation of drain_sq and drain_rq
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 0 repliesNew
- v12 patches 15 repliesSuperseded
Changes in v2 from the cover letter
* Add drain_rq/drain_sq assignments in struct ib_device_ops of erdma.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | RDMA/erdma: Introduce internal post_send/post_recv for qp draindrivers/ drivers/ drivers/ | +55 | 0 replies | |
| 2/2 | RDMA/erdma: Add drain_sq and drain_rq supportdrivers/ drivers/ drivers/ | +83 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Leon Romanovsky |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH for-next v2 0/2] RDMA/erdma: Introduce custom implementation of drain_sq and drain_rq
Hi,
This series introduces erdma's implementation of drain_sq and drain_rq. Our hardware will stop processing any new WRs if QP state is error. So the default __ib_drain_sq and __ib_drain_rq in core code can not work for erdma. For this reason, we implement the drain_sq and drain_rq interfaces.
In SQ draining or RQ draining, we post both drain send wr and drain recv wr, and then modify_qp to error. At last, we wait the corresponding completion in the separated interface.
The first patch introduces internal post_send/post_recv for qp drain, and the second patch implements the drain_sq and drain_rq of erdma.
Changes since V1:
* Add drain_rq/drain_sq assignments in struct ib_device_ops of erdma.
Thanks,
Cheng Xu
Cheng Xu (2):
RDMA/erdma: Introduce internal post_send/post_recv for qp drain RDMA/erdma: Add drain_sq and drain_rq support
drivers/infiniband/hw/erdma/erdma_main.c | 6 +- drivers/infiniband/hw/erdma/erdma_qp.c | 116 +++++++++++++++++++++- drivers/infiniband/hw/erdma/erdma_verbs.h | 27 ++++- 3 files changed, 138 insertions(+), 11 deletions(-)
Signature · 1 line
2.27.0