xref: /illumos-gate/usr/src/uts/common/io/nvme/nvme.conf (revision 77c0a660417a046bfab6c8ef58d00c181c0264b3)
1# This file and its contents are supplied under the terms of the
2# Common Development and Distribution License ("CDDL"), version 1.0.
3# You may only use this file in accordance with the terms of version
4# 1.0 of the CDDL.
5#
6# A full copy of the text of the CDDL should have accompanied this
7# source.  A copy of the CDDL is also available via the Internet at
8# http://www.illumos.org/license/CDDL.
9#
10#
11# Copyright 2022 Tintri by DDN, Inc. All rights reserved.
12#
13
14#
15# The driver was tested only against devices supporting v1.0 of the
16# NVMe specification. Uncomment this to be able to use devices conforming
17# to newer specifications.
18#strict-version=0;
19
20#
21# The driver does currently not support any vendor specific extension to the
22# specification. By default it will fault the device if it receives a vendor-
23# specific command status. Uncomment this to disable this behaviour.
24#ignore-unknown-vendor-status=1;
25
26#
27# The maximum length of the admin queue can be overridden here (16-4096).
28#admin-queue-len=256;
29
30#
31# The maximum length of the individual I/O submission queues can be
32# overriden here (16-65536).
33#io-squeue-len=1024;
34
35#
36# The maximum length of the individual I/O completion queues can be
37# overriden here (16-65536).
38#io-cqueue-len=2048;
39
40#
41# The number of submission queues can be configured here. The default is
42# to match submission queues 1 for 1 with completion queues.
43# The range is 1-65535.
44#max-submission-queues=65535;
45
46#
47# The number of completion queues can be configured here. The default is
48# one per interrupt vector. Should there be fewer completion queues than
49# vectors, the number of vectors is reduced. The number of completion
50# queues will also be limited to the number of submission queues.
51# The range is 1-65535.
52#max-completion-queues=65535;
53
54#
55# The maximum number of outstanding asynchronous event requests can
56# overridden here.
57#async-event-limit=10;
58
59#
60# Enable (1) or Disable (0) the volatile write cache, if present.
61#
62#volatile-write-cache-enable=1;
63
64#
65# The minimum physical block size to be reported to blkdev. This value must
66# be a power of 2 greater than or equal to 512.
67#
68#min-phys-block-size=512;
69
70#
71# Permit configuration of drive- and firmware-specific tunables. See nvme(4D)
72# for a detailed explanation.
73#
74# Supported tunables are:
75#
76# * ignore-unknown-vendor-status:{on,off,true,false}
77#   The driver does currently not support any vendor specific extension to the
78#   specification. By default it will fault the device if it receives a vendor-
79#   specific command status. Setting this to "on" or "true" will disable this
80#   behaviour.
81#
82# * min-phys-block-size:<size>
83#   The minimum physical blocks size to be reported to blkdev. This value
84#   must be a power of 2 greater than or equal to 512.
85#
86# * volatile-write-cache:{on,off,true,false}
87#   Enable or disable the Volatile Write Cache, if present.
88#
89#nvme-config-list=
90#	"SOME DRIVE MODEL",		"FWVER1,FWVER2",
91#		"min-phys-block-size:8192";
92