Page MenuHomeFreeBSD

Fix bhyve's NVMe Completion Queue entry values
ClosedPublic

Authored by chuck on Dec 31 2018, 6:58 PM.
Tags
Referenced Files
Unknown Object (File)
Wed, Jul 3, 11:51 AM
Unknown Object (File)
Sun, Jun 30, 10:26 AM
Unknown Object (File)
Thu, Jun 27, 10:33 PM
Unknown Object (File)
Thu, Jun 27, 4:36 PM
Unknown Object (File)
May 18 2024, 4:44 PM
Unknown Object (File)
Mar 7 2024, 11:34 PM
Unknown Object (File)
Feb 22 2024, 9:50 PM
Unknown Object (File)
Dec 20 2023, 4:03 AM
Subscribers

Details

Summary

The function which processes Admin commands was not returning the
Command Specific value in Completion Queue Entry, Dword 0 (CDW0). This
effects commands such as Set Features, Number of Queues which returns
the number of queues supported by the device in CDW0. In this case, the
host would only ever create 1 queue pair (Number of Queues is zero based).
This also masked a bug in the queue counting logic.

Diff Detail

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

Event Timeline

araujo added a reviewer: bhyve.

LGTM! Could you please set a MFC?

This revision is now accepted and ready to land.Jan 2 2019, 4:21 AM

LGTM! Could you please set a MFC?

Absolutely. I have one in the real commit message, but Differential didn't seem to like it in the summary.

LGTM! Could you please set a MFC?

Absolutely. I have one in the real commit message, but Differential didn't seem to like it in the summary.

Differential hates lines with foo : bar in them :(

This revision was automatically updated to reflect the committed changes.