nvme_ctrl_config_match2
Check if ctrl @c matches config params
Usage
bool nvme_ctrl_config_match (struct nvme_ctrl *c , const char *transport , const char *traddr , const char *trsvcid , const char *subsysnqn , const char *host_traddr , const char *host_iface );
Arguments
c
|
An existing controller instance |
|---|---|
transport
|
Transport name |
traddr
|
Transport address |
trsvcid
|
Transport service identifier |
subsysnqn
|
Subsystem NQN |
host_traddr
|
Host transport address |
host_iface
|
Host interface name |
Overview
Check that controller c matches parameters: transport, traddr, trsvcid, subsysnqn, host_traddr, and host_iface. Parameters set to NULL will be ignored.
Return
true if there's a match, false otherwise.