ice_dcbnl_set_pg_tc_cfg_tx(9)
π
ice_dcbnl_set_pg_tc_cfg_tx β set CEE PG Tx config
okay so bestie, welcome to the Kernel API Manual β¨ this little function lives in the Linux kernel and she is so specific. It sets the CEE PG Tx config, which sounds like a vibe check but is actually priority group transmit configuration for a network device. No cap.
π¦ SYNOPSIS
void ice_dcbnl_set_pg_tc_cfg_tx (struct net_device *netdev , int tc , u8
prio_type , u8 bwg_id , u8 bw_pct , u8 up_map );
she returns void, so no return value to obsess over π she just does the thing and dips.
π ARGUMENTS
netdevβ pointer to relevant netdev. literally the network device we're doing all this for π«Άtcβ the corresponding traffic class. it's anint, she's important.prio_typeβ the traffic priority type (u8).bwg_idβ the BW group ID the TC belongs to. yes, BW = bandwidth, we're being efficient here π₯bw_pctβ the BW perventage for the BWG. (that's how the original spells it, and honestly? iconic of her. it means the bandwidth percentage. preserving the typo fr fr π)up_mapβ prio mapped to corresponding TC. the mapping. the moment. the slay πΈ
π SEE ALSO
the source file, in all her glory:
- Kernel file
./drivers/net/ethernet/intel/ice/ice_dcb_nl.c
and the whole friend group of related functions, no one left out π:
ice_dcbnl_devreset(9),ice_dcbnl_getets(9),ice_dcbnl_setets(9),ice_dcbnl_getnumtcs(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_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)
like, that's the entire squad. go read them too, iykyk π§
and that's the whole page, bestie π sourced straight from ./drivers/net/ethernet/intel/ice, manual version Kernel API Manual, dated October 2026 β mwah, periodt ππ
π¦ 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