|
|
0a122b |
From 4eebbdd32a06ffc62947151257883db34294b598 Mon Sep 17 00:00:00 2001
|
|
|
0a122b |
Message-Id: <4eebbdd32a06ffc62947151257883db34294b598.1387382496.git.minovotn@redhat.com>
|
|
|
0a122b |
In-Reply-To: <c5386144fbf09f628148101bc674e2421cdd16e3.1387382496.git.minovotn@redhat.com>
|
|
|
0a122b |
References: <c5386144fbf09f628148101bc674e2421cdd16e3.1387382496.git.minovotn@redhat.com>
|
|
|
0a122b |
From: Nigel Croxon <ncroxon@redhat.com>
|
|
|
0a122b |
Date: Thu, 14 Nov 2013 22:53:01 +0100
|
|
|
0a122b |
Subject: [PATCH 25/46] rdma: use DRMA_WRID_READY
|
|
|
0a122b |
|
|
|
0a122b |
RH-Author: Nigel Croxon <ncroxon@redhat.com>
|
|
|
0a122b |
Message-id: <1384469598-13137-26-git-send-email-ncroxon@redhat.com>
|
|
|
0a122b |
Patchwork-id: 55711
|
|
|
0a122b |
O-Subject: [RHEL7.0 PATCH 25/42] rdma: use DRMA_WRID_READY
|
|
|
0a122b |
Bugzilla: 1011720
|
|
|
0a122b |
RH-Acked-by: Orit Wasserman <owasserm@redhat.com>
|
|
|
0a122b |
RH-Acked-by: Amit Shah <amit.shah@redhat.com>
|
|
|
0a122b |
RH-Acked-by: Paolo Bonzini <pbonzini@redhat.com>
|
|
|
0a122b |
|
|
|
0a122b |
Bugzilla: 1011720
|
|
|
0a122b |
https://bugzilla.redhat.com/show_bug.cgi?id=1011720
|
|
|
0a122b |
|
|
|
0a122b |
>From commit ID:
|
|
|
0a122b |
commit 877726397f7e24d0c8a2b303a852769b5edd155c
|
|
|
0a122b |
Author: Isaku Yamahata <yamahata@private.email.ne.jp>
|
|
|
0a122b |
Date: Sat Aug 3 22:54:53 2013 -0400
|
|
|
0a122b |
|
|
|
0a122b |
rdma: use RDMA_WRID_READY
|
|
|
0a122b |
|
|
|
0a122b |
Reviewed-by: Michael R. Hines <mrhines@us.ibm.com>
|
|
|
0a122b |
Signed-off-by: Isaku Yamahata <yamahata@private.email.ne.jp>
|
|
|
0a122b |
Signed-off-by: Michael R. Hines <mrhines@us.ibm.com>
|
|
|
0a122b |
Message-id: 1375584894-9917-7-git-send-email-mrhines@linux.vnet.ibm.com
|
|
|
0a122b |
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
|
|
0a122b |
---
|
|
|
0a122b |
migration-rdma.c | 4 ++--
|
|
|
0a122b |
1 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
0a122b |
|
|
|
0a122b |
Signed-off-by: Michal Novotny <minovotn@redhat.com>
|
|
|
0a122b |
---
|
|
|
0a122b |
migration-rdma.c | 4 ++--
|
|
|
0a122b |
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
0a122b |
|
|
|
0a122b |
diff --git a/migration-rdma.c b/migration-rdma.c
|
|
|
0a122b |
index ea16f0e..6afe98c 100644
|
|
|
0a122b |
--- a/migration-rdma.c
|
|
|
0a122b |
+++ b/migration-rdma.c
|
|
|
0a122b |
@@ -2223,7 +2223,7 @@ static int qemu_rdma_connect(RDMAContext *rdma, Error **errp)
|
|
|
0a122b |
|
|
|
0a122b |
rdma_ack_cm_event(cm_event);
|
|
|
0a122b |
|
|
|
0a122b |
- ret = qemu_rdma_post_recv_control(rdma, 0);
|
|
|
0a122b |
+ ret = qemu_rdma_post_recv_control(rdma, RDMA_WRID_READY);
|
|
|
0a122b |
if (ret) {
|
|
|
0a122b |
ERROR(errp, "posting second control recv!");
|
|
|
0a122b |
goto err_rdma_source_connect;
|
|
|
0a122b |
@@ -2735,7 +2735,7 @@ static int qemu_rdma_accept(RDMAContext *rdma)
|
|
|
0a122b |
|
|
|
0a122b |
rdma_ack_cm_event(cm_event);
|
|
|
0a122b |
|
|
|
0a122b |
- ret = qemu_rdma_post_recv_control(rdma, 0);
|
|
|
0a122b |
+ ret = qemu_rdma_post_recv_control(rdma, RDMA_WRID_READY);
|
|
|
0a122b |
if (ret) {
|
|
|
0a122b |
fprintf(stderr, "rdma migration: error posting second control recv!\n");
|
|
|
0a122b |
goto err_rdma_dest_wait;
|
|
|
0a122b |
--
|
|
|
0a122b |
1.7.11.7
|
|
|
0a122b |
|