]> www.infradead.org Git - users/hch/nvme-cli.git/commit
nvme-cli: id-ctrl: Add vendor fields in JSON id-ctrl.
authorChaitanya Kulkarni <chaitanya.kulkarni@hgst.com>
Wed, 1 Mar 2017 02:14:07 +0000 (18:14 -0800)
committerKeith Busch <keith.busch@intel.com>
Wed, 1 Mar 2017 15:14:14 +0000 (10:14 -0500)
commit64a290ff580909d0eba1e2e10a48867123c170de
tree109357039d29455e831bfd8a7490535e51d8d5e9
parent8ebd39bf06155e2fc893dacf42803c1f6cb94219
nvme-cli: id-ctrl: Add vendor fields in JSON id-ctrl.

As a part of the id-ctrl command vendor specific callback is issued.
This patch allows the vendor-specific callback to print the extended
vendor unique (ctrl->vs) information from identify controller
data structure in the JSON format. It also enables id-ctrl command
to print vendor specific fields along with generic id-ctrl fields
in one JSON object. This modifies Intel plug-in which is the only
one uses extended id-ctrl (cs->vs) information in current
implementation.

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@hgst.com>
intel-nvme.c
nvme-print.c
nvme-print.h
nvme.c
nvme.h