drivers/infiniband/ulp/srp

SRP (SCSI RDMA Protocol) initiator over InfiniBand

Initiator support for SRP, a protocol that lets a Linux host access remote SCSI block storage across an InfiniBand or RoCE fabric using RDMA. It is used with high-end RDMA network adapters (today typically NVIDIA/Mellanox ConnectX and BlueField cards) in enterprise and HPC storage deployments where low-latency, high-throughput SAN access is required.

keep-annotate conf=0.86 last_sold=2026 deploy=low replacement=none subsystem=infiniband category=storage-block
86%

recommendation

Worth keeping but documenting its niche: SRP is a specialized enterprise and HPC storage protocol with a relatively small user base, but the underlying RDMA hardware is still sold new and the code is actively maintained, with targeted fixes landing upstream in 2025 and at least one fix backported to a stable kernel that February. NVIDIA's current DOCA and OFED documentation still walks customers through setting up SRP initiators, and there is no equivalent in-tree replacement for sites tied to the existing SRP target ecosystem, so removing it would strand real deployments.

repository signals

4 files
4,571 source lines
37 commits, 5y
+358 / −294 lines added / removed, 5y
17 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 37 total · active in 22/61 months
2021 2022 2023 2024 2025 2026 2021-04: 1 commit · +1 −1 2021-05: 4 commits · +130 −142 2021-06: 0 commits · +0 −0 2021-07: 0 commits · +0 −0 2021-08: 1 commit · +5 −4 2021-09: 0 commits · +0 −0 2021-10: 2 commits · +34 −25 2021-11: 0 commits · +0 −0 2021-12: 0 commits · +0 −0 2022-01: 0 commits · +0 −0 2022-02: 2 commits · +14 −3 2022-03: 0 commits · +0 −0 2022-04: 1 commit · +4 −4 2022-05: 0 commits · +0 −0 2022-06: 0 commits · +0 −0 2022-07: 1 commit · +1 −2 2022-08: 5 commits · +31 −29 2022-09: 3 commits · +9 −11 2022-10: 0 commits · +0 −0 2022-11: 0 commits · +0 −0 2022-12: 2 commits · +87 −17 2023-01: 1 commit · +1 −1 2023-02: 0 commits · +0 −0 2023-03: 2 commits · +1 −6 2023-04: 0 commits · +0 −0 2023-05: 0 commits · +0 −0 2023-06: 0 commits · +0 −0 2023-07: 1 commit · +0 −4 2023-08: 1 commit · +5 −11 2023-09: 1 commit · +1 −1 2023-10: 0 commits · +0 −0 2023-11: 0 commits · +0 −0 2023-12: 0 commits · +0 −0 2024-01: 0 commits · +0 −0 2024-02: 0 commits · +0 −0 2024-03: 0 commits · +0 −0 2024-04: 0 commits · +0 −0 2024-05: 0 commits · +0 −0 2024-06: 0 commits · +0 −0 2024-07: 0 commits · +0 −0 2024-08: 0 commits · +0 −0 2024-09: 0 commits · +0 −0 2024-10: 1 commit · +3 −2 2024-11: 0 commits · +0 −0 2024-12: 1 commit · +0 −1 2025-01: 0 commits · +0 −0 2025-02: 0 commits · +0 −0 2025-03: 0 commits · +0 −0 2025-04: 0 commits · +0 −0 2025-05: 0 commits · +0 −0 2025-06: 1 commit · +3 −2 2025-07: 0 commits · +0 −0 2025-08: 0 commits · +0 −0 2025-09: 0 commits · +0 −0 2025-10: 0 commits · +0 −0 2025-11: 0 commits · +0 −0 2025-12: 1 commit · +1 −0 2026-01: 1 commit · +2 −1 2026-02: 3 commits · +21 −24 2026-03: 0 commits · +0 −0 2026-04: 1 commit · +4 −3

sources

  1. lore.kernel.org

    Upstream still takes targeted ib_srp fixes in 2025; this patch adjusts driver behavior rather than staging removal.

  2. lore.kernel.org

    An ib_srp fix was backported to stable in February 2025, indicating continued production relevance.

  3. docs.nvidia.com

    NVIDIA's 2026 DOCA/OFED documentation still documents SRP initiator setup, sysfs, discovery tools, and HA workflows for ib_srp deployments.

  4. docs.nvidia.com

    Current NVIDIA OFED documentation lists modern ConnectX/BlueField adapter families with InfiniBand/RDMA support, showing the underlying HCA class is still sold new.

  5. docs.kernel.org

    Kernel documentation still carries stable userspace ABI entries for /sys/class/infiniband_srp and the ib_srp driver interface.

codex reasoning notes (technical)

Real driver: local shell read of Kconfig says 'InfiniBand SCSI RDMA Protocol' and accesses remote SRP storage over InfiniBand. Lore evidence came from lore_file_timeline on drivers/infiniband/ulp/srp/ib_srp.c: recent 2025-2026 fixes and API updates, plus a 2025 stable backport, with no removal signal in the sampled activity. Deployment looks niche rather than dead: web search found current NVIDIA DOCA/OFED SRP deployment docs and current OFED adapter-family docs for still-sold ConnectX/BlueField RDMA hardware. I used the kernel ABI doc from web search as additional evidence that ib_srp still exposes maintained user-visible interfaces. Conclusion: keep in-tree, but annotate as a low-volume, specialized enterprise/HPC storage protocol with no obvious in-tree replacement for the same SRP target ecosystem.