lpfc_els_rsp_adisc_acc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay so bestie, welcome to the Kernel API Manual page for lpfc_els_rsp_adisc_acc(9) β€” the function whose whole thing is to prepare and issue acc response to adisc iocb cmd. Main character energy fr fr. πŸ’…

✨ SYNOPSIS ✨

Here's the signature, exactly as it shows up:

int lpfc_els_rsp_adisc_acc (struct lpfc_vport *vport , struct lpfc_iocbq
       *oldiocb , struct lpfc_nodelist *ndlp );

πŸŽ€ ARGUMENTS πŸŽ€

  • vport β€” pointer to a virtual N_Port data structure. slay.
  • oldiocb β€” pointer to the original lpfc command iocb data structure.
  • ndlp β€” pointer to a node-list data structure.

πŸ’– DESCRIPTION πŸ’–

This routine prepares and issues an Accept (ACC) response to Address Discover (ADISC) ELS command. It simply prepares the payload of the IOCB and invokes the lpfc_sli_issue_iocb routine to send out the command. No cap.

🫢 quick note bestie: 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 ADISC Accept response ELS IOCB command. That's the important holding-it-down detail.

Return code tea:

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

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/scsi/lpfc/lpfc_els.c.

The whole reference squad, iykyk:


xoxo, from ./drivers/scsi/lpfc β€” October 2026 β€” lpfc_els_rsp_adisc_acc(9) πŸ’–βœ¨

πŸ“¦ where this page comes from