i40e_dcbnl_getnumtcs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 i40e_dcbnl_getnumtcs β€” kernel API manual, bestie edition 🌸

okay so this is a page straight out of the Kernel API Manual, and honestly? it's a tiny little function with main character energy. sit down, grab a lil snack πŸ“, and let's get into it.


✨ NAME ✨

i40e_dcbnl_getnumtcs β€” literally just: get the max number of traffic classes supported πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

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

πŸŽ€ ARGUMENTS πŸŽ€

  • netdev β€” the corresponding netdev, aka the net device we're talking about 🫢
  • tcid β€” the TC id, the traffic class id in question
  • num β€” total number of TCs supported by the device πŸ‘‘

πŸ’– DESCRIPTION πŸ’–

Return the total number of TCs supported by the adapter. that's it. that's the whole vibe. no cap, it's a getter β€” it goes and fetches the number, and hands it back to you via num. iconique, honestly ✨


🌈 SEE ALSO 🌈


πŸ’€ friendly reminder: that whole list up there is a lot of siblings, and every single one is a real page. don't come for me if you click through them all and lose an afternoon, iykyk.

and that's the page!! huge shoutout to the source ./drivers/net/ethernet/intel/i40e, dated October 2026 β€” mwah, love that for us πŸ˜­πŸ’œ slay, go read the next one, bye πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from