ice_dcbnl_set_pg_tc_cfg_tx(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 an int, 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 πŸ‘‘:

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