ice_hash_remove(9)
π ice_hash_remove(9)
okay so welcome to the Kernel API Manual, bestie β specifically the page for ice_hash_remove(9). this one's short and sweet, but she's important, so pay attention π
πΈ SYNOPSIS πΈ
int ice_hash_remove (struct ice_vf *vf , struct ice_rss_hash_cfg *cfg );
like, that's the whole function signature, no notes π
β¨ ARGUMENTS β¨
vfβ pointer to the VF info. yes, that VF. she's the one carrying all the info, so hand her over properly π«Άcfgβ pointer to the RSS hash configuration. this is the rule you're about to yeet π
π₯ DESCRIPTION π₯
so what does she do? ice_hash_remove will delete a RSS hash configuration β and not just the config itself, okay, she goes all the way: it also deletes the hash context which stores the rule info. like she's not leaving any crumbs behind, that's main character energy fr fr π
β¨
so yeah. config gone, context gone, rule info gone. clean slate, periodt.
β RETURN β
0 on success, or a negative error code on failure. that's it, that's the whole vibe β no cap π
π¦ SEE ALSO π¦
the kernel file, living her life at:
./drivers/net/ethernet/intel/ice/virt/rss.c
and honestly the whole friend group shows up here, so let's give them their moment π
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_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_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)
and that's the page bestie!! mwah π this one came straight out of ./drivers/net/ethernet/intel/i... (you know the path, she's iconic) and it's dated October 2026 β go forth and remove those hash configs responsibly ππ
π¦ 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