ice_fdir_get_prgm_desc(9)
π ice_fdir_get_prgm_desc(9) π
ok so bestie, we're deep in the kernel API manual (section 9, iykyk) and today's main character is ice_fdir_get_prgm_desc β the little function that sets a fdir descriptor from a fdir filter struct. that's it, that's the job. she's a setter baddie and she ate. β¨
πΈ NAME πΈ
ice_fdir_get_prgm_desc β set a fdir descriptor from a fdir filter struct
no cap, that's literally the whole vibe. you hand her a filter struct, she hands you back a descriptor. iconic behavior. π
π¦ SYNOPSIS π¦
void ice_fdir_get_prgm_desc (struct ice_hw *hw , struct ice_fdir_fltr
*input , struct ice_fltr_desc *fdesc , bool add );
she returns void (no receipts, she doesn't send one back) and takes four things. let's meet them π
π ARGUMENTS π
hwβ pointer to the hardware structure π» lowkey the whole personality of the machine lives in hereinputβ the filter πΈ this is the vibe you're working fromfdescβ the filter descriptor π― this is where the result ends upaddβ ifaddistrue, this is an add operation;falseimplies delete π₯ so like, are we adding or are we deleting? the bool decides, periodt
bestie pls respect the difference βtrue= add,false= delete. there's no "maybe" here, it's abool, not a situationship π
π SEE ALSO π
the whole friend group, fr fr β they all live in the kernel file ./drivers/net/ethernet/intel/ice/ice_fdir.c:
ice_set_dflt_val_fd_desc(9)ice_set_fd_desc_val(9)ice_alloc_fd_res_cntr(9)ice_free_fd_res_cntr(9)ice_alloc_fd_guar_item(9)ice_alloc_fd_shrd_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)
ok that's the whole page, you understood it perfectly, I'm so proud of you π«Άπ
<div>sign-off szn: this one comes from ./drivers/net/ethernet/intel/ice, dated October 2026. mwah, go read some more manpages bestie ππβ</div>
π¦ 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