aboutsummaryrefslogtreecommitdiff
path: root/include/block/export.h
diff options
context:
space:
mode:
authorNiklas Cassel <niklas.cassel@wdc.com>2020-12-09 05:04:03 +0900
committerKlaus Jensen <k.jensen@samsung.com>2021-02-08 20:58:34 +0100
commit141354d55ba92768ea8fad54d441d3ba90d2b59e (patch)
tree111037ea589ec772df564e6c32f3a50503602c02 /include/block/export.h
parent62e8faa468109ae66b55a038cbd268ad6e40472b (diff)
hw/block/nvme: Add support for Namespace Types
Define the structures and constants required to implement Namespace Types support. Namespace Types introduce a new command set, "I/O Command Sets", that allows the host to retrieve the command sets associated with a namespace. Introduce support for the command set and enable detection for the NVM Command Set. The new workflows for identify commands rely heavily on zero-filled identify structs. E.g., certain CNS commands are defined to return a zero-filled identify struct when an inactive namespace NSID is supplied. Add a helper function in order to avoid code duplication when reporting zero-filled identify structures. Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com> Signed-off-by: Dmitry Fomichev <dmitry.fomichev@wdc.com> Reviewed-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
Diffstat (limited to 'include/block/export.h')
0 files changed, 0 insertions, 0 deletions