* [PATCH nvme-cli] fabrics: allow nr_io/write/poll_queues and queue size to discovery
@ 2019-01-08 7:55 Sagi Grimberg
2019-01-08 15:45 ` Keith Busch
0 siblings, 1 reply; 2+ messages in thread
From: Sagi Grimberg @ 2019-01-08 7:55 UTC (permalink / raw)
The discovered controllers will inherit the arguments.
Signed-off-by: Sagi Grimberg <sagi at grimberg.me>
---
fabrics.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/fabrics.c b/fabrics.c
index 46edacab110f..594789b28dde 100644
--- a/fabrics.c
+++ b/fabrics.c
@@ -969,6 +969,10 @@ int discover(const char *desc, int argc, char **argv, bool connect)
{"ctrl-loss-tmo", 'l', "LIST", CFG_INT, &cfg.ctrl_loss_tmo, required_argument, "controller loss timeout period in seconds" },
{"hdr_digest", 'g', "", CFG_NONE, &cfg.hdr_digest, no_argument, "enable transport protocol header digest (TCP transport)" },
{"data_digest", 'G', "", CFG_NONE, &cfg.data_digest, no_argument, "enable transport protocol data digest (TCP transport)" },
+ {"nr-io-queues", 'i', "LIST", CFG_INT, &cfg.nr_io_queues, required_argument, "number of io queues to use (default is core count)" },
+ {"nr-write-queues", 'W', "LIST", CFG_INT, &cfg.nr_write_queues, required_argument, "number of write queues to use (default 0)" },
+ {"nr-poll-queues", 'P', "LIST", CFG_INT, &cfg.nr_poll_queues, required_argument, "number of poll queues to use (default 0)" },
+ {"queue-size", 'Q', "LIST", CFG_INT, &cfg.queue_size, required_argument, "number of io queue elements to use (default 128)" },
{NULL},
};
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-01-08 15:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-08 7:55 [PATCH nvme-cli] fabrics: allow nr_io/write/poll_queues and queue size to discovery Sagi Grimberg
2019-01-08 15:45 ` Keith Busch
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox