LIBNVME_TRANSPORT_IS_FABRIC-LIBNVME3(2)
π libnvme_transport_is_fabric
okay so bestie, welcome to the libnvme API manual β¨ β yes we're doing C documentation today, and yes it's gonna be cute. this one's a little function with big "is it or isn't it" energy, so let's get into it π
πΈ NAME πΈ
libnvme_transport_is_fabric β the vibe check that tells you if a transport string is a fabrics one. literally returns true for a fabrics transport string, iykyk π¦
β¨ SYNOPSIS β¨
bool libnvme_transport_is_fabric (const char *transport );
one function, one argument, one bool coming back at you. iconic. π
π«Ά ARGUMENTS π«Ά
transportβ the transport name you're asking about, like"tcp"or"pcie". just a lil string, no cap π
π₯ DESCRIPTION π₯
so every transport is either local or NVMe-over-Fabrics, and that's just the law bestie π
- local:
pcie,apple-nvme - NVMe-over-Fabrics:
tcp,rdma,fc,loop
use this function when the only thing you've got is the transport string itself π β like, you don't have a controller yet to exist and be asked, so you can't go ask libnvme_ctrl_is_transport_fabric instead. this is the lowkey pre-controller option, and honestly? she ate. π
β RETURN β
trueiftransportis a fabrics transport πfalseif it's local π«₯
that's it, that's the whole answer. no edge cases hiding in the group chat. periodt. π
sign-off bestie!! π§ this masterpiece dropped in October 2026, straight from the libnvme girliesss β go forth and vibe check those transport strings πππ¦
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms