ice_flow_add_entry(9)
π 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:dataholds the match values AND masks, andentry_his 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
- 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