Report the Host Buffer Memory minimum and preferred sizes.

The Host Buffer feature (NVMe 1.4 section 89) allows for the NVMe card
request the host provide it buffer for lookaside tables and maybe
other things. Report the card's minimum and preferred sizes with
nvmecontrol/camcontrol identify.
This commit is contained in:
imp 2019-09-04 19:19:23 +00:00
parent a81707664b
commit 7848664844

View File

@ -192,6 +192,8 @@ nvme_print_controller(struct nvme_controller_data *cdata)
uint128_to_str(to128(cdata->untncap.unvmcap),
cbuf, sizeof(cbuf)));
}
printf("Host Buffer Preferred Size: %d bytes\n", cdata->hmpre);
printf("Host Buffer Minimum Size: %d bytes\n", cdata->hmmin);
printf("\n");
printf("NVM Command Set Attributes\n");