Driver FixRecommendedSound, Wi-Fi or graphics acting up? Check drivers firstFind missing or outdated drivers fast.Check DriversOctober DealsAmazon USOctober deal check: compare before you payAmazon US: current deals, useful picks and tech finds.Check DealsPC HealthRecommendedCrashes, freezes, slowdowns? Check your PC nowSpot repairable issues before they interrupt work.Check PC×
Skip to content
World desk5 min

How Linux Delivers Network Packets to an Application

A practical guide to the Linux receive path, from NIC queues and NAPI to application sockets, plus where RSS, XDP, AF_XDP and specialized zero-copy receive fit.
Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

A packet reaches a Linux application through a path that starts with a NIC receive queue, passes through driver and kernel networking work, and may end at a socket the application is using. The exact route varies with the device, driver, kernel configuration, traffic, and any performance features in use; there is no single sequence every packet must follow.

What is the usual path from a NIC to an application?

Think of the receive path as a series of handoffs rather than one fixed pipeline. In a common case, the NIC receives a frame, the driver processes it, Linux handles the packet through applicable networking and protocol code, and traffic destined for a local application can become available through a socket. Filtering, forwarding, congestion, and other processing can change the route or prevent delivery to a user process.

As an Amazon Associate I earn from qualifying purchases.

  1. The NIC receives a frame. Hardware places received data into a receive queue managed by the device and driver.
  2. The device and host coordinate processing. The NIC commonly notifies the host of events through interrupts. Linux networking uses NAPI to schedule driver polling for packet work.
  3. The driver processes receive work. The driver’s NAPI poll method handles events and packets within a work budget. Drivers may also complete transmit work during polling.
  4. Linux handles the packet above the driver. Packets proceed through the relevant kernel networking and protocol handling. The exact middle path depends on the traffic and configuration.
  5. A local application can receive data through a socket. If the packet is for local delivery and passes applicable processing, the application can consume it through a networking interface such as a socket.

This is a conceptual map, not a promise that every packet traverses identical functions. The Linux Kernel documentation describes the driver-to-upper-layer handoff and recommends that modern drivers use NAPI and GRO; device support and driver behavior shape the concrete path. See Linux Networking and Network Devices APIs.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

How do receive queues and RSS distribute packet work?

RSS: choosing a hardware queue

Receive Side Scaling (RSS) uses packet-header hashes and an indirection table to select among hardware receive queues. Multiple queues can then be processed by different CPUs, allowing receive work to run in parallel. RSS is a device-facing mechanism, so its availability and behavior depend on the NIC and its driver.

#1 Best Overall
Sale
TP-Link USB to Ethernet Adapter,Support Nintendo Switch,1Gbps,Plug and Play
  • 𝐇𝐢𝐠𝐡-𝐒𝐩𝐞𝐞𝐝 𝐔𝐒𝐁 𝐄𝐭𝐡𝐞𝐫𝐧𝐞𝐭 𝐀𝐝𝐚𝐩𝐭𝐞𝐫 - UE306 is a USB 3.0 Type-A to RJ45 Ethernet adapter that adds a reliable wired network port to your laptop, tablet, or Ultrabook. It delivers fast and stable 10/100/1000 Mbps wired connections to your computer or tablet via a router or network switch, making it ideal for file transfers, HD video streaming, online gaming, and video conferencing.
  • 𝐔𝐒𝐁 𝟑.𝟎 𝐟𝐨𝐫 𝐅𝐚𝐬𝐭𝐞𝐫, 𝐌𝐨𝐫𝐞 𝐒𝐭𝐚𝐛𝐥𝐞 𝐃𝐚𝐭𝐚 𝐓𝐫𝐚𝐧𝐬𝐟𝐞𝐫𝐬- Powered via USB 3.0, this adapter provides high-speed Gigabit Ethernet without the need for external power(10/100/1000Mbps). Backward compatible with USB 2.0/1.1, it ensures reliable performance across a wide range of devices.
  • 𝐒𝐮𝐩𝐩𝐨𝐫𝐭𝐬 𝐍𝐢𝐧𝐭𝐞𝐧𝐝𝐨 𝐒𝐰𝐢𝐭𝐜𝐡- Easily connect your Nintendo Switch to a wired network for faster downloads and a more stable online gaming experience compared to Wi-Fi.
  • 𝐏𝐥𝐮𝐠 𝐚𝐧𝐝 𝐏𝐥𝐚𝐲- No driver required for Nintendo Switch, Windows 11/10/8.1/8, and Linux. Simply connect and enjoy instant wired internet access without complicated setup.
  • 𝐁𝐫𝐨𝐚𝐝 𝐃𝐞𝐯𝐢𝐜𝐞 𝐂𝐨𝐦𝐩𝐚𝐭𝐢𝐛𝐢𝐥𝐢𝐭𝐲- Supports Nintendo Switch, PCs, laptops, Ultrabooks, tablets, and other USB-powered web devices; works with network equipment including modems, routers, and switches.

