i40e_dcbnl_setnumtcs(9)
π
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, au8, 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 π₯):
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_getnumtcs(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)
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
- 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