fnic_flush_tx(9)
π
fnic_flush_tx(9) β bestie's guide to flushing them frames β¨
okay so this is a page from the Kernel API Manual, and it's all about fnic_flush_tx, which honestly is giving "small function, big responsibility" energy. no cap. π«Ά
β¨ NAME β¨
fnic_flush_tx β send queued frames. that's it, that's the whole vibe. π
πΈ SYNOPSIS πΈ
void fnic_flush_tx (struct work_struct *work );
literally the entire signature. it returns void, so don't go looking for a return value, bestie, there isn't one. π
π¦ ARGUMENTS π¦
workβ pointer to work element. that's the whole job, she just points at the work element and off we go β¨
π DESCRIPTION π
okay so picture this: frames are sitting around waiting to go out, and this function is the one that finally sends them. specifically, she sends frames that were waiting to go out in FC or Ethernet mode. π₯
and here's the important bit β whenever we're changing modes we purge queued frames, so these frames should be queued for the stable mode that we're in, either FC or Ethernet. iykyk. no chaotic mode-hopping frames allowed. π
one little caveat to keep in your notes: this whole thing is called without fnic_lock held. that's not a suggestion, that's the deal. π
π SEE ALSO π
the kernel file lives at ./drivers/scsi/fnic/fnic_fcs.c, and while you're in the neighborhood, go say hi to her friends:
fnic_import_rq_eth_pkt(9)fnic_update_mac_locked(9)fdls_send_fcoe_frame(9)fnic_tport_event_handler(9)
all iconic, all in the same friend group π§
okay that's the whole page!! this beauty lives in ./drivers/scsi/fnic, dated October 2026, and it's filed under fnic_flush_tx(9) β so if you need her again you know exactly where to look πβ¨ππ¦πΈ
π¦ 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