_config_request(9)
π _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.statusflag should beMPT3_CMD_NOT_USEDbefore 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 π
0for 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:
struct config_request(9)_config_display_some_debug(9)_config_alloc_config_dma_memory(9)_config_free_config_dma_memory(9)mpt3sas_config_done(9)mpt3sas_config_get_manufacturing_pg0(9)mpt3sas_config_get_manufacturing_pg1(9)mpt3sas_config_get_manufacturing_pg10(9)mpt3sas_config_get_manufacturing_pg11(9)mpt3sas_config_set_manufacturing_pg11(9)mpt3sas_config_get_bios_pg2(9)mpt3sas_config_get_bios_pg3(9)mpt3sas_config_set_bios_pg4(9)mpt3sas_config_get_bios_pg4(9)mpt3sas_config_get_iounit_pg0(9)mpt3sas_config_get_iounit_pg1(9)mpt3sas_config_set_iounit_pg1(9)mpt3sas_config_get_iounit_pg3(9)mpt3sas_config_get_iounit_pg7(9)mpt3sas_config_get_iounit_pg8(9)mpt3sas_config_get_ioc_pg8(9)mpt3sas_config_get_ioc_pg1(9)mpt3sas_config_set_ioc_pg1(9)mpt3sas_config_get_sas_device_pg0(9)mpt3sas_config_get_pcie_device_pg0(9)mpt3sas_config_get_pcie_iounit_pg1(9)mpt3sas_config_get_pcie_device_pg2(9)mpt3sas_config_get_number_hba_phys(9)mpt3sas_config_get_sas_iounit_pg0(9)mpt3sas_config_get_sas_iounit_pg1(9)mpt3sas_config_set_sas_iounit_pg1(9)mpt3sas_config_get_expander_pg0(9)mpt3sas_config_get_expander_pg1(9)mpt3sas_config_get_enclosure_pg0(9)mpt3sas_config_get_phy_pg0(9)mpt3sas_config_get_phy_pg1(9)mpt3sas_config_get_raid_volume_pg1(9)mpt3sas_config_get_number_pds(9)mpt3sas_config_get_raid_volume_pg0(9)mpt3sas_config_get_phys_disk_pg0(9)mpt3sas_config_get_driver_trigger_pg0(9)_config_set_driver_trigger_pg0(9)mpt3sas_config_update_driver_trigger_pg0(9)mpt3sas_config_get_driver_trigger_pg1(9)_config_set_driver_trigger_pg1(9)mpt3sas_config_update_driver_trigger_pg1(9)mpt3sas_config_get_driver_trigger_pg2(9)_config_set_driver_trigger_pg2(9)mpt3sas_config_update_driver_trigger_pg2(9)mpt3sas_config_get_driver_trigger_pg3(9)_config_set_driver_trigger_pg3(9)mpt3sas_config_update_driver_trigger_pg3(9)mpt3sas_config_get_driver_trigger_pg4(9)_config_set_driver_trigger_pg4(9)mpt3sas_config_update_driver_trigger_pg4(9)mpt3sas_config_get_volume_handle(9)mpt3sas_config_get_volume_wwid(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms