lpfc_find_vport_by_vpid(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– lpfc_find_vport_by_vpid(9) πŸ’–

okay so this little page comes from the Kernel API Manual, and it is lowkey all about finding a vport on a HBA through a vport identifier. Bestie, let's get into it ✨

✨ NAME ✨

lpfc_find_vport_by_vpid β€” find a vport on a HBA through vport identifier. Periodt πŸ’…

🌸 SYNOPSIS 🌸

The signature is right here, verbatim, no cap:

struct lpfc_vport * lpfc_find_vport_by_vpid (struct lpfc_hba *phba ,
       uint16_t vpi );

πŸŽ€ ARGUMENTS πŸŽ€

Two arguments, both main-character energy:

  • phba β€” pointer to lpfc hba data structure.
  • vpi β€” the physical host virtual N_Port identifier.

πŸ¦‹ DESCRIPTION πŸ¦‹

This routine finds a vport on a HBA (referred by phba) through a vpi. The function walks the HBA's vport list and returns the address of the vport with the matching vpi. That's the whole vibe 🫢

πŸ” Return code

  • NULL β€” No vport with the matching vpi found.
  • Otherwise β€” Address to the vport with the matching vpi.

πŸ’œ SEE ALSO πŸ’œ

Kernel file ./drivers/scsi/lpfc/lpfc_hbadisc.c

And here is the full friend group β€” every single reference, no crumbs, fr fr:

lpfc_check_inactive_vmid_one(9), lpfc_check_inactive_vmid(9),
lpfc_check_nlp_post_devloss(9), lpfc_dev_loss_tmo_handler(9),
lpfc_sli4_post_dev_loss_tmo_handler(9), lpfc_alloc_fast_evt(9),
lpfc_free_fast_evt(9), lpfc_send_fastpath_evt(9),
lpfc_sli4_clear_fcf_rr_bmask(9), lpfc_fab_name_match(9),
lpfc_sw_name_match(9), lpfc_mac_addr_match(9),
__lpfc_update_fcf_record_pri(9), lpfc_copy_fcf_record(9),
__lpfc_update_fcf_record(9), lpfc_register_fcf(9),
lpfc_match_fcf_conn_list(9), lpfc_check_pending_fcoe_event(9),
lpfc_sli4_new_fcf_random_select(9), lpfc_sli4_fcf_rec_mbox_parse(9),
lpfc_sli4_log_fcf_record_info(9), lpfc_sli4_fcf_record_match(9),
lpfc_sli4_fcf_rr_next_proc(9), lpfc_sli4_fcf_pri_list_del(9),
lpfc_sli4_set_fcf_flogi_fail(9), lpfc_sli4_fcf_pri_list_add(9),
lpfc_mbx_cmpl_fcf_scan_read_fcf_rec(9),
lpfc_mbx_cmpl_fcf_rr_read_fcf_rec(9), lpfc_mbx_cmpl_read_fcf_rec(9),
lpfc_init_vfi_cmpl(9), lpfc_issue_init_vfi(9), lpfc_init_vpi_cmpl(9),
lpfc_issue_init_vpi(9), lpfc_start_fdiscs(9),
lpfc_create_static_vport(9), lpfc_issue_gidpt(9),
lpfc_initialize_node(9), lpfc_nlp_logo_unreg(9), lpfc_unreg_hba_rpis(9),
lpfc_fcf_inuse(9), lpfc_unregister_vfi_cmpl(9),
lpfc_unregister_fcfi_cmpl(9), lpfc_unregister_fcf_prep(9),
lpfc_sli4_unregister_fcf(9), lpfc_unregister_fcf_rescan(9),
lpfc_unregister_fcf(9), lpfc_unregister_unused_fcf(9),
lpfc_read_fcf_conn_tbl(9), lpfc_read_fcoe_param(9),
lpfc_get_rec_conf23(9), lpfc_parse_fcoe_conf(9)

xoxo, ./drivers/scsi/lpfc Β· October 2026 Β· lpfc_find_vport_by_vpid(9) πŸ’Œ

πŸ“¦ where this page comes from