lpfc_io_slot_reset_s3(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… lpfc_io_slot_reset_s3(9) β€” reset queen energy πŸ’…

okay bestie, welcome to the Kernel API Manual page for lpfc_io_slot_reset_s3(9) 🫢 this is the lil routine that restarts a PCI SLI-3 device from scratch, and yes it's giving β€œfactory reset but make it kernel” ✨


✨ NAME ✨

lpfc_io_slot_reset_s3 β€” method for restarting a PCI SLI-3 device from scratch, fr fr πŸŽ€

🌸 SYNOPSIS 🌸

pci_ers_result_t lpfc_io_slot_reset_s3 (struct pci_dev *pdev );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • pdev β€” pointer to PCI device, aka the device we're resetting, no cap πŸ’–

πŸ”₯ DESCRIPTION πŸ”₯

This routine is called from the PCI subsystem for error handling to a device with the SLI-3 interface spec πŸ› οΈ it gets called after the PCI bus has been reset, to restart the PCI card from scratch, as if it's coming back from a cold-boot πŸ₯Ά

During PCI subsystem error recovery, after the driver returns PCI_ERS_RESULT_NEED_RESET, the PCI subsystem will perform proper error recovery and then call this routine before calling the .resume method to recover the device πŸ” periodt.

This function will initialize the HBA device and enable the interrupt, but it will just put the HBA to offline state without passing any I/O traffic πŸ˜ŒπŸ’…

Return codes, so you know what's tea:

  • PCI_ERS_RESULT_RECOVERED β€” the device has been recovered, slay πŸ’–
  • PCI_ERS_RESULT_DISCONNECT β€” device could not be recovered 😭

πŸ’œ SEE ALSO πŸ’œ

Kernel file: ./drivers/scsi/lpfc/lpfc_init.c 🌈 and here's the whole squad, every single ref, zero skips:


okay that's the whole page, bestie πŸ’– source/version is ./drivers/scsi/lpfc, date is October 2026, and the page is lpfc_io_slot_reset_s3(9) β€” mwah πŸ’‹

πŸ“¦ where this page comes from