ice_dcbnl_getnumtcs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_dcbnl_getnumtcs β€” Kernel API Manual ✨

okay bestie, welcome to the ice_dcbnl_getnumtcs(9) page β€” yes it's a section 9 kernel API manual, yes we're gonna read it together, and yes it's gonna be cute. this one lives with all its little friends in the Intel ice driver family, and it's genuinely so simple it's almost suspicious 🫢


🌸 NAME 🌸

ice_dcbnl_getnumtcs β€” get max number of traffic classes supported

like, the whole job. that's it. icon behavior honestly πŸ‘‘


✨ SYNOPSIS ✨

int ice_dcbnl_getnumtcs (struct net_device *dev , int tcid , u8 *num );

look at her. three args, returns an int, no cap πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” pointer to netdev struct. yeah, the net device, main character of the whole networking saga 🌐
  • tcid β€” TC ID. that's the traffic class id, iykyk 🚦
  • num β€” total number of TCs supported by the adapter. this is the output spot, she's gonna get filled in with the count πŸ“

πŸ¦‹ DESCRIPTION πŸ¦‹

Return the total number of TCs supported. ✨

literally that. no side quests, no plot twists, no hidden lore β€” you call it, it tells you how many traffic classes the adapter is serving. the way that this function has ONE job and does it πŸ’€πŸ”₯


🌈 SEE ALSO 🌈

first up, the source herself β€” she lives in the kernel file:

./drivers/net/ethernet/intel/ice/ice_dcb_nl.c

and now the whole group chat, every single one of them, no skipping 😀:


ngl bestie, this one is a certified short read β€” if you've read one TC getter you've read 'em all, but at least now you know the args πŸ’–

okay that's the whole page, go touch some grass and then go read ice_dcbnl_setets(9) 🌱🧚

β€” from the kernel source tree at ./drivers/net/ethernet/intel/ice, dated October 2026 πŸ’œβœ¨ mwah, that's the sign-off, see u in the next manpage πŸŽ€

πŸ“¦ where this page comes from