ice_flow_add_prof_sync(9)
π ice_flow_add_prof_sync(9) β like, the kernel API manual bestie β¨
Okay so we're deep in the ice driver pages of the kernel API manual, and this one is all about adding a flow profile for packet segments and fields. Yes, that's the NAME section, and yes, it ate. πΈ
β¨ SYNOPSIS β¨
int ice_flow_add_prof_sync (struct ice_hw *hw , enum ice_block blk ,
enum ice_flow_dir dir , struct ice_flow_seg_info *segs , u8 segs_cnt ,
bool symm , struct ice_flow_prof **prof );
She returns an int, she takes seven args, she's that girl. π
π ARGUMENTS π
hwβ pointer to the HW struct. Your hardware baddie, the main character of this whole operation πblkβ classification stage. Which stage of the pipeline we're playing in frdirβ flow direction. Which way the packets are going, no cap π¦segsβ array of one or more packet segments that describe the flow. Literally the packet bits you care about, listed out πsegs_cntβ number of packet segments provided. Gotta tell it how long that array is, iykyksymmβ symmetric setting for RSS profiles. The symmetry vibe check πprofβ stores the returned flow profile added. This is where the shiny new profile lands, obsessed π
π DESCRIPTION π
Assumption: the caller has acquired the lock to the profile list.
Yeah that's the whole description and it's not a suggestion bestie β the caller has to have already grabbed the lock on the profile list before calling this. No lock, no service. Periodt. π₯
π«Ά SEE ALSO π«Ά
- Kernel file
./drivers/net/ethernet/intel/ice/ice_flow.cβ go read the source, it's giving lore π 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_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_add_entry(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, the whole friend group, fr fr β every one of them is a real page and every one of them matters. π§
And that's the page!! Signing off from ./drivers/net/ethernet/intel/ice π β this one's dated October 2026 and it's filed under ice_flow_add_prof_sync(9), so screenshot it, save it, live by it. Slay. π
β¨
π¦ 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