fc_fcp_recv(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… fc_fcp_recv β€” the group chat version

okay so bestie, quick vibe check: this page lives in the Kernel API Manual, and it's all about one little function that just… receives an FCP frame. that's it. that's the whole personality. and honestly? iconic that something so small gets its own manpage. no cap. πŸŽ€


✨ NAME ✨

fc_fcp_recv β€” receive an FCP frame πŸ’Œ

like, a frame literally arrives, and this is the function that's there to catch it. main character energy fr fr.


πŸ¦‹ SYNOPSIS πŸ¦‹

void fc_fcp_recv (struct fc_seq *seq , struct fc_frame *fp , void *arg
);

yes it returns void. yes it's three arguments. yes the trailing ); is on its own line and we are not touching it, that's just how it's written, periodt. πŸ’…


🌸 ARGUMENTS 🌸

  • seq β€” the sequence that the frame is riding on. think of it as the frame's lil context, its "which conversation am I in" energy. πŸ’¬
  • fp β€” the actual received frame. the star of the show, the package, the whole reason we're here. πŸ“¦
  • arg β€” the related FCP packet. the buddy that comes along with the frame, iykyk. 🫢

πŸ”₯ CONTEXT πŸ”₯

okay this part matters, so pay attention bestie πŸ‘€:

this gets called from Soft IRQ context. so like, interrupt-adjacent land. not sleepy regular-process energy.

and β€” the big one β€” it can not be called while holding the FCP packet list lock. like, do not do that. that's a hard nope. the manpage says so, I'm just relaying the message. πŸ™ˆ

lowkey important: no holding the FCP packet list lock. not even a little. not even if you're being cute about it. πŸš«πŸ”’

🌈 SEE ALSO 🌈

okay this list is long and every single one of these is here, so buckle up bestie, we're going through the whole squad πŸ‘‘

like I said. the whole squad. go read them if you're curious, they're all in ./drivers/scsi/libfc and they all ate. πŸ“


and that's the page, bestie!! πŸ’– this lil rewrite comes to you courtesy of ./drivers/scsi/libfc, dated October 2026 β€” go off, you gorgeous kernel file, you. πŸ§šβ€β™€οΈβ­πŸ‘‘

πŸ“¦ where this page comes from