lpfc_link_state_store(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay bestie, welcome to lpfc_link_state_store(9) from the Kernel API Manual β€” it’s giving β€œtiny function, big HBA port energy,” and it’s here to transition the link_state. πŸ’…βœ¨

🌸 NAME 🌸

lpfc_link_state_store β€” transition the link_state on an HBA port. periodt.

✨ SYNOPSIS ✨

ssize_t lpfc_link_state_store (struct device *dev , struct
       device_attribute *attr , const char *buf , size_t count );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” class device that is converted into a Scsi_host.
  • attr β€” device attribute, not used.
  • buf β€” one or more lpfc_polling_flags values.
  • count β€” not used.

πŸ’– RETURN πŸ’–

  • -EINVAL if the buffer is not "up" or "down".
  • return from link state change function if non-zero length of the buf on success.

πŸ¦‹ SEE ALSO πŸ¦‹

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

The whole extended lpfc family pulled up to the group chat, fr fr:


πŸ’œ sign-off: this page’s source/version vibe is ./drivers/scsi/lpfc, dated October 2026, and it’s lpfc_link_state_store(9). Bye bestie β€” go be the main character of link state transitions. 🫢

πŸ“¦ where this page comes from