Author: imp Date: Wed Sep 4 19:19:23 2019 New Revision: 351824 URL: https://svnweb.freebsd.org/changeset/base/351824
Log: 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. Modified: head/sbin/nvmecontrol/identify_ext.c Modified: head/sbin/nvmecontrol/identify_ext.c ============================================================================== --- head/sbin/nvmecontrol/identify_ext.c Wed Sep 4 18:32:11 2019 (r351823) +++ head/sbin/nvmecontrol/identify_ext.c Wed Sep 4 19:19:23 2019 (r351824) @@ -192,6 +192,8 @@ nvme_print_controller(struct nvme_controller_data *cda 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"); _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"