include/nvme_spec.h: update cdata fields for NVM Command set attributes
Add missing fields from identify controller data structure, for NVM Command set attributes. Update identify examples file accordingly. Signed-off-by: Ankit Kumar <ankit.kumar@samsung.com> Change-Id: If7ad7f531ec7bf44ed746862238e465157b1a2f3 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/12867 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Krishna Kanth Reddy <krish.reddy@samsung.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
This commit is contained in:
parent
5969ca7aa1
commit
7165ef5084
@ -1804,6 +1804,7 @@ enum spdk_nvme_flush_broadcast {
|
||||
SPDK_NVME_FLUSH_BROADCAST_SUPPORTED = 3
|
||||
};
|
||||
|
||||
#define SPDK_NVME_MAXDNA_FIELD_SIZE 16
|
||||
#define SPDK_NVME_NQN_FIELD_SIZE 256
|
||||
|
||||
/** Identify Controller data NVMe over Fabrics-specific fields */
|
||||
@ -2344,7 +2345,8 @@ struct __attribute__((packed)) spdk_nvme_ctrlr_data {
|
||||
/** NVM vendor specific command configuration */
|
||||
uint8_t nvscc;
|
||||
|
||||
uint8_t reserved531;
|
||||
/** Namespace Write Protection Capabilities */
|
||||
uint8_t nwpc;
|
||||
|
||||
/** atomic compare & write unit */
|
||||
uint16_t acwu;
|
||||
@ -2361,7 +2363,13 @@ struct __attribute__((packed)) spdk_nvme_ctrlr_data {
|
||||
/* maximum number of allowed namespaces */
|
||||
uint32_t mnan;
|
||||
|
||||
uint8_t reserved4[224];
|
||||
/* maximum domain namespace attachments */
|
||||
uint8_t maxdna[SPDK_NVME_MAXDNA_FIELD_SIZE];
|
||||
|
||||
/* maximum I/O controller namespace attachments */
|
||||
uint32_t maxcna;
|
||||
|
||||
uint8_t reserved4[204];
|
||||
|
||||
uint8_t subnqn[SPDK_NVME_NQN_FIELD_SIZE];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user