ice_read_nvm_module(9)
π ice_read_nvm_module(9) β bestie's guide to the kernel API manual
okay so this is ice_read_nvm_module, straight out of the kernel API manual, and it's literally exactly what it sounds like: reading a lil word out of the active main NVM module. iconic behaviour, no cap. π¦
β¨ NAME β¨
ice_read_nvm_module β reads from the active main NVM module. that's it, that's the vibe. π
πΈ SYNOPSIS πΈ
int ice_read_nvm_module (struct ice_hw *hw , enum ice_bank_select bank ,
u32 offset , u16 *data );
like, she takes four things and returns an int. slay. π
π«Ά ARGUMENTS π«Ά
hwβ pointer to the HW structure. the main character of this whole lil operation, fr fr. πbankβ tells you whether to read from the active or the inactive NVM module. pick your fighter. βoffsetβ offset into the NVM module to read, in words. yes, words β not bytes, don't come for me. π₯dataβ storage for the returned word value. this is where the good stuff lands. π
π DESCRIPTION π
so the way that this works is: it reads the specified word from the active NVM module. and bestie, that includes the CSS header at the start of the NVM module β yes, that part too, it's all in scope. π
ngl the whole thing is very much "gimme one word at this offset and I'll hand it back through data". simple, clean, obsessed. π
π₯ SEE ALSO π₯
the kernel file lives right here: ./drivers/net/ethernet/intel/ice/ice_nvm.c β go read her, she's iconic. π§
and here's the whole friend group, all of them, in order, no one left out: π
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_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_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)
go text them, they all reply, it's giving supportive. π«Ά
and that's the whole page bestie!! source is ./drivers/net/ethernet/intel/ice, dated October 2026, and she's filed under ice_read_nvm_module(9) β love that for her. bye mwah πβ¨π
π¦ 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