lpfc_match_fcf_conn_list(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… lpfc_match_fcf_conn_list(9) β€” Kernel API Manual ✨

okay so bestie, we're in the kernel API manual and today's main character is lpfc_match_fcf_conn_list β€” the little function that does a whole vibe check on your FCF record before letting it into the club πŸŽ€


🌸 NAME 🌸

lpfc_match_fcf_conn_list β€” checks whether an FCF record is actually allowed to be used for discovery πŸ‘€


⭐ SYNOPSIS ⭐

int lpfc_match_fcf_conn_list (struct lpfc_hba *phba , struct fcf_record
*new_fcf_record , uint32_t *boot_flag , uint32_t *addr_mode , uint16_t
*vlan_id );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • phba β€” pointer to the lpfc hba data structure, the main character of the whole operation πŸ’–
  • new_fcf_record β€” pointer to the fcf record, aka the thing we're judging πŸ”
  • boot_flag β€” tells you whether this record is used by boot bios
  • addr_mode β€” the address mode this FCF is gonna use
  • vlan_id β€” the vlan id that gets used as vlan tagging by this FCF

πŸ’œ DESCRIPTION πŸ’œ

so what this routine does is compare the fcf record against the connect list it grabbed from the config region, and from that it decides whether this FCF can serve SAN discovery 🫢

the return value is literally iconic in its simplicity: it returns 1 if this record can be used for SAN discovery, and returns zero otherwise. no in-between, no "it's complicated" πŸ’…

and if this FCF record can be used for SAN discovery, then two of your out-params light up on return:

  • boot_flag will indicate whether this FCF is used by boot bios
  • addr_mode will indicate the addressing mode to be used for this FCF

also β€” if the FCF record needs to be used with a particular vlan id, that vlan gets set in vlan_id when the function returns ✨

and if no VLAN tagging needs to be used with the FCF, then vlan_id gets set to LPFC_FCOE_NULL_VID. periodt πŸŽ€


🌈 SEE ALSO 🌈

Kernel file ./drivers/scsi/lpfc/lpfc_hbadisc.c β€” go read the source bestie, it's all there πŸ“–


ngl that SEE ALSO list is serving major "linked list of destiny" energy β€” click through them at your own pace, no pressure 🧚

and that's the whole page!! drop a 🫢 for the ./drivers/scsi/lpfc crew β€” this one's dated October 2026 and it's filed under lpfc_match_fcf_conn_list(9). slay, go match some FCFs bestie πŸŽ€βœ¨πŸ’…

πŸ“¦ where this page comes from