fcoe_ctlr_age_fcfs(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… fcoe_ctlr_age_fcfs β€” the FCoE glow-up cleanup page

okay so this is a Kernel API Manual page, bestie, and the function it's hyping up is fcoe_ctlr_age_fcfs. Yes it's a mouthful. No we're not renaming it, it's iconic as-is. πŸŽ€


✨ NAME ✨

fcoe_ctlr_age_fcfs β€” reset and free all old FCFs for a controller πŸ§ΉπŸ’–


🌸 SYNOPSIS 🌸

unsigned long fcoe_ctlr_age_fcfs (struct fcoe_ctlr *fip );

like literally that's the whole signature. unsigned long in, unsigned long out, we love a return type. ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • fip β€” the FCoE controller you're freeing FCFs on. that's the one. give it a little kiss on the forehead first 🫢

⭐ DESCRIPTION ⭐

okay so real talk: this one gets called with the lock held and preemption disabled. not optional, not a vibe suggestion β€” that's the contract, so respect it. πŸ”’

so here's the tea on when an FCF counts as old: we've missed two advertisements from it. meaning there's been no valid advertisement from it for 2.5 times its keep-alive period. two strikes, you're geriatric, bye πŸ‘‹

on top of that, it also figures out the time when an FCF selection can occur. multitasking queen πŸ’…

and β€” not me forgetting the counter β€” it also increments MissDiscAdvCount whenever no advertisement is received for the corresponding FCF for 1.5 * FKA_ADV_PERIOD (that's the FC-BB-5 LESB spec, iykyk). πŸ“ˆ

finally it returns the time in jiffies for the next call. so like, schedule yourself accordingly bestie ⏰✨


πŸ‘‘ SEE ALSO πŸ‘‘

so there's a whole friend group here, and honestly? it's giving family reunion. the kernel file itself lives at ./drivers/scsi/fcoe/fcoe_ctlr.c β€” go say hi 🫢


and that's the page, bestie!! 🌈 this one came out of ./drivers/scsi/fcoe, dated October 2026, and it's filed under fcoe_ctlr_age_fcfs(9) in the Kernel API Manual. slay, go free some old FCFs responsibly πŸ’œβœ¨

πŸ“¦ where this page comes from