ice_pkg_enum_entry(9)
๐ ice_pkg_enum_entry(9) โ from the Kernel API Manual ๐
Hiii bestie!! Welcome to ice_pkg_enum_entry(9) from the Kernel API Manual. This is the whole page, translated into group-chat, but every fact is staying exactly where it belongs. ๐ซถโจ
๐ธ NAME ๐ธ
ice_pkg_enum_entry โ and thatโs literally it, bestie. The original NAME section is just the function name plus a dash. No description, no extra lore, just main-character name energy. ๐
โญ SYNOPSIS โญ
void * ice_pkg_enum_entry (struct ice_seg *ice_seg , struct ice_pkg_enum
*state , u32 sect_type , u32 *offset , void *(*handler)(u32 sect_type,
void *section, u32 index, u32 *offset) );
๐ ARGUMENTS ๐
ice_segโ pointer to the ice segment (orNULLon subsequent calls). ๐งstateโ pointer to the enum state. ๐sect_typeโ section type to enumerate. ๐offsetโ pointer to variable that receives the offset in the table (optional). ๐handlerโ function that handles access to the entries into the section type. ๐ซถ
๐ฆ DESCRIPTION ๐ฆ
Okay so this function will enumerate all the entries in a particular section type in the ice segment. The first call is made with the ice_seg parameter non-NULL; on subsequent calls, ice_seg is set to NULL, which continues the enumeration. When the function returns a NULL pointer, then the end of the entries has been reached. Periodt. ๐
Since each section may have a different header and entry size, the handler function is needed to determine the number and location entries in each section. (Yes, โnumber and location entriesโ is exactly how the original says it โ keeping it, bestie. ๐ญ)
Offset tea: theoffsetparameter is optional, but it should be used for sections that contain an offset for each section table. For those cases, the section handler function must return the appropriateoffset + indexto give the absolution offset for each entry. The page really says โabsolutionโ, and we are not editing it โ no cap. ๐
For example, if the base for a sectionโs header indicates a base offset of 10, and the index for the entry is 2, then the section handler function should set the offset to 10 + 2 = 12. Math slay. ๐งฎโจ
๐ SEE ALSO ๐
Kernel file first, then the whole linked-up squad, all in the original order:
- Kernel file:
./drivers/net/ethernet/intel/ice/ice_ddp.c ice_verify_pkg(9)ice_free_seg(9)ice_chk_pkg_version(9)ice_pkg_val_buf(9)ice_find_buf_table(9)ice_pkg_enum_buf(9)ice_pkg_advance_sect(9)ice_pkg_enum_section(9)ice_sw_fv_handler(9)ice_get_prof_index_max(9)ice_get_ddp_pkg_state(9)ice_init_pkg_regs(9)ice_marker_ptype_tcam_handler(9)ice_add_dvm_hint(9)ice_add_tunnel_hint(9)ice_label_enum_handler(9)ice_enum_labels(9)ice_boost_tcam_handler(9)ice_find_boost_entry(9)ice_is_init_pkg_successful(9)ice_pkg_buf_alloc(9)ice_get_sw_prof_type(9)ice_get_sw_fv_bitmap(9)ice_get_sw_fv_list(9)ice_init_prof_result_bm(9)ice_pkg_buf_free(9)ice_pkg_buf_reserve_section(9)ice_pkg_buf_alloc_section(9)ice_pkg_buf_alloc_single_section(9)ice_pkg_buf_get_active_sections(9)ice_pkg_buf(9)ice_acquire_global_cfg_lock(9)ice_release_global_cfg_lock(9)ice_aq_download_pkg(9)ice_is_buffer_metadata(9)struct ice_ddp_send_ctx(9)ice_ddp_send_hunk(9)ice_dwnld_cfg_bufs_no_lock(9)ice_get_pkg_seg_by_idx(9)ice_is_signing_seg_at_idx(9)ice_is_signing_seg_type_at_idx(9)ice_download_pkg_sig_seg(9)ice_download_pkg_config_seg(9)ice_dwnld_sign_and_cfg_segs(9)ice_match_signing_seg(9)ice_post_dwnld_pkg_actions(9)ice_download_pkg_with_sig_seg(9)ice_dwnld_cfg_bufs(9)ice_download_pkg_without_sig_seg(9)ice_download_pkg(9)ice_aq_get_pkg_info_list(9)ice_aq_update_pkg(9)ice_aq_upload_section(9)ice_update_pkg_no_lock(9)ice_update_pkg(9)ice_find_seg_in_pkg(9)ice_has_signing_seg(9)ice_get_pkg_segment_id(9)ice_get_pkg_sign_type(9)ice_get_signing_req(9)ice_init_pkg_info(9)ice_get_pkg_info(9)ice_chk_pkg_compat(9)ice_init_pkg_hints(9)ice_fill_hw_ptype(9)ice_init_pkg(9)ice_copy_and_init_pkg(9)ice_get_set_tx_topo(9)ice_cfg_tx_topo(9)
Source/version: ./drivers/net/ethernet/intel/ice ยท Date: October 2026 ยท Page: ice_pkg_enum_entry(9). Thatโs the footer tea, bestie โ now go forth and enumerate with main character energy. ๐โจ๐
๐ฆ 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