]> git.openfabrics.org - ~shefty/ibacm.git/commitdiff
refresh (create temporary patch)
authorSean Hefty <sean.hefty@intel.com>
Mon, 15 Nov 2010 19:00:39 +0000 (11:00 -0800)
committerSean Hefty <sean.hefty@intel.com>
Mon, 15 Nov 2010 19:00:39 +0000 (11:00 -0800)
meta
patches/refresh-temp [new file with mode: 0644]

diff --git a/meta b/meta
index b0c1e51d093143bbe2c819d01ca107f4ad24acd6..9fcf05a8df4a560f06e6dc2977e91cb2bb2080cb 100644 (file)
--- a/meta
+++ b/meta
@@ -1,8 +1,9 @@
 Version: 1
-Previous: e18d065c60fe9ed2057a00c405485b4cec4cd8fd
-Head: 1fcfbc0bf78799aaf90fa585bd781233ee02767d
+Previous: 74bca13b56aecfeb831c5137cefa935a7bea8ade
+Head: 9b2da1d6989c65899c32fad0cdc54f623066fee6
 Applied:
   logging: 1fcfbc0bf78799aaf90fa585bd781233ee02767d
+  refresh-temp: 9b2da1d6989c65899c32fad0cdc54f623066fee6
 Unapplied:
   loopback: 8c3473645ff2d6097b6a9c351a726ea48c1d8165
 Hidden:
diff --git a/patches/refresh-temp b/patches/refresh-temp
new file mode 100644 (file)
index 0000000..1adbec7
--- /dev/null
@@ -0,0 +1,45 @@
+Bottom: fce4386974d7f89479b272a17777428be19699f0
+Top:    d1d96503c5833062d50818f5ab44f42d2432089a
+Author: Sean Hefty <sean.hefty@intel.com>
+Date:   2010-11-15 11:00:39 -0800
+
+Refresh of logging
+
+---
+
+diff --git a/src/acm.c b/src/acm.c
+index 6366491..f5eec84 100644
+--- a/src/acm.c
++++ b/src/acm.c
+@@ -1000,11 +1000,13 @@ acm_process_addr_req(struct acm_ep *ep, struct ibv_wc *wc, struct acm_mad *mad)
+               dest->req_id = mad->tid;
+       lock_acquire(&dest->lock);
++      acm_log(2, "dest state %d\n", dest->state);
+       switch (dest->state) {
+       case ACM_READY:
+               if (dest->remote_qpn == wc->src_qp)
+                       break;
++              acm_log(2, "src service has new qp, resetting\n");
+               ibv_destroy_ah(dest->ah); // TODO: ah could be in use
+               /* fall through */
+       case ACM_INIT:
+@@ -1086,6 +1088,7 @@ put:
+ static void acm_process_acm_recv(struct acm_ep *ep, struct ibv_wc *wc, struct acm_mad *mad)
+ {
+       struct acm_send_msg *req;
++      struct acm_resolve_rec *rec;
+       int free;
+       acm_log(2, "\n");
+@@ -1100,6 +1103,9 @@ static void acm_process_acm_recv(struct acm_ep *ep, struct ibv_wc *wc, struct ac
+               return;
+       }
++      rec = (struct acm_resolve_rec *) mad->data;
++      acm_log_addr(2, "acm_process_acm_recv: src  ", rec->src_type, rec->src);
++      acm_log_addr(2, "acm_process_acm_recv: dest ", rec->dest_type, rec->dest);
+       if (mad->method & IB_METHOD_RESP) {
+               acm_log(2, "received response\n");
+               req = acm_get_request(ep, mad->tid, &free);