projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4236e60
)
nvmet: pci-epf: improve debug message
author
Damien Le Moal
<dlemoal@kernel.org>
Thu, 8 May 2025 23:25:03 +0000
(08:25 +0900)
committer
Christoph Hellwig
<hch@lst.de>
Tue, 13 May 2025 05:57:11 +0000
(07:57 +0200)
Improve the debug message of nvmet_pci_epf_create_cq() to indicate if a
completion queue IRQ is disabled.
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Niklas Cassel <cassel@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/pci-epf.c
patch
|
blob
|
history
diff --git
a/drivers/nvme/target/pci-epf.c
b/drivers/nvme/target/pci-epf.c
index
a6ccf3f
..
94a908b
100644
(file)
--- a/
drivers/nvme/target/pci-epf.c
+++ b/
drivers/nvme/target/pci-epf.c
@@
-1321,8
+1321,14
@@
static u16 nvmet_pci_epf_create_cq(struct nvmet_ctrl *tctrl,
set_bit(NVMET_PCI_EPF_Q_LIVE, &cq->flags);
- dev_dbg(ctrl->dev, "CQ[%u]: %u entries of %zu B, IRQ vector %u\n",
- cqid, qsize, cq->qes, cq->vector);
+ if (test_bit(NVMET_PCI_EPF_Q_IRQ_ENABLED, &cq->flags))
+ dev_dbg(ctrl->dev,
+ "CQ[%u]: %u entries of %zu B, IRQ vector %u\n",
+ cqid, qsize, cq->qes, cq->vector);
+ else
+ dev_dbg(ctrl->dev,
+ "CQ[%u]: %u entries of %zu B, IRQ disabled\n",
+ cqid, qsize, cq->qes);
return NVME_SC_SUCCESS;