drivers/infiniband/hw/mlx4

Mellanox ConnectX-3 InfiniBand and RoCE HCA support (mlx4_ib)

The InfiniBand and RoCE (RDMA over Ethernet) side of Mellanox's ConnectX-3 and ConnectX-3 Pro host channel adapters, a generation of high-speed datacenter NICs from the early-to-mid 2010s widely deployed in HPC clusters, storage fabrics, and enterprise virtualization hosts. It provides the RDMA verbs interface that lets these cards do low-latency InfiniBand or 10/40/56 Gb Ethernet RoCE traffic.

keep-annotate conf=0.88 deploy=medium replacement=mlx5_ib subsystem=infiniband category=networking-other
88%

recommendation

Worth keeping but documenting its niche. ConnectX-3 and ConnectX-3 Pro are now classified as legacy by NVIDIA and no longer appear on the current adapter line-up, yet the installed base is substantial and upstream fixes are still landing in 2026. Newer Mellanox/NVIDIA RDMA hardware is handled by the separate mlx5_ib driver, so mlx4_ib cannot simply be dropped without stranding existing ConnectX-3 deployments.

repository signals

15 files
17,060 source lines
51 commits, 5y
+635 / −755 lines added / removed, 5y
27 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 51 total · active in 27/61 months
2021 2022 2023 2024 2025 2026 2021-04: 0 commits · +0 −0 2021-05: 2 commits · +6 −11 2021-06: 5 commits · +22 −15 2021-07: 1 commit · +12 −19 2021-08: 1 commit · +4 −3 2021-09: 0 commits · +0 −0 2021-10: 4 commits · +28 −30 2021-11: 2 commits · +19 −9 2021-12: 0 commits · +0 −0 2022-01: 4 commits · +9 −19 2022-02: 0 commits · +0 −0 2022-03: 0 commits · +0 −0 2022-04: 1 commit · +4 −4 2022-05: 1 commit · +34 −8 2022-06: 0 commits · +0 −0 2022-07: 0 commits · +0 −0 2022-08: 0 commits · +0 −0 2022-09: 1 commit · +0 −1 2022-10: 1 commit · +1 −1 2022-11: 1 commit · +4 −8 2022-12: 0 commits · +0 −0 2023-01: 1 commit · +96 −36 2023-02: 0 commits · +0 −0 2023-03: 1 commit · +6 −2 2023-04: 0 commits · +0 −0 2023-05: 0 commits · +0 −0 2023-06: 1 commit · +9 −9 2023-07: 1 commit · +22 −22 2023-08: 5 commits · +136 −89 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: 3 commits · +5 −4 2024-07: 0 commits · +0 −0 2024-08: 2 commits · +4 −10 2024-09: 0 commits · +0 −0 2024-10: 0 commits · +0 −0 2024-11: 1 commit · +30 −28 2024-12: 3 commits · +47 −283 2025-01: 0 commits · +0 −0 2025-02: 0 commits · +0 −0 2025-03: 1 commit · +4 −4 2025-04: 0 commits · +0 −0 2025-05: 0 commits · +0 −0 2025-06: 0 commits · +0 −0 2025-07: 1 commit · +5 −0 2025-08: 0 commits · +0 −0 2025-09: 1 commit · +6 −5 2025-10: 0 commits · +0 −0 2025-11: 1 commit · +1 −1 2025-12: 0 commits · +0 −0 2026-01: 0 commits · +0 −0 2026-02: 4 commits · +120 −133 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. lore.kernel.org

    linux-rdma carried an April 6, 2026 patch touching drivers/infiniband/hw/mlx4/main.c, showing current upstream maintenance rather than abandonment.

  2. cateee.net

    LKDDb lists CONFIG_MLX4_INFINIBAND as 'Mellanox ConnectX HCA support', building module mlx4_ib, and present through 6.19-rc+HEAD.

  3. docs.nvidia.com

    NVIDIA's December 2, 2025 MFT documentation lists ConnectX-3/ConnectX-3 Pro under 'supported legacy HCAs', not the main current adapter list.

  4. docs.nvidia.com

    NVIDIA's February 23, 2026 MFT documentation places ConnectX-3 and ConnectX-3 Pro in 'Group I/4th Generation', separate from newer ConnectX-4/5/6/7 hardware.

  5. nvidia.com

    NVIDIA's current ConnectX NIC product page markets ConnectX-6 Lx, ConnectX-6 Dx, ConnectX-7 and SuperNIC products, indicating current new-sales focus has moved beyond mlx4-generation hardware.

codex reasoning notes (technical)

`lore_file_timeline` and `lore_activity` on drivers/infiniband/hw/mlx4/main.c showed steady activity through April 6, 2026; source URL taken from lore_activity output. `lore_regex` for removal/deprecation subjects timed out once and was not retried, so I only claim positive maintenance evidence, not a proven absence of removal discussion. `web.search_query` + `open` obtained the LKDDb and NVIDIA docs URLs: LKDDb confirms the driver is still in-tree, while NVIDIA docs classify ConnectX-3/3 Pro as legacy and the live product page highlights newer ConnectX generations. Recommendation is `keep-annotate`: hardware is legacy and likely absent from mainstream new 2025 deployments, but installed-base usage and upstream fix traffic remain real. `mlx5_ib` is the natural replacement for newer Mellanox/NVIDIA RDMA HCAs, though it does not drive the same PCI IDs.