HomeFreeBSD

bhyve: update the NVMe CQ based on the status

Description

bhyve: update the NVMe CQ based on the status

Instead of skipping the NVMe Completion Queue update based on the
opcode, define a synthetic status value which indicates the completion
queue entry is invalid. This will also allow deferred completion queue
updates for other commands.

Also returns the correct status for unrecognized opcodes ("invalid
opcode").

Reviewed by: imp, jhb, araujo
Approved by: imp (mentor), jhb (maintainer)
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D20945

Details

Provenance
chuckAuthored on
Reviewer
imp
Differential Revision
D20945: bhyve: update the NVMe CQ based on the status
Parents
rS350076: More follow-up to r350075, I forgot to update ObsoleteFiles.
Branches
Unknown
Tags
Unknown