mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 08:02:27 +02:00
nvmet: pci-epf: improve debug message
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>
This commit is contained in:
parent
4236e600bf
commit
4f6f3f4fe3
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user