i40e_dcbnl_set_pg_tc_cfg_tx(9)
π i40e_dcbnl_set_pg_tc_cfg_tx π
okay so bestie, welcome to the Kernel API Manual β¨ and buckle up because today's main character is i40e_dcbnl_set_pg_tc_cfg_tx β a function that literally does one job and does it slayfully. no cap. π«Ά
πΈ NAME πΈ
i40e_dcbnl_set_pg_tc_cfg_tx β set the CEE PG Tx config, iykyk π«
β¨ SYNOPSIS β¨
void i40e_dcbnl_set_pg_tc_cfg_tx (struct net_device *netdev , int tc ,
u8 prio_type , u8 bwg_id , u8 bw_pct , u8 up_map );
that's it. that's the whole signature. void return, six args, zero drama (wellβ¦ almost zero, see the warnings below π). π
π¦ ARGUMENTS π¦
okay so here's the whole cast, in order, no one gets cut from the group chat:
netdevβ the corresponding netdev π like, the network device this whole thing is about.tcβ the corresponding traffic class π the vibe tier, if you will.prio_typeβ the traffic priority type β literally which flavour of priority we're dealing with.bwg_idβ the BW group id the traffic class belongs to π§ which bandwidth group this tc is rolling with.bw_pctβ the BW percentage for the corresponding BWG π how much of the bandwidth pie that BWG gets.up_mapβ prio mapped to corresponding tc π the priority that's mapped onto that there traffic class.
π₯ DESCRIPTION π₯
Set Tx PG settings for CEE mode.
that's the whole description, bestie π short and iconic. it sets the Tx PG settings, but only for CEE mode β do not come for me if you wanted more lore, the manpage said what it said and I respect the brevity periodt π
π SEE ALSO π
the whole friend group π starting with the source file itself:
- 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_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_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)π
no skipping, we list them all, we're thorough in this house π β¨
okay bestie that's the whole page, go forth and configure your Tx PG settings in CEE mode responsibly π
sign-off time: this little love letter lives in ./drivers/net/ethernet/intel/i40e, it's dated October 2026, and it answers to the name i40e_dcbnl_set_pg_tc_cfg_tx(9). mwah πππ
π¦ 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