ice_arfs_build_entry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 a u16, and it's literally the "send it here" number.
  • flow_id β€” passed down from the stack and saved for flow expiration ⏳ a u32, 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:


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