fcoe_ctlr_mode_set(9)
π fcoe_ctlr_mode_set(9) π
okay so bestie, this is fcoe_ctlr_mode_set(9) from the Kernel API Manual. It's short, it's specific, and every detail is doing its little main-character moment. Let's go. π«Ά
β¨ NAME β¨
fcoe_ctlr_mode_set β set or reset the ctlr's mode. That's the whole vibe. π
π SYNOPSIS π
void fcoe_ctlr_mode_set (struct fc_lport *lport , struct fcoe_ctlr *fip
, enum fip_mode fip_mode );
π¦ ARGUMENTS π¦
lportβ the local port to be (re)configured. literally the local port getting its little refresh. β¨fipβ the FCoE controller whose mode is changing. it's giving "main character controller." πfip_modeβ the new fip mode. the fresh mode in question. π
π DESCRIPTION π
Okay so here's the note, and it is important, bestie: we shouldn't be changing the libfc discovery settings (fc_disc_config) while an lport is going through the libfc state machine. no cap. π
The mode can only be changed when a fcoe_ctlr device is disabled, so that should ensure that this routine is only called when nothing is happening. That's the whole safety vibe check. π
tl;dr energy: don't be messing withfc_disc_configmid-libfc-state-machine, and remember the mode-change situation only happens when afcoe_ctlrdevice is disabled. periodt. π
π SEE ALSO π
Go peek at the kernel file and the whole fcoe cinematic universe, bestie:
- Kernel file β
./drivers/scsi/fcoe/fcoe_ctlr.c fcoe_ctlr_set_state(9)fcoe_ctlr_mtu_valid(9)fcoe_ctlr_fcf_usable(9)fcoe_ctlr_map_dest(9)fcoe_ctlr_init(9)fcoe_sysfs_fcf_add(9)fcoe_sysfs_fcf_del(9)fcoe_ctlr_reset_fcfs(9)fcoe_ctlr_destroy(9)fcoe_ctlr_announce(9)fcoe_ctlr_fcoe_size(9)fcoe_ctlr_solicit(9)fcoe_ctlr_link_up(9)fcoe_ctlr_reset(9)fcoe_ctlr_link_down(9)fcoe_ctlr_send_keep_alive(9)fcoe_ctlr_encaps(9)fcoe_ctlr_els_send(9)fcoe_ctlr_age_fcfs(9)fcoe_ctlr_parse_adv(9)fcoe_ctlr_recv_adv(9)fcoe_ctlr_recv_els(9)fcoe_ctlr_recv_clr_vlink(9)fcoe_ctlr_recv(9)fcoe_ctlr_recv_handler(9)fcoe_ctlr_select(9)fcoe_ctlr_flogi_send_locked(9)fcoe_ctlr_flogi_retry(9)fcoe_ctlr_flogi_send(9)fcoe_ctlr_timeout(9)fcoe_ctlr_timer_work(9)fcoe_ctlr_recv_work(9)fcoe_ctlr_recv_flogi(9)fcoe_wwn_from_mac(9)fcoe_ctlr_rport(9)fcoe_ctlr_vn_send(9)fcoe_ctlr_vn_rport_callback(9)fcoe_ctlr_disc_stop_locked(9)fcoe_ctlr_disc_stop(9)fcoe_ctlr_disc_stop_final(9)fcoe_ctlr_vn_restart(9)fcoe_ctlr_vn_start(9)fcoe_ctlr_vn_parse(9)fcoe_ctlr_vn_send_claim(9)fcoe_ctlr_vn_probe_req(9)fcoe_ctlr_vn_probe_reply(9)fcoe_ctlr_vn_add(9)fcoe_ctlr_vn_lookup(9)fcoe_ctlr_vn_claim_notify(9)fcoe_ctlr_vn_claim_resp(9)fcoe_ctlr_vn_beacon(9)fcoe_ctlr_vn_age(9)fcoe_ctlr_vn_recv(9)fcoe_ctlr_vlan_parse(9)fcoe_ctlr_vlan_send(9)fcoe_ctlr_vlan_disc_reply(9)fcoe_ctlr_vlan_recv(9)fcoe_ctlr_disc_recv(9)fcoe_ctlr_vn_disc(9)fcoe_ctlr_vn_timeout(9)fcoe_libfc_config(9)
okay that's the whole page, bestie. This has been fcoe_ctlr_mode_set(9) β source/version: ./drivers/scsi/fcoe, date: October 2026. stay iconic, and don't change modes while things are mid-state-machine, mwah πβ¨
π¦ 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