Page MenuHomeFreeBSD

bhyve: fix NVMe Get Log Page command
ClosedPublic

Authored by chuck on May 18 2020, 2:52 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Dec 10, 8:55 AM
Unknown Object (File)
Oct 12 2024, 9:11 AM
Unknown Object (File)
Oct 6 2024, 10:37 AM
Unknown Object (File)
Oct 5 2024, 8:00 AM
Unknown Object (File)
Oct 2 2024, 6:58 AM
Unknown Object (File)
Sep 7 2024, 6:06 PM
Unknown Object (File)
Sep 4 2024, 11:02 PM
Unknown Object (File)
Sep 3 2024, 1:22 AM
Subscribers

Details

Summary

Fix the logic in nvme_opc_get_log_page to calculate the number of DWORDS
(uint32_t) instead of WORDS (uint16_t) for the byte length. And only
return the allowed number of Log Page bytes as determined by the user
request and actual size of the requested log page.

Fixes UNH Test 1.3

Test Plan

Run UNH IOL INTERACT tests

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

chuck requested review of this revision.May 18 2020, 2:52 PM
This revision was not accepted when it landed; it landed in state Needs Review.Jun 29 2020, 12:31 AM
This revision was automatically updated to reflect the committed changes.