spdk: Add ctratt field in identify controller data structure.

Add controller attriutes according spec.

Change-Id: I3fa7639b848da83832c3760f05833d44a5af1686
Signed-off-by: Cunyin Chang <cunyin.chang@intel.com>
This commit is contained in:
Cunyin Chang 2016-07-21 11:00:26 +08:00 committed by Daniel Verkamp
parent 1d81cbc955
commit 43123aedbc

View File

@ -737,7 +737,13 @@ struct __attribute__((packed)) spdk_nvme_ctrlr_data {
/** optional asynchronous events supported */ /** optional asynchronous events supported */
uint32_t oaes; uint32_t oaes;
uint8_t reserved1[160]; /** controller attributes */
struct {
uint32_t host_id_exhid_supported: 1;
uint32_t reserved: 31;
} ctratt;
uint8_t reserved1[156];
/* bytes 256-511: admin command set attributes */ /* bytes 256-511: admin command set attributes */