ice_alloc_fd_shrd_item(9)
β¨ ice_alloc_fd_shrd_item(9) β¨
okay so bestie, welcome to the Kernel API Manual, section 9, page ice_alloc_fd_shrd_item(9) π
this one's a little baby function but she's important β she's out here allocating resources for flow director shared entries π¦
πΈ NAME πΈ
ice_alloc_fd_shrd_item β allocate resource for flow director shared entries, no cap π
π SYNOPSIS π
int ice_alloc_fd_shrd_item (struct ice_hw *hw , u16 *cntr_id , u16
num_fltr );
like literally that's it, she's an int returning lil icon β¨
π ARGUMENTS π
hwβ pointer to the hardware structure π«Ά (the main character of this whole operation, honestly)cntr_idβ returns counter index π₯ so yeah, she writes back into this onenum_fltrβ number of filter entries to be allocated π
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/intel/ice/ice_fdir.cβ ice_set_dflt_val_fd_desc(9)ice_set_fd_desc_val(9)ice_fdir_get_prgm_desc(9)ice_alloc_fd_res_cntr(9)ice_free_fd_res_cntr(9)ice_alloc_fd_guar_item(9)ice_get_fdir_cnt_all(9)ice_pkt_insert_ipv6_addr(9)ice_pkt_insert_u6_qfi(9)ice_pkt_insert_u8(9)ice_pkt_insert_u8_tc(9)ice_pkt_insert_u16(9)ice_pkt_insert_u32(9)ice_pkt_insert_mac_addr(9)ice_fdir_get_gen_prgm_pkt(9)ice_fdir_has_frag(9)ice_fdir_find_fltr_by_idx(9)ice_fdir_list_add_fltr(9)ice_fdir_update_cntrs(9)ice_cmp_ipv6_addr(9)ice_fdir_comp_rules(9)ice_fdir_is_dup_fltr(9)
like the whole friend group fr fr, go read them too π§
π reminder bestie: cntr_id is an output β she fills it in for you. don't go reading it before the call like it's gonna have anything useful in it π
and that's the page!! mwah π this iconic lil entry lives in ./drivers/net/ethernet/intel/ice, dated October 2026, and yes she ships as ice_alloc_fd_shrd_item(9) β slay, periodt, go allocate some shared entries bestie ππΈ
π¦ 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