drivers/net

Virtual and software-defined networking devices (TUN/TAP, veth, virtio-net, Xen netfront, macvlan/ipvlan)

A collection of virtual network interfaces that underpin modern Linux containers, virtual machines, and user-space networking. It includes TUN/TAP (used by VPNs), veth pairs (the backbone of Docker and Kubernetes networking), virtio-net (the standard fast NIC for KVM/QEMU guests), Xen netfront for paravirtualized Xen guests, and stacking interfaces like macvlan, ipvlan, and dummy.

keep conf=0.88 deploy=high replacement=none subsystem=net category=networking-other
88%

recommendation

It should stay because this is core plumbing for nearly every cloud, container, and virtualization stack running Linux today. Upstream activity is brisk into 2026, with ongoing patches to tun.c and virtio_net.c, and the components are explicitly recommended device models in current QEMU and kernel documentation. There is no realistic deprecation path for software networking that the rest of the ecosystem depends on.

repository signals

6,771 files
5,221,671 source lines
35,040 commits, 5y
+2,088,963 / −830,974 lines added / removed, 5y
2,622 authors, 5y
monthly commits · 2021-04-21 → 2026-04-21 · 35,040 total · active in 61/61 months
2021 2022 2023 2024 2025 2026 2021-04: 292 commits · +11,618 −4,811 2021-05: 669 commits · +23,800 −15,082 2021-06: 995 commits · +64,254 −9,868 2021-07: 449 commits · +16,411 −16,980 2021-08: 848 commits · +35,701 −16,322 2021-09: 579 commits · +21,796 −10,929 2021-10: 907 commits · +146,626 −25,700 2021-11: 632 commits · +40,025 −15,126 2021-12: 715 commits · +30,152 −13,527 2022-01: 657 commits · +19,971 −10,686 2022-02: 602 commits · +49,657 −13,486 2022-03: 675 commits · +36,512 −10,791 2022-04: 616 commits · +50,103 −22,963 2022-05: 575 commits · +76,612 −21,094 2022-06: 589 commits · +20,696 −14,028 2022-07: 634 commits · +34,516 −35,326 2022-08: 436 commits · +43,616 −17,298 2022-09: 829 commits · +67,527 −18,332 2022-10: 482 commits · +46,630 −10,667 2022-11: 712 commits · +99,864 −9,042 2022-12: 483 commits · +20,800 −9,497 2023-01: 745 commits · +30,400 −15,314 2023-02: 452 commits · +24,950 −7,543 2023-03: 786 commits · +38,078 −16,824 2023-04: 597 commits · +37,013 −6,182 2023-05: 593 commits · +24,107 −7,497 2023-06: 666 commits · +47,178 −19,119 2023-07: 518 commits · +21,814 −12,027 2023-08: 657 commits · +45,246 −7,487 2023-09: 538 commits · +33,298 −9,680 2023-10: 634 commits · +22,672 −70,030 2023-11: 483 commits · +23,505 −6,098 2023-12: 553 commits · +31,488 −9,152 2024-01: 585 commits · +24,485 −18,446 2024-02: 691 commits · +28,328 −8,497 2024-03: 437 commits · +15,367 −6,267 2024-04: 643 commits · +31,924 −19,293 2024-05: 513 commits · +27,368 −7,952 2024-06: 505 commits · +50,594 −11,994 2024-07: 443 commits · +29,233 −3,300 2024-08: 546 commits · +16,728 −7,186 2024-09: 466 commits · +19,752 −9,055 2024-10: 715 commits · +38,749 −13,524 2024-11: 406 commits · +20,630 −6,096 2024-12: 613 commits · +23,259 −11,622 2025-01: 508 commits · +22,897 −9,889 2025-02: 609 commits · +52,998 −8,138 2025-03: 597 commits · +53,465 −21,757 2025-04: 724 commits · +36,418 −14,356 2025-05: 563 commits · +31,090 −14,676 2025-06: 659 commits · +25,129 −9,459 2025-07: 545 commits · +22,190 −20,114 2025-08: 618 commits · +42,591 −27,700 2025-09: 578 commits · +36,143 −10,965 2025-10: 489 commits · +26,149 −11,251 2025-11: 662 commits · +25,851 −14,158 2025-12: 165 commits · +4,495 −642 2026-01: 568 commits · +23,859 −22,094 2026-02: 241 commits · +13,191 −10,223 2026-03: 149 commits · +1,448 −615 2026-04: 19 commits · +103 −37

sources

  1. lore.kernel.org

    Recent netdev patch traffic still touches drivers/net/tun.c in 2026, indicating active upstream maintenance rather than obsolescence.

  2. lore.kernel.org

    Recent netdev patch traffic still touches drivers/net/virtio_net.c in 2026, including fixes/features for virtio-net.

  3. docs.kernel.org

    TUN/TAP is a kernel driver for user-space packet I/O, showing this directory contains current software-defined networking infrastructure, not only legacy hardware support.

  4. qemu.org

    QEMU documents VirtIO devices as recommended device models for virtual machines, supporting ongoing new deployments of virtio-net-backed guests.

  5. qemu.org

    QEMU documents current virtio-net failover usage with the guest net_failover kernel module, showing active VM/virtualization deployment relevance for drivers/net components.

codex reasoning notes (technical)

`drivers/net` is a live umbrella driver directory, not a single obsolete chipset. Local shell inspection showed active configs such as TUN, VETH, VIRTIO_NET, XEN_NETDEV_FRONTEND, DUMMY, MACVLAN, and IPVLAN under this path. Lore evidence was gathered with `lore_activity` on `drivers/net/tun.c` and `drivers/net/virtio_net.c`, which returned 2026 traffic and lore URLs. Deployment evidence was gathered via `web.search_query`, which returned current kernel TUN/TAP docs and QEMU VirtIO/virtio-net failover docs. `lore_subsystem_churn` on `path:drivers/net/` returned no aggregate hits, likely because top-level directory matching is sparse in lore; that does not outweigh the direct per-file activity. Because this directory serves heavily used VM/container/user-space networking functions and still sees upstream fixes, the correct outcome is keep, not deprecate/remove.