aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2009-01-22 01:39:40 +0300
committerAlexey Shvetsov <alexxy@gentoo.org>2009-01-22 01:39:40 +0300
commit8c1bc39c9e0c685c8e3cb612130be8aacd08be92 (patch)
treeb0b4868f766f5109112ae3fee49f9fa80fff99f6 /sys-cluster
parentAdd new diags (diff)
downloadsci-8c1bc39c9e0c685c8e3cb612130be8aacd08be92.tar.gz
sci-8c1bc39c9e0c685c8e3cb612130be8aacd08be92.tar.bz2
sci-8c1bc39c9e0c685c8e3cb612130be8aacd08be92.zip
Update ebuilds
(Portage version: 2.2_rc23/git/Linux x86_64) (Unsigned Manifest commit)
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/openib-diags/Manifest1
-rw-r--r--sys-cluster/openib-diags/files/diags-perfquery.patch55
2 files changed, 0 insertions, 56 deletions
diff --git a/sys-cluster/openib-diags/Manifest b/sys-cluster/openib-diags/Manifest
index 890d2c75d..44b75ab38 100644
--- a/sys-cluster/openib-diags/Manifest
+++ b/sys-cluster/openib-diags/Manifest
@@ -1,4 +1,3 @@
-AUX diags-perfquery.patch 2183 RMD160 350d53985e32c2edd57a98594a05d39ef4fe59e9 SHA1 74bf519e8f81a412145b94c2c017996bc220195e SHA256 99d0e054f6aeea58e96c329bab255eacd4c738fdabc5ba8fd4d34abab5fd8199
DIST OFED-1.4.tgz 61398547 RMD160 55fdf86f788a1ac86f0de842ffda545967f25431 SHA1 4d0c61409e0d41dc65906b93b592b9c331399392 SHA256 da1adc3d413b3a5731c9c46443c42fcfb88c1ad6bb9d77175a315a26a07ecaee
EBUILD openib-diags-1.4.4_p20081207.ebuild 575 RMD160 9775ed1ae17c1661ff6d5b8a32128d27d2d12409 SHA1 afbac7d3712dfd022481c83d61f8c979e89e2e68 SHA256 b356db3a446d4df280bd829bf5b8836ce2d65c95f1bcf5675e4cdd28c01cf743
MISC ChangeLog 780 RMD160 4e94250d7d8dac2ac6fb46e2f591210adc9eaa74 SHA1 3204197453faef5d1b03c9fa0d01306e9fbba5eb SHA256 a30f7a81a8c548fa1a5bdf35dd20427bc5abb4cbdc2b2345303049a123604dd0
diff --git a/sys-cluster/openib-diags/files/diags-perfquery.patch b/sys-cluster/openib-diags/files/diags-perfquery.patch
deleted file mode 100644
index 12817c184..000000000
--- a/sys-cluster/openib-diags/files/diags-perfquery.patch
+++ /dev/null
@@ -1,55 +0,0 @@
---- src/perfquery.c.orig 2007-11-27 17:05:08.000000000 -0800
-+++ src/perfquery.c 2007-11-27 17:10:01.000000000 -0800
-@@ -1,5 +1,6 @@
- /*
- * Copyright (c) 2004-2007 Voltaire Inc. All rights reserved.
-+ * Copyright (c) 2007 Xsigo Systems Inc. All rights reserved.
- *
- * This software is available to you under a choice of one of two
- * licenses. You may choose to be licensed under the terms of the GNU
-@@ -96,8 +97,11 @@
- int udebug = 0;
- char *ca = 0;
- int ca_port = 0;
-- int extended = 0;
- uint16_t cap_mask, *pc2;
-+ int allports = 0;
-+ int node_type, num_ports;
-+ uint8_t data[IB_SMP_DATA_SIZE];
-+ int extended = 0;
-
- static char const str_opts[] = "C:P:s:t:dGearRVhu";
- static const struct option long_opts[] = {
-@@ -190,6 +194,32 @@
- /* PerfMgt ClassPortInfo is a required attribute */
- if (!perf_classportinfo_query(pc, &portid, port, timeout))
- IBERROR("classportinfo query");
-+ if (!(cap_mask & 0x100)) /* bit 8 is AllPortSelect */
-+ if (port == 255) {
-+ allports = 1;
-+ IBWARN("AllPortSelect not supported");
-+ }
-+
-+ if (allports == 1) {
-+
-+ /*
-+ * Simulate all ports support in PMA
-+ * Determine node type, number of (physical) ports,
-+ * and, if switch, whether SP0 is enhanced
-+ * to determine first and last port to query
-+ */
-+
-+ /* For now, support single port CAs */
-+ if (smp_query(data, &portid, IB_ATTR_NODE_INFO, 0, 0) < 0)
-+ IBERROR("smp query nodeinfo failed");
-+ node_type = mad_get_field(data, 0, IB_NODE_TYPE_F);
-+ if (node_type != IB_NODE_CA) /* NodeType other than CA ? */
-+ IBERROR("smp query nodeinfo: Node type not CA");
-+ mad_decode_field(data, IB_NODE_NPORTS_F, &num_ports);
-+ if (num_ports != 1)
-+ IBERROR("smp query nodeinfo: %d ports; only 1 supported currently", num_ports);
-+ port = num_ports;
-+ }
-
- if (reset_only)
- goto do_reset;