fc_lport_error(9)
π fc_lport_error(9) π
okay so this page is straight out of the Kernel API Manual and it's about fc_lport_error β the handler for any errors. yes, any. it's giving "catch-all bestie who handles everyone's drama" energy π«Ά
β¨ NAME β¨
fc_lport_error β handler for any errors π
π SYNOPSIS π
void fc_lport_error (struct fc_lport *lport , struct fc_frame *fp );
like, that's the whole signature. short king. π
π¦ ARGUMENTS π¦
lportβ the local port that the error was on. that's the one having a bad day, not you. πfpβ the error code encoded in a frame pointer. yes bestie, the error code is inside the frame pointer. iykyk. π₯
πΈ DESCRIPTION πΈ
okay so here's the tea β β if the error was caused by a resource allocation failure, then you wait for half a second and retry. literally just a lil nap and then try again, no cap π΄β¨
otherwise (i.e. it's not a resource allocation failure), you retry after the e_d_tov time instead. that's the vibe. different error, different waiting period, periodt. π
π SEE ALSO π
lowkey a whole friend group in here, ngl. the kernel file we're repping is ./drivers/scsi/libfc/fc_lport.c and the struct is struct fc_bsg_info(9). and then, in the order the page gives them (no cap, i'm not reordering anyone's friendship group):
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_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)
like i said. a whole friend group. go say hi to all of them ππ
and that's the page!! shoutout to the ./drivers/scsi/libfc source and the October 2026 date on this one β the version info lives down at the bottom of the original, so consider this your cute lil sign-off πβ¨ slay, bye bestie π
π¦ 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