]> git.openfabrics.org - ~shefty/ibacm.git/commitdiff
refresh (create temporary patch)
authorSean Hefty <sean.hefty@intel.com>
Thu, 16 Dec 2010 01:34:07 +0000 (17:34 -0800)
committerSean Hefty <sean.hefty@intel.com>
Thu, 16 Dec 2010 01:34:07 +0000 (17:34 -0800)
meta
patches/refresh-temp [new file with mode: 0644]

diff --git a/meta b/meta
index 97242bdcc0e364a3b70806cbd3a2e8a3cbf0bed8..66e45e305e23a5b3516792d0197b2243e5f156fa 100644 (file)
--- a/meta
+++ b/meta
@@ -1,8 +1,9 @@
 Version: 1
-Previous: d47e0dd71a7db598b5ff2ece133b076258d55fa4
-Head: 6f466455d64655ca852ff6942c44052592296c75
+Previous: 0d23347d84a90891bb3b3398405e496704a17b02
+Head: 91ca04528e4b066cd68fb7054f024a4b00e8f347
 Applied:
   lmc: 6f466455d64655ca852ff6942c44052592296c75
+  refresh-temp: 91ca04528e4b066cd68fb7054f024a4b00e8f347
 Unapplied:
   xref-lid: 3dc679d022e813709a18afce79297bb0d74a7b29
   ibacm-check-for-nodelay-on-pat: 1540687d721504ec1810aac7cc53ec7272415eb9
diff --git a/patches/refresh-temp b/patches/refresh-temp
new file mode 100644 (file)
index 0000000..49c7f7f
--- /dev/null
@@ -0,0 +1,31 @@
+Bottom: 44bac54467fee44e1945f9a0311472cc84ac5b50
+Top:    b2af32a606dc3c3e64f150250320dc7d52426926
+Author: Sean Hefty <sean.hefty@intel.com>
+Date:   2010-12-15 17:34:07 -0800
+
+Refresh of lmc
+
+---
+
+diff --git a/src/acm.c b/src/acm.c
+index e8f7a74..e0f0b94 100644
+--- a/src/acm.c
++++ b/src/acm.c
+@@ -112,7 +112,7 @@ struct acm_port
+       int                 gid_cnt;
+       uint16_t            pkey_cnt;
+       uint16_t            lid;
+-      uint8_t             lid_mask;
++      uint16_t            lid_mask;
+       uint8_t             port_num;
+ };
+@@ -2582,7 +2582,7 @@ static void acm_init_port(struct acm_port *port)
+                       break;
+       }
+       port->lid = attr.lid;
+-      port->lid_mask = (1 << attr.lmc) - 1;
++      port->lid_mask = 0xffff - (1 << attr.lmc) - 1;
+       acm_init_dest(&port->sa_dest, ACM_ADDRESS_LID,
+               (uint8_t *) &attr.sm_lid, sizeof(attr.sm_lid));