lpfc_cq_max_..._limit_store(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… lpfc_cq_max_proc_limit_store(9) πŸ’…

okay bestie, welcome to the Kernel API Manual, section 9 β€” yes this is a real manpage, and yes the name has literal ... in the middle of it, we love a mysterious queen πŸŽ€


✨ NAME ✨

lpfc_cq_max_proc_limit_store β€”

(and that's it. the description line is literally empty. she said "my work speaks for itself" πŸ’€ no cap, the original has nothing after the dash, so i'm not gonna invent lore for her.)


🌸 SYNOPSIS 🌸

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

she returns an ssize_t, she takes four args, she's booked and busy 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • dev β€” the class device that gets converted into a Scsi_host. glow-up moment: device in, Scsi_host out ✨
  • attr β€” the device attribute. not used. she's just there for vibes, honestly πŸ’…
  • buf β€” a string holding the cq max processing limit of cqes. this is the actual payload, bestie πŸ“
  • count β€” unused variable. not invited to the party but she came anyway πŸ™ˆ

🧚 DESCRIPTION 🧚

so here's the tea: if val is in a valid range, then it sets the value on each cq. that's the whole bit. iconic, concise, no notes πŸ”₯

lowkey important: the valid range thing is doing a lot of work in that sentence β€” if val isn't in range, nothing gets set, and you find out via the return value below. so don't just yeet any number in there, bestie 😭

πŸ‘‘ RETURN πŸ‘‘

  • the length of the buf β€” if successful πŸŽ‰
  • -ERANGE β€” if val is not in the valid range. out of bounds, out of pocket πŸ’€
  • -EINVAL β€” if the value format is bad, or the intended mode is not supported πŸ™…

🌈 SEE ALSO 🌈

the friend group is huge, and i mean huge β€” every single one of these is invited to the group chat, no one gets left on read 🫢 also: the kernel file lives at ./drivers/scsi/lpfc/lpfc_attr.c πŸ’–


πŸŽ€ the sign-off πŸŽ€

and that's the whole page, bestie!! πŸ¦‹ she ships out of the source tree at ./drivers/scsi/lpfc, dated October 2026, and she answers to lpfc_cq_max_..._limit_store(9). go be a main character in the kernel, ily, bye πŸ’œβœ¨πŸŒΈ

πŸ“¦ where this page comes from