i40e_dcbnl_getnumtcs(9)
πΈ 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 correspondingnetdev, aka the net device we're talking about π«Άtcidβ the TC id, the traffic class id in questionnumβ 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 π
- Kernel file
./drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c i40e_get_pfc_delay(9),i40e_dcbnl_ieee_getets(9),i40e_dcbnl_ieee_getpfc(9),i40e_dcbnl_ieee_setets(9),i40e_dcbnl_ieee_setpfc(9),i40e_dcbnl_ieee_setapp(9),i40e_dcbnl_ieee_delapp(9),i40e_dcbnl_getstate(9),i40e_dcbnl_setstate(9),i40e_dcbnl_set_pg_tc_cfg_tx(9),i40e_dcbnl_set_pg_bwg_cfg_tx(9),i40e_dcbnl_set_pg_tc_cfg_rx(9),i40e_dcbnl_set_pg_bwg_cfg_rx(9),i40e_dcbnl_get_pg_tc_cfg_tx(9),i40e_dcbnl_get_pg_bwg_cfg_tx(9),i40e_dcbnl_get_pg_tc_cfg_rx(9),i40e_dcbnl_get_pg_bwg_cfg_rx(9),i40e_dcbnl_set_pfc_cfg(9),i40e_dcbnl_get_pfc_cfg(9),i40e_dcbnl_cee_set_all(9),i40e_dcbnl_get_cap(9),i40e_dcbnl_setnumtcs(9),i40e_dcbnl_getpfcstate(9),i40e_dcbnl_setpfcstate(9),i40e_dcbnl_getapp(9),i40e_dcbnl_setdcbx(9),i40e_dcbnl_getdcbx(9),i40e_dcbnl_get_perm_hw_addr(9),i40e_dcbnl_set_all(9),i40e_dcbnl_vsi_del_app(9),i40e_dcbnl_del_app(9),i40e_dcbnl_find_app(9),i40e_dcbnl_flush_apps(9),i40e_dcbnl_setup(9)
π 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
- 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