Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jan 2019 01:16:59 +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: r343332 - stable/11/sys/dev/nvme
Message-ID:  <201901230116.x0N1Gxxf092688@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Wed Jan 23 01:16:59 2019
New Revision: 343332
URL: https://svnweb.freebsd.org/changeset/base/343332

Log:
  MFC r342546: Add descriptions to NVMe interrupts.

Modified:
  stable/11/sys/dev/nvme/nvme_qpair.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/nvme/nvme_qpair.c
==============================================================================
--- stable/11/sys/dev/nvme/nvme_qpair.c	Wed Jan 23 01:16:19 2019	(r343331)
+++ stable/11/sys/dev/nvme/nvme_qpair.c	Wed Jan 23 01:16:59 2019	(r343332)
@@ -475,6 +475,13 @@ nvme_qpair_construct(struct nvme_qpair *qpair, uint32_
 		bus_setup_intr(ctrlr->dev, qpair->res,
 		    INTR_TYPE_MISC | INTR_MPSAFE, NULL,
 		    nvme_qpair_msix_handler, qpair, &qpair->tag);
+		if (id == 0) {
+			bus_describe_intr(ctrlr->dev, qpair->res, qpair->tag,
+			    "admin");
+		} else {
+			bus_describe_intr(ctrlr->dev, qpair->res, qpair->tag,
+			    "io%d", id - 1);
+		}
 	}
 
 	mtx_init(&qpair->lock, "nvme qpair lock", NULL, MTX_DEF);



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