_config_request(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… _config_request(9) β€” the main routine for sending config page requests

okay so bestie, you're looking at the Kernel API Manual, section 9, and this little icon is literally the main character of config page requests πŸŽ€ like, every other config-pages function in this file is basically its groupie, no cap.


✨ NAME ✨

_config_request β€” the main routine for sending config page requests. that's it. that's the whole vibe. πŸ‘‘


🌸 SYNOPSIS 🌸

int _config_request (struct MPT3SAS_ADAPTER *ioc , Mpi2ConfigRequest_t
*mpi_request , Mpi2ConfigReply_t *mpi_reply , int timeout , void
*config_page , u16 config_page_sz );

she takes six arguments and returns an int, periodt. πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ioc β€” the per adapter object. your whole adapter's lore lives in here fr fr.
  • mpi_request β€” the request message frame. this is the ask you're sending out into the firmware void πŸ’Œ
  • mpi_reply β€” the reply mf payload returned from firmware. yes, "mf" is literally in the name, she's got attitude.
  • timeout β€” timeout in seconds ⏰ lowkey important, don't skip her.
  • config_page β€” the contents of the config page. the actual payload, the moment, the main event.
  • config_page_sz β€” the size of the config page. like, how big is the vibe? this tells you 🫢

πŸ’œ CONTEXT πŸ’œ

sleep 😴

ngl bestie this one sleeps. she is not an atomic girlie. do not call her from a context that can't sleep, that's giving "crash" energy πŸ’€

⭐ DESCRIPTION ⭐

so basically _config_request is a generic API for config page requests to firmware. one function to rule all the config page asks, iykyk πŸ”₯

two things you gotta know before you call her:

  • the ioc->config_cmds.status flag should be MPT3_CMD_NOT_USED before calling this API. like, check your flag first, bestie, she's not gonna do it for you πŸ™ˆ
  • the callback index is set inside ioc->config_cb_idx. that's just how she rolls ✨

πŸŽ€ RETURN πŸŽ€

  • 0 for success β€” slay, we ate πŸ’–
  • non-zero for failure β€” not slay, something went sideways 😭

🌈 SEE ALSO 🌈

the friend group 🫢 the kernel file lives here:

./drivers/scsi/mpt3sas/mpt3sas_config.c

and here is literally every single one of her mutuals, in order, no skips, no cuts:

literally the whole friend group showed up to the party, and every one of them has a (9). we love a consistent queen πŸ’–


and that's the page bestie!! she's from ./drivers/scsi/mpt3sas, dated October 2026 β€” go forth and send your config page requests responsibly, mwah πŸ˜˜πŸ’…βœ¨
πŸ“¦ where this page comes from