lpfc_els_rsp_reject(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… lpfc_els_rsp_reject(9) β€” Kernel API Manual ✨

πŸŽ€ NAME πŸŽ€

lpfc_els_rsp_reject β€” prepare and issue a rjt response iocb command πŸ’…

okay bestie, this is the kernel API manual for lpfc_els_rsp_reject(9), and we're about to make a reject response happen. no cap.

✨ SYNOPSIS ✨

int lpfc_els_rsp_reject (struct lpfc_vport *vport , uint32_t rejectError
, struct lpfc_iocbq *oldiocb , struct lpfc_nodelist *ndlp , LPFC_MBOXQ_t
*mbox );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • vport β€” pointer to a virtual N_Port data structure. literally the vport hookup.
  • rejectError β€” reject response to issue. yes, that's the reject flavor.
  • oldiocb β€” pointer to the original lpfc command iocb data structure.
  • ndlp β€” pointer to a node-list data structure.
  • mbox β€” pointer to the driver internal queue element for mailbox command.

🌸 DESCRIPTION 🌸

Okay so this routine prepares and issues a Reject (RJT) response IOCB command. it's giving "tell them no" but in ELS form πŸ’…

If a mbox pointer is passed in, it will be put into the context_un.mbox field of the IOCB for the completion callback function to issue to the HBA later. yes, that exact field. put it in the group chat 🫢

Note that the ndlp reference count will be incremented by 1 for holding the ndlp, and the reference to ndlp will be stored into the ndlp field of the IOCB for the completion callback function to the reject response ELS IOCB command. so that pointer stays held, periodt.

Return code:

  • 0 β€” Successfully issued reject response
  • 1 β€” Failed to issue reject response

πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./drivers/scsi/lpfc/lpfc_els.c β€” literally the source file, go read it bestie.

All the adjacent lore:


signed off from ./drivers/scsi/lpfc, page/version lpfc_els_rsp_reject(9), stamped October 2026. mwah πŸ’–βœ¨

πŸ“¦ where this page comes from