i40e_nvmupd_nvm_erase(9)
π i40e_nvmupd_nvm_erase β Kernel API Manual β¨
okay so bestie, welcome to the Kernel API Manual entry for i40e_nvmupd_nvm_erase, and no cap this one is a little baddie with a big job π she literally exists to erase an NVM module, and honestly? iconic.
πΈ NAME πΈ
i40e_nvmupd_nvm_erase β Erase an NVM module π
yeah that's the whole gig, she wipes it, periodt.
β¨ SYNOPSIS β¨
int i40e_nvmupd_nvm_erase (struct i40e_hw *hw , struct i40e_nvm_access
*cmd , int *perrno );
that's the signature fr fr β three args, one int coming back at you π«Ά
π¦ ARGUMENTS π¦
hwβ pointer to hardware structure π like, the actual hardware vibe itself, she needs the pointer bestiecmdβ pointer to nvm update command buffer π¦ this is where all the juicy instructions are livingperrnoβ pointer to return error code π it's a pointer, so the error code gets written back out through it, not just returned, iykyk
π DESCRIPTION π
okay so here's the tea π β module, offset, data_size and data are all in the cmd structure. that's it, that's the description, they all live in cmd and she reads them from there. lowkey efficient, highkey slay π
heads up babes: those four fields are inside the cmd structure β that's not me being cute, that's literally where they are π«Ά
π§ SEE ALSO π§
the whole friend group π like a group chat where everyone actually knows their stuff:
- Kernel file
./drivers/net/ethernet/intel/i40e/i40e_nvm.cπ 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_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_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 bestie, go erase some NVM modules responsibly πβ¨
sign-off time π this little masterpiece lives in ./drivers/net/ethernet/intel/i40e, it's dated October 2026, and the page itself is i40e_nvmupd_nvm_erase(9) β mwah, stan her, bye π
π¦ 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