Add cross-channel support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 0 repliesNew
- v12 patches 0 repliesSuperseded
Changes in v2 from the cover letter
* Enrich cover message and commit messages.
* Drop patch with checkpatch warning fix.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | IB/core: Add cross-channel supportdrivers/ include/ | +15 | 0 replies | |
| 2/2 | IB/mlx5: Add driver cross-channel supportdrivers/ drivers/ drivers/ +2 more | +72 | 0 replies |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Sagi Grimberg |
|---|---|
| 1/2 | R-b |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH V2 0/2] Add cross-channel support
From: Leon Romanovsky <leonro-VPRAkNaXOzVWk0Htik3J/[email protected]>
The following set of patches implements cross-channel (CC) support in the RDMA core and in the mlx5 infiniband driver.
The cross-channel feature allows to execute WQEs that involve cross-channel synchronization of IO operations’ on different QPs.
Complex applications usually requires synchronizations for IO operations from multiple sources before continuing their execution. In order to implement this the host software needs to handle completions from each one of the receive queues (arriving in arbitrary order), process the data after last message arrival and only then post work request on the send queue to send the combined data to its destination.
Execution of such an operation generates multiple interrupts at an unpredictable time with huge overhead for interrupt handling and context switch.
Current submission adds synchronization primitives which gives ability to perform conditional flows and a following submission will introduce arithmetic calculation offload.
Synchronization abilities combined with arithmetic calculations will allow to program complex flows with a single function call, hereby significantly reducing overhead associated with IO processing.
Patch #1 adds CQ and QP initialization flags to RDMA core structures in order to support cross-channel feature.
Patch #2 implements mlx5 infiniband driver configuration logic.
Changes from v1:
* Enrich cover message and commit messages.
* Drop patch with checkpatch warning fix.
Changes from v0:
* Set UAR to be the same for QP and CQ.
Leon Romanovsky (2):
IB/core: Add cross-channel support
IB/mlx5: Add driver cross-channel support
drivers/infiniband/core/uverbs_cmd.c | 5 +++- drivers/infiniband/hw/mlx5/cq.c | 7 ++++- drivers/infiniband/hw/mlx5/main.c | 3 ++ drivers/infiniband/hw/mlx5/mlx5_ib.h | 16 +++++++++++ drivers/infiniband/hw/mlx5/qp.c | 54 +++++++++++++++++++++++++++++------- include/linux/mlx5/qp.h | 3 ++ include/rdma/ib_verbs.h | 11 ++++++++ 7 files changed, 87 insertions(+), 12 deletions(-)
Signature · 6 lines
1.7.12.4 -- 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