lpfc_debugfs...ripools_data(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… lpfc_debugfs_commonxripools_data πŸ’…

You're on the lpfc_debugfs...ripools_data(9) page in the Kernel API Manual, bestie β€” the function we're hyping up is lpfc_debugfs_commonxripools_data. ✨

✨ NAME ✨

lpfc_debugfs_commonxripools_data β€” Dump Hardware Queue info to a buffer. πŸ’…

πŸ¦‹ SYNOPSIS πŸ¦‹

int lpfc_debugfs_commonxripools_data (struct lpfc_hba *phba , char *buf
, int size );

πŸŽ€ ARGUMENTS πŸŽ€

  • phba β€” the HBA we're gathering host buffer info from. 🫢
  • buf β€” the buffer we dump the log into. πŸͺ£
  • size β€” the maximum amount of data to process. πŸ“

πŸ’– DESCRIPTION πŸ’–

Okay so this routine dumps the Hardware Queue info from phba to buf, but only up to size number of bytes. Literally that's the assignment. πŸ’…

First, a header that describes the current hdwq state gets dumped to buf. Then info on each hdwq entry gets dumped to buf β€” and it keeps going until size bytes have been dumped or all the hdwq info has been dumped. No extra drama β€” that's the whole flow. ✨

πŸ”₯ NOTES πŸ”₯

This routine will rotate through each configured Hardware Queue each time called. Yup β€” each configured Hardware Queue, every single call. πŸ”

Return Value: this routine returns the amount of bytes that were dumped into buf and will not exceed size. πŸ“βœ¨

🌈 SEE ALSO 🌈

Kernel file: ./drivers/scsi/lpfc/lpfc_debugfs.c β€” and here's the full bestie list, every single reference, no skips:

Okay that's the whole page, bestie! 🫢 source/version: ./drivers/scsi/lpfc Β· date: October 2026 Β· page: lpfc_debugfs...ripools_data(9) β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from