ice_get_agg_info(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’œ ice_get_agg_info β€” the kernel API manual, but make it make sense πŸ’œ

okay bestie, so this is a page from the Kernel API Manual (that's the (9) bit, iykyk β€” kernel section, not some random command you type at 2am) and today's main character is ice_get_agg_info. it's short, it's sweet, it's giving "little function that could" 🧚


✨ NAME ✨

ice_get_agg_info β€” get the aggregator ID πŸŽ€

like, it literally goes and fetches the aggregator info for you. no cap.


🌸 SYNOPSIS 🌸

struct ice_sched_agg_info * ice_get_agg_info (struct ice_hw *hw , u32 agg_id );

that's the whole thing. two args, one pointer back. slay. πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • hw β€” pointer to the hardware structure. your actual NIC hardware, the whole vibe. πŸ–₯️
  • agg_id β€” aggregator ID. the number that says which aggregator we're talking about. πŸ”’

πŸ”₯ DESCRIPTION πŸ”₯

okay so here's the tea β˜• β€” this function validates the aggregator ID. that's the job. that's the whole job.

if the aggregator ID is present in the list, the function returns the info. 🫢

otherwise? it returns null. 😭 nothing. nada. the void. don't dereference it, bestie, i'm begging. πŸ™ˆ

literally just: check the ID, hand back the info if it's there, hand back NULL if it isn't. no surprises, no drama, highkey iconic for how simple it is. πŸ‘‘

🌈 SEE ALSO 🌈

so. um. this function has a lot of friends. like, an entire group chat of them. 😭 here's the whole crew, no one left out, periodt:

and first up, the source file it lives in β€” go say hi: Kernel file ./drivers/net/ethernet/intel/ice/ice_sched.c

that's 117 of them. i counted. okay i didn't count, but it's a lot and i did not skip a single one because that would be rude. πŸ’€βœ¨


and that's the page!! 🫢 live laugh love aggregator IDs, mwah πŸ’–

this little beauty hails from ./drivers/net/ethernet/intel/ice, dated October 2026 β€” so go forth, scroll the scheduler source, and stan responsibly πŸŽ€πŸ‘‘πŸŒΈ

πŸ“¦ where this page comes from