ice_fdir_update_cntrs(9)
π ice_fdir_update_cntrs(9) π
okay bestie, so this is a page from the Kernel API Manual β section 9, kernel API β and it's all about one tiny little function called ice_fdir_update_cntrs. that's the whole name section, we're done, slay β¨
β¨ NAME β¨
ice_fdir_update_cntrs β increment / decrement filter counter π
like. that's the whole personality. it counts filters. up or down. iconic behaviour honestly.
πΈ SYNOPSIS πΈ
void ice_fdir_update_cntrs (struct ice_hw *hw , enum ice_fltr_ptype flow
, bool add );
note the void β this one returns literally nothing, it just does its little counter thing and vibes. no return value, no drama, no exit status. periodt π
π¦ ARGUMENTS π¦
three args, all of them important, let's go through them one by one:
hwβ pointer to hardware structure. yeah, it's the hardware struct. the main character. give it what it needs π«Άflowβ filter flow type, as anenum ice_fltr_ptype. this is which flavour of flow we're talking about.addβ abool, and here's the tea:trueimplies filters added. that's it, that's the flag. if it'struewe're going up, bestie π
ngl the argument descriptions are short and that's fine, don't come for me, that's literally all the page says π
π₯ SEE ALSO π₯
buckle up, this list is LONG and we are NOT skipping a single one, the way this manpage cross-references itself is giving main character energy π
- 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_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_cmp_ipv6_addr(9)ice_fdir_comp_rules(9)ice_fdir_is_dup_fltr(9)
that's the whole squad, every single one, fr fr π
and that's the page!! source/version vibes live in ./drivers/net/ethernet/intel/ice, dated October 2026, and this whole thing is ice_fdir_update_cntrs(9) β ily, go increment something responsibly πβ¨π
π¦ 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