aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ctld
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2026-02-20 18:56:00 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2026-02-20 20:38:18 +0000
commit0788e7c40ddbeedfd9713842440a8db2a8f7ea2f (patch)
tree0dbc03ac746a565e1b901d57f800c9ae08c7db51 /usr.sbin/ctld
parent102fed041d7f9aec6b962e215f53347a7e5d1a20 (diff)
Diffstat (limited to 'usr.sbin/ctld')
-rw-r--r--usr.sbin/ctld/nvmf.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/ctld/nvmf.cc b/usr.sbin/ctld/nvmf.cc
index eb116903f5c1..e1ecf8ccc552 100644
--- a/usr.sbin/ctld/nvmf.cc
+++ b/usr.sbin/ctld/nvmf.cc
@@ -165,7 +165,7 @@ nvmf_portal::prepare()
"max_admin_qsize", NVME_MAX_ADMIN_ENTRIES,
NVME_MIN_ADMIN_ENTRIES, NVME_MAX_ADMIN_ENTRIES);
p_aparams.max_io_qsize = parse_number(nvl.get(), "max_io_qsize",
- NVME_MAX_IO_ENTRIES, NVME_MIN_IO_ENTRIES,
+ NVMF_MAX_IO_ENTRIES, NVME_MIN_IO_ENTRIES,
NVME_MAX_IO_ENTRIES);
p_aparams.tcp.pda = 0;
break;
@@ -334,9 +334,6 @@ nvmf_port::kernel_create_port()
nvlist_add_string(nvl.get(), "ctld_transport_group_name",
pg->name());
nvlist_add_stringf(nvl.get(), "portid", "%u", pg->tag());
- if (!nvlist_exists_string(nvl.get(), "max_io_qsize"))
- nvlist_add_stringf(nvl.get(), "max_io_qsize", "%u",
- NVME_MAX_IO_ENTRIES);
return ctl_create_port("nvmf", nvl.get(), &p_ctl_port);
}