fc_lport_set_local_id(9)
π fc_lport_set_local_id β like, the kernel API manual, bestie β¨
okay so this is a page from the Kernel API Manual (yes, that's the manual name, we're being fancy today π) and it's all about one little function that sets a Port ID. Let's get into it π
β¨ NAME β¨
fc_lport_set_local_id β set the local port Port ID for point-to-multipoint πΈ
π«Ά SYNOPSIS π«Ά
void fc_lport_set_local_id (struct fc_lport *lport , u32 port_id );
no cap, that's the whole signature. short and iconic π
π¦ ARGUMENTS π¦
lportβ the local port that's getting its Port ID set. she's the main character here πport_idβ the new port ID. the glow-up in question β¨
π DESCRIPTION π
So here's the vibe: the lower-level driver calls this when the transport sets the local port_id. It's used in VN_port to VN_port mode for FCoE, and it causes FLOGI and discovery to be skipped β like, we're not doing that whole song and dance, we already know who we are ππ
π SEE ALSO π
okay this list is long but we do not skip a single entry, bestie, we are thorough π«Ά
Kernel file ./drivers/scsi/libfc/fc_lport.c β and also: struct fc_bsg_info(9), fc_frame_drop(9), fc_lport_rport_callback(9), fc_lport_state(9), fc_lport_ptp_setup(9), fc_get_host_port_state(9), fc_get_host_speed(9), fc_get_host_stats(9), fc_lport_flogi_fill(9), fc_lport_add_fc4_type(9), fc_lport_recv_rlir_req(9), fc_lport_recv_echo_req(9), fc_lport_recv_rnid_req(9), fc_lport_recv_logo_req(9), fc_fabric_login(9), __fc_linkup(9), fc_linkup(9), __fc_linkdown(9), fc_linkdown(9), fc_fabric_logoff(9), fc_lport_destroy(9), fc_set_mfs(9), fc_lport_disc_callback(9), fc_lport_enter_ready(9), fc_lport_set_port_id(9), fc_lport_recv_flogi_req(9), fc_lport_recv_els_req(9), fc_lport_recv(9), fc_lport_reset(9), fc_lport_reset_locked(9), fc_lport_enter_reset(9), fc_lport_enter_disabled(9), fc_lport_error(9), fc_lport_ns_resp(9), fc_lport_ms_resp(9), fc_lport_scr_resp(9), fc_lport_enter_scr(9), fc_lport_enter_ns(9), fc_lport_enter_dns(9), fc_lport_enter_ms(9), fc_lport_enter_fdmi(9), fc_lport_timeout(9), fc_lport_logo_resp(9), fc_lport_enter_logo(9), fc_lport_flogi_resp(9), fc_lport_enter_flogi(9), fc_lport_config(9), fc_lport_init(9), fc_lport_bsg_resp(9), fc_lport_els_request(9), fc_lport_ct_request(9), fc_lport_bsg_request(9)
and that's the whole page, bestie, you ate that π«Ά
sign-off time: this lil masterpiece lives in ./drivers/scsi/libfc, dated October 2026, and it's titled fc_lport_set_local_id(9) β periodt πβ¨
π¦ 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