ice_get_pfa_module_tlv(9)
π ice_get_pfa_module_tlv(9) β Kernel API Manual energy β¨
okay bestie, welcome to the ice_get_pfa_module_tlv page, straight outta section 9 of the Kernel API Manual π«Ά this one's a lil function that goes digging in the NVM for you, and honestly? iconic behavior.
πΈ NAME πΈ
ice_get_pfa_module_tlv β reads sub module TLV from NVM PFA πΎβ¨
π SYNOPSIS π
int ice_get_pfa_module_tlv (struct ice_hw *hw , u16 *module_tlv , u16
*module_tlv_len , u16 module_type );
like, that's the whole signature, no cap π§
π¦ ARGUMENTS π¦
hwβ pointer to hardware structure, the main character of this whole operation πmodule_tlvβ pointer to module TLV to return, so it can hand you the good stuff back πmodule_tlv_lenβ pointer to module TLV length to return, because you gotta know how big the vibe is πmodule_typeβ module type requested, aka what you're actually looking for π
β DESCRIPTION β
so here's the tea β this function finds the requested sub module TLV type from the Preserved Field Area (PFA) and returns the TLV pointer and length. then the caller can use these to read the variable length TLV value π slay, that's it, that's the whole job.
lowkey efficient, we love a function that knows its purpose π
π SEE ALSO π
Kernel file ./drivers/net/ethernet/intel/ice/ice_nvm.c β go read it fr fr π
and the whole friend group π:
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_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)
ngl that's a whole squad π«Ά click through them whenever you need backup.
okay that's the page!! mwah π this lil rewrite came to you from ./drivers/net/ethernet/intel/ice, dated October 2026, and yes it's still ice_get_pfa_module_tlv(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