i40e_read_nvm_word(9)
π i40e_read_nvm_word β nvm word reading, but make it iconic
So bestie, we're in the Kernel API Manual today, and the function we're stanning is i40e_read_nvm_word. It reads an nvm word and, lowkey, acquires the lock if it needs to. Period.
β¨ NAME β¨
i40e_read_nvm_word β reads nvm word and acquires the lock if it's necessary π
π¦ SYNOPSIS π¦
int i40e_read_nvm_word (struct i40e_hw *hw , u16 offset , u16 *data );
That's it. That's the whole flex. π
πΈ ARGUMENTS πΈ
hwβ pointer to the HW structure. like, the whole hardware situation, hand it over. π«Άoffsetβ offset of the Shadow RAM word to read. Valid range is0x000000β0x001FFF, no cap. go outside that and you're on your own bestie πdataβ the word read from the Shadow RAM. this is where the answer lands. the main character, truly. π
π DESCRIPTION π
Reads one 16 bit word from the Shadow RAM. Literally one word. Sixteen bits. Not more, not less. It's giving precision. β¨
ngl, that's the entire description β even the manpage said "that's it" and moved on. we respect the brevity. π
π₯ SEE ALSO π₯
Kernel file ./drivers/net/ethernet/intel/i40e/i40e_nvm.c β go read the source, iykyk π§
Then the whole friend group, in order, because the manpage lists them all and we are not skipping anyone:
i40e_init_nvm(9)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_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)
Every single one. ate and left no crumbs. π
Okay that's the page!! π It lives in ./drivers/net/ethernet/intel/i40e, dated October 2026, and it's the i40e_read_nvm_word(9) page from the Kernel API Manual β and yes, that's literally the whole sign-off, we're done here bestie. ππβ¨
π¦ 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