Software steering: additional ways to place work

Linux also documents software Receive Packet Steering (RPS), Receive Flow Steering (RFS), accelerated RFS, and transmit-side XPS. These techniques complement RSS; they are not mandatory steps that every system uses. They differ in where steering occurs and whether the goal is receive-side processing, flow locality, or transmit-side placement.

Mechanism Where it steers work What to keep in mind
RSS NIC receive queues, using packet-header hashes and an indirection table Requires suitable device support; queue placement affects which CPUs can process receive work.
RPS Software receive steering Can complement hardware queue distribution; it is not required on every system.
RFS Software receive-flow steering Another option for receive processing and locality; suitability depends on workload and configuration.
Accelerated RFS Receive-flow steering with device assistance Its availability depends on device and driver support.
XPS Transmit-side queue selection Addresses transmit placement rather than the NIC’s initial receive-queue selection.

The kernel’s Scaling in the Linux Networking Stack guide explains these mechanisms and their configuration. The useful choice depends on the hardware, queue and CPU locality, and whether observed work is limited by receive or transmit processing; no one steering setup is universally best.

Rank #2
Sale
Anker USB C to Ethernet Adapter, Portable 1 Gbps Network Hub
  • The Anker Advantage: Join the 65 million+ powered by our leading technology.
  • Instant Internet: Connect to the internet instantly from virtually any USB-C 3.0 device, and enjoy stable connection speeds of up to 1 Gbps.
  • Lightweight and Compact: The space-saving and portable design measures just over half an inch thick and weighs about the same as a AA battery.
  • Premium Build: Features a sleek aluminum exterior and braided-nylon cable to complement the design of high-end devices.
  • What You Get: PowerExpand USB-C to Gigabit Ethernet Adapter, welcome guide, 18-month worry-free warranty, and friendly customer service.

What does NAPI do?

The Linux Kernel documentation calls NAPI “the event handling mechanism used by the Linux networking stack.” In a common receive flow, a device event leads Linux to schedule NAPI, after which the driver polls for packets rather than relying on an interrupt for each packet. Polling is bounded by a budget so receive work can be shared with other system work. A driver may also use a polling cycle to complete transmit work.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

NAPI is therefore neither a separate protocol layer nor a guarantee that a packet will reach an application. It is the mechanism used to handle networking events and coordinate driver work. Its precise behavior depends on the driver and system setup. The kernel’s NAPI documentation also covers busy polling, including epoll-based and threaded approaches.

Rank #3
Sale
UGREEN USB C to Ethernet Adapter, Plug and Play 1Gbps Aluminum Adapter
  • USB-C Meets 1000Mbps Ethernet in Seconds:UGREEN usb c to ethernet adapter supports fast speeds up to 1000Mbps and is backward compatible with 100/10Mbps network. Perfect for work, gaming, streaming, or downloading with a stable, reliable wired connection
  • Extend a Ethernet Port for Your Device:This ethernet to usb c adds a Gigabit RJ45 port to your device. It’s the perfect solution for new laptops without built-in Ethernet, devices with damaged LAN ports, or when WiFi is unavailable or unstable
  • Plug and Play: This Ethernet adapter is driver-free for Windows 11/10/8.1/8, macOS, Chrome OS, and Android. Drivers are required for Windows XP/7/Vista and Linux, and can be easily installed using our instructions. LED indicator shows status at a glance
  • Small Adapter, Big Attention to Detail: The usb c to ethernet features a durable aluminum alloy case for faster heat dissipation than plastic. Its reinforced cable tail and wear-resistant port ensure long-lasting durability. Compact size and easy to carry
  • Widely Compatible: The usbc to ethernet adapter is compatible with most laptops, tablets, smartphones, Nintendo Switch, and Steam Deck with USB-C or Thunderbolt 4/3 port, like MacBook Pro/Air, XPS, iPhone 17/16/15 Pro/Pro Max, Mac Mini, Chromebook, iPad

Busy polling trades CPU time for latency

With busy polling, a process checks for packets before an interrupt would otherwise prompt processing. That can suit latency-sensitive workloads, but it spends CPU cycles checking for work. It is a workload-specific tradeoff, not a general speed-up switch; application, driver, and kernel support all matter.

Where do XDP and AF_XDP fit?

XDP can act early in packet processing

eXpress Data Path (XDP) programs can inspect or redirect packets early in the receive path. This makes XDP useful for workloads that need an early decision about traffic, but its operation and performance depend on the driver, device, and configuration. It is an optional path, not a required stage for ordinary socket traffic.

Rank #4
Amazon Basics USB 3.0 to 10/100/1000 Gigabit Ethernet Internet Adapter, Compatible with Windows and macOS, Black
  • Connects a USB 3.0 device (computer/laptop) to a router, modem, or network switch to deliver Gigabit Ethernet to your network connection. Does not support Smart TV or gaming consoles (e.g.Nintendo Switch).
  • Supported features include Wake-on-LAN function, Green Ethernet & IEEE 802.3az-2010 (Energy Efficient Ethernet)
  • Supports IPv4/IPv6 pack Checksum Offload Engine (COE) to reduce Cental Processing Unit (CPU) loading
  • Compatible with Windows 8.1 or higher, Mac OS

AF_XDP provides a user-space packet interface

AF_XDP is a socket-based interface for high-performance packet processing in user space. It uses rings and UMEM buffers to exchange packet data. The XDP-capable path and ordinary AF_XDP fallback behavior are not identical, and device and driver support affect how the interface operates and performs. Consult the kernel’s AF_XDP documentation before treating a particular mode as available on a system.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Metadata is another driver-dependent detail: the kernel’s XDP RX metadata guide notes that support depends on the driver implementation and on whether the relevant metadata exists for a packet.

Best Value
Sale
Acer USB to Ethernet Adapter, USBC Hub Ethernet 1Gbps with 3*USB 3.0
  • Dual USB-A/C Port Design: This USB hub with ethernet adapter features dual connectors for both USB C and USB A devices, ensuring wide compatibility across laptops, tablets, and smartphones. It includes 1x Gigabit Ethernet port and 3x USB A 3.0 ports, all usable at the same time for smooth and efficient connectivity. 📌Note: When using USB-A to connect devices, please ensure the USB-C is securely attached to the USB-A connector.
  • Stable Gigabit Ethernet Adapter: Get fast, wired Internet up to 1000Mbps with this USB C to ethernet adapter. Backward compatible with 10/100Mbps networks for flexible connectivity across various setups. Ideal for streaming, gaming, and large file transfers. 📌Note: Ensure the RJ45 connector is plugged in securely in the port and use CAT6 & above Ethernet cable is required to reach 1 Gbps.
  • 5Gbps Data Transfer: Transfer large files, photos, and videos in seconds with this USB 3.0 hub supporting speeds up to 5Gbps—10× faster than USB 2.0. Backward compatible with USB 2.0 and 1.1 devices, this USB splitter expands one port into three for connecting keyboards, mice, and flash drives for everyday use. 📌Note: The three USB-A 3.0 ports share a total 5Gbps bandwidth.【NO HDMI port, NO USB-C data port, and NO PD charging】
  • Plug and Play: Reliable USB to ethernet adapter ready to use in seconds. Instantly connects with USB-A and USB-C devices including MacBook Pro/Air, iPad Pro, iMac, Surface Laptops, Chromebook, XPS, tablets, Steam, and smartphones. Works with Windows, macOS, Linux, Chrome OS, and Android. 📌XP/Win7 may need driver. Older systems may not recognize this product due to its USB 3.0 chip. Please refer to the “Installation Manual” to manually download and install the driver.
  • Durable & Portable Build: Made with sturdy aluminum alloy, this RJ45 to USB-C adapter delivers long-term durability, efficient heat dissipation, and stable performance for offices, corporate deployments, classrooms, and campus workstations—while its slim, portable form factor makes it ideal for business travel, educators, and mobile professionals.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Does Linux always copy received data into an application?

No single copy pattern applies to every receive path. A specialized capability documented by the kernel is io_uring zero-copy receive (zero-copy Rx). It can eliminate the kernel-to-user copy for payload data, while packet headers still pass through the kernel TCP stack. The design requires NIC hardware features including header/data split and flow steering, and the kernel API does not configure the NIC on the user’s behalf. It is therefore not a baseline receive path. See io_uring zero copy Rx for its prerequisites and design.

What changes the packet’s route?

The path is shaped by more than the application protocol. NIC capabilities, driver implementation, kernel version, configuration, and workload can all affect queue selection, polling, steering, and whether specialized processing is available. A packet may be filtered, forwarded, or handled without being delivered to a local process. Performance options such as busy polling, XDP, AF_XDP, and zero-copy Rx apply only in suitable setups and involve their own constraints.

For a concrete system, begin by identifying its NIC, driver, kernel version, receive-queue configuration, and whether the workload is constrained on receive or transmit. Then consult the matching kernel documentation and driver capabilities before changing steering or polling settings. The kernel guides describe mechanisms, not a universal configuration that will improve every workload.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Quick Recap

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

More from the Wire

  1. World desk4 min
    How to Spot an AI Voice Scam Before Sending MoneyDon’t rely on how a caller sounds. Pause, call back through a known number, and verify the emergency with another trusted person before sending money.
  2. Mountain View desk4 min
    Google’s SynthID Detector: How to Check AI-Generated Images, Video and AudioGoogle’s SynthID Detector looks for an embedded watermark in supported images, video and audio. Here is what its results do—and do not—show.
  3. Redmond desk20 min
    How to create a link to File or Folder in Windows 11Windows 11 gives you several ways to point to a file or folder without moving or duplicating it. You can create a desktop shortcut,…
Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Outdated Drivers Are Slowing You DownFree scan - exact matches

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.