fcoe_ctlr_fcoe_size(9)
π fcoe_ctlr_fcoe_size(9) β the Kernel API Manual, bestie edition β¨
Okay so real quick, before we even start: this is a page from the Kernel API Manual (yes, the kernel, the big scary one) and it's about fcoe_ctlr_fcoe_size. Don't run away, it's actually so chill. π«Ά
πΈ NAME πΈ
fcoe_ctlr_fcoe_size β returns the maximum FCoE size required for a VN_Port. That's it. That's the whole job. Lowkey iconic for how simple it is. π
β¨ SYNOPSIS β¨
u32 fcoe_ctlr_fcoe_size (struct fcoe_ctlr *fip);
Look at her. Returns a u32, takes one pointer, no drama, no hidden surprises. We love a predictable queen. π
π ARGUMENTS π
fipβ the FCoE controller you're pulling the max FCoE size from. Like, "hey bestie, what's your size" but for controllers. π¦
π DESCRIPTION π
So basically: this gives you back the maximum packet size, and that number includes the FCoE header and the FCoE trailer. π¦
But β and this is the important bit, so listen β it does not include any Ethernet headers or VLAN headers. Not one of them. If you were expecting those to be counted in, nope, not today. π
β SEE ALSO β
Kernel file ./drivers/scsi/fcoe/fcoe_ctlr.c β aka where the actual code lives, go say hi π§
And literally the entire friend group of FCoE functions, no cap, here they all are:
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_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_ctlr_mode_set(9)fcoe_libfc_config(9)
Sixty of them. Sixty!! That's a whole group chat right there and every single one ate. π₯
That's the whole page, bestie β go forth and compute your sizes correctly π
Big sign-off energy: this one lives in ./drivers/scsi/fcoe, it's dated October 2026, and it's filed under fcoe_ctlr_fcoe_size(9) in the Kernel API Manual. 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