ice_add_rss_cfg_pre(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

ice_add_rss_cfg_pre β€” Prepare RSS configuration context for a VF

okay bestie, this is ice_add_rss_cfg_pre(9) from the Kernel API Manual, and it's giving β€œprep the RSS config context for a VF” energy. very niche, very iconic πŸ’…


✨ SYNOPSIS ✨

int ice_add_rss_cfg_pre (struct ice_vf *vf , struct ice_rss_hash_cfg *cfg );

πŸŽ€ ARGUMENTS πŸŽ€

  • vf β€” pointer to the VF structure, aka the profile we're setting up.
  • cfg β€” pointer to the RSS hash configuration, aka the vibe settings.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so picture this: you've got a VF and a cfg full of extra protocol headers, and this function preps the RSS hash context for that VF based on those headers. It includes pre-configuration for IP and GTPU-based flows, no cap.

If the configuration matches a known IP context, the function sets up the appropriate IP hash context. If the configuration includes GTPU headers, it prepares the GTPU-specific context accordingly. that's the whole lore ✨


πŸ’– RETURN πŸ’–

0 on success, or a negative error code on failure. slay when it's zero, sad trombone when it's negative 😭


🌈 SEE ALSO 🌈

Kernel file: ./drivers/net/ethernet/intel/ice/virt/rss.c β€” go read the source bestie 🫢


source/version from the footer: ./drivers/net/ethernet/intel/i... Β· date: October 2026 β€” bye bestie, mwah πŸ’…πŸ«ΆπŸ“

πŸ“¦ where this page comes from