ice_rm_agg_cfg_tc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_rm_agg_cfg_tc β€” removal era for the TC aggregator config (kernel API manual, bestie edition) ✨

okay so this is page ice_rm_agg_cfg_tc(9) from the Kernel API Manual, and yes we're doing a whole deep-dive because this little function is doing actual cleanup work and honestly? iconic of it. πŸ§ΉπŸ’–


🌸 NAME 🌸

ice_rm_agg_cfg_tc β€” remove aggregator configuration for TC

like, it literally just takes the aggregator config for a TC and goes "not you anymore, bestie". πŸ’…


✨ SYNOPSIS ✨

int ice_rm_agg_cfg_tc (struct ice_port_info *pi , struct
ice_sched_agg_info *agg_info , u8 tc , bool rm_vsi_info );

look at her. four params, one int return, zero notes. main character signature fr fr πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • pi β€” the port information structure. that's the port's whole little info hub, she's the context queen πŸ‘‘
  • agg_info β€” the aggregator ID. which aggregator are we breaking up with? this one, right here 🫢
  • tc β€” the TC number. you gotta tell it which TC's vibe is getting cleaned out πŸ”₯
  • rm_vsi_info β€” a bool value, so like, true or false. that's the whole range, no in-between πŸ™ˆ

πŸ’œ DESCRIPTION πŸ’œ

okay so picture this: this function removes the aggregator reference to the VSI of the given TC. and not just a little bit β€” it removes the aggregator configuration completely for the requested TC. full send. no leftovers, no crumbs. it's giving "blocked and deleted" energy πŸ˜­πŸ’€

here's the part you cannot skip, the real one:

the caller needs to hold the scheduler lock. πŸ”’

not "should". not "idk maybe". needs to. so grab that lock before you call this, bestie, or the scheduler is gonna have opinions and you will not enjoy the vibe check. fr fr ⚠️


🌈 SEE ALSO 🌈

the source lives in the kernel file ./drivers/net/ethernet/intel/ice/ice_sched.c, and here is the entire friend group β€” the whole group chat, no one left on read 🫢

like I said. everyone's here. πŸ”₯


and that's the page, bestie πŸ’– this came out of ./drivers/net/ethernet/intel/ice, dated October 2026 β€” go hold that scheduler lock, slay, and stan clean aggregator teardown πŸŽ€βœ¨πŸ¦‹

πŸ“¦ where this page comes from