diff --git a/examples/nvme/identify/identify.c b/examples/nvme/identify/identify.c index 837935909..5fa7b6f7f 100644 --- a/examples/nvme/identify/identify.c +++ b/examples/nvme/identify/identify.c @@ -629,6 +629,8 @@ print_controller(struct spdk_nvme_ctrlr *ctrlr, const struct spdk_nvme_transport printf("Command Sets Supported\n"); printf(" NVM Command Set: %s\n", cap.bits.css_nvm ? "Supported" : "Not Supported"); + printf("Boot Partition: %s\n", + cap.bits.bps ? "Supported" : "Not Supported"); printf("Memory Page Size Minimum: %" PRIu64 " bytes\n", (uint64_t)1 << (12 + cap.bits.mpsmin)); printf("Memory Page Size Maximum: %" PRIu64 " bytes\n", diff --git a/include/spdk/nvme_spec.h b/include/spdk/nvme_spec.h index 8278da3b9..68dcdf4b0 100644 --- a/include/spdk/nvme_spec.h +++ b/include/spdk/nvme_spec.h @@ -98,8 +98,12 @@ union spdk_nvme_cap_register { /** command sets supported */ uint32_t css_nvm : 1; - uint32_t css_reserved : 3; - uint32_t reserved2 : 7; + uint32_t css_reserved : 7; + + /** boot partition support */ + uint32_t bps : 1; + + uint32_t reserved2 : 2; /** memory page size minimum */ uint32_t mpsmin : 4;