nvme: introduce ctrl attributes enumeration
authorSagi Grimberg <sagi@grimberg.me>
Fri, 2 Nov 2018 17:28:12 +0000 (10:28 -0700)
committerJens Axboe <axboe@kernel.dk>
Sat, 8 Dec 2018 05:26:55 +0000 (22:26 -0700)
commit12b2117161ddbdcdb69777404c5aa2a9fe6ad7d5
tree74ea0f0efa02ce1f7d568f13bf197e6842cfcb7b
parent103e515efa89be33d04e45aae82de136f0c49865
nvme: introduce ctrl attributes enumeration

We are growing more controller attributes, so use a proper enumeration
for it.  For now just add the 128-bit hostid which we support.

Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/nvme/target/admin-cmd.c
include/linux/nvme.h