ice_arfs_cmp(9)
π ice_arfs_cmp(9) β a Kernel API Manual moment
okay so bestie, welcome to ice_arfs_cmp, straight out of the Kernel API Manual and honestly? she's a little icon. β¨
β¨ NAME β¨
ice_arfs_cmp β checks whether an aRFS filter actually matches this flow. that's it, that's the whole job π
πΈ SYNOPSIS πΈ
bool ice_arfs_cmp (const struct ice_fdir_fltr *fltr_info , const struct
flow_keys *fk , __be16 n_proto , u8 ip_proto );
like, yes, she returns a bool, and yes, she takes four whole arguments. main character energy fr fr π
π¦ ARGUMENTS π¦
fltr_infoβ the filter info of the saved ARFS entry. this is the receipt of what we already stashed away π§Ύfkβ the flow dissector keys. the vibe check data, basically.n_protoβ has to be one ofhtons(ETH_P_IP)orhtons(ETH_P_IPV6). no other options, bestie, it's giving "choose from the dropdown" π₯ip_protoβ one ofIPPROTO_TCPorIPPROTO_UDP. same deal, pick one of the two π
β DESCRIPTION β
so here's the tea: this function straight up assumes that n_proto and ip_proto are locked to those limited values. because of that, she is meant to be called only from ice_rx_flow_steer. like, she's not an open-invite girlie β she's got a very specific guest list π
ngl, don't go calling her from random places. the assumption aboutn_protoandip_protois baked right in π
π RETURN π
trueβfltr_inforefers to the same flow asfk. they're matching. soulmates, even πfalseβfltr_infoandfkrefer to different flows. not the same flow, not the same vibe, moving on π
π SEE ALSO π
the kernel file herself: ./drivers/net/ethernet/intel/ice/ice_arfs.c
and the whole friend group:
ice_is_arfs_active(9)ice_is_arfs_using_perfect_flow(9)ice_arfs_update_active_fltr_cntrs(9)ice_arfs_del_flow_rules(9)ice_arfs_add_flow_rules(9)ice_arfs_is_flow_expired(9)ice_arfs_update_flow_rules(9)ice_sync_arfs_fltrs(9)ice_arfs_build_entry(9)ice_arfs_is_perfect_flow_set(9)ice_rx_flow_steer(9)ice_init_arfs_cntrs(9)ice_init_arfs(9)ice_clear_arfs(9)ice_set_cpu_rx_rmap(9)ice_remove_arfs(9)ice_rebuild_arfs(9)
that's the whole page, bestie π«Ά huge shoutout to ./drivers/net/ethernet/intel/ice and the October 2026 era of the Kernel API Manual for bringing us ice_arfs_cmp(9). slay, periodt, and remember: limited values only π
β¨
π¦ 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