lpfc_unreg_did(9)
π lpfc_unreg_did β a Kernel API Manual moment
okay bestie, so this is a page straight out of the Kernel API Manual, and honestly? it's giving "small function, big job." let's get into it β¨
πΈ NAME πΈ
lpfc_unreg_did β prepare a mailbox command for unregistering DID π
π¦ SYNOPSIS π¦
void lpfc_unreg_did (struct lpfc_hba * phba , uint16_t vpi , uint32_t
did , LPFC_MBOXQ_t * pmb );
likeβ¦ yes, that's a void. it doesn't return anything. it just does the thing and dips. π
periodt.
β¨ ARGUMENTS β¨
phbaβ pointer to lpfc hba data structure. it's the main character, obviously π«Άvpiβ virtual N_Port identifier π¦didβ remote port identifier πpmbβ pointer to the driver internal queue element for mailbox command π¬
π₯ DESCRIPTION π₯
so the unregister DID mailbox command is used to unregister an N_Port/F_Port login for an unknown RPI by specifying the DID of a remote port. no cap, that's what it does.
lowkey the important bit: this command frees an RPI context in the HBA port. and that has the effect of performing an implicit N_Port/F_Port logout. so likeβ¦ it's not just cleanup, it's a whole logout wearing a disguise π
and what this routine itself does? it prepares the mailbox command for unregistering a remote N_Port/F_Port (DID) login. prep girlie. it sets it up, it doesn't send it. π
no return value, no error codes on this one β it's avoid, so there's literally nothing to check. thepmbyou handed it carries the story from here π«Ά
π SEE ALSO π
this list is long and honestly kind of iconic β look at it go:
Kernel file ./drivers/scsi/lpfc/lpfc_mbox.c
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_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_sli4_mbox_rsrc_extent(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)
like, that's a whole friend group right there π but slay, they're all relevant.
and that's the page bestie π the whole thing lives over in ./drivers/scsi/lpfc, and it's dated October 2026 β so yeah, future-dated manpage, main character energy fr fr. go unregister that DID, iykyk ππ¦
π¦ 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