ice_flow_add_entry(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ice_flow_add_entry β€” the "add a flow entry" girlies πŸ’–

Okay so bestie, welcome to the Kernel API Manual for ice_flow_add_entry(9). Yes, section 9, we love a kernel-internals moment. Sit down, grab a strawberry drink πŸ“, and let's get into it.


✨ NAME ✨

ice_flow_add_entry β€” literally just Add a flow entry. That's the whole vibe. No cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

int ice_flow_add_entry (struct ice_hw *hw , enum ice_block blk , u64
prof_id , u64 entry_id , u16 vsi_handle , enum ice_flow_priority prio ,
void *data , u64 *entry_h );

She takes a whole friend group of arguments and returns an int. Periodt. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

Every single one of them, in order, because we do not skip the boring parts in this house:

  • hw β€” pointer to the HW struct. The hardware bestie herself. 🫢
  • blk β€” classification stage. Which stage are we at, iykyk.
  • prof_id β€” ID of the profile to add a new flow entry to. The profile we're sliding into. ✨
  • entry_id β€” unique ID to identify this flow entry. Unique! Don't reuse it, that's not the vibe. πŸ™ˆ
  • vsi_handle β€” software VSI handle for the flow entry. Your lil software-side handle.
  • prio β€” priority of the flow entry. <italic>enum ice_flow_priority</italic>, very demure, very mindful.
  • data β€” pointer to a data buffer containing flow entry's match values/masks. The matchy-matchy bits go here. 🎯
  • entry_h β€” pointer to buffer that receives the new flow entry's handle. She's an output, bestie β€” the new handle lands here. Lowkey the most important one. πŸ‘‘
Heads up: data holds the match values AND masks, and entry_h is where the new handle gets written. Those are the two you'll be staring at while debugging at 2am, trust. 😭

🌈 SEE ALSO 🌈

First up, the kernel file she actually lives in:

  • Kernel file ./drivers/net/ethernet/intel/ice/ice_flow.c

And now the full squad β€” every single reference, no gatekeeping, fr fr:

ice_flow_val_hdrs(9), ice_flow_calc_seg_sz(9), ice_flow_proc_seg_hdrs(9), ice_flow_xtract_fld(9), ice_flow_xtract_raws(9), ice_flow_create_xtrct_seq(9), ice_flow_proc_segs(9), ice_flow_find_prof_conds(9), ice_flow_find_prof_id(9), ice_flow_rem_entry_sync(9), ice_flow_add_prof_sync(9), ice_flow_rem_prof_sync(9), ice_flow_assoc_prof(9), ice_flow_disassoc_prof(9), ice_flow_set_parser_prof(9), ice_flow_add_prof(9), ice_flow_rem_prof(9), ice_flow_rem_entry(9), ice_flow_set_fld_ext(9), ice_flow_set_fld(9), ice_flow_add_fld_raw(9), ice_flow_rem_vsi_prof(9), ice_flow_set_rss_seg_info(9), ice_rem_vsi_rss_list(9), ice_rem_vsi_rss_cfg(9), ice_get_rss_hdr_type(9), ice_rem_rss_list(9), ice_add_rss_list(9), ice_rss_config_xor_word(9), ice_rss_config_xor(9), ice_rss_set_symm(9), ice_rss_cfg_raw_symm(9), ice_rss_update_raw_symm(9), ice_add_rss_cfg_sync(9), ice_add_rss_cfg(9), ice_rem_rss_cfg_sync(9), ice_rem_rss_cfg(9), ice_add_avf_rss_cfg(9), ice_set_rss_cfg_symm(9), ice_replay_rss_cfg(9), ice_get_rss_cfg(9)

Like… that's the whole friend group chat right there. πŸ§šπŸ’œ


And that's the page, bestie! πŸŽ€ Shoutout to ./drivers/net/ethernet/intel/ice for hosting this masterpiece, dated October 2026 β€” see you in the future, diva. ⭐ Go add some flow entries, slay, and remember: it's giving kernel contributor energy. πŸ‘‘πŸ”₯

πŸ“¦ where this page comes from