Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 2019 16:30:51 +0000 (UTC)
From:      Chuck Tuffli <chuck@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r345451 - stable/12/usr.sbin/bhyve
Message-ID:  <201903231630.x2NGUpBi079467@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: chuck
Date: Sat Mar 23 16:30:50 2019
New Revision: 345451
URL: https://svnweb.freebsd.org/changeset/base/345451

Log:
  MFC r342762:
  bhyve(8): Fix bhyve's NVMe Completion Queue entry values
  
  Approved by:	imp (mentor)

Modified:
  stable/12/usr.sbin/bhyve/pci_nvme.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/usr.sbin/bhyve/pci_nvme.c
==============================================================================
--- stable/12/usr.sbin/bhyve/pci_nvme.c	Sat Mar 23 15:41:32 2019	(r345450)
+++ stable/12/usr.sbin/bhyve/pci_nvme.c	Sat Mar 23 16:30:50 2019	(r345451)
@@ -947,6 +947,7 @@ pci_nvme_handle_admin_cmd(struct pci_nvme_softc* sc, u
 			cq = &sc->compl_queues[0];
 
 			cp = &(cq->qbase)[cq->tail];
+			cp->cdw0 = compl.cdw0;
 			cp->sqid = 0;
 			cp->sqhd = sqhead;
 			cp->cid = cmd->cid;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903231630.x2NGUpBi079467>