drivers/net/ethernet/mellanox/mlx5/core/sf

Mellanox mlx5 Scalable Functions for ConnectX SmartNICs and BlueField DPUs

Scalable Functions are a lightweight virtualization feature on NVIDIA/Mellanox ConnectX-6 Dx and newer Ethernet adapters and BlueField DPUs, letting a single physical NIC expose many independent network interfaces to containers and VMs without the overhead of full SR-IOV. They are used in modern datacenters for container networking offload and cloud SmartNIC deployments.

keep conf=0.92 deploy=low replacement=none subsystem=net category=networking-ethernet
92%

recommendation

It should stay because this is active code for hardware NVIDIA still sells and documents in 2025, with patches landing as recently as November 2025 (including SF devlink locking fixes and cross-function rate scheduling work). Real-world deployment is niche today, mostly limited to modern SmartNIC and container-offload environments, but the feature is firmly on the upstream roadmap with no sign of deprecation.

repository signals

14 files
2,399 source lines
71 commits, 5y
+1,317 / −633 lines added / removed, 5y
19 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 71 total · active in 29/61 months
2021 2022 2023 2024 2025 2026 2021-04: 1 commit · +13 −10 2021-05: 4 commits · +13 −45 2021-06: 1 commit · +1 −0 2021-07: 1 commit · +1 −1 2021-08: 2 commits · +7 −7 2021-09: 3 commits · +188 −1 2021-10: 2 commits · +120 −10 2021-11: 1 commit · +1 −1 2021-12: 1 commit · +1 −4 2022-01: 0 commits · +0 −0 2022-02: 0 commits · +0 −0 2022-03: 0 commits · +0 −0 2022-04: 0 commits · +0 −0 2022-05: 1 commit · +1 −1 2022-06: 0 commits · +0 −0 2022-07: 0 commits · +0 −0 2022-08: 1 commit · +88 −0 2022-09: 0 commits · +0 −0 2022-10: 0 commits · +0 −0 2022-11: 0 commits · +0 −0 2022-12: 0 commits · +0 −0 2023-01: 1 commit · +1 −1 2023-02: 0 commits · +0 −0 2023-03: 0 commits · +0 −0 2023-04: 1 commit · +1 −0 2023-05: 9 commits · +82 −170 2023-06: 11 commits · +27 −41 2023-07: 1 commit · +40 −4 2023-08: 0 commits · +0 −0 2023-09: 1 commit · +66 −0 2023-10: 2 commits · +128 −34 2023-11: 0 commits · +0 −0 2023-12: 1 commit · +5 −4 2024-01: 1 commit · +13 −8 2024-02: 0 commits · +0 −0 2024-03: 0 commits · +0 −0 2024-04: 2 commits · +0 −2 2024-05: 2 commits · +17 −20 2024-06: 0 commits · +0 −0 2024-07: 2 commits · +13 −0 2024-08: 0 commits · +0 −0 2024-09: 0 commits · +0 −0 2024-10: 0 commits · +0 −0 2024-11: 0 commits · +0 −0 2024-12: 0 commits · +0 −0 2025-01: 1 commit · +1 −0 2025-02: 0 commits · +0 −0 2025-03: 1 commit · +1 −1 2025-04: 0 commits · +0 −0 2025-05: 0 commits · +0 −0 2025-06: 0 commits · +0 −0 2025-07: 0 commits · +0 −0 2025-08: 2 commits · +17 −1 2025-09: 0 commits · +0 −0 2025-10: 0 commits · +0 −0 2025-11: 5 commits · +187 −125 2025-12: 0 commits · +0 −0 2026-01: 1 commit · +1 −0 2026-02: 2 commits · +17 −17 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. spinics.net

    November 2025 net-next patch touches SF code directly ('Move SF dev table notifier registration outside the PF devlink lock'), showing ongoing upstream maintenance rather than retirement.

  2. lwn.net

    November 20, 2025 patch series for mlx5/devlink cross-function rate scheduling explicitly states the approach works for SFs, indicating active feature development around SF support.

  3. docs.nvidia.com

    NVIDIA's MLNX_EN documentation still documents Scalable Functions as a current feature, aimed at containerized/offloaded networking deployments.

  4. docs.nvidia.com

    NVIDIA's ConnectX-6 Dx Ethernet adapter manual lists current adapter SKUs and capabilities, supporting that relevant mlx5 hardware remained actively marketed/documented in 2025-2026.

codex reasoning notes (technical)

Local shell inspection showed this directory is real mlx5 SF implementation code (cmd/devlink/hw_table/vhca_event), not a helper-only stub. Local `git log` plus web-found mailing-list threads show substantive SF fixes and refactors through Jan 2026, with no removal/deprecation discussion found. URLs were obtained via web search: exact recent patch subjects for Spinics, mlx5 SF/devlink series for LWN, and NVIDIA docs searches for 'Scalable Functions' and 'ConnectX-6 Dx'. Because SF is an actively developed, vendor-documented feature on still-sold mlx5 hardware, this should be kept; deployment looks niche outside modern datacenter/SmartNIC/container-offload environments, so I marked deployments as low rather than medium/high.