ice_dcbnl_set_pg_tc_cfg_rx(9)
π 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 relevantnet_devicestruct, 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 aboutprio_typeβ the traffic priority type (yes, that's a separate thing fromprio, don't come for me)pgidβ the PG ID, that's the priority group idbw_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:
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_set_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_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, 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 theice_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
- 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