netif_subqueue_stopped(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

netif_subqueue_stopped β€” the function whose entire personality is testing the status of a subqueue. That's it. That's the whole gig. And honestly? periodt. ✨

This little icon lives in the Kernel API Manual, so bestie, you know it's real kernel business 🫢


πŸŽ€ SYNOPSIS πŸŽ€

bool netif_subqueue_stopped (const struct net_device *dev , struct
       sk_buff *skb );

Not me giving you a bool return type right up front β€” yes, it hands you back a true-or-false situation, no cap πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the network device. like, the actual device you're asking about, const struct net_device * and everything ⭐
  • skb β€” the sub queue buffer pointer, a struct sk_buff * β€” this is the one that points at the sub queue you care about πŸ“

πŸ”₯ DESCRIPTION πŸ”₯

Okay so here's the vibe: this one checks the individual transmit queue of a device with multiple transmit queues. That's the entire description. Multiple tx queues? It's looking at the individual one, not the whole fleet. iconic behaviour honestly πŸ‘‘

Lowkey the whole point: it's the *sub*queue version of the question, for devices that have more than one transmit queue to keep track of. Don't @ me, that's literally what the page says πŸ’€

🌈 SEE ALSO 🌈

Okay bestie, buckle up, because the SEE ALSO on this one is long. All of these goodies live in the kernel file ./include/linux/netdevice.h, and here they are in the exact order the page serves them πŸ’–

Like, drink some water before you start clicking through all of those, fr fr πŸ₯€


Okay that's the whole page, bestie, you ate it up 🌸 This gem is brought to you by the fine folks over at ./include/linux, dated October 2026, serving Kernel API Manual realness β€” mwah, slay, bye πŸ’œπŸŽ€πŸ¦‹

πŸ“¦ where this page comes from