ice_discover_flash_size(9)
π NAME π
okay so bestie, meet ice_discover_flash_size(9) from the Kernel API Manual β her whole thing is to discover the available flash size. iconic behavior, no cap. β¨
π¦ SYNOPSIS π¦
int ice_discover_flash_size (struct ice_hw *hw );
π ARGUMENTS π
hwβ pointer to the HW struct. that's the whole argument, bestie, she's lowkey low-maintenance. π«Ά
πΈ DESCRIPTION πΈ
so the device flash could be up to 16MB in size β yes, big flash energy β but it is possible that the actual size is smaller. π
the move is to use bisection to determine the accessible size of flash memory. periodt. that's the vibe, and we are not inventing extra steps. π
π₯ SEE ALSO π₯
the kernel file to peek at is literally this one:
./drivers/net/ethernet/intel/ice/ice_nvm.c
and here's the whole squad of references, in order, no skips:
ice_aq_read_nvm(9)ice_read_flat_nvm(9)ice_aq_update_nvm(9)ice_aq_erase_nvm(9)ice_read_sr_word(9)ice_acquire_nvm(9)ice_release_nvm(9)ice_get_flash_bank_offset(9)ice_read_flash_module(9)ice_read_nvm_module(9)ice_read_nvm_sr_copy(9)ice_read_netlist_module(9)ice_get_pfa_module_tlv(9)ice_read_pba_string(9)ice_get_nvm_ver_info(9)ice_get_inactive_nvm_ver(9)ice_get_orom_civd_data(9)ice_get_orom_ver_info(9)ice_get_inactive_orom_ver(9)ice_get_netlist_info(9)ice_get_inactive_netlist_ver(9)ice_read_sr_pointer(9)ice_read_sr_area_size(9)ice_determine_active_flash_banks(9)ice_get_nvm_css_hdr_len(9)ice_determine_css_hdr_len(9)ice_init_nvm(9)ice_nvm_validate_checksum(9)ice_nvm_write_activate(9)ice_aq_nvm_update_empr(9)
that's the whole manual-page vibe check, bestie π source/version line is ./drivers/net/ethernet/intel/ice, date is October 2026, and yes the page is ice_discover_flash_size(9). ππ¦β¨
π¦ 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