ice_dcbnl_set_pg_tc_cfg_rx(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_dcbnl_set_pg_tc_cfg_rx β€” the Kernel API Manual page, bestie edition ✨

okay so this is <pink>ice_dcbnl_set_pg_tc_cfg_rx(9)</pink> straight out of the Kernel API Manual, and she's a function-pointer girlie in the Intel ice driver. sit down, grab a lil snack πŸ“, we're gonna get into it.


✨ NAME ✨

ice_dcbnl_set_pg_tc_cfg_rx β€”

so real talk, the original page literally just gives you the name and a dash and dips πŸ’€. no one-liner summary, no cute tagline, nothing. iconic of her honestly. so yeah, that's the entire NAME section, no notes.


🌸 SYNOPSIS 🌸

void ice_dcbnl_set_pg_tc_cfg_rx (struct net_device *netdev , int prio ,
u8 prio_type , u8 pgid , u8 bw_pct , u8 up_map );

it returns nothing (void, she gives nothing back and that's valid πŸ’…) and takes six arguments. all of them. six whole parameters. let's meet them 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • netdev β€” the relevant net_device struct, aka the network device we're doing all this for. she's the main character here πŸ‘‘
  • prio β€” the corresponding user priority, like which priority we're talking about
  • prio_type β€” the traffic priority type (yes, that's a separate thing from prio, don't come for me)
  • pgid β€” the PG ID, that's the priority group id
  • bw_pct β€” the BW percentage for the corresponding BWG. bandwidth, but make it a percentage πŸ¦‹
  • up_map β€” the prio mapped to the corresponding TC, aka the user-priority-to-traffic-class situation

πŸ’– DESCRIPTION πŸ’–

okay so the whole reason this function even exists: lldpad requires this function pointer to be non-NULL to complete CEE config. that's it. that's the lore.

so like, if you null it out, lldpad literally cannot finish its CEE config and everything just vibes at "incomplete" forever 😭. no cap, set the pointer. it's giving "one tiny thing holds the whole group project together."


πŸ”₯ SEE ALSO πŸ”₯

the kernel file where this lives, for the girlies who wanna read the source:

  • ./drivers/net/ethernet/intel/ice/ice_dcb_nl.c

and the whole rest of the friend group πŸ’œ β€” every single one of these has her own (9) page:

like, thirty-two siblings. one big happy DCB family 🌈


lowkey reminder bestie: this page is from ./drivers/net/ethernet/intel/ice, dated October 2026, and it's the ice_dcbnl_set_pg_tc_cfg_rx(9) page, in case you were wondering where you wandered into 🧚

k byeee, go read ice_dcbnl_get_pg_tc_cfg_rx(9) next, she's literally the getter twin of this one and the way that symmetry ate πŸ˜­πŸ’–β­

πŸ“¦ where this page comes from