summaryrefslogtreecommitdiffstats
path: root/hw/rdma
diff options
context:
space:
mode:
authorKamal Heib2019-02-27 09:55:46 +0100
committerMarcel Apfelbaum2019-03-16 14:52:44 +0100
commitcb42a5867e7677a9fa1885a8436d3e7e8cbeeee9 (patch)
treef155dd08860a3aa35c43aaa926840ff5526b75b6 /hw/rdma
parenthw/pvrdma: Fix zero-initialization of resp in {query/modify}_qp (diff)
downloadqemu-cb42a5867e7677a9fa1885a8436d3e7e8cbeeee9.tar.gz
qemu-cb42a5867e7677a9fa1885a8436d3e7e8cbeeee9.tar.xz
qemu-cb42a5867e7677a9fa1885a8436d3e7e8cbeeee9.zip
hw/rdma: Fix the error prints in create_qp_rings()
The prints should indicate that we are talking about QP and not CQ. Fixes: 98d176f8e592 ("hw/rdma: PVRDMA commands and data-path ops") Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com> Signed-off-by: Kamal Heib <kamalheib1@gmail.com> Message-Id: <20190227085546.23690-1-kamalheib1@gmail.com> Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Diffstat (limited to 'hw/rdma')
-rw-r--r--hw/rdma/vmw/pvrdma_cmd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/rdma/vmw/pvrdma_cmd.c b/hw/rdma/vmw/pvrdma_cmd.c
index be8c2b61c9..4afcd2037d 100644
--- a/hw/rdma/vmw/pvrdma_cmd.c
+++ b/hw/rdma/vmw/pvrdma_cmd.c
@@ -374,13 +374,13 @@ static int create_qp_rings(PCIDevice *pci_dev, uint64_t pdir_dma,
dir = rdma_pci_dma_map(pci_dev, pdir_dma, TARGET_PAGE_SIZE);
if (!dir) {
- rdma_error_report("Failed to map to CQ page directory");
+ rdma_error_report("Failed to map to QP page directory");
goto out;
}
tbl = rdma_pci_dma_map(pci_dev, dir[0], TARGET_PAGE_SIZE);
if (!tbl) {
- rdma_error_report("Failed to map to CQ page table");
+ rdma_error_report("Failed to map to QP page table");
goto out;
}
@@ -393,7 +393,7 @@ static int create_qp_rings(PCIDevice *pci_dev, uint64_t pdir_dma,
sr->ring_state = (struct pvrdma_ring *)
rdma_pci_dma_map(pci_dev, tbl[0], TARGET_PAGE_SIZE);
if (!sr->ring_state) {
- rdma_error_report("Failed to map to CQ ring state");
+ rdma_error_report("Failed to map to QP ring state");
goto out_free_sr_mem;
}