drivers/net/ethernet/hisilicon/hns3/hns3_common

HiSilicon HNS3 Ethernet shared common code (Kunpeng 920 / Hip08)

Shared support code for the on-chip Ethernet controllers built into HiSilicon's Hip08-generation server SoCs, most visibly the Kunpeng 920 powering Huawei TaiShan 200 servers. It underpins the GE, 10GE, 25GE, and 100GE ports exposed by those systems through the HNS3 physical-function and virtual-function drivers.

keep conf=0.84 deploy=medium replacement=none subsystem=net category=networking-ethernet
84%

recommendation

It should stay in the kernel because the hardware ships in current Huawei TaiShan 200 / Kunpeng 920 servers sold in 2025, and the code itself was still receiving upstream fixes and ethtool API modernisation patches as recently as June 2025. There is no sign of any deprecation effort, and the directory is an integral part of the live hclge-common module rather than dead weight.

repository signals

6 files
1,990 source lines
35 commits, 5y
+2,154 / −164 lines added / removed, 5y
12 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 35 total · active in 17/61 months
2021 2022 2023 2024 2025 2026 2021-04: 0 commits · +0 −0 2021-05: 0 commits · +0 −0 2021-06: 0 commits · +0 −0 2021-07: 0 commits · +0 −0 2021-08: 0 commits · +0 −0 2021-09: 0 commits · +0 −0 2021-10: 0 commits · +0 −0 2021-11: 0 commits · +0 −0 2021-12: 4 commits · +854 −1 2022-01: 7 commits · +1,134 −104 2022-02: 0 commits · +0 −0 2022-03: 0 commits · +0 −0 2022-04: 2 commits · +5 −2 2022-05: 1 commit · +1 −1 2022-06: 0 commits · +0 −0 2022-07: 0 commits · +0 −0 2022-08: 2 commits · +12 −3 2022-09: 2 commits · +5 −0 2022-10: 0 commits · +0 −0 2022-11: 1 commit · +0 −22 2022-12: 0 commits · +0 −0 2023-01: 0 commits · +0 −0 2023-02: 0 commits · +0 −0 2023-03: 1 commit · +4 −0 2023-04: 0 commits · +0 −0 2023-05: 1 commit · +28 −5 2023-06: 1 commit · +2 −4 2023-07: 2 commits · +21 −3 2023-08: 0 commits · +0 −0 2023-09: 0 commits · +0 −0 2023-10: 2 commits · +3 −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: 2 commits · +3 −3 2024-04: 3 commits · +42 −1 2024-05: 1 commit · +30 −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: 0 commits · +0 −0 2024-11: 1 commit · +4 −9 2024-12: 0 commits · +0 −0 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: 2 commits · +6 −6 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: 0 commits · +0 −0 2026-01: 0 commits · +0 −0 2026-02: 0 commits · +0 −0 2026-03: 0 commits · +0 −0 2026-04: 0 commits · +0 −0

sources

  1. patch.msgid.link

    The directory was still receiving upstream fixes in June 2025, indicating active maintenance rather than abandonment.

  2. patch.msgid.link

    The code was updated for a current ethtool RXFH API migration in June 2025, showing ongoing subsystem integration work.

  3. cateee.net

    LKDDb shows HNS3_HCLGE/hclge-common is current through 7.0-rc+HEAD and ties the driver to Huawei/HiSilicon HNS PCI IDs for Hip08-family hardware.

  4. support.huawei.com

    Huawei's 2025 TaiShan 200 server documentation says Kunpeng 920 integrates 100GE/25GE/10GE/GE ports, evidence that the hardware family remained in shipping server products in 2025.

  5. support.huawei.com

    Huawei's 2025 TaiShan 200 specs list FlexIO options up to 100GE, supporting continued deployment of this networking stack in current systems.

codex reasoning notes (technical)

Not an early-exit case: this is shared driver code built into the real kernel module `hclge-common` for HNS3 PF/VF, not a mere header/test/doc directory. Local shell inspection of `drivers/net/ethernet/hisilicon/hns3/Makefile` showed `hns3_common/*.o` linked into `hclge-common`; local `git log` showed substantive touches in 2024-2025 and exposed the two cited `patch.msgid.link` URLs. Web search found the LKDDb page and Huawei 2025 TaiShan product docs. I found no evidence of an upstream removal/deprecation series; combined with active 2025 maintenance and current Huawei server documentation, this points to keeping the driver.