netif_attr_test_online(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 netif_attr_test_online(9) 🌸

okay bestie, so this is a page from the Kernel API Manual β€” yes, the kernel, we're doing kernel things today, put your hair up πŸ’… β€” and it's about netif_attr_test_online, which is literally just a vibe check for your CPUs and Rx queues.


✨ NAME ✨

netif_attr_test_online β€” Test for online CPU/Rx queue 🫢

No cap, that's the whole job. It tests whether a CPU or an Rx queue is online.


πŸ’– SYNOPSIS πŸ’–

bool netif_attr_test_online (unsigned long j , const unsigned long
*online_mask , unsigned int nr_bits );

look at that signature, she's serving bool realness πŸ”₯


πŸŽ€ ARGUMENTS πŸŽ€

  • j β€” the CPU/Rx queue index 🌈 which one are we checking, bestie
  • online_mask β€” bitmask for CPUs/Rx queues that are online πŸ’« the master list of who's actually awake rn
  • nr_bits β€” number of bits in the bitmask ⭐ so we know how many to look at

πŸ‘‘ RETURN πŸ‘‘

Returns true if a CPU/Rx queue is online. that's it, that's the tea πŸ“


πŸ¦‹ SEE ALSO πŸ¦‹

so there's this kernel file, ./include/linux/netdevice.h, and it's connected to a whole ecosystem of friends. kminder these are all manual pages, section 9, okay?

like, that is a squad πŸ’€ and netdev_cap_txqueue(9) is lowkey the main character of that list, iykyk.


and that's the whole page, bestie 🧚 slay, go check if your CPUs are online πŸ’œ

This little cutie lives in ./include/linux, dated October 2026 β€” mwah, xoxo, see you in the next manpage πŸŽ€βœ¨

πŸ“¦ where this page comes from