From 5b8bb923ccf749d500593d6f1f0a210062285532 Mon Sep 17 00:00:00 2001 From: Klaus Jensen Date: Mon, 22 Feb 2021 20:13:22 +0100 Subject: [PATCH] hw/block/nvme: document 'mdts' nvme device parameter Document the 'mdts' nvme device parameter. Signed-off-by: Klaus Jensen Reviewed-by: Keith Busch --- hw/block/nvme.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hw/block/nvme.c b/hw/block/nvme.c index db1a3aabd8..6921b1957d 100644 --- a/hw/block/nvme.c +++ b/hw/block/nvme.c @@ -72,6 +72,12 @@ * completion when there are no outstanding AERs. When the maximum number of * enqueued events are reached, subsequent events will be dropped. * + * - `mdts` + * Indicates the maximum data transfer size for a command that transfers data + * between host-accessible memory and the controller. The value is specified + * as a power of two (2^n) and is in units of the minimum memory page size + * (CAP.MPSMIN). The default value is 7 (i.e. 512 KiB). + * * - `zoned.append_size_limit` * The maximum I/O size in bytes that is allowed in Zone Append command. * The default is 128KiB. Since internally this this value is maintained as