lpfc_nvme_delete_queue(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– lpfc_nvme_delete_queue(9) πŸ’–

okay bestie, welcome to the Kernel API Manual page for lpfc_nvme_delete_queue(9) β€” yes that's the whole manual name, and yes we're gonna get through it together 🫢


✨ NAME ✨

lpfc_nvme_delete_queue β€”

and that's it. That's the whole name section. no description, no little dash-explainer, nothing. the manpage literally just left us on read 😭 the way that the NAME field is empty is giving "submitted assignment with the title filled in and nothing else" ngl.


🌸 SYNOPSIS 🌸

void lpfc_nvme_delete_queue (struct nvme_fc_local_port *pnvme_lport ,
unsigned int qidx , void *handle );

three args, no return type but void (so, no return value coming back to you, babe πŸ’…). note the spaces before those commas β€” yes they're in the original, yes we're keeping them, that's just how it's written and we respect it.


πŸŽ€ ARGUMENTS πŸŽ€

  • pnvme_lport β€” the transport localport that LS is to be issued from. like, this is where it all happens πŸ‘‘
  • qidx β€” a cpu index used to affinitize IO queues and MSIX vectors. so it's the little number tying your queue to a specific cpu, iykyk πŸ”₯
  • handle β€” an opaque driver handle from lpfc_nvme_create_queue. "opaque" meaning don't peek inside, just pass it along like a sealed note πŸ¦‹

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the actual tea: the driver registers this routine to free any internal data structures that bind the qidx to its internal IO queues. that's the whole job. cleanup duty. the un-glamorous but absolutely essential part of the group project ✨

and then, the return value situation:

Return value : 0 - Success TODO:  What are the failure codes.

so 0 means success βœ… ... and the failure codes are literally a TODO. as in, not documented yet. as in, the author left it as a note to future self and future self said "nah" πŸ’€ so if you were hoping for a full list of what can go wrong β€” bestie, same. it's not there. don't invent it, don't guess it, just know that 0 = success and the rest is a mystery 🧚


πŸ’œ SEE ALSO πŸ’œ

the kernel file lives at ./drivers/scsi/lpfc/lpfc_nvme.c 🌈 and here's the whole squad of related functions, all in (9):

that's twenty entries, count 'em, we did not skip a single one πŸ™ˆ go read them, they're all right there in the same file, it's giving family reunion πŸŽ‰


and that's a wrap, bestie!! πŸ“ this page is brought to you by version/source ./drivers/scsi/lpfc, dated October 2026 β€” iconic, timeless, slightly mysterious, just like that missing failure-code list πŸ’…πŸ’– see u in the next manpage, mwah 🫢

πŸ“¦ where this page comes from