svn commit: r355091 - stable/11/sys/dev/nvme
Alexander Motin
mav at FreeBSD.org
Mon Nov 25 15:45:20 UTC 2019
Author: mav
Date: Mon Nov 25 15:45:19 2019
New Revision: 355091
URL: https://svnweb.freebsd.org/changeset/base/355091
Log:
MFC r341710 (by imp):
Even though they are reserved, cdw2 and cdw3 can be set via nvme-cli
(and soon nvmecontrol). Go ahead and copy them into rsvd2 and rsvd3.
Modified:
stable/11/sys/dev/nvme/nvme_ctrlr.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/dev/nvme/nvme_ctrlr.c
==============================================================================
--- stable/11/sys/dev/nvme/nvme_ctrlr.c Mon Nov 25 15:23:35 2019 (r355090)
+++ stable/11/sys/dev/nvme/nvme_ctrlr.c Mon Nov 25 15:45:19 2019 (r355091)
@@ -1004,6 +1004,8 @@ nvme_ctrlr_passthrough_cmd(struct nvme_controller *ctr
req = nvme_allocate_request_null(nvme_pt_done, pt);
req->cmd.opc = pt->cmd.opc;
+ req->cmd.rsvd2 = pt->cmd.rsvd2;
+ req->cmd.rsvd3 = pt->cmd.rsvd3;
req->cmd.cdw10 = pt->cmd.cdw10;
req->cmd.cdw11 = pt->cmd.cdw11;
req->cmd.cdw12 = pt->cmd.cdw12;
More information about the svn-src-all
mailing list