ice_add_rss_cfg_pre(9)
πΈ 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 theVFstructure, 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 π«Ά
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_post_gtpu(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)
source/version from the footer: ./drivers/net/ethernet/intel/i... Β· date: October 2026 β bye bestie, 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