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:
parent
5d0866bcea
commit
10bb6d358d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=351824
@ -192,6 +192,8 @@ nvme_print_controller(struct nvme_controller_data *cdata)
|
|||||||
uint128_to_str(to128(cdata->untncap.unvmcap),
|
uint128_to_str(to128(cdata->untncap.unvmcap),
|
||||||
cbuf, sizeof(cbuf)));
|
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("\n");
|
||||||
printf("NVM Command Set Attributes\n");
|
printf("NVM Command Set Attributes\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user