ice_read_sr_area_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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