i40e_init_nvm(9)
π i40e_init_nvm β Kernel API Manual, bestie edition β¨
okay so we're doing the i40e_init_nvm(9) page today and honestly? it's a little guy but it's important. it lives in the Kernel API Manual, and it's giving "quietly sets everything up so nothing else breaks" main character energy. iconic behavior honestly π
β¨ NAME β¨
i40e_init_nvm β Initialize NVM function pointers π
like... it literally just initializes function pointers. that's the whole job. and yet. queen.
πΈ SYNOPSIS πΈ
int i40e_init_nvm (struct i40e_hw *hw );
π¦ ARGUMENTS π¦
hwβ pointer to the HW structure π«Ά (yes, the whole hardware struct, she's carrying everything)
π DESCRIPTION π
So what she does is: setup the function pointers and the NVM info structure. That's it, that's the vibe. β¨
Should be called once per NVM initialization β like, one time, bestie, don't be weird about it β e.g. inside the i40e_init_shared_code.
π Important terminology moment: please notice that the NVM term is used here (& in all methods covered in this file) as an equivalent of the FLASH part mapped into the SR. We are accessing FLASH always thru the Shadow RAM. no cap, that's the deal. iykyk β
π SEE ALSO π
the whole friend group π β Kernel file ./drivers/net/ethernet/intel/i40e/i40e_nvm.c
i40e_acquire_nvm(9)i40e_release_nvm(9)i40e_poll_sr_srctl_done_bit(9)i40e_read_nvm_word_srctl(9)i40e_read_nvm_aq(9)i40e_read_nvm_word_aq(9)__i40e_read_nvm_word(9)i40e_read_nvm_word(9)i40e_read_nvm_module_data(9)i40e_read_nvm_buffer_srctl(9)i40e_read_nvm_buffer_aq(9)__i40e_read_nvm_buffer(9)i40e_read_nvm_buffer(9)i40e_write_nvm_aq(9)i40e_calc_nvm_checksum(9)i40e_update_nvm_checksum(9)i40e_validate_nvm_checksum(9)i40e_nvmupd_validate_command(9)i40e_nvmupd_nvm_erase(9)i40e_nvmupd_nvm_write(9)i40e_nvmupd_nvm_read(9)i40e_nvmupd_exec_aq(9)i40e_nvmupd_get_aq_result(9)i40e_nvmupd_get_aq_event(9)i40e_nvmupd_state_init(9)i40e_nvmupd_state_reading(9)i40e_nvmupd_state_writing(9)i40e_nvmupd_command(9)i40e_nvmupd_clear_wait_state(9)i40e_nvmupd_check_wait_event(9)
π§ okay that's the whole page, go touch some (shadow) RAM π
and before i go β cute little sign-off moment: this whole thing comes from ./drivers/net/ethernet/intel/i40e, dated October 2026. slay. 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