__i40e_read_nvm_word(9)
π
__i40e_read_nvm_word β Kernel API Manual, but make it make sense π
okay bestie, welcome to the <pink>Kernel API Manual</pink> page for __i40e_read_nvm_word(9) β yes the double-underscore one, she's special, she's internal, she has lore π
β¨ NAME β¨
__i40e_read_nvm_word β reads an nvm word, and assumes the caller does the locking π like fr fr it is trusting you to have handled that already
πΈ SYNOPSIS πΈ
int __i40e_read_nvm_word (struct i40e_hw *hw , u16 offset , u16 *data );
like it returns an int, takes three things, that's the whole vibe β¨
π¦ ARGUMENTS π¦
hwβ pointer to the HW structure π you know, the hardware bestieoffsetβ offset of the Shadow RAM word to read (0x000000-0x001FFF) π― note the range, she has boundariesdataβ word read from the Shadow RAM π this is where the good stuff lands
π DESCRIPTION π
so basically it reads one 16 bit word from the Shadow RAM. one. singular. a little 16-bit snack π§β¨
β οΈ Do not use this function except in cases where the nvm lock is already taken viai40e_acquire_nvm. like. seriously. this is the whole point of the__. the lock is your job, not hers π no cap, if you call this without the lock you're on your own and it's not giving responsible engineering π
π₯ SEE ALSO π₯
Kernel file ./drivers/net/ethernet/intel/i40e/i40e_nvm.c β the mothership πΈ
and the whole friend group, alphabetically-ish, all of them, no one left out π«Ά
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)
like. that's the entire contact list. she's connected π
okay that's the page, ily, go take that lock first π β¨
this lil manual moment came from ./drivers/net/ethernet/intel/i40e and it's dated October 2026 β so, era-defining honestly ππ«Ά go forth and read that nvm word π
π¦ 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