lpfc_host_reset_handler(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, this page is lpfc_host_reset_handler(9) from the Kernel API Manual, and it's literally the scsi_host_template eh_host_reset_handler entry pt. no cap, that's the whole name vibe: lpfc_host_reset_handler β€” scsi_host_template eh_host_reset_handler entry pt. ✨

✨ SYNOPSIS ✨

int lpfc_host_reset_handler (struct scsi_cmnd *cmnd );

πŸŽ€ ARGUMENTS πŸŽ€

  • cmnd β€” pointer to the scsi_cmnd data structure. that's the argument, bestie, and honestly it's giving exactly what it needs to give. πŸ’…

πŸ’– DESCRIPTION πŸ’–

okay so this routine does host reset to the adaptor port. it brings the HBA offline, performs a board restart, and then brings the board back online. the way it works: lpfc_offline calls lpfc_sli_hba_down, which will abort and local reject all outstanding SCSI commands to the host and error returned back to SCSI mid-level. 😭

because this will be SCSI mid-level's last resort of error handling, it will only return error if resetting of the adapter is not successful; in all other cases, will return success. periodt. πŸ’―

return code, bestie: 0x2003 - Error, 0x2002 - Success. write that down. πŸ“

πŸ¦‹ SEE ALSO πŸ¦‹

kernel file: ./drivers/scsi/lpfc/lpfc_scsi.c

also peep these icon functions, all listed so nobody comes for me:


mwah πŸ’‹ source/version: ./drivers/scsi/lpfc; date: October 2026; and the page title again: lpfc_host_reset_handler(9). that's the footer, bestie, not a drill. πŸŽ€

πŸ“¦ where this page comes from