Add SRQ and XRC support for ODP MRs
Status from this message: I applied these patches to for-next
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | IB/mlx5: Fix locking SRQ object in ODP eventdrivers/ drivers/ drivers/ +1 more | +17 | 0 replies | |
| 2/12 | IB/core: Allocate bit for SRQ ODP supportinclude/ | +1 | 0 replies | |
| 3/12 | IB/uverbs: Expose XRC ODP device capabilitiesdrivers/ include/ include/ | +4 | 0 replies | |
| 4/12 | IB/mlx5: Remove useless check in ODP handlerdrivers/ | +2 | 0 replies | |
| 5/12 | IB/mlx5: Clean mlx5_ib_mr_responder_pfault_handler() signaturedrivers/ | +7 | 0 replies | |
| 6/12 | IB/mlx5: Add XRC initiator ODP supportdrivers/ | +5 | 0 replies | |
| 7/12 | IB/mlx5: Let read user wqe also from SRQ bufferdrivers/ drivers/ drivers/ | +166 | 0 replies | |
| 8/12 | IB/mlx5: Add ODP SRQ supportdrivers/ | +61 | 0 replies | |
| 9/12 | IB/mlx5: Advertise SRQ ODP support for supported transportsdrivers/ | +6 | 0 replies | |
| 10/12 | net/mlx5: Add XRC transport to ODP device capabilities layoutinclude/ | +3 | 0 replies | |
| 11/12 | IB/mlx5: Advertise XRC ODP supportdrivers/ | +18 | 0 replies | |
| 12/12 | net/mlx5: Set ODP SRQ support in firmwaredrivers/ include/ include/ | +57 | 6 replies |
Reviews trailers per patch
All 12 patches have a Reviewed-by or Acked-by.
| Patch | Majd Dibbiny |
|---|---|
| 1/12 | R-b |
| 2/12 | R-b |
| 3/12 | R-b |
| 4/12 | R-b |
| 5/12 | R-b |
| 6/12 | R-b |
| 7/12 | R-b |
| 8/12 | R-b |
| 9/12 | R-b |
| 10/12 | R-b |
| 11/12 | R-b |
| 12/12 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH rdma-next 00/12] Add SRQ and XRC support for ODP MRs
From: Leon Romanovsky <[email protected]>
Hi,
This series extend ODP to work with SRQ and XRC. Being both per-operation (e.g. RDMA write, RDMA read and atomic) and per-transport (e.g. RC, UD and XRC), we extend IB/core and mlx5 driver to provide needed information to user space.
Thanks
Moni Shoua (12):
IB/mlx5: Fix locking SRQ object in ODP event IB/core: Allocate bit for SRQ ODP support
IB/uverbs: Expose XRC ODP device capabilities IB/mlx5: Remove useless check in ODP handler IB/mlx5: Clean mlx5_ib_mr_responder_pfault_handler() signature IB/mlx5: Add XRC initiator ODP support
IB/mlx5: Let read user wqe also from SRQ buffer IB/mlx5: Add ODP SRQ support
IB/mlx5: Advertise SRQ ODP support for supported transports net/mlx5: Add XRC transport to ODP device capabilities layout IB/mlx5: Advertise XRC ODP support
net/mlx5: Set ODP SRQ support in firmware
drivers/infiniband/core/uverbs_cmd.c | 1 + drivers/infiniband/hw/mlx5/cq.c | 4 +- drivers/infiniband/hw/mlx5/mlx5_ib.h | 9 +- drivers/infiniband/hw/mlx5/odp.c | 138 ++++++++++--- drivers/infiniband/hw/mlx5/qp.c | 192 +++++++++++++----- drivers/infiniband/hw/mlx5/srq.h | 2 - drivers/infiniband/hw/mlx5/srq_cmd.c | 16 +- .../net/ethernet/mellanox/mlx5/core/main.c | 53 +++++ include/linux/mlx5/device.h | 3 + include/linux/mlx5/mlx5_ifc.h | 5 +- include/rdma/ib_verbs.h | 2 + include/uapi/rdma/ib_user_verbs.h | 2 + 12 files changed, 331 insertions(+), 96 deletions(-)