]> git.openfabrics.org - ~shefty/ibacm.git/commitdiff
rename
authorSean Hefty <sean.hefty@intel.com>
Mon, 15 Nov 2010 22:06:38 +0000 (14:06 -0800)
committerSean Hefty <sean.hefty@intel.com>
Mon, 15 Nov 2010 22:06:38 +0000 (14:06 -0800)
meta
patches/ibacm-display-lid-and-gid-addr [deleted file]
patches/log_lid [new file with mode: 0644]

diff --git a/meta b/meta
index f18b851d06d03f586e07ac0b334854edb16d8c5f..3f9a610a7c0c1d57e7c7f6763ee331bed8def962 100644 (file)
--- a/meta
+++ b/meta
@@ -1,11 +1,11 @@
 Version: 1
-Previous: af8cac0429c49252ee30fe89a150e9a818d7ca0b
+Previous: 2ae0f843d9bb0b1ff7d873585189fed89a00e05c
 Head: a447930f64695cb689443978bf381f00a60eac03
 Applied:
   logging: 88d1bcda7ee4d64fe55e1e639cd485422a30c23b
   logging2: b69e982755c03636396faab8b31f5359e5a67a6b
   acm_snoop: a8dc60dcbdd2ab3da998585bc84770e6d59f0114
-  ibacm-display-lid-and-gid-addr: a447930f64695cb689443978bf381f00a60eac03
+  log_lid: a447930f64695cb689443978bf381f00a60eac03
 Unapplied:
   loopback: 8c3473645ff2d6097b6a9c351a726ea48c1d8165
 Hidden:
diff --git a/patches/ibacm-display-lid-and-gid-addr b/patches/ibacm-display-lid-and-gid-addr
deleted file mode 100644 (file)
index 8684eba..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-Bottom: a73356f8275f4ece6f73baa1869b2fcabd14f560
-Top:    9962a940efd219c52418715f8e1c4d496699b292
-Author: Sean Hefty <sean.hefty@intel.com>
-Date:   2010-11-15 14:05:45 -0800
-
-ibacm: display LID and GID addresses in log
-
-Add ability to handle LID/GID addresses in acm_log_addr.  This
-is required to display SA and multicast destination addresses
-in the acm log file.
-
-Signed-off-by: Sean Hefty <sean.hefty@intel.com>
-
-
----
-
-diff --git a/src/acm.c b/src/acm.c
-index 51836a8..daa0985 100644
---- a/src/acm.c
-+++ b/src/acm.c
-@@ -254,6 +254,7 @@ static void acm_log_addr(int level, const char *msg, uint16_t addr_type, uint8_t
-               fprintf(flog, "%s\n", ip_addr);
-               break;
-       case ACM_EP_INFO_ADDRESS_IP6:
-+      case ACM_ADDRESS_GID:
-               inet_ntop(AF_INET6, addr, ip_addr, ACM_MAX_ADDRESS);
-               fprintf(flog, "%s\n", ip_addr);
-               break;
-@@ -262,6 +263,9 @@ static void acm_log_addr(int level, const char *msg, uint16_t addr_type, uint8_t
-               fprintf(flog, "path record, SLID 0x%x, DLID 0x%x\n",
-                       ntohs(path->slid), ntohs(path->dlid));
-               break;
-+      case ACM_ADDRESS_LID:
-+              fprintf(flog, "LID 0x%x\n", *((uint16_t *) addr));
-+              break;
-       default:
-               fprintf(flog, "unknown address 0x%x\n", addr_type);
-       }
diff --git a/patches/log_lid b/patches/log_lid
new file mode 100644 (file)
index 0000000..8684eba
--- /dev/null
@@ -0,0 +1,38 @@
+Bottom: a73356f8275f4ece6f73baa1869b2fcabd14f560
+Top:    9962a940efd219c52418715f8e1c4d496699b292
+Author: Sean Hefty <sean.hefty@intel.com>
+Date:   2010-11-15 14:05:45 -0800
+
+ibacm: display LID and GID addresses in log
+
+Add ability to handle LID/GID addresses in acm_log_addr.  This
+is required to display SA and multicast destination addresses
+in the acm log file.
+
+Signed-off-by: Sean Hefty <sean.hefty@intel.com>
+
+
+---
+
+diff --git a/src/acm.c b/src/acm.c
+index 51836a8..daa0985 100644
+--- a/src/acm.c
++++ b/src/acm.c
+@@ -254,6 +254,7 @@ static void acm_log_addr(int level, const char *msg, uint16_t addr_type, uint8_t
+               fprintf(flog, "%s\n", ip_addr);
+               break;
+       case ACM_EP_INFO_ADDRESS_IP6:
++      case ACM_ADDRESS_GID:
+               inet_ntop(AF_INET6, addr, ip_addr, ACM_MAX_ADDRESS);
+               fprintf(flog, "%s\n", ip_addr);
+               break;
+@@ -262,6 +263,9 @@ static void acm_log_addr(int level, const char *msg, uint16_t addr_type, uint8_t
+               fprintf(flog, "path record, SLID 0x%x, DLID 0x%x\n",
+                       ntohs(path->slid), ntohs(path->dlid));
+               break;
++      case ACM_ADDRESS_LID:
++              fprintf(flog, "LID 0x%x\n", *((uint16_t *) addr));
++              break;
+       default:
+               fprintf(flog, "unknown address 0x%x\n", addr_type);
+       }