lpfc_sli4_mbox_rsrc_extent(9)
okay so bestie, this is the Kernel API Manual entry for lpfc_sli4_mbox_rsrc_extent(9) β and yes, we're getting into mailbox resource extent init realness π
β¨
π NAME π
lpfc_sli4_mbox_rsrc_extent β Initialize the opcode resource extent.
β¨ SYNOPSIS β¨
int lpfc_sli4_mbox_rsrc_extent (struct lpfc_hba *phba , struct lpfcMboxq
*mbox , uint16_t exts_count , uint16_t rsrc_type , bool emb );
π¦ ARGUMENTS π¦
phbaβ pointer to lpfc hba data structure. literally the hba bestie.mboxβ pointer to an allocated lpfc mbox resource. it's giving "please bring a real mailbox, not a vibe."exts_countβ the number of extents, if required, to allocate. okay so only if you need 'em.rsrc_typeβ the resource extent type. the whole personality of the extent, basically.embβtrueifLPFC_SLI4_MBX_EMBED.falseifLPFC_SLI4_MBX_NEMBED. no cap, those are the two options.
πΈ DESCRIPTION πΈ
This routine completes the subcommand header for SLI4 resource extent mailbox commands. it's the little header-finishing moment, and it is called after lpfc_sli4_config. periodt.
The caller must pass an allocated mailbox and the attributes required to initialize the mailbox correctly. like, actually pass them. do not ghost the mailbox with missing attributes, bestie π
π RETURN π
returns the actual length of the mbox command allocated. that's the whole return vibe.
π SEE ALSO π
The kernel file is ./drivers/scsi/lpfc/lpfc_mbox.c, and the whole SEE ALSO squad is right here:
lpfc_mbox_rsrc_prep(9),lpfc_mbox_rsrc_cleanup(9),lpfc_dump_static_vport(9),lpfc_down_link(9),lpfc_dump_mem(9),lpfc_dump_wakeup_param(9),lpfc_read_nv(9),lpfc_config_async(9),lpfc_heart_beat(9),lpfc_read_topology(9),lpfc_clear_la(9),lpfc_config_link(9),lpfc_config_msi(9),lpfc_init_link(9)lpfc_read_sparam(9),lpfc_unreg_did(9),lpfc_read_config(9),lpfc_read_lnk_stat(9),lpfc_reg_rpi(9),lpfc_unreg_login(9),lpfc_sli4_unreg_all_rpis(9),lpfc_reg_vpi(9),lpfc_unreg_vpi(9),lpfc_config_pcb_setup(9),lpfc_read_rev(9),lpfc_build_hbq_profile2(9),lpfc_build_hbq_profile3(9),lpfc_build_hbq_profile5(9)lpfc_config_hbq(9),lpfc_config_ring(9),lpfc_config_port(9),lpfc_kill_board(9),lpfc_mbox_put(9),lpfc_mbox_get(9),__lpfc_mbox_cmpl_put(9),lpfc_mbox_cmpl_put(9),lpfc_mbox_cmd_check(9),lpfc_mbox_dev_check(9),lpfc_mbox_tmo_val(9),lpfc_sli4_mbx_sge_set(9),lpfc_sli4_mbx_sge_get(9)lpfc_sli4_mbox_cmd_free(9),lpfc_sli4_config(9),lpfc_sli_config_mbox_subsys_get(9),lpfc_sli_config_mbox_opcode_get(9),lpfc_sli4_mbx_read_fcf_rec(9),lpfc_request_features(9),lpfc_init_vfi(9),lpfc_reg_vfi(9),lpfc_init_vpi(9),lpfc_unreg_vfi(9),lpfc_sli4_dump_cfg_rg23(9),lpfc_reg_fcfi(9),lpfc_reg_fcfi_mrq(9),lpfc_unreg_fcfi(9),lpfc_resume_rpi(9)
okay bye bestie π this cutie page comes from the source path ./drivers/scsi/lpfc, dated October 2026, and it's the lpfc_sli4_mbox_rsrc_extent(9) manual page era β 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