ice_determin..._flash_banks(9)
hii bestie π welcome to the Kernel API Manual page for ice_determin..._flash_banks(9) β we're about to make active flash banks make sense, no cap.
πΈ NAME πΈ
ice_determine_active_flash_banks β discover active bank for each module β¨
β¨ SYNOPSIS β¨
int ice_determine_active_flash_banks (struct ice_hw *hw );
π ARGUMENTS π
hwβ pointer to the HW struct π«Ά
π¦ DESCRIPTION π¦
okay so this function is literally doing a little detective mission π it reads the Shadow RAM control word and figures out which banks are active for the NVM, OROM, and Netlist modules.
then it also reads and calculates the associated pointer and size. those values get cached into the ice_flash_info structure for later use, so future code can calculate the correct offset to read from the active module. it's giving "prep now, slay later" π
π SEE ALSO π
Kernel file ./drivers/net/ethernet/intel/ice/ice_nvm.c β that's where the whole squad lives π§
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_discover_flash_size(9)ice_read_sr_pointer(9)ice_read_sr_area_size(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)
mwah π β sourced from ./drivers/net/ethernet/intel/ice, dated October 2026, page ice_determin..._flash_banks(9). periodt π
π¦ 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