ice_get_netlist_info(9)
π ice_get_netlist_info(9) β a Kernel API Manual moment
okay so bestie, we're in the kernel API manual today, and this one is a function called ice_get_netlist_info β yes the NAME section is literally just vibes and nothing else, no description given, she's mysterious like that π
β¨ SYNOPSIS β¨
int ice_get_netlist_info (struct ice_hw *hw , enum ice_bank_select bank
, struct ice_netlist_info *netlist );
that's the whole signature, no cap. she takes three things and hands you back an int. π
πΈ ARGUMENTS πΈ
hwβ pointer to the HW struct π«Ά that's it, that's the whole description, she's a simple girlbankβ tells us whether to read from the active or the inactive flash bank π you literally pick a sidenetlistβ pointer to the netlist version info structure β this is where the goodies land
π¦ DESCRIPTION π¦
so what does she actually do? she gets the netlist version information from whichever bank you asked for β the requested bank, exactly the one you named, no surprises π
the way she does it: she reads the Link Topology section to find the Netlist ID block, and then she extracts the relevant information out of it and drops it into the netlist version structure. that's the whole flex. read the section, find the block, extract the info, boom. iconic. β¨
π₯ SEE ALSO π₯
the source file lives at:
./drivers/net/ethernet/intel/ice/ice_nvm.c
and here's the whole friend group, no one gets left out (yes, all thirty of them, I counted, we do not skip the boring parts in this house π):
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_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)
that's the page, bestie. stay hydrated, read your flash banks responsibly. π§π
sign-off time: this little beauty came out of ./drivers/net/ethernet/intel/ice π and she's stamped October 2026 β same name going out as coming in, ice_get_netlist_info(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