ice_add_rss_cfg_post_gtpu(9)
πΈ 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 π«Ά:
- Kernel file
./drivers/net/ethernet/intel/ice/virt/rss.c ice_vc_validate_pattern(9),ice_vc_parse_rss_cfg(9),ice_vf_adv_rss_offload_ena(9),ice_is_hash_cfg_valid(9),ice_hash_cfg_reset(9),ice_hash_cfg_record(9),ice_hash_moveout(9),ice_hash_moveback(9),ice_hash_remove(9),ice_add_rss_cfg_pre_gtpu(9),ice_add_rss_cfg_pre_ip(9),ice_calc_gtpu_ctx_idx(9),ice_map_ip_ctx_idx(9),ice_add_rss_cfg_pre(9),ice_rem_rss_cfg_post(9),ice_rem_rss_cfg_wrap(9),ice_add_rss_cfg_wrap(9),ice_parse_raw_rss_pattern(9),ice_add_raw_rss_cfg(9),ice_rem_raw_rss_cfg(9),ice_vc_handle_rss_cfg(9),ice_vc_config_rss_key(9),ice_vc_config_rss_lut(9),ice_vc_config_rss_hfunc(9),ice_vc_get_rss_hashcfg(9),ice_vc_set_rss_hashcfg(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms