ice_erase_nvm_module(9)
π ice_erase_nvm_module(9) β Kernel API Manual, bestie edition β¨
πΈ NAME
ice_erase_nvm_module β erase an NVM module and await firmware completion. Thatβs the whole assignment, no cap. π
β¨ SYNOPSIS
int ice_erase_nvm_module (struct ice_pf *pf , u16 module , const char
*component , struct netlink_ext_ack *extack );
π ARGUMENTS
pfβ the PF data structure. Main character struct energy. π«Άmoduleβ the module to erase. Yep, that one. πcomponentβ name of the component being updated. Keep it exact, bestie. πextackβ netlink extended ACK structure. Itβs giving extended ACK realness. β¨
π¦ DESCRIPTION
Erase the inactive NVM bank associated with this module, and await for a completion response message from firmware. So itβs literally βclear the inactive bank, then wait for firmware to text back that itβs done.β π
Note this function assumes the caller has acquired the NVM resource. Do not skip that part, bestie β the note is right there. π¨
π RETURN
Zero on success, or a negative error code on failure. Zero = slay β ; negative error code = sad little firmware moment π.
π SEE ALSO
- Kernel file:
./drivers/net/ethernet/intel/ice/ice_fw_update.c ice_send_package_data(9)ice_check_component_response(9)ice_send_component_table(9)ice_write_one_nvm_block(9)ice_write_nvm_module(9)ice_switch_flash_banks(9)ice_flash_component(9)ice_finalize_update(9)ice_op_pci_match_record(9)ice_get_pending_updates(9)ice_cancel_pending_update(9)ice_devlink_flash_update(9)
Cute little footer sign-off, because bestie deserves closure: source/version ./drivers/net/ethernet/intel/ice β’ date October 2026 β’ page ice_erase_nvm_module(9) β bye, go erase responsibly πβ¨
π¦ 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