lpfc_sli_ring_taggedbuf_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… lpfc_sli_ring_taggedbuf_get(9) πŸ’…

okay bestie, welcome to the Kernel API Manual entry for lpfc_sli_ring_taggedbuf_get(9) β€” yes, the whole page is about this one lil lookup, and it's lowkey iconic. 🫢


🌸 NAME 🌸

lpfc_sli_ring_taggedbuf_get β€” find the HBQ buffer associated with a given tag ✨


✨ SYNOPSIS ✨

struct lpfc_dmabuf * lpfc_sli_ring_taggedbuf_get (struct lpfc_hba *phba
, struct lpfc_sli_ring *pring , uint32_t tag );

πŸŽ€ ARGUMENTS πŸŽ€

  • phba β€” pointer to the HBA context object. That's the context object, bestie, no cap.
  • pring β€” pointer to the driver SLI ring object.
  • tag β€” buffer tag.

πŸ’… DESCRIPTION πŸ’…

Okay so here's the vibe: buffers posted using CMD_QUE_XRI64_CX iocb are in the pring->postbufq list. 🫢 After HBA DMA data to these buffers, CMD_IOCB_RET_XRI64_CX iocb is posted to the response ring with the tag of the buffer. Then this function searches the pring->postbufq list using the tag to find the buffer associated with that CMD_IOCB_RET_XRI64_CX iocb. If the buffer is found, the lpfc_dmabuf object of the buffer is returned to the caller; otherwise NULL is returned. And important: this function is called with no lock held. πŸ’€

⚠️ no lock held, bestie β€” that's literally the deal, fr fr.

πŸ¦‹ SEE ALSO πŸ¦‹

okay bestie, the SEE ALSO section is giving whole-group-chat energy β€” here's the full squad, including the kernel file ./drivers/scsi/lpfc/lpfc_sli.c and every single reference, no cap:


and that's the whole vibe! this page lives at ./drivers/scsi/lpfc, dated October 2026, and it's the manual entry for lpfc_sli_ring_taggedbuf_get(9) β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from