1libnvme(9) API Manual libnvme(9)
2
3
4
6 struct nvme_fabrics_config - Defines all linux nvme fabrics initiator
7 options
8
10 struct nvme_fabrics_config {
11 char *host_traddr;
12 char *host_iface;
13 int queue_size;
14 int nr_io_queues;
15 int reconnect_delay;
16 int ctrl_loss_tmo;
17 int fast_io_fail_tmo;
18 int keep_alive_tmo;
19 int nr_write_queues;
20 int nr_poll_queues;
21 int tos;
22 int keyring;
23 int tls_key;
24 bool duplicate_connect;
25 bool disable_sqflow;
26 bool hdr_digest;
27 bool data_digest;
28 bool tls;
29 };
30
31
33 host_traddr Host transport address
34
35 host_iface Host interface name
36
37 queue_size Number of IO queue entries
38
39 nr_io_queues
40 Number of controller IO queues to establish
41
42 reconnect_delay
43 Time between two consecutive reconnect attempts.
44
45 ctrl_loss_tmo
46 Override the default controller reconnect attempt timeout
47 in seconds
48
49 fast_io_fail_tmo
50 Set the fast I/O fail timeout in seconds.
51
52 keep_alive_tmo
53 Override the default keep-alive-timeout to this value in
54 seconds
55
56 nr_write_queues
57 Number of queues to use for exclusively for writing
58
59 nr_poll_queues
60 Number of queues to reserve for polling completions
61
62 tos Type of service
63
64 keyring Keyring to store and lookup keys
65
66 tls_key TLS PSK for the connection
67
68 duplicate_connect
69 Allow multiple connections to the same target
70
71 disable_sqflow
72 Disable controller sq flow control
73
74 hdr_digest Generate/verify header digest (TCP)
75
76 data_digest Generate/verify data digest (TCP)
77
78 tls Start TLS on the connection (TCP)
79
80
81
82April 2023 struct nvme_fabrics_config libnvme(9)