nvme/identify: add rpmb feature detection
Change-Id: Ib3d52108c5deb209828fe02caaa9f5f968c91d36 Signed-off-by: Chunyang Hui <chunyang.hui@intel.com> Reviewed-on: https://review.gerrithub.io/c/445638 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
parent
6ff6f6d6f8
commit
53d446c8a3
@ -1129,6 +1129,16 @@ print_controller(struct spdk_nvme_ctrlr *ctrlr, const struct spdk_nvme_transport
|
||||
cdata->sgls.sgl_offset ? "Supported" : "Not Supported");
|
||||
printf(" Transport SGL Data Block: %s\n",
|
||||
cdata->sgls.transport_sgl ? "Supported" : "Not Supported");
|
||||
printf("Replay Protected Memory Block:");
|
||||
if (cdata->rpmbs.num_rpmb_units > 0) {
|
||||
printf(" Supported\n");
|
||||
printf(" Number of RPMB Units: %d\n", cdata->rpmbs.num_rpmb_units);
|
||||
printf(" Authentication Method: %s\n", cdata->rpmbs.auth_method == 0 ? "HMAC SHA-256" : "Unknown");
|
||||
printf(" Total Size (in 128KB units) = %d\n", cdata->rpmbs.total_size + 1);
|
||||
printf(" Access Size (in 512B units) = %d\n", cdata->rpmbs.access_size + 1);
|
||||
} else {
|
||||
printf(" Not Supported\n");
|
||||
}
|
||||
printf("\n");
|
||||
|
||||
printf("Firmware Slot Information\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user