ice_free_res_cntr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ§ŠπŸ’– ice_free_res_cntr(9) β€” Kernel API Manual πŸ’–πŸ§Š

okay bestie, welcome to ice_free_res_cntr(9) from the Kernel API Manual β€” this one is literally about freeing a resource counter, and the way it’s giving β€œcleanup era” is so real πŸ’…βœ¨


🌸 NAME 🌸

ice_free_res_cntr β€” free resource counter. that’s the name, that’s the vibe, and honestly it ate 🫢


🫢 SYNOPSIS 🫢

here’s the exact signature, no cap:

int ice_free_res_cntr (struct ice_hw *hw , u8 type , u8 alloc_shared ,
       u16 num_items , u16 counter_id );

✨ ARGUMENTS ✨

  • hw β€” pointer to the hardware structure. literally the hardware struct pointer, bestie 🫢
  • type β€” type of resource. yep, the resource’s type 🌈
  • alloc_shared β€” if set it is shared else dedicated. set = shared, otherwise dedicated πŸ’…
  • num_items β€” number of entries to be freed for FD resource type. FD resource type specifically, okay? πŸ‘‘
  • counter_id β€” counter ID resource which needs to be freed. the counter ID that needs freeing, periodt ✨

πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file is ./drivers/net/ethernet/intel/ice/ice_switch.c β€” and the whole friend group is here, no cap:


anyway, that’s the whole page, bestie 🫢 β€” source/version: ./drivers/net/ethernet/intel/ice, dated October 2026, and the page is ice_free_res_cntr(9). mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from