i40e_nvmupd_nvm_erase(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 bestie
  • cmd β€” pointer to nvm update command buffer πŸ“¦ this is where all the juicy instructions are living
  • perrno β€” 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:


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