fc_lport_ns_resp(9)
π fc_lport_ns_resp(9) β the Kernel API Manual, bestie edition β¨
Okay so welcome to the Kernel API Manual page for fc_lport_ns_resp(9), and no, we are not skipping anything, we are reading the whole thing together π«Ά
β¨ NAME β¨
fc_lport_ns_resp β literally the function that handles the response to a name server registration exchange πΈ
β¨ SYNOPSIS β¨
void fc_lport_ns_resp (struct fc_seq *sp , struct fc_frame *fp , void
*lp_arg );
That's the whole signature, copy it exactly, do not touch it, it's giving iconic π
β¨ ARGUMENTS β¨
spβ the current sequence in the exchange πfpβ the response frame π¦lp_argβ the Fibre Channel host port instance, aka your lport bestie π
β¨ DESCRIPTION β¨
So here's the thing you actually need to know:
Locking Note: this function gets called without the lport lock held π β but then it locks, calls an_enter_*function orfc_lport_error, and then unlocks the lport. So it's a lock-call-unlock situation, fr fr. Don't forget the unlock, that's the whole vibe check π₯
β¨ SEE ALSO β¨
The kernel file ./drivers/scsi/libfc/fc_lport.c, plus this absolute swarm of related pages, all of them, in order, no cap:
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_set_local_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_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 page, bestie π sign-off time: this lil gem came out of ./drivers/scsi/libfc and it's dated October 2026 β go read it again, you ate that ππ¦
π¦ 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