lpfc_bsg_han...sli_cfg_mbox(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– lpfc_bsg_handle_sli_cfg_mbox πŸ’–

okay so bestie, welcome to the Kernel API Manual β€” yes that's the manual name, we're fancy here πŸ’… β€” and today's main character is lpfc_bsg_handle_sli_cfg_mbox. Buckle up, it's giving big-kernel-energy.


✨ NAME ✨

lpfc_bsg_handle_sli_cfg_mbox β€” handles the sli-cfg mailbox cmd when there's an ext buffer involved πŸŽ€


🌸 SYNOPSIS 🌸

int lpfc_bsg_handle_sli_cfg_mbox (struct lpfc_hba *phba , struct bsg_job
*job , struct lpfc_dmabuf *dmabuf );

literally one function, three args, slay πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • phba β€” a pointer to the HBA context object, i.e. your whole adapter's vibe lives here 🫢
  • job β€” a pointer to the job object β€” the actual task you're handling, no cap
  • dmabuf β€” a pointer to a DMA buffer descriptor, the little map to the memory you're working with ✨

πŸ‘‘ DESCRIPTION πŸ‘‘

So this routine handles the SLI_CONFIG (0x9B) mailbox command when it comes with non-embedded external buffers β€” that's the whole point of it, periodt.

That covers:

  • 0x9B with non-embedded MSEs
  • 0x9B with embedded subsystem 0x1 and opcodes that use external HBDs

basically it's the girlie who knows how to route the ext-buffer version of the SLI_CONFIG command πŸ”₯ iykyk


🌈 SEE ALSO 🌈

The kernel file, first of all:

  • ./drivers/scsi/lpfc/lpfc_bsg.c

then the whole friend group, in order, and yes I'm listing every single one because we don't do half-finished lists here πŸŽ€


and that's the whole page, bestie 🫢 this little beauty lives in ./drivers/scsi/lpfc, dated October 2026, and it's filed under the Kernel API Manual. mwah, go read the source, it's iconic πŸ’–βœ¨

πŸ“¦ where this page comes from