ice_dcbnl_getnumtcs(9)
π
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 π€:
ice_dcbnl_devreset(9)ice_dcbnl_getets(9)ice_dcbnl_setets(9)ice_dcbnl_getdcbx(9)ice_dcbnl_setdcbx(9)ice_dcbnl_get_perm_hw_addr(9)ice_get_pfc_delay(9)ice_dcbnl_getpfc(9)ice_dcbnl_setpfc(9)ice_dcbnl_get_pfc_cfg(9)ice_dcbnl_set_pfc_cfg(9)ice_dcbnl_getpfcstate(9)ice_dcbnl_getstate(9)ice_dcbnl_setstate(9)ice_dcbnl_get_pg_tc_cfg_tx(9)ice_dcbnl_set_pg_tc_cfg_tx(9)ice_dcbnl_get_pg_bwg_cfg_tx(9)ice_dcbnl_set_pg_bwg_cfg_tx(9)ice_dcbnl_get_pg_tc_cfg_rx(9)ice_dcbnl_set_pg_tc_cfg_rx(9)ice_dcbnl_get_pg_bwg_cfg_rx(9)ice_dcbnl_set_pg_bwg_cfg_rx(9)ice_dcbnl_get_cap(9)ice_dcbnl_getapp(9)ice_dcbnl_find_app(9)ice_dcbnl_setapp(9)ice_dcbnl_delapp(9)ice_dcbnl_cee_set_all(9)ice_dcbnl_set_all(9)ice_dcbnl_vsi_del_app(9)ice_dcbnl_flush_apps(9)ice_dcbnl_setup(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms