ice_add_rss_cfg_post_gtpu(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 ice_add_rss_cfg_post_gtpu β€” Kernel API Manual, bestie edition 🌸

okay so picture this: it's a Kernel API Manual page (yes, section 9, the driver-internals section, we love her) and the star of the show is ice_add_rss_cfg_post_gtpu. no cap, she's the cleanup queen πŸ’…


✨ NAME ✨

ice_add_rss_cfg_post_gtpu β€” literally just post-processing the GTPU RSS configuration. that's the whole vibe. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int ice_add_rss_cfg_post_gtpu (struct ice_vf *vf , struct
       ice_vf_hash_gtpu_ctx *ctx , struct ice_rss_hash_cfg *cfg , u32 ctx_idx
       );

it returns an int, she takes four args, that's it, that's the whole signature, don't touch it πŸ”₯


πŸ’– ARGUMENTS πŸ’–

  • vf β€” pointer to the VF info πŸ‘‘ (the VF in question, main character energy)
  • ctx β€” pointer to the context of the GTPU hash 🫢
  • cfg β€” pointer to the RSS hash configuration ✨
  • ctx_idx β€” index of the hash context 🎯

🌈 DESCRIPTION 🌈

so what does she actually do? she post-processes the GTPU hash configuration after a new hash context has been successfully added. iykyk β€” this is the afterparty, not the party πŸŽ‰

she updates the context with the new configuration, and she restores any previously removed hash contexts that need to be re-applied. the way that she just… puts things back πŸ˜­πŸ’œ

and why, you ask? because this ensures proper TCAM rule ordering and avoids conflicts between overlapping GTPU rules. it's giving organized, it's giving responsible, it's giving no drama between your overlapping rules fr fr 🧚


⭐ RETURN ⭐

0 on success, or a negative error code on failure. simple. iconic. periodt. πŸ’€βœ¨

ngl bestie, always check that return value β€” a negative number means something went sideways and you're gonna want to know πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯

the whole group chat, in order, no one left out 🫢:


and that's the page!! πŸ’–βœ¨πŸŽ€πŸ¦‹πŸŒΈπŸ’…πŸ«Ά

source/version line was ./drivers/net/ethernet/intel/i... and the date stamp said October 2026 β€” so yeah, she's from the future, lowkey obsessed with her for that πŸŒˆβ­πŸ‘‘ β€” and we're all caught up on ice_add_rss_cfg_post_gtpu(9), mwah πŸ’œπŸ“

πŸ“¦ where this page comes from