ice_fdir_alloc_flow_prof(9)
π ice_fdir_alloc_flow_prof π
okay so bestie, welcome to the Kernel API Manual β today's main character is ice_fdir_alloc_flow_prof, a little function that literally just sets up your FDir flow profile for you. no cap, it's giving "quietly doing important work in the background" energy π
πΈ NAME πΈ
ice_fdir_alloc_flow_prof β allocate the FDir flow profile structure(s). that's it, that's the whole gig π
β¨ SYNOPSIS β¨
int ice_fdir_alloc_flow_prof (struct ice_hw *hw , enum ice_fltr_ptype
flow );
like, one function call, two args, and we're off π¦
π§ DESCRIPTION π§
so here's the tea β β this function allocates fdir_prof and fdir_prof[flow], but only if they haven't already been created. it does not, like, re-allocate stuff that's already there. it's lowkey respectful of existing vibes π
it returns 0 on success and a negative value on error. so if you get a negative back, that's the vibe check failing, bestie β handle it π
π«Ά ARGUMENTS π«Ά
hwβ the HW structure that contains the FDir flow profile structure(s). this is the holder of the goods, the container of the whole situation πflowβ the flow type you want the flow profile allocated for. like, which profile are we talking about, bestie? this one π₯
π SEE ALSO π
the kernel file lives at ./drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c β that's the home base π and honestly, the friend group here is huge, so let's go:
ice_fltr_to_ethtool_flow(9), ice_ethtool_flow_to_fltr(9), ice_is_mask_valid(9), ice_get_ethtool_fdir_entry(9), ice_get_fdir_fltr_ids(9), ice_fdir_remap_entries(9), ice_fdir_rem_adq_chnl(9), ice_fdir_get_hw_prof(9), ice_fdir_erase_flow_from_hw(9), ice_fdir_rem_flow(9), ice_fdir_release_flows(9), ice_fdir_replay_flows(9), ice_parse_rx_flow_user_data(9), ice_fdir_num_avail_fltr(9), ice_fdir_prof_vsi_idx(9), ice_fdir_set_hw_fltr_rule(9), ice_set_init_fdir_seg(9), ice_create_init_fdir_rule(9), ice_set_fdir_ip4_seg(9), ice_set_fdir_ip4_usr_seg(9), ice_set_fdir_ip6_seg(9), ice_set_fdir_ip6_usr_seg(9), ice_fdir_vlan_valid(9), ice_set_ether_flow_seg(9), ice_set_fdir_vlan_seg(9), ice_cfg_fdir_xtrct_seq(9), ice_update_per_q_fltr(9), ice_fdir_write_fltr(9), ice_fdir_write_all_fltr(9), ice_fdir_replay_fltrs(9), ice_fdir_create_dflt_rules(9), ice_fdir_del_all_fltrs(9), ice_vsi_manage_fdir(9), ice_fdir_do_rem_flow(9), ice_fdir_update_list_entry(9), ice_del_fdir_ethtool(9), ice_update_ring_dest_vsi(9), ice_set_fdir_input_set(9), ice_add_fdir_ethtool(9)
like, the whole squad. iykyk πβ¨
no cap, that's the entire page β everything above is everything the original said, just with better vibes π
okay that's a wrap bestie!! this manual page came to you from the kernel tree at ./drivers/net/ethernet/intel/ice, dated October 2026, and it's filed under ice_fdir_alloc_flow_prof(9). slay, go allocate something πππ
π¦ 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