i40e_dcbnl_setnumtcs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… i40e_dcbnl_setnumtcs β€” a Kernel API Manual moment πŸ‘‘

okay so bestie, we're in the kernel API manual (man 9 territory, yes it's giving big-brain energy), and today's main character is i40e_dcbnl_setnumtcs. buckle up πŸŽ€


✨ NAME ✨

i40e_dcbnl_setnumtcs β€” set CEE number of traffic classes 🌸


πŸ¦‹ SYNOPSIS πŸ¦‹

int i40e_dcbnl_setnumtcs (struct net_device *netdev , int tcid , u8 num );

that's the whole vibe. one function, three args, returns an int. slay. ✨


πŸ“ ARGUMENTS πŸ“

  • netdev β€” the corresponding netdev, aka the network device we're talking about 🫢
  • tcid β€” the TC id, like the traffic class's little name tag πŸ’œ
  • num β€” total number of TCs, a u8, so keep it small-ish bestie πŸ™ˆ

πŸ’€ DESCRIPTION πŸ’€

So the intent here is to set the total number of TCs (traffic classes). iconic concept, love that for us.

But β€” and I cannot stress this enough β€” the manpage literally says β€œ(Unsupported)” 😭. Not me finding out the function's whole job description comes with an asterisk. So like, it's setnumtcs... but it's unsupported. that's the entire tea. no notes. ⭐

πŸ‘‘ real talk: nothing here promises it actually sets anything. the manual says unsupported, so treat it as unsupported. don't come for me, I'm just the messenger πŸ’…

🌈 SEE ALSO 🌈

the kernel file that started it all:

./drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c

and the whole friend group (yes, all of them, no skipping, I said what I said πŸ”₯):


that's the whole page, bestie πŸ§šπŸ’– cute little sign-off: this one lives under ./drivers/net/ethernet/intel/i40e, and it's stamped October 2026. catch you in the next man 9 πŸŽ€βœ¨

πŸ“¦ where this page comes from