ice_op_pci_match_record(9)
π ice_op_pci_match_record β bestie, does this PCI device match the record? π
okay so real talk, this is a page from the Kernel API Manual and it's literally called ice_op_pci_match_record(9) and it's lowkey the vibe check for PCI devices. let's get into it π«Ά
β¨ SYNOPSIS β¨
bool ice_op_pci_match_record (struct pldmfw *context , struct
pldmfw_record *record );
like, it takes two things and gives you back a bool. periodt β¨
π ARGUMENTS π
contextβ the PLDM fw update structure, she's the whole setup, the main character of the firmware-update world πrecordβ the list of records extracted from the PLDM image, aka the receipts we're checking against π
π¦ DESCRIPTION π¦
so the whole point, bestie: it determines if the PCI device associated with this device matches the record data provided. like, does this device belong with this record or not, iykyk π§
how does she do it? she searches the descriptor TLVs and extracts the relevant descriptor data into a pldm_pci_record_id. then that gets compared against the PCI device ID information. no cap, that's the whole move π
πΈ RETURN πΈ
trueif the device matches the record β¨falseotherwise π
π₯ SEE ALSO π₯
- Kernel file
./drivers/net/ethernet/intel/ice/ice_fw_update.cβ yes girl, go read the source π 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_erase_nvm_module(9)ice_switch_flash_banks(9)ice_flash_component(9)ice_finalize_update(9)ice_get_pending_updates(9)ice_cancel_pending_update(9)ice_devlink_flash_update(9)
π«Ά friendly reminder thattrue/falseare literally the whole return contract here β no secret third option, no hidden error code, just vibes and booleans π
k bye bestie, this page came from ./drivers/net/ethernet/intel/ice and the version is dated October 2026, so like, it's giving very much current πβ¨ go forth and match those records, ice_op_pci_match_record(9), slay π
π
π¦ 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