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:
Warner Losh 2019-09-04 19:19:23 +00:00
parent 5d0866bcea
commit 10bb6d358d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=351824

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");