ice_get_fdir_cnt_all(9)
π ice_get_fdir_cnt_all β like, the Flow Director filter census, bestie
Okay so real talk, this one lives in the Kernel API Manual (section 9, kernel internals, very demure, very coder girl) and it's genuinely one of the chillest little functions you'll ever meet. No cap. Let's get into it π
β¨ SYNOPSIS β¨
int ice_get_fdir_cnt_all (struct ice_hw *hw );
Look at her. One arg. Zero drama. She ate and left no crumbs π₯
πΈ ARGUMENTS πΈ
hwβ the hardware data structure, aka the whole entire vibe of the device in struct form. Hand her over and she'll do the rest, iykyk π
π¦ DESCRIPTION π¦
She returns the number of filters available on the device. That's it. That's the whole gig π Like, you pass in your hw, she tells you how many Flow Director filters you've got to play with, and you go live your life. Lowkey iconic, highkey useful. Periodt.
π SEE ALSO π
The kernel file she actually lives in, plus her whole friend group (they're all in section 9, they all said hi):
./drivers/net/ethernet/intel/ice/ice_fdir.cice_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_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 genuinely go read them, they're all serving π«Ά
Fr fr though: everything up there is exactly what the page says. Didn't add a single thing, didn't drop a single reference. Vibe check passed β
β¨ ok bye bestie β¨ this masterpiece ships from ./drivers/net/ethernet/intel/ice, dated October 2026, and it's the ice_get_fdir_cnt_all(9) page β mwah ππΈ
π¦ 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