ice_read_sr_area_size(9)
π NAME π
okay bestie, welcome to ice_read_sr_area_size(9) β a Kernel API Manual page, and it's literally about reading an area size from a Shadow RAM word β¨π
πΈ SYNOPSIS πΈ
int ice_read_sr_area_size (struct ice_hw *hw , u16 offset , u32 *size );
π«Ά ARGUMENTS π«Ά
hwβ pointer to the HW structure π§offsetβ the word offset of the Shadow RAM to read π₯sizeβ size value read from the Shadow RAM π
π DESCRIPTION π
So basically: it reads the given Shadow RAM word and converts it into an area size value specified in bytes β¨. This function assumes the specified offset is a valid area size word β like, don't come for it with a random invalid offset, okay? π
Each area size word is specified in 4KB sector units, and this function reports the size in bytes β intended for flat NVM reads ππ¦
π SEE ALSO π
Kernel file: ./drivers/net/ethernet/intel/ice/ice_nvm.c β go check it out, bestie π
Also in the group chat: 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_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) πβ¨
cute sign-off: this one comes from the source path ./drivers/net/ethernet/intel/ice, stamped October 2026, under the ice_read_sr_area_size(9) title β byeee bestie, slay responsibly π«Άπ
π¦ 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