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)
Wed, Mar 27, 10:57 PM
Unknown Object (File)
Jan 12 2024, 6:38 PM
Unknown Object (File)
Nov 24 2023, 5:00 AM
Unknown Object (File)
Nov 7 2023, 1:54 PM
Unknown Object (File)
Sep 15 2023, 9:58 PM
Unknown Object (File)
Sep 6 2023, 1:30 PM
Unknown Object (File)
Sep 6 2023, 1:29 PM
Unknown Object (File)
Sep 6 2023, 1:23 PM
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.