netif_threaded_enable(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

netif_threaded_enable β€” enable threaded NAPIs. This page lives in the Kernel API Manual, and the function we're hyping up is netif_threaded_enable(9). Slay.

🌸 SYNOPSIS 🌸

void netif_threaded_enable (struct net_device *dev );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” net_device instance

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this enables threaded mode for the NAPI instances of the device. It may be useful for devices where multiple NAPI instances get scheduled by a single interrupt. Threaded NAPI allows moving the NAPI processing to cores other than the core where IRQ is mapped. Ngl, that's the whole vibe.

Timing tea β˜•: this function should be called before dev is registered. That's the rule, bestie, fr fr.

πŸ’… SEE ALSO πŸ’…

Kernel file ./net/core/dev.c β€” and the linked besties are:


okay that's the whole page, bestie πŸ’– source/version: ./net/core Β· date: October 2026 Β· page: netif_threaded_enable(9). byeee 🫢✨

πŸ“¦ where this page comes from