lpfc_sli4_b...oopback_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… lpfc_sli4_bsg_set_loopback_mode β€” the lpfc_sli4_b...oopback_mode(9) page, kernel API manual edition πŸŽ€

okay so bestie, welcome to the lpfc_sli4_b...oopback_mode(9) page in the Kernel API Manual. yes we're in the kernel. yes there's a lot of underscores. no you're not lost. let's go ✨


🌸 NAME 🌸

lpfc_sli4_bsg_set_loopback_mode β€” literally the function that sets up an sli4 internal loopback diagnostic πŸŒ€


πŸ¦‹ SYNOPSIS πŸ¦‹

int lpfc_sli4_bsg_set_loopback_mode (struct lpfc_hba *phba , int mode ,
uint32_t link_no );

that's the whole signature, no cap. three args, one int back. 🫢


✨ ARGUMENTS ✨

  • phba β€” a pointer to the HBA context object. yes, the main character struct πŸ’…
  • mode β€” the loopback mode you wanna set. it's an int, it's the vibe you're choosing.
  • link_no β€” the link number for the loopback mode you're setting, as a uint32_t. which link? this link. πŸ”—

πŸ‘‘ DESCRIPTION πŸ‘‘

so here's the tea, bestie: this function is the one responsible for issuing an sli4 mailbox command for setting up the loopback diagnostic for a link. that's it. that's the whole job. it shows up, it sends the mailbox command, it makes the loopback diagnostic happen. iconic behavior honestly 🧚


🌈 SEE ALSO 🌈

the kernel file it lives in:

  • ./drivers/scsi/lpfc/lpfc_bsg.c πŸ“

and now the part where I hold up the entire friend group so you can meet everyone β€” every single one of these, in order, no skipping, because they're all part of the lore:

like I said. everyone. 🫑


ok and that's the page!! sending you off with the cutest little sign-off: this whole thing lives in ./drivers/scsi/lpfc, dated October 2026, and it's the lpfc_sli4_b...oopback_mode(9) page πŸ’– go forth and loopback, bestie 🌟
πŸ“¦ where this page comes from