lpfc_sli_ringtx_get(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– lpfc_sli_ringtx_get(9) πŸ’–

okay bestie, welcome to the Kernel API Manual page for lpfc_sli_ringtx_get(9) 🫢. This is the full group-chat explainer, and every arg, return detail, and SEE ALSO ref is staying exactly where it belongs β€” no cap πŸ’….


🌸 NAME 🌸

lpfc_sli_ringtx_get β€” Get first element of the txq ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

       struct lpfc_iocbq * lpfc_sli_ringtx_get (struct lpfc_hba *phba , struct
       lpfc_sli_ring *pring );

πŸŽ€ ARGUMENTS πŸŽ€

  • phba β€” Pointer to HBA context object. It's the HBA context object, periodt πŸ’–.
  • pring β€” Pointer to driver SLI ring object. That's the driver's SLI ring object right there πŸŒ€.

πŸ’… DESCRIPTION πŸ’…

okay so real talk: this function is called with hbalock held, and its whole job is to get the next iocb in the txq of the given ring πŸ‘‘.

If there is any iocb in the txq, the function returns the first iocb in the list after removing the iocb from the list. If there isn't one, it returns NULL β€” simple as that, bestie 😌.


πŸ”— SEE ALSO πŸ”—

the kernel file is ./drivers/scsi/lpfc/lpfc_sli.c, and these are the linked pages β€” yes, all of them, I'm not skipping a single one πŸ™ˆ:


that's the page, bestie 🫢 source/version: ./drivers/scsi/lpfc β€’ date: October 2026 β€’ bye and slay πŸ’–βœ¨

πŸ“¦ where this page comes from