nvme_fc_unr...r_remoteport(9)
π nvme_fc_unregister_remoteport(9) β a Kernel API Manual moment
okay so bestie, welcome to the Kernel API Manual β¨ this one's called nvme_fc_unregister_remoteport and honestly it's giving "cleanup era" π§Ή
πΈ NAME πΈ
nvme_fc_unregister_remoteport β the transport entry point that an LLDD calls when it wants to deregister/remove a previously registered NVMe subsystem FC port. yeah. she's the goodbye-girlie of the remote port world π«Ά
β¨ SYNOPSIS β¨
int nvme_fc_unregister_remoteport (struct nvme_fc_remote_port *portptr);
that's it. one call. one pointer. very main character energy π
π ARGUMENTS π
portptrβ pointer to the (registered!) remote port that's getting deregistered. key word: registered β she has to already exist, bestie, no ghosting ports allowed π
π RETURN π
it hands back a completion status, fr fr:
0β success, we ate, no crumbs π₯- a negative errno on failure β like
-ENXIOfor example. so if you see a minus sign, something went sideways and you should probably look into it π
ngl the "must be 0 upon success" part is real β that's the contract, don't be out here returning vibes instead of 0 π
π SEE ALSO π
- the kernel file
./drivers/nvme/host/fc.cβ that's where the whole squad lives π¦ nvme_fc_register_localport(9)nvme_fc_unregister_localport(9)nvme_fc_register_remoteport(9)nvme_fc_rescan_remoteport(9)nvme_fc_rcv_ls_req(9)
like a little friend group of function calls, honestly obsessed π
lowkey reminder: this is the transport entry point called by an LLDD β so if you're not an LLDD, this isn't your party, iykyk π
signed, sealed, delivered from ./drivers/nvme/host, dated October 2026, and stamped with the whole nvme_fc_unr...r_remoteport(9) header vibe β that's the tea, 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