ice_sched_cfg_agg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_sched_cfg_agg β€” configure aggregator node ✨

okay bestie, gather round, because we're reading a real page out of the Kernel API Manual, section 9, and the star of the show is ice_sched_cfg_agg. it's giving "networking internals but make it a vibe" πŸ¦‹


🌸 SYNOPSIS 🌸

int ice_sched_cfg_agg (struct ice_port_info *pi , u32 agg_id , enum
       ice_agg_type agg_type , unsigned long *tc_bitmap );

like, that's the whole signature. no cap. copy it exactly if you're typing it, don't get cute with the spacing πŸ’€


πŸŽ€ ARGUMENTS πŸŽ€

  • pi β€” the port information structure. it's the ✨port info✨, the context everything lives in.
  • agg_id β€” the aggregator ID. yes, it's an ID, and yes, it's for an aggregator. iconic.
  • agg_type β€” the aggregator type: queue, VSI, or aggregator group. pick your fighter πŸ’…
  • tc_bitmap β€” the bits TC bitmap. bits! of the TC! bitmap! 🧚

πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the whole deal, bestie. this function registers a unique aggregator node into scheduler services. that's the main character moment 🫢

it lets a user register with a unique ID so they can track its resources. yep β€” unique ID, your resources, tracked. very organized, very demure.

the aggregator type is what decides whether this thing is a queue group, a VSI group, or an aggregator group. so like, the type is literally the identity check of this whole operation 🌈

then it creates the aggregator node(s) for the requested TC(s) β€” OR β€” it removes an existing aggregator node including its configuration if that's what's indicated via tc_bitmap. so it's a create-or-delete situation depending on the bitmap, and honestly? multitasking queen πŸ’–

🚨 important reminder: call ice_rm_agg_cfg to release aggregator resources and remove the aggregator ID. and yes β€” this function needs to be called with the scheduler lock held. do not skip the lock. the lock is not optional. periodt 😭

⭐ SEE ALSO ⭐

first up, the kernel file herself:

  • Kernel file ./drivers/net/ethernet/intel/ice/ice_sched.c

and now the friend group. every single one of these, no skipping πŸ”₯


and that's the page!! πŸ’œ this little guy comes to you from ./drivers/net/ethernet/intel/ice, dated October 2026 β€” so yeah, mark your calendars bestie, the aggregator node is not gonna configure itself πŸŽ€βœ¨πŸ«Ά

πŸ“¦ where this page comes from