ice_get_pfa_module_tlv(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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