lpfc_cmf_sync_cmpl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– lpfc_cmf_sync_cmpl(9) β€” the kernel API manual, bestie edition πŸŽ€

okay so bestie, you know that feeling when the driver needs a little heads-up about bandwidth stuff? Yeah. That's this whole function. It lives in the kernel API manual (section 9, the fun one πŸ’…) and it's giving "small-but-important middle child of the lpfc family."


✨ NAME ✨

lpfc_cmf_sync_cmpl β€” Process a CMF_SYNC_WQE cmpl πŸ¦‹

Like, literally that's the job. It processes a CMF_SYNC_WQE completion. No cap. 🌸


🌈 SYNOPSIS 🌈

void lpfc_cmf_sync_cmpl (struct lpfc_hba *phba , struct lpfc_iocbq
*cmdiocb , struct lpfc_iocbq *rspiocb );

She returns void, she takes three pointers, she doesn't do small talk. Iconic. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • phba β€” Pointer to the HBA context object. That's your host bus adapter's whole personality in one struct, and she's the main character here. πŸ‘‘
  • cmdiocb β€” Pointer to the driver command iocb object. The thing that got sent. The before. 🫢
  • rspiocb β€” Pointer to the driver response iocb object. The thing that came back. The after. ✨

πŸ’œ DESCRIPTION πŸ’œ

So here's the vibe check πŸ” β€” this routine will inform the driver of any BW adjustments we need to make. That's "BW" as in bandwidth, in case you were wondering, and yes, we're making adjustments. Those changes get picked up during the next CMF timer interrupt. So it's not immediate, it's more of a "noted, will circle back" situation. ⏰

Oh and the little bonus detail that I am obsessed with: any BW changes will also be logged with LOG_CGN_MGMT. So there's a paper trail. There's receipts. πŸ“πŸ”₯


πŸ¦‹ SEE ALSO πŸ¦‹

okay don't panic, this list is long, but every single one of these is a real live reference and we are not skipping a single one, because we don't do that here. 🫑

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


and that's the whole thing, bestie 🫢 you read the entire SEE ALSO list and I'm so proud of you. go drink some water. πŸ’œ

this cute little page came from ./drivers/scsi/lpfc, dated October 2026, and it's filed under lpfc_cmf_sync_cmpl(9) in the kernel API manual. slay. βœ¨πŸŽ€πŸŒΈ

πŸ“¦ where this page comes from