ixgbe_write_one_nvm_block(9)
π
ixgbe_write_one_nvm_block(9) π
okay bestie, this one is straight out of the Kernel API Manual, and itβs giving βfirmware update main character energyβ fr fr. Weβre writing one NVM block and then waiting for the completion response, so letβs get into it π«Άβ¨
πΈ NAME πΈ
ixgbe_write_one_nvm_block β write an NVM block and await completion response π
π SYNOPSIS π
int ixgbe_write_one_nvm_block (struct ixgbe_adapter *adapter , u16
module , u32 offset , u16 block_size , u8 *block , bool last_cmd ,
struct netlink_ext_ack *extack );
π¦ ARGUMENTS π¦
adapterβ the PF data structure, aka the main character here πmoduleβ the module to write to, no capoffsetβ offset in bytes, literally where the data goesblock_sizeβ size of the block to write, up to4kπblockβ pointer to block of data to write, the actual payload bestielast_cmdβ whether this is the last command, iykykextackβ netlink extended ACK structure, fancy β¨
π DESCRIPTION π
Write a block of data to a flash module, and await for the completion response message from firmware. Thatβs the whole vibe: send the block, then wait for firmware to respond π₯
π¨ Bestie, heads up: this function assumes the caller has acquired the NVM resource. Like, thatβs not optional β itβs a whole assumption in the function.
On successful return, reset level indicates the device reset required to complete the update. So the reset level is telling you what kind of reset the device needs to finish the update:
0βIXGBE_ACI_NVM_POR_FLAGβ a full power on is required1βIXGBE_ACI_NVM_PERST_FLAGβ a cold PCIe reset is required2βIXGBE_ACI_NVM_EMPR_FLAGβ an EMP reset is required
β RETURN β
0 on success, or a negative error code on failure. Periodt πβ¨
π SEE ALSO π
- Kernel file:
./drivers/net/ethernet/intel/ixgbe/ixgbe_fw_update.c ixgbe_send_package_data(9)ixgbe_check_component_response(9)ixgbe_send_component_table(9)ixgbe_write_nvm_module(9)ixgbe_erase_nvm_module(9)ixgbe_switch_flash_banks(9)ixgbe_flash_component(9)ixgbe_finalize_update(9)ixgbe_get_pending_updates(9)ixgbe_cancel_pending_update(9)ixgbe_flash_pldm_image(9)
okay thatβs the whole page, bestie π cute sign-off time: source/version ./drivers/net/ethernet/intel/i..., dated October 2026, page name ixgbe_write_one_nvm_block(9). mwah ππ
π¦ 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