ice_arfs_build_entry(9)
β¨ ice_arfs_build_entry β bestie's guide to the kernel API manual, section 9 π
okay so real talk, this page lives in the Kernel API Manual (section 9, the fun one) and it's all about one little function that builds an aRFS entry based on input. that's literally the whole vibe. no cap. π
β¨ NAME β¨
ice_arfs_build_entry β builds an aRFS entry based on input π¦
like⦠it takes your stuff and hands you back an entry. iconic behaviour honestly.
πΈ SYNOPSIS πΈ
struct ice_arfs_entry * ice_arfs_build_entry (struct ice_vsi *vsi ,
const struct flow_keys *fk , u16 rxq_idx , u32 flow_id );
yes bestie, it returns a struct ice_arfs_entry *. we love a pointer return. π«Ά
π ARGUMENTS π
vsiβ the destination VSI for this flow π this is where the flow is headed, like its whole main character destination.fkβ flow dissector keys for creating the tuple π so this is the raw tea that gets turned into the tuple.const struct flow_keys *, so it's read-only, don't even think about touching.rxq_idxβ the Rx queue to steer this flow to π― it's au16, and it's literally the "send it here" number.flow_idβ passed down from the stack and saved for flow expiration β³ au32, handed to you by the stack, and it gets stashed so the flow can expire later. keep it, you'll need it.
π₯ DESCRIPTION π₯
returns an aRFS entry on success and NULL on failure π
that's it. that's the whole description. short and slay. so like β vibe check your return value before you use it, because failure gives you NULL and dereferencing that is not the move, ngl. π
π¦ SEE ALSO π¦
the source lives right here in the kernel, bestie π
- Kernel file
./drivers/net/ethernet/intel/ice/ice_arfs.cπ
and the whole aRFS friend group, fr fr:
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_is_perfect_flow_set(9)ice_arfs_cmp(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, periodt. π
cute lil sign-off time: this masterpiece comes from the source tree at ./drivers/net/ethernet/intel/ice, dated October 2026 πΈ β and it's titled ice_arfs_build_entry(9), iykyk. go build some entries, bestie πβ¨
π¦ 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