libnvme_transport_is_fabric-libnvme32
True for a fabrics transport string
Usage
bool libnvme_transport_is_fabric (const char *transport );
Arguments
- transport
-
Transport name, e.g. "tcp", "pcie"
Overview
A transport is either local (pcie, apple-nvme) or NVMe-over-Fabrics (tcp, rdma, fc, loop). Use this when only the transport string is available, e.g. before a controller exists to ask libnvme_ctrl_is_transport_fabric instead.
Return
true if transport is a fabrics transport, false if local.