Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Nov 2019 15:45:20 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r355091 - stable/11/sys/dev/nvme
Message-ID:  <201911251545.xAPFjKZI039511@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



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