nvme_ctrl_config_match - Man Page

Check if ctrl @c matches config params

Synopsis

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

Description

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.

Info

February 2024 libnvme API manual