From bdrung at moszumanska.debian.org Mon Aug 21 16:13:36 2017 From: bdrung at moszumanska.debian.org (Benjamin Drung) Date: Mon, 21 Aug 2017 16:13:36 +0000 Subject: [Pkg-ofed-commits] [infiniband-diags] branch master updated (d7dd173 -> fb6e51b) Message-ID: <20170821161330.19955.62997@moszumanska.debian.org> This is an automated email from the git hooks/post-receive script. bdrung pushed a change to branch master in repository infiniband-diags. from d7dd173 Release infiniband-diags 1.6.7-1 new 1025bf5 Point debian/watch to GitHub new 5fb99d5 New upstream version 2.0.0 new 3a4e5c0 Merge tag 'upstream/2.0.0' new 5194409 Drop patches that were accepted upstream new 18fef9b Refresh remaining patch new d6af89f Run wrap-and-sort new f6973cb Avoid libibmad files in libibnetdisc* packages new 1607b39 Move library man pages to libibnetdisc-dev new 351b04a Add libibmad5 and libibmad-dev new 029a77f Override false positive for Certificate Authoritys (CAs) new badf927 debian/rules: Call dh_install with --fail-missing new c611638 Add default configs to infiniband-diags new aa57e46 Fix man page warnings/errors new f5a70a1 Drop unneeded README.Debian (rdma-ndd moved to rdma-core) new ea3ed17 Drop unneeded debian/dirs new 42ebe57 Update Debian copyright new 4ab18b7 Bump Standards-Version to 4.0.1 (no changes needed) new fb6e51b Release 2.0.0-1 The 18 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: COPYING | 3 +- ChangeLog | 9367 +------------------- INSTALL | 370 + Makefile.am | 45 +- Makefile.in | 734 +- README | 87 +- config.h.in | 15 +- configure | 489 +- configure.ac | 87 +- debian/README.Debian | 46 - debian/changelog | 16 + debian/control | 48 +- debian/copyright | 128 +- debian/dirs | 1 - debian/infiniband-diags.install | 2 + debian/infiniband-diags.lintian-overrides | 3 + debian/infiniband-diags.manpages | 58 - debian/libibmad-dev.install | 3 + debian/libibmad5.install | 1 + debian/libibmad5.symbols | 154 + debian/libibnetdisc-dev.install | 7 +- debian/libibnetdisc5.install | 2 +- .../0001-Fix-bad-whatis-entries-in-man-pages.patch | 424 + ...2-Fix-undefined-bi-macro-man-page-warning.patch | 32 + debian/patches/comment_test_out | 8 +- debian/patches/fix-spelling-errors | 68 - debian/patches/series | 6 +- debian/patches/update_am_init_automake | 32 - debian/patches/update_autotools_option | 32 - debian/patches/update_shebang | 13 - debian/rules | 3 +- debian/watch | 4 +- doc/generate | 2 +- doc/man/ibhosts.8 | 8 + doc/man/ibhosts.8.in | 8 + doc/man/iblinkinfo.8 | 4 +- doc/man/iblinkinfo.8.in | 4 +- doc/man/ibqueryerrors.8 | 2 +- doc/man/ibqueryerrors.8.in | 2 +- doc/man/ibrouters.8 | 8 + doc/man/ibrouters.8.in | 8 + doc/man/ibswitches.8 | 8 + doc/man/ibswitches.8.in | 8 + doc/man/infiniband-diags.8 | 2 +- doc/man/infiniband-diags.8.in | 2 +- doc/man/rdma-ndd.8 | 105 - doc/man/rdma-ndd.8.in | 105 - doc/rst/ibhosts.8.in.rst | 1 + doc/rst/iblinkinfo.8.in.rst | 4 +- doc/rst/ibqueryerrors.8.in.rst | 2 +- doc/rst/ibrouters.8.in.rst | 1 + doc/rst/ibswitches.8.in.rst | 1 + doc/rst/infiniband-diags.8.in.rst | 4 +- doc/rst/rdma-ndd.8.in.rst | 88 - etc/ibdiag.conf | 2 - etc/rdma-ndd.init | 4 +- etc/rdma-ndd.init.in | 139 - etc/rdma-ndd.service | 4 +- etc/rdma-ndd.service.in | 12 - include/ibdiag_common.h | 13 +- include/ibdiag_version.h | 2 +- infiniband-diags.spec | 75 +- infiniband-diags.spec.in | 71 +- libibmad/ChangeLog | 88 + libibmad/Makefile.am | 34 + {libibnetdisc => libibmad}/Makefile.in | 482 +- libibmad/README | 7 + libibmad/include/infiniband/mad.h | 1722 ++++ .../include/infiniband/mad_osd.h | 31 +- .../libibnetdisc.ver => libibmad/libibmad.ver | 4 +- libibmad/src/bm.c | 107 + libibmad/src/cc.c | 118 + libibmad/src/dump.c | 1162 +++ libibmad/src/fields.c | 1260 +++ libibmad/src/gs.c | 133 + libibmad/src/libibmad.map | 156 + libibmad/src/mad.c | 211 + .../ibnetdisc_osd.h => libibmad/src/mad_internal.h | 28 +- libibmad/src/portid.c | 127 + libibmad/src/register.c | 178 + libibmad/src/resolve.c | 248 + libibmad/src/rpc.c | 441 + libibmad/src/sa.c | 191 + libibmad/src/serv.c | 200 + libibmad/src/smp.c | 149 + libibmad/src/vendor.c | 111 + libibnetdisc/Makefile.am | 5 +- libibnetdisc/Makefile.in | 151 +- libibnetdisc/src/ibnetdisc.c | 24 +- libibnetdisc/src/internal.h | 1 - scripts/ibhosts | 19 +- scripts/ibhosts.in | 19 +- scripts/ibrouters | 19 +- scripts/ibrouters.in | 19 +- scripts/ibswitches | 19 +- scripts/ibswitches.in | 19 +- src/ibaddr.c | 2 +- src/ibdiag_common.c | 42 +- src/ibportstate.c | 39 +- src/ibsendtrap.c | 62 + src/ibstat.c | 15 +- src/ibtracert.c | 2 +- src/mcm_rereg_test.c | 12 +- src/perfquery.c | 136 +- src/rdma-ndd.c | 428 - src/saquery.c | 6 +- src/smpdump.c | 7 +- src/smpquery.c | 2 +- src/vendstat.c | 14 +- 109 files changed, 9284 insertions(+), 11953 deletions(-) create mode 100644 INSTALL delete mode 100644 debian/README.Debian delete mode 100644 debian/dirs create mode 100644 debian/infiniband-diags.lintian-overrides delete mode 100644 debian/infiniband-diags.manpages create mode 100644 debian/libibmad-dev.install create mode 100644 debian/libibmad5.install create mode 100644 debian/libibmad5.symbols create mode 100644 debian/patches/0001-Fix-bad-whatis-entries-in-man-pages.patch create mode 100644 debian/patches/0002-Fix-undefined-bi-macro-man-page-warning.patch delete mode 100644 debian/patches/fix-spelling-errors delete mode 100644 debian/patches/update_am_init_automake delete mode 100644 debian/patches/update_autotools_option delete mode 100644 debian/patches/update_shebang delete mode 100644 doc/man/rdma-ndd.8 delete mode 100644 doc/man/rdma-ndd.8.in delete mode 100644 doc/rst/rdma-ndd.8.in.rst delete mode 100644 etc/rdma-ndd.init.in delete mode 100644 etc/rdma-ndd.service.in create mode 100644 libibmad/ChangeLog create mode 100644 libibmad/Makefile.am copy {libibnetdisc => libibmad}/Makefile.in (51%) create mode 100644 libibmad/README create mode 100644 libibmad/include/infiniband/mad.h copy libibnetdisc/include/infiniband/ibnetdisc_osd.h => libibmad/include/infiniband/mad_osd.h (78%) copy libibnetdisc/libibnetdisc.ver => libibmad/libibmad.ver (80%) create mode 100644 libibmad/src/bm.c create mode 100644 libibmad/src/cc.c create mode 100644 libibmad/src/dump.c create mode 100644 libibmad/src/fields.c create mode 100644 libibmad/src/gs.c create mode 100644 libibmad/src/libibmad.map create mode 100644 libibmad/src/mad.c copy libibnetdisc/include/infiniband/ibnetdisc_osd.h => libibmad/src/mad_internal.h (76%) create mode 100644 libibmad/src/portid.c create mode 100644 libibmad/src/register.c create mode 100644 libibmad/src/resolve.c create mode 100644 libibmad/src/rpc.c create mode 100644 libibmad/src/sa.c create mode 100644 libibmad/src/serv.c create mode 100644 libibmad/src/smp.c create mode 100644 libibmad/src/vendor.c delete mode 100644 src/rdma-ndd.c -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/infiniband-diags.git From bdrung at moszumanska.debian.org Mon Aug 21 16:13:37 2017 From: bdrung at moszumanska.debian.org (Benjamin Drung) Date: Mon, 21 Aug 2017 16:13:37 +0000 Subject: [Pkg-ofed-commits] [infiniband-diags] 01/18: Point debian/watch to GitHub In-Reply-To: <20170821161330.19955.62997@moszumanska.debian.org> References: <20170821161330.19955.62997@moszumanska.debian.org> Message-ID: This is an automated email from the git hooks/post-receive script. bdrung pushed a commit to branch master in repository infiniband-diags. commit 1025bf5fa393c41ed728dcf397b99fe310d95b0c Author: Benjamin Drung Date: Thu Jul 13 10:15:06 2017 +0200 Point debian/watch to GitHub --- debian/watch | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/debian/watch b/debian/watch index 1827f8d..b2deefd 100644 --- a/debian/watch +++ b/debian/watch @@ -1,4 +1,2 @@ -# watch control file for uscan version=3 - -https://www.openfabrics.org/downloads/management/infiniband-diags-(.*)\.(?:tar.gz|tar.bz2|tar.xz) +https://github.com/linux-rdma/infiniband-diags/releases (?:.*?/)?infiniband-diags-(\d[\d.]*)\.tar\.(?:gz|bz2|xz) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/infiniband-diags.git From bdrung at moszumanska.debian.org Mon Aug 21 16:13:37 2017 From: bdrung at moszumanska.debian.org (Benjamin Drung) Date: Mon, 21 Aug 2017 16:13:37 +0000 Subject: [Pkg-ofed-commits] [infiniband-diags] 02/18: New upstream version 2.0.0 In-Reply-To: <20170821161330.19955.62997@moszumanska.debian.org> References: <20170821161330.19955.62997@moszumanska.debian.org> Message-ID: This is an automated email from the git hooks/post-receive script. bdrung pushed a commit to branch master in repository infiniband-diags. commit 5fb99d5158533efe54d0c46033f029cfe5c1a8d1 Author: Benjamin Drung Date: Thu Jul 13 10:16:17 2017 +0200 New upstream version 2.0.0 --- COPYING | 3 +- ChangeLog | 9367 +------------------- INSTALL | 370 + Makefile.am | 45 +- Makefile.in | 734 +- README | 87 +- config.h.in | 15 +- configure | 489 +- configure.ac | 87 +- doc/generate | 2 +- doc/man/ibhosts.8 | 8 + doc/man/ibhosts.8.in | 8 + doc/man/iblinkinfo.8 | 4 +- doc/man/iblinkinfo.8.in | 4 +- doc/man/ibqueryerrors.8 | 2 +- doc/man/ibqueryerrors.8.in | 2 +- doc/man/ibrouters.8 | 8 + doc/man/ibrouters.8.in | 8 + doc/man/ibswitches.8 | 8 + doc/man/ibswitches.8.in | 8 + doc/man/infiniband-diags.8 | 2 +- doc/man/infiniband-diags.8.in | 2 +- doc/man/rdma-ndd.8 | 105 - doc/man/rdma-ndd.8.in | 105 - doc/rst/ibhosts.8.in.rst | 1 + doc/rst/iblinkinfo.8.in.rst | 4 +- doc/rst/ibqueryerrors.8.in.rst | 2 +- doc/rst/ibrouters.8.in.rst | 1 + doc/rst/ibswitches.8.in.rst | 1 + doc/rst/infiniband-diags.8.in.rst | 4 +- doc/rst/rdma-ndd.8.in.rst | 88 - etc/ibdiag.conf | 2 - etc/rdma-ndd.init | 4 +- etc/rdma-ndd.init.in | 139 - etc/rdma-ndd.service | 4 +- etc/rdma-ndd.service.in | 12 - include/ibdiag_common.h | 13 +- include/ibdiag_version.h | 2 +- infiniband-diags.spec | 75 +- infiniband-diags.spec.in | 71 +- libibmad/ChangeLog | 88 + libibmad/Makefile.am | 34 + {libibnetdisc => libibmad}/Makefile.in | 482 +- libibmad/README | 7 + libibmad/include/infiniband/mad.h | 1722 ++++ .../include/infiniband/mad_osd.h | 20 +- libibmad/libibmad.ver | 9 + libibmad/src/bm.c | 107 + libibmad/src/cc.c | 118 + libibmad/src/dump.c | 1162 +++ libibmad/src/fields.c | 1260 +++ libibmad/src/gs.c | 133 + libibmad/src/libibmad.map | 156 + libibmad/src/mad.c | 211 + .../src/mad_internal.h | 21 +- libibmad/src/portid.c | 127 + libibmad/src/register.c | 178 + libibmad/src/resolve.c | 248 + libibmad/src/rpc.c | 441 + libibmad/src/sa.c | 191 + libibmad/src/serv.c | 200 + libibmad/src/smp.c | 149 + libibmad/src/vendor.c | 111 + libibnetdisc/Makefile.am | 5 +- libibnetdisc/Makefile.in | 151 +- libibnetdisc/src/ibnetdisc.c | 24 +- libibnetdisc/src/internal.h | 1 - scripts/ibhosts | 19 +- scripts/ibhosts.in | 19 +- scripts/ibrouters | 19 +- scripts/ibrouters.in | 19 +- scripts/ibswitches | 19 +- scripts/ibswitches.in | 19 +- src/ibaddr.c | 2 +- src/ibdiag_common.c | 42 +- src/ibportstate.c | 39 +- src/ibsendtrap.c | 62 + src/ibstat.c | 15 +- src/ibtracert.c | 2 +- src/mcm_rereg_test.c | 12 +- src/perfquery.c | 136 +- src/rdma-ndd.c | 428 - src/saquery.c | 6 +- src/smpdump.c | 7 +- src/smpquery.c | 2 +- src/vendstat.c | 14 +- 86 files changed, 8531 insertions(+), 11602 deletions(-) diff --git a/COPYING b/COPYING index 6958ce9..3fb4514 100644 --- a/COPYING +++ b/COPYING @@ -3,7 +3,8 @@ may chose to be licensed under the terms of the the OpenIB.org BSD license or the GNU General Public License (GPL) Version 2, both included below. -Copyright (c) 2004, 2005 Voltaire, Inc. All rights reserved. +Copyright (c) 2004-2008 Voltaire, Inc. All rights reserved. +Copyright (c) 2017 Intel Corp. All rights reserved. ================================================================== diff --git a/ChangeLog b/ChangeLog index b1278f6..6add52a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,9269 +1,470 @@ +2007-08-09 Ira Weiny -** Version: HEAD + * scripts/set_mthca_nodedesc.sh: change to set_nodedesc.sh + * scripts/set_mthca_nodedesc.sh: attempt to set nodedesc on all + HCA's found in sysfs -Wed Jul 27 00:52:36 2016 -0400 Ira Weiny -2937cf99350a2e423b705e8b8dd10499796a7b41 +2007-07-10 Hal Rosenstock - * update README/configure.ac for 1.6.7 + * 1.3.1 release of infiniband-diags -Sun May 15 01:40:08 2016 -0400 Ira Weiny -1f2f062792e79140facec91add31f1f9f0d85f10 +2007-06-20 Hal Rosenstock - * rdma-ndd: Add systemd support + * src/ibaddr.c, src/ibping.c, src/ibportstate.c, + src/ibsysstat.c, src/perfquery.c, src/sminfo.c, + src/smpquery.c, src/vendstat.c, Makefile.am: + Use diag common code ib_error routine -Fri May 27 17:01:13 2016 -0400 Vladimir Koushnir -846b31ce7eb93c672d99e389d011245bab58611c +2007-06-18 Hal Rosenstock - * infiniband-diags: Add Switch-IB2 support to device white lists + * man/ibaddr.8: Improve description -Tue Apr 5 08:53:05 2016 -0400 Dan Ben Yosef -0005d2a088d10e0ac0c3d9de6c4bd5f7026298e0 +2007-06-04 Hal Rosenstock - * saquery.c: Fix changing qos_class flag value to network order twice + * include/ibnetdiscover.h, src/ibnetdiscover.c, + man/ibnetdiscover.8: Add link width and speed to topology + file output -Tue Nov 10 13:23:39 2015 +0200 Hal Rosenstock -b2cfed87401983eff35cc4135f5125eb67f60db5 +2007-06-02 Hal Rosenstock - * ibsendtrap.c: Eliminate unused parameter from send_trap + * man/ibnetdiscover.8: Add topology file format section -Tue Nov 10 13:23:01 2015 +0200 Hal Rosenstock -eb3e44032628df33b69351f880f985f38c85d25b +2007-06-01 Hal Rosenstock - * ibportstate.c: Fix unsigned comparison warnings + * man/ibnetdiscover.8: Add grouping information -Tue Nov 10 13:22:51 2015 +0200 Hal Rosenstock -68f8a250102b16a2b57144984d617dfd0400261f + * include/ibnetdiscover.h, src/ibnetdiscover.c: Fix + list by nodetype operations - * Remove unused pisize parameter from dump_portinfo in ibdiag_common + * src/ibnetdiscover.c, man/ibnetdiscover.8: Add support + for -R(outer_list) -Tue Oct 13 08:38:20 2015 -0400 Hal Rosenstock -c17f74b265c0a547f34ef4019dfced74d7a6c0f9 + * Makefile.am: Add ibidsverify - * ibqueryerrors.c: Removed unused passed parameters to print_port_config and query_and_dump + * scripts/ibidsverify.pl, man/ibidsverify.8: Add script + and man page for ibidsverify -Tue Oct 13 08:38:02 2015 -0400 Hal Rosenstock -3552aa5036ccb3edfb618cac81522b229bc97d00 +2007-05-31 Hal Rosenstock - * ibcacheedit.c: Eliminate unused parameter passed to update_switchportguids + * man/ibprintca.8, man/ibprintswitch.8, man/ibprintrt.8: + Add description of list capability -Mon Oct 12 23:27:34 2015 -0400 Ira Weiny -275cc40ec83956755356eae55ee64dbf85699aec + * Makefile.am, configure.in: Add ibdatacounters - * update README/configure.ac for 1.6.6 + * scripts/ibdatacounters.in, man/ibdatacounters.8: Add + script and man page for subnet wide data counters -Wed Sep 30 08:53:51 2015 -0400 Dan Ben Yosef -d64fcf4a3d0ae20fbf497b5605cb8071e334069d + * configure.in: Change IBSCRIPTPATH from bindir to sbindir - * libibnetdisc: Avoid pushing same pointer to the hash table +2007-05-30 Hal Rosenstock -Mon Oct 12 08:30:31 2015 -0400 Hal Rosenstock -bcdc2151bad1db24e7d96ac896d57a65c7f40cfc + * Makefile.am, configure.in: Add ibrouters and ibprintrt.pl - * perfquery.c: Fix smp_query_via return value checks + * scripts/ibrouters.in, scripts/ibprintrt.pl, + man/ibrouters.8, man/ibprintrt.8: Add scripts and man pages + for display of IB routers -Mon Oct 12 08:31:23 2015 -0400 Hal Rosenstock -0cd6d05da6a6d3b679535c38a64c9600378de076 + * scripts/ibqueryerrors.pl: Add GUID to output line for ports - * ibdiag_common.c: Move static to beginning of get_build_version declaration + * scripts/ibcheckerrs.in, scripts/ibcheckport.in, + scripts/ibcheckportstate.in, scripts/ibcheckportwidth.in, + scripts/ibdatacounts.in: Add lid and port into verbose output -Thu Sep 10 19:26:08 2015 -0400 Ira Weiny -14f19aae87a59ef0df30585a7b0c3f6bea7eb274 + * scripts/ibcheckerrs.in, scripts/ibcheckport.in, + scripts/ibdatacounts.in: Change portnum to port in output - * infiniband-diags: rdma-ndd: remove udev logging when not supported + * Makefile.am, configure.in: Add ibdatacounts -Mon Aug 31 10:49:04 2015 +0300 Dan Ben Yosef -3f1aed48b0fc27df9615d89399edd0ac623b2017 + * scripts/ibdatacounts.in, man/ibdatacounts.8: Add script + to display only data counters and associated man page - * perfquery -T (print Extended Speed Counters) times out on nodes supporting RS_FEC capability. +2007-05-26 Hal Rosenstock -Wed Sep 9 14:29:38 2015 +0300 Vladimir Koushnir -1a1565006b2a2996fcac4a117d7ffc9ebc3a1b7d + * scripts/IBswcountlimits.pm: Fix node description parsing + for switches - * saquery.c: Fix saquery -D option + * scripts/iblinkinfo.pl: Add peer port link width and speed + validation -Wed Jul 22 16:14:03 2015 +0200 Ana Guerrero L?pez -552063e080c6dde686f961238e019172b3823a42 +2007-05-25 Hal Rosenstock - * rdma-ndd: fix compiler warnings. + * scripts/IBswcountlimits.pm: Add support for routers -Wed Jul 15 14:08:49 2015 -0400 Hal Rosenstock -5de1f6de8825ba70d8553be957416ab271716379 + * scripts/iblinkinfo.pl: Display remote LID with peer port info - * iblinkinfo.c: Close additional file descriptor in advance + * scripts/IBswcountlimits.pm: Add support for rem_lid in + get_link_ends subroutine -Thu Apr 16 18:27:39 2015 +0300 Vladimir Koushnir -9912de3d9dbdd31e67f736ea378d429429a81128 + * src/ibportstate.c: Handle peer ports at 1x that + should be wider and 2.5 Gbps that should be faster - * vendstat: mad_rpc_close_port not called in corner cases + * src/ibportstate.c: Add LinkSpeed/Width related components + to output -Thu Jun 25 16:12:02 2015 +0200 Michal Schmidt -efecdfb8219ad3234ea61a349a2f7a28cee76439 +2007-05-24 Hal Rosenstock - * build-sys: avoid overlinking to libudev + * scripts/ibprintca.pl: Add support for routers -Thu Jun 25 16:12:01 2015 +0200 Michal Schmidt -01071153c35f18f93b6b19075ffcbc5a7290eaf2 +2007-05-23 Hal Rosenstock - * rdma-ndd: never use udev_get_sys_path() + * scripts/ibcheckerrors.in, scripts/ibchecknet.in, + scripts/ibcheckstate.in, scripts/ibcheckwidth.in, + scripts/ibclearcounters.in, scripts/ibclearerrors.in, + scripts/ibfindnodesusing.in, scripts/IBswcountlimits.pm: + Add support for routers -Thu May 7 13:54:52 2015 +0300 Hal Rosenstock -4989004236cb59d281c743a4b91275ef555951d8 +2007-05-09 Hal Rosenstock - * ibdiag_sa.c: In sa_get_handle, handle umad_open_port and umad_register failures + * src/grouping.c: Eliminate conditional compilation + based on WORDSIZE -Sun Apr 26 18:26:16 2015 +0300 Vladimir Koushnir -f68d857412a4499cdc42ddec1059388d7a94e25d +2007-05-08 Hal Rosenstock - * ibqueryerrors: improve code related to DR option + * src/ibnetdiscover.c: Bumped build version -Sun Apr 26 12:24:06 2015 +0300 Vladimir Koushnir -13e9d76a6af2e66186bd8aa77eab8f811decaee7 + * include/grouping.h, src/grouping.c: Added support + for ISR2012 and ISR2004 - * ibqueryerrors: Close global file descriptor before running ibnd_discover_fabric +2007-04-27 Ira K. Weiny -Tue Apr 21 17:12:05 2015 +0300 Vladimir Koushnir -ae4e036450fafaafcf9abee7d2f74bfabd7d5f4a + * scripts/IBswcountlimits.pm, scripts/ibfindnodesusing.pl, + scripts/ibprintca.pl, scripts/ibprintswitch.pl, + scripts/ibqueryerrors.pl, scripts/ibswportwatch.pl: + Remove all uses of "/tmp" from perl diags - * ibqueryerrors: Fix crash when no SM is running +2007-04-14 Albert L. Chu -Sun Apr 26 18:29:31 2015 +0300 Vladimir Koushnir -35c85ad05cff4ca7bc5875320a7a7296cbb16608 + * src/saquery.c, man/saquery.8: Add switch map support + (for -O and -U options) - * ibqueryerrors: code improvement + * man/ibtracert.8: Improve man page formatting -Thu Apr 16 16:56:40 2015 +0300 Vladimir Koushnir -f427cf58892426d1d9159019b42af94c48d06feb +2007-04-04 Hal Rosenstock - * dump_fts: Open global file descriptor after calling ibnd_discover_fabric + * src/saquery.c, man/saquery.8: Add support for isSMdisabled + into -s query -Thu Apr 16 14:11:16 2015 +0300 Vladimir Koushnir -2a8621e70417c2f45e40acefe5ff96d8d85996f3 +2007-04-02 Albert L. Chu - * query_smp.c: Avoid busy looping in process_one_recv + * src/saquery.c, man/saquery.8: Add get name queries (-O and -U) -Wed Apr 8 12:29:44 2015 +0300 Vladimir Koushnir -ad743ff6c6e2befa71801bc76bdc5d08d8f41131 + * src/saquery.c: Add name input checks - * Remove redundant umad file descriptor from libibnetdisc +2007-03-29 Hal Rosenstock -Thu Apr 16 16:39:43 2015 +0300 Vladimir Koushnir -4e6bc81500fecbdece3c16862252a83cdeed3282 + * man/perfquery.8: Add note on Data components being octets + divided by 4 rather than just octets - * ibqueryerrors: Resource leak in path_record_query + * scripts/IBswcountlimits.pm, scripts/ibcheckerrs.in: Changed + due to libibmad change (Xmt/RcvBytes now being Xmt/RcvData) -Thu May 1 10:22:00 2014 -0400 Hal Rosenstock -1f4e356a5d156cd85d69f3b064bb1b7692778853 +2007-03-29 Hal Rosenstock - * perfquery.c: Change format of capability mask in IBWARN for consistency + * 1.3.0 release of openib-diags -Wed Mar 11 01:41:35 2015 -0400 Ira Weiny -211eccc0447f4259cbdf9579786865ee8e3657ff +2007-03-21 Albert L. Chu - * infiniband-diags/rdma-ndd: add --pidfile option + * scripts/IBswcountlimits.pm: Add some extra debug information -Wed Mar 11 01:28:42 2015 -0400 Ira Weiny -62cbfb4ceb41884cd3563b700af7d46fb99572aa +2007-03-21 Hal Rosenstock - * infiniband-diags/rdma-ndd: Fix issues with install + * src/ibtracert.c: Send normal output to stdout rather than stderr -Tue Feb 10 18:45:17 2015 -0500 Ira Weiny -d5b64231f5c78296bb73724192863f3efe26cefe + * src/ibdiag_common.c: Don't truncate NodeDescriptions with + ctl characters - * update README for 1.6.5 +2007=03-20 Hal Rosenstock -Wed Jan 28 17:58:29 2015 -0500 Dan Ben Yosef -9d3fcc8179850cf8c86da1567764b6b4762c27a9 + * src/ibnetdiscover.c: Chassis 0 is not a chassis + Caused Cisco SFS7000 to be reported as a chassis - * ibtracert.c: Remove checking the port 0 state for base switch port 0 +2007-03-15 Hal Rosenstock -Thu Feb 5 07:19:15 2015 -0500 Dan Ben Yosef -03d75bf07463a9f155ef41a5138d3f159d875e08 + * src/smpquery.c: Modified guid_info to not use port number + and not query unneeded SM attributes; also added guid to + operations supported in help - * Add new configure flag to enable/disable the rdma-ndd build + * man/smpquery.8: Add guid to list of supported operations -Wed Jan 28 16:54:07 2015 -0500 Hal Rosenstock -10f9628178378fa92d20379d22fb4d93044f06dd +2007-03-14 Dotan Barak - * Align infiniband-diags MLNX device IDs with OpenSM + * src/smpquery.c: Add support to query the GUIDInfo + table -Wed Jan 28 11:45:15 2015 -0500 Ira Weiny -b0a54c1a03d55fb530dd188b6c0e1b5339756c8c +2007-03-12 Ira K. Weiny - * infiniband-diags: update for udev changes. + * configure.in, diags.spec.in, ibdiag_common.c: + Allow user to specify a default switch map file -Wed Jan 28 11:23:53 2015 -0500 Ira Weiny -109b79f9c90fc6a6c573ba91076fa547be6faf60 +2007-03-09 Hal Rosenstock - * infiniband-diags/test-code: remove unused variables + * 1.2.5 release of openib-diags -Wed Jan 14 09:07:10 2015 -0500 Hal Rosenstock -8c0ec71b83c532a2b7c8d24455798e56b267539f +2007-03-09 Albert L. Chu - * vendstat.c: Add additional vendor IDs to ext_fw_info_device + * configure.in, scripts/ibcheck*, scripts/ibclear*, + scripts/ibhosts, scripts/ibnodes, scripts/ibswitches: + autoconf support for default pathname in scripts -Wed Jan 14 09:07:03 2015 -0500 Hal Rosenstock -4b47135d15cec632ebbec28b61a526600e79dfc9 +2007-03-05 Sasha Khapyorsky - * ibnetdisc.c: Add additional supported device IDs to is_mlnx_ext_port_info_supported + * include/ibdiag_common.h, src/ibdiag_common.c, + src/saquery.c: Clean gcc-4.1 warnings -Wed Jan 14 09:06:54 2015 -0500 Hal Rosenstock -24c62b083d4f2dbff45a996f472e5ad74db20b5c +2007-03-03 Hal Rosenstock - * ibdiag_common.c: Add more supported device IDs in is_mlnx_ext_port_info_supported + * 1.2.4 release of openib-diags -Fri Oct 24 19:57:38 2014 -0400 Ira Weiny -ae505415dabc34caba7e82ed93950823baf1f747 +2007-03-02 Ira K. Weiny - * infiniband-diags: add rdma-ndd daemon + * diags.spec.in: Include set_mthca_nodedesc.sh and dump_lfts.sh + in the rpm -Fri Jan 9 10:17:36 2015 -0500 Hal Rosenstock -18f1a0f973cc5cff7328e4576149b26334441c15 + * Makefile.am, configure.in, diags.spec.in: Fix rpmbuild from make dist - * ibccconfig.c: Account for enhanced switch port 0 in SwitchPortCongestionSetting handling +2007-03-01 Hal Rosenstock -Fri Jan 9 10:17:30 2015 -0500 Hal Rosenstock -202382751b5ac01e32573c5ed122214ee0fa9295 + * 1.2.3 release of openib-diags - * ibccquery.c: Account for enhanced switch port 0 in SwitchPortCongestionSetting handling + * src/saquery.c: Fixed timeout handling + Also, changed default timeout to 1000 msec -Tue Nov 18 12:35:04 2014 -0500 Ira Weiny -0e96e79cfe01b82ab1b7e987a0148738d1fe9dfd +2007-02-27 Hal Rosenstock - * infiniband-diags: update smpquery man page + * 1.2.2 release of openib-diags -Mon Nov 17 16:57:29 2014 +0200 Dan Ben Yosef -6393c5f7bf32cdf77c679a9abd9be577f9620b65 + * scripts/ibswitches, scripts/ibhosts: Removed extra quotes + around display of NodeDescription - * New MAD SM:PortInfoExtended and changing PM:PortExtendedSpeedsCounters +2007-02-15 Hal Rosenstock -Wed Nov 5 15:22:05 2014 -0500 Hal Rosenstock -34a5d92f9387ce8d59b19f449e5095ab0fe11f34 + * 1.2.1 release of openib-diags - * saquery.c: Return proper status from query_sa_cpi on bad result status + * src/vendstat.c, man/vendstat.8: Initial release -Wed Nov 5 15:21:55 2014 -0500 Hal Rosenstock -0741d402601c6636e6e3a1f63016b7c860c29044 + * Makefile.am: Updated for vendstat - * saquery.c: Fix handling of cpi and ClassPortInfo options +2007-02-12 Hal Rosenstock -Fri Oct 17 17:09:54 2014 -0400 Hal Rosenstock -c7643611e3b0a05df79fc3126b34bed99aff3849 + * 1.2.0 release of openib-diags - * ibping.c: Fix support of OUIs other than IB_OPENIB_OUI +2007-02-02 Ira Weiny -Tue Jun 10 14:23:13 2014 -0400 Hal Rosenstock -17a8d6db8cee297b9b66b91f36e20c8413b5aa8b + * scripts/ibcheckerrors, scripts/ibcheckerrs: Added + brief option + * man/ibcheckerrors.8, man/ibcheckerrs.8: Updated + man pages for brief option - * ibportstate.c: Cosmetic changes to MLNX Extended PortInfo +2007-02-02 Hal Rosenstock -Sat Apr 19 15:14:08 2014 -0700 Ira Weiny -6364d06406a95d1fed2397691ddd012493b0bdf6 + * src/ibportstate.c, src/sminfo.c, src/smpquery.c: + Update build version tags - * infiniband-diags: If rst2man is available fix missing source dir in configure +2007-02-01 Hal Rosenstock -Mon Mar 31 10:03:19 2014 +0300 Dan Ben Yosef -4549d891c11458b299e94751ef62d9f076dc5b49 + * src/saquery.c: Add build version option - * Fix missing source dir in configure.ac +2007-02-01 Hal Rosenstock -Wed Feb 26 10:25:43 2014 -0500 Hal Rosenstock -018c7f43f03a20b45bb4cecfa23063bbf37ae7f4 + * scripts/ibcheckerrors, scripts/ibcheckerrs, + scripts/ibchecknet, scripts/ibchecknode, scripts/ibcheckport, + scripts/ibcheckportstate, scripts/ibcheckportwidth, + scripts/ibcheckstate, scripts/ibcheckwidth, + scripts/ibclearcounters, scripts/ibclearerrors: Added -N | + -nocolor to usage displays - * saquery.c: In query_sa_cpi, make error message consistent + * man/ibcheckerrors.8, man/ibcheckerrs.8, + man/ibchecknet.8, man/ibchecknode.8, man/ibcheckport.8, + man/ibcheckportstate.8, man/ibcheckportwidth.8, + man/ibcheckstate.8, man/ibcheckwidth.8, + man/ibclearcounters.8, man/ibclearerrors.8: Updated + man pages for nocolor option -Wed Feb 26 10:25:06 2014 -0500 Hal Rosenstock -b3d11492b5633b214e1843bf46a03f1a6c1288c9 +2007-02-01 Ira Weiny - * saquery.c: In print_node_record, change LID print format + * scripts/ibcheckportwidth, scripts/ibcheckportstate, + scripts/ibcheckport, scripts/ibcheckerrs: Fix -nocolor + and -G options -Sat Jan 25 22:10:28 2014 -0800 Ira Weiny -9a2cb335b77e164b7f849d0ff74b0b67cda20814 + * scripts/ibchecknode: Fix -G option - * update README for 1.6.4 + * scripts/ibchecknet: Fix error return status -Sat Jan 25 22:01:39 2014 -0800 Ira Weiny -4b2d64157c9c5cea173ea2484dd92919ec421338 + * scripts/ibcheckerrors: Add exit code - * Revert "libibnetdisc/ibnetdisc.c: improve log information to stdout" + * scripts/ibcheckerrs: Add nodename to output -Fri Jan 24 19:34:22 2014 -0800 Ira Weiny -e0d80aa5636a4ef30c9df74f85d50ca44790b525 + * scripts/ibqueryerrors.pl: Reduce the "common" errors + supressed by -c option; Fix -d option; Remove the use + of tmp files - * update README for 1.6.3 + * scripts/ibfindnodeusing.pl: Remove use of tmpfile + for ibroute data -Fri Jan 24 19:39:10 2014 -0800 Ira Weiny -5b0c23e2bd82756c09de46ed9e39e757fef0403b + * scripts/ibswportwatch.pl, scripts/IBswcountlimits.pm: + Add data rate option - * ibtracert.8.in: change default pre-built man page + * scripts/IBswcountlimits.pm: Fix undefined subroutine error + in iblinkinfo.pl -Tue Jan 21 17:15:13 2014 -0800 Al Chu -21efdf6637f3460dfa5dea32ae3731a529560c60 +2007-01-31 Ira Weiny - * infiniband-diags: Check node-name-map strings when querying by name + * src/ibtracert.c, man/ibtracert.8, + src/ibnetdiscover.c, man/ibnetdiscover.8: Add switch-map option -Thu Jan 2 08:44:15 2014 +0200 Dan Ben Yosef -a3f2fcd468b459e0f3b1f5b7c35a7db181d22ee9 + * src/saquery.c: Clean up node descriptions before printing - * libibnetdisc/ibnetdisc.c: improve log information to stdout +2007-01-31 Hal Rosenstock -Mon Dec 30 09:50:59 2013 -0500 Dan Ben Yosef -ab0551a8cbdce73f193ecd88e732bc88347fb611 + * src/saquery.c, man/saquery.8: Clarifications for + --src-to-dst option - * libibnetdisc/ibnetdisc.c: fix insert of invalid lid 0xFFFF into lid_port hash_table + * src/saquery.c: Fix minor memory leak with --src-to-dst option -Sun Oct 13 09:48:36 2013 +0200 Dan Ben Yosef -59aab498181c6b486a85471d4c0ccb6544a4e83a +2007-01-29 Hal Rosenstock - * ibtracert.c: Add 'force' flag to man page + * src/ibnetdiscover.c: Add non Voltaire chassis listing back + into dump_topology -Tue Dec 17 17:27:24 2013 +0200 Dan Ben Yosef -affc76fb39f0e1e53c0aa98d1073926dae662f8d +2007-01-29 Ira Weiny - * infiniband-diags/vendstat: Fix GeneralInfo SW version + * src/ibnetdiscover.c: Add peer NodeDescription and LID to output + Also, for grouping, order Spind and Line Nodes (for Voltaire + chassis) -Sun Oct 20 10:39:23 2013 +0200 Dan Ben Yosef -b4216ab0359bd60f02eb7ca6de22e17f97ee2842 +2007-01-28 Ira Weiny - * ibportstate: on/off option is missing in help + * include/grouping.h, src/grouping.c: Change group_nodes API + signature to return point to ChassisList rather than void -Thu Oct 10 16:21:12 2013 +0200 Dan Ben Yosef -0d270e48c1a1d1b2af1aeed99ec9332d367abe54 +2007-01-27 Ira Weiny - * iblinkinfo: Remove "-R" option from man page + * src/ibtracert.c, src/ibroute.c: Add clean_nodedesc function -Thu Oct 10 15:29:12 2013 +0200 Dan Ben Yosef -11adcf2ce6db9da67326eab2196c1aaa35cdba0e + * src/saquery.c, man/saquery.8: Add additional semantics to -m option - * ibaddr: Add missing -t option to manpage +2007-01-26 Hal Rosenstock -Mon Sep 16 10:19:58 2013 -0400 Hal Rosenstock -ca5b23da0c6c8c6e5ad7c1eb3c7580c82235ef00 + * src/ibnetdiscover.c: Cosmetic change to some router strings - * ibdiag_sa.c: Output attribute ID in hex rather than decimal +2007-01-24 Sasha Khapyorsky -Tue Aug 20 08:10:59 2013 -0700 Ira Weiny -914f4c0f4965fc690b3107d717890e3f5bf2b627 + * src/ibnetdiscover.c: Minor clean_nodedesc simplification - * infiniband-diags: fail configure if glib2 is not found +2007-01-18 Hal Rosenstock -Sun Aug 18 10:51:50 2013 +0200 Bart Van Assche -a5f9dc0e3d6a1391b5034252abcc895100142828 + * src/perfquery.c: Minor code reorder - * Fix errors triggered by autoregen.sh +2007-01-17 Ira Weiny -Sun Aug 18 10:57:07 2013 +0200 Bart Van Assche -cfca87c20de5af4d3c43b1349ed991bf5b30d26a + * scripts/iblinkinfo.pl: Add better error handling - * get_lid_from_name(): Remove an unused variable + * src/saquery.c: Add timeout option to command line -Sun Aug 18 00:37:02 2013 -0700 Ira Weiny -df1eac51f6518c6b96d09b3cf6a42d856f99b9fe +2007-01-16 Hal Rosenstock - * Update README and version to 1.6.2 + * man/perfquery.8: Removed unneeded DR description in common options -Thu Aug 1 14:11:06 2013 -0400 Hal Rosenstock -1d79ffd1a57f2add170af87a68f0354f61a94cc4 +2007-01-13 Hal Rosenstock - * perfquery.c: Fix dumping of PortSamplesControl + * scripts/dump_mfts.sh, man/dump_mfts.8: Add dump_mfts similar + to dump_lfts -** Version: list +2007-01-12 Hal Rosenstock -Fri Oct 17 17:09:54 2014 -0400 Ira Weiny -d9c4c9843bfd2084d89ce2dd15f5124ef23d4770 + * man/dump_lfts.8: Minor changes based on existence of dump_mfts - * ibping.c: Fix support of OUIs other than IB_OPENIB_OUI +2007-01-04 Hal Rosenstock -Mon Jul 15 10:32:40 2013 -0400 Hal Rosenstock -374fd6660fa352501ac1379454abddc174a5a52b + * scripts/iblinkspeed.pl, man/iblinkspeed.8: Removed as no + longer needed - * infiniband-diags: Eliminate unneeded clean_nodedesc calls +2007-01-03 Sasha Khapyorsky -Fri Jul 5 07:59:04 2013 -0700 Ira Weiny -6825acdd106f2a40493bb5640c9a0ff6f70fea88 + * src/ibnetdiscover.c: Discover improvements + (memory leaks, ports moving, etc.) - * infiniband-diags: convert IBERROR to IBEXIT +2007-01-02 Ira Weiny -Fri Jul 5 10:24:47 2013 -0400 Ira Weiny -bae2ff4e7d5b965e63c0972f25022e4f198c8775 + * scripts/iblinkinfo.pl: Convert iblinkspeed.pl into + iblinkinfo.pl and add additional capabilities - * infiniband-diags: umad_init needs to be called before sa_get_handle +2006-12-28 Hal Rosenstock -Sat Jun 22 10:07:27 2013 -0400 Hal Rosenstock -08635c3c1b4799989f98ceb177c420ce8c403182 + * src/ibtracert.c: Add 0x in front of GUID printing - * saquery: Add SMInfoRecord support +2006-12-28 Sasha Khapyorsky -Sat May 25 09:36:27 2013 -0400 Hal Rosenstock -9e3446c41dc0afd4fedca9dabd3ef2b687791098 + * src/ibnetdiscover.c: Fix loopback handling - * infiniband-diags: saquery: Dump SwitchInfoRecord based on IsSetMulticastFDBTopSupported SA capability + * src/ibnetdiscover.c, src/ibroute.c, + src/ibtracert.c, src/sminfo.c: + Eliminate __WORDSIZE ifdefs for printing -Thu Jun 13 14:26:48 2013 -0700 Albert Chu -6ac17c9927fcad25de1019f5dce99831c8415f95 +2006-12-07 Hal Rosenstock - * ibnetdiscover: Output vlcap in full output format + * src/saquery.c, man/saquery.8: Add support for + querying ServiceRecords -Thu Jun 13 14:26:34 2013 -0700 Albert Chu -5e4fe8c9ac0f73ff260eb61c239c9816ed32dcd0 +2006-11-21 Hal Rosenstock - * ibnetdiscover: Add missing -f option to manpage + * src/perfquery.c: Add support for PerfMgt ClassPortInfo: + CapabilityMask IsExtendedWidthSupported IBA 1.2 erratum -Wed Jun 12 16:39:56 2013 -0700 Ira Weiny -eb5b498753015ca2cc287532e13fd408c388a593 +2006-11-20 Sasha Khapyorsky - * infiniband-diags: ibstat fix strncpy coverity check and -l bug + * src/ibnetdiscover.c, src/ibtracert.c: Fix various + uses of printf() style functions -Wed Jun 12 09:55:53 2013 -0400 Dan Ben Yosef -e597637189950e433cf1d3e5a9c70984c99a369b +2006-10-20 Hal Rosenstock - * saquery.c: resource leak + * man/ibportstate.8, man/smpquery.8: Updated man + pages for DrSLID support. -Wed Jun 12 09:55:48 2013 -0400 Dan Ben Yosef -37ca525199a16260cbd120fd6ae3f7bab59d6ac9 + * src/ibportstate.c: For query operations, add peer + port checking of link width and speed active. - * ibtracert.c: Uninitialized variable + * src/smpquery.c: Add support for DrSLID. -Wed Jun 12 09:55:43 2013 -0400 Dan Ben Yosef -914ebfe24987b4508c6c15b14471a075faaa5f91 +2006-10-19 Sasha Khapyorsky - * ibsysstat.c: fix resource leak + * src/ibroute.c: Fix double calculated block value. -Wed Jun 12 09:55:26 2013 -0400 Dan Ben Yosef -fa7e7a68e0d5df5f87b6731e2bc9cd9c2f6d1ea8 +2006-10-16 Hal Rosenstock - * ibtracert.c: fix resource leak + * src/ibnetdiscover.c, src/ibtracert.c: IB router support. -Wed Jun 12 07:04:15 2013 -0400 Hal Rosenstock -274508084b59a30f7d2ea6867c54c4056658bb46 +2006-10-09 Ira Weiny - * libibnetdisc/Makefile.am: Add missing makefile dependency + * man/iblinkspeed.8, man/ibqueryerrors.8, + man/ibswportwatch.8, man/ibprintswitch.8, + man/ibprintca.8, man/ibfindnodesusing.8: + Add man pages for new diag scripts. -Wed May 29 08:22:18 2013 -0700 Ira Weiny -77b235479dfe4762b3c6b92ec452b4ff5862ad1b + * scripts/iblinkspeed.pl, scripts/ibqueryerrors.pl, + scripts/ibswportwatch.pl, scripts/ibprintswitch.pl, + scripts/ibprintca.pl, scripts/ibfindnodesusing.pl: + Add some new diag scripts. - * infiniband-diags: Fix gen_ver.sh for use with new Autoconf file + * src/saquery.c: Add additional options for + NodeDescriptions of CAs only, Unique LID of name specified, + SA's ClassPortInfo, and PathRecord by src/dest name. -Tue May 21 15:57:18 2013 -0400 Hal Rosenstock -c61ca16bb7abbd92d792a1be3e4325f045c8c493 +2006-10-03 Hal Rosenstock - * saquery: Add SwitchInfoRecord support + * man/ibportstate.8: Update ibportstate man page for + speed operations. -Fri Apr 19 10:03:00 2013 -0700 Ira Weiny -43074c0bf702344eadec6c79920990322db7d7fb + * src/ibportstate.c: Support changing LinkSpeedEnabled + on any IB port. - * infiniband-diags: remove doc/man/ibclearcounters.8.in + * man/ibportstate.8: Update ibportstate man page for + port reset, enable, and disable operations. -Fri Apr 19 09:38:33 2013 -0700 Ira Weiny -a6f5884c1b01013e4b7ad80c999283f9d3451841 + * src/ibportstate.c: Support explicit port reset in + addition to disable and enable. - * infiniband-diags: add .gitignore +2006-09-28 Dotan Barak -Wed Apr 3 13:01:01 2013 -0700 Ira Weiny -91fda21bb8ee3e3ef6ba344d8195c490a7d2f09f + * src/saquery.c: Fix compile warning. - * infiniband-diags: updates for new autoconf tools - -Thu Mar 28 08:44:59 2013 -0700 Ira Weiny -75f8e82c906cae079b0121a4b37d0f5f0b34b542 - - * infiniband-diags/dump_fts: fix block calculation for LFT's - -Thu Mar 28 07:55:40 2013 +0000 Dan Ben Yosef -04a2cc00078af1cc6e264892e7f133ea8831bebd - - * infiniband-diags/ibroute.c: fix pull extra block for LFT - -Tue Mar 19 13:12:55 2013 +0000 Dan Ben Yosef -7d5c35a82d4516315641d6b5f374ec56382e486d - - * infiniband-diags/ibportstate.c: Add ON and OFF options. - -Wed Mar 13 08:04:00 2013 -0700 Ira Weiny -12258fba0bbc9dd2e3317bda8155d785db9646c6 - - * infiniband-diags: update emails in default pages - -Wed Mar 13 06:10:32 2013 -0700 Ira Weiny -b08937cc51aa50f8e6d5033110cd372e6f53ec23 - - * infiniband-diags: update emails - -Fri Mar 8 18:07:42 2013 -0800 Ira Weiny -a58cd2a53d2f91390918a8e160b8f724cf6c90d3 - - * infiniband-diags: fix rst2man when using upstream docutils - -Mon Mar 18 14:36:29 2013 -0700 Ira Weiny -4649be571b45ca5ac85ee49f3f134a9104e215b3 - - * infiniband-diags: add skip-sl to default ibqueryerrors.8.in - -Thu Mar 14 14:52:46 2013 +0000 Dan Ben Yosef -85f31755603200ed6b83e784ee7811410181384e - - * infiniband-diags/ibqueryerrors.c: obtain destination sl before perf query - -Wed Feb 20 13:56:36 2013 -0500 Ira Weiny -d40ad00d604ce8c5e4f337bf6837f11499bd85c7 - - * infiniband-diags: fix rpm requires for glib2 - -Thu Feb 7 16:37:52 2013 -0500 Ira Weiny -cd53e8aa935151768c3c1ffbb310425b5a84a1c3 - - * infiniband-diags: check_lft_balanc: support either DR or Lid based dump lfts output - -Sun Feb 3 19:33:06 2013 -0500 Ira Weiny -209bf9d61788f845d5fed8133733fd25ab4b9d01 - - * infiniband-diags: deprecate dump_[m|l]fts.sh scripts - -Fri Feb 1 18:13:59 2013 -0500 Ira Weiny -0ca4d899d57e21409a99c44f76b3fb5ad13c319f - - * infiniband-diags: add dump_fts tool - -Fri Feb 1 17:32:47 2013 -0500 Ira Weiny -3c03a5500635c9a2b4d267d9a271cbdc0ae9f0ae - - * infiniband-diags: libibnetdisc add find node by lid - -Fri Feb 15 11:08:35 2013 -0500 Ira Weiny -35bc343f3989cd6da6e3a420837ca99d6230b0cb - - * infiniband-diags: add change to pregenerated saquery.8.in - -Wed Feb 13 19:43:27 2013 -0500 Hal Rosenstock -33b590b37965ca16b0d38e0ac39ae85a01c57cd2 - - * infiniband-diags/saquery: Add support for ServiceID in PathRecord querying - -Wed Feb 13 18:29:38 2013 -0500 Ira Weiny -7d3e8444739940c33fa332568f2755b180899267 - - * infiniband-diags: fix saquery rst/man page - -Wed Feb 13 17:16:10 2013 -0500 Hal Rosenstock -de9775709aef452961cbf5f9ec782be6dc28a440 - - * infiniband-diags/saquery.c: Display NodeRecord LID in decimal - -Wed Feb 6 18:20:10 2013 -0500 Ira Weiny -6ee7530f07a846ed7be68609f7147b692db370ed - - * infiniband-diags: add comment for path_portid - -Sun Feb 3 17:30:11 2013 -0500 Ira Weiny -47dc80e15b00ca8ecf9202c9a6a47c55332e22d6 - - * infiniband-diags: ibroute: add MAD status to query failure message - -Tue Jan 22 14:39:18 2013 -0800 Ira Weiny -7bf6e54ffd57faf39ae2d608e0310b103a4a61db - - * infiniband-diags: ibroute fix resolve failure message - -Fri Dec 14 09:11:14 2012 -0500 Hal Rosenstock -4f572bf8e70be0e3ad32ed17952d3db144279aca - - * infiniband-diags/ibportstate.c: Fix PortInfo sets with extended speeds - -Thu Nov 8 17:01:44 2012 -0800 Albert Chu -9308516164b755a7b71e69eb3cd94e389f1465a5 - - * infiniband-diags: Support node-name-map in ibroute - -Thu Nov 15 18:57:52 2012 -0500 Ira Weiny -b68bef7c919bdad0316032b260839c54527ae44a - - * infiniband-diags: add make check target for shell scripts - -Mon Nov 5 19:02:40 2012 -0800 Garrett Cooper -b57ae8989bffc815a3f8a7d9e1ae9f6b05a4d55c - - * Remove bashisms from infiniband-diags - -Sun Nov 4 23:19:18 2012 -0500 Ira Weiny -f381c2120318f88ddcf5a712dd699793fcf1a20e - - * infiniband-diags: Fix ibsysstat man page - -Thu Nov 1 08:35:41 2012 -0400 Hal Rosenstock -2101a9ffe62db5dd9a341238cb52595caa46b3cd - - * infiniband-diags/ibsysstat.c: Fix non default OUI operation - -Tue Oct 16 11:45:25 2012 +0200 Dan Ben Yosef -fa3b6875ff789245b23d90d94458a4c173c10f7d - - * infiniband-diags/src/saquery.c: New option to saquery InformInfoRecord (IIR) - -Fri Sep 21 17:36:12 2012 -0400 Ira Weiny -8f81201385bcf44a4b38bfa9bdfae4db06414a8c - - * infiniband-diags: Fix SA error reporting for common MAD errors - -Thu Sep 20 23:59:48 2012 -0400 Ira Weiny -2263d7e5c01d308702b2a3934e8b4a86a1203894 - - * infiniband-diags: fix bug with loop ports where SMP queries are needed - -Fri Sep 21 11:59:18 2012 -0400 Ira Weiny -a9ae8f7bf47f9b91c5f4ec17a7fb3a69581526b3 - - * infiniband-diags: move sa query code into it's own common file - -Thu Sep 13 16:53:50 2012 -0700 Albert Chu -75d54e8be81840b664a3aa031f01b794963a91d6 - - * infiniband-diags/src/perfquery.c: Fix all_ports corner case - -Thu Sep 13 16:13:05 2012 -0700 Albert Chu -81c48ed47d5decae06b17a554c09b9e1b42da9b4 - - * infiniband-diags: Allow user to specify multiple ports - -Wed Aug 15 13:50:05 2012 -0400 Ira Weiny -469d081c2be8eefc3316b6bf2be3d4a8e0356a83 - - * infiniband-diags: add default .in files - -Tue Jul 24 13:45:53 2012 -0400 Ira Weiny -0afac222172bba5b49e7e7767ed43db7bb20e2ec - - * infiniband-diags: combine common alias option processing - -Mon Jul 30 16:20:55 2012 -0400 Ira Weiny -f1fa20e2bec8d5866a60bda99dd62e292d2dd616 - - * infiniband-diags: update README and configure.in for 1.6.1 release - -Mon Jul 23 16:45:33 2012 -0700 Albert Chu -6356b648e83fac8a20a6678dc5949ae86e40f257 - - * infiniband-diags: Fix command line parsing bug in ibccconfig, ibccquery, saquery, and smpquery. - -Thu Jul 12 10:35:13 2012 +0000 Hal Rosenstock -e72ca56743022f8005d7c93c940ca8a028974590 - - * infiniband-diags/vendstat.c: Commentary change - -Wed Jul 11 14:05:37 2012 +0000 Hal Rosenstock -370f2330dc55a7dd25f2d465d44ca82ad071721c - - * infiniband-diags/perfquery.c: Fix compile warning - -Tue Jul 10 15:24:33 2012 +0000 Daniel Klein -9ccd4685ba61d9cb3a7f29a8e87f0f2b694eaf4a - - * Subject: [PATCHv2] infiniband-diags/vendstat: updated devices supporting extended fw info - -Sun Jul 8 17:49:37 2012 +0000 Hal Rosenstock -3b22454dffaa0207d3f5ed935266571476b450fe - - * infiniband-diags: Support MLNX ExtendedPortInfo for ConnectIB device - -Thu Jul 5 12:45:20 2012 -0400 Hal Rosenstock -4e3a9074b69e41166089d4a3772aa585dc29987d - - * iblinkinfo: fix no port 0 info segmentation fault - -Thu Jul 5 14:25:50 2012 -0400 Hal Rosenstock -1b78dc56302a00070d06257be124e9c17835145a - - * mcm_rereg_test.c: Fix a couple of output messages - -Thu Jul 5 12:42:53 2012 -0400 Hal Rosenstock -b18dbe3725f0e75f7ca09cd95b8968322856d503 - - * ibnetdiscover: fix not showing FDR10 speeds - -Thu Jun 28 13:13:07 2012 -0400 Hal Rosenstock -1d88102ec41667b839273f69beb64816a72a3680 - - * infiniband-diags/ibnetdiscover: fix no port 0 info segmentation fault - -Fri Jun 1 15:44:46 2012 -0700 Ira Weiny -30cdb87ebb2018cacfd577b32394e1f3e898a664 - - * infiniband-diags: saquery avoid a potential seg fault in libibmad - -Thu May 31 17:48:04 2012 -0700 Ira Weiny -370ee066a1d4ee5bb59786df7ab717486efa9870 - - * infiniband-diags: update README for 1.6.0 release - -Thu May 31 16:59:12 2012 -0700 Ira Weiny -47e95f6b97c338afad38571e7b03231d63d53b22 - - * infiniband-diags: udpate smp documentation in infiniband-diags page - -Tue May 29 20:54:33 2012 -0700 Ira Weiny -8dbb41ce333e37b3a52b52bbd9febc9d6b9cbb0e - - * infiniband-diags: Add SMP/QP0 usage explanation to general man page - -Thu May 31 15:10:54 2012 -0700 Ira Weiny -9ca4c0369b6fd1266f50105c07ec7f85db9e8c7a - - * infiniband-diags: saquery clarify default smkey option value - -Wed May 30 15:15:14 2012 -0700 Jim Foraker -a27e2e1683cb7ce3d1cc55b1055c2a8fb0695e16 - - * infiniband-diags: Add SA smkey option to config file - -Wed May 30 15:14:20 2012 -0700 Jim Foraker -1ff0e5182fbec725e14c7101e1f9848c278202ab - - * ib-diags/saquery: Fix smkey handling - -Wed May 30 10:21:35 2012 -0700 Jim Foraker -c361d33cb57a2c942ffa4bbcd3a1dcf08f05b45c - - * infiniband-diags: Add m_key option to config file - -Wed May 30 10:21:34 2012 -0700 Jim Foraker -32a72dd3ea0efbe09579d0ee806d298614d0d722 - - * infiniband-diags/ibportstate.c: Support changing MKey, lease, and protect bits - -Thu May 31 12:11:33 2012 -0700 Jim Foraker -ced1cd4758638468329392099ee82c6f2650ea0c - - * infiniband-diags: Allow specification of an mkey to use on the command line - -Wed May 30 10:21:32 2012 -0700 Jim Foraker -05de760798b5ee0e249b540543d4282a2a2a0d4a - - * infiniband-diags/ibportstate.c: Display MKey, lease, and protect bits - -Wed May 30 10:21:31 2012 -0700 Jim Foraker -a259b9a0d6e7aa53d4013db69126c54a1e83cf7d - - * infiniband-diags: install config file mode 400 - -Wed May 30 10:21:30 2012 -0700 Jim Foraker -546ecba50dcb1b24b5fb64e7e1fc947e4d0c2192 - - * infiniband-diags: Obfuscate sensitive output by default - -Wed May 30 10:09:02 2012 -0700 Jim Foraker -91277f7a31489a12de94d17bca4f5c7f373616ff - - * infiniband-diags: clean up exclude arguments to ibdiag_process_opts() - -Tue May 29 10:04:03 2012 -0700 Hal Rosenstock -42a7b27865250af8ae87564a66e9fcd5f71dadbe - - * infiniband-diags/ibportstate.c: Remove an extra space from warning message - -Thu May 24 13:42:29 2012 -0400 Hal Rosenstock -c7c22d109e3b690e4c38e95fe4590115ca07dc44 - - * infiniband-diags/ibportstate.c: Add newly added options to usage - -Tue May 15 15:52:26 2012 -0700 Ira Weiny -4d1fab57d2a572dfbd0370b1e0cac5ccfea8ac67 - - * infiniband-diags: fix autogen with new rst documentation - -Thu May 3 17:13:32 2012 -0700 Ira Weiny -5f8679d4959904e2f7f890fb35885076cdec460f - - * infiniband-diags: move man/check_lft_balance,ibcacheedit,ibstatus,ibidsverify to rst documentation - -Thu May 3 14:20:56 2012 -0700 Ira Weiny -09627e978bb0a7dc99f4bb7cac677dfef592b90a - - * infiniband-diags: move man/saquery,vendstat,ibsysstat,ibfindnodesusing to rst documentation - -Thu May 3 09:48:39 2012 -0700 Ira Weiny -15bea0d4bbb28df87ef813788324b819ef30bf41 - - * infiniband-diags: move man/perfquery,sminfo,smpdump,smpquery to rst documentation - -Wed May 2 17:01:34 2012 -0700 Ira Weiny -7bdba73a18dbd23874de51a53ead53f5ab3fedc2 - - * infiniband-diags: move man/ibportstate,ibstat,ibroute,ibtracert to rst documentation - -Wed May 2 11:27:32 2012 -0700 Ira Weiny -71634f0a6acb6a93bdd5fb70b1ce7d5a00c1ff81 - - * infiniband-diags: move man/ibping,ibnodes,ibhosts,ibswitches,ibrouters to rst documentation - -Wed May 9 14:41:50 2012 -0700 Ira Weiny -c8c9818dfd3f2ea2ae3a9d19e4e0cb539504f5c9 - - * infiniband-diags: move man/ibcc[config|query] to rst documentation - -Wed May 9 14:39:08 2012 -0700 Ira Weiny -2a81766b7dae22878dbc973060ff34226c3bffcd - - * infiniband-diags: move man/dump_[ml]fts to rst documentation - -Wed May 9 14:30:22 2012 -0700 Ira Weiny -818ed87d906b0d5c5c989316aae58a12ee866401 - - * infiniband-diags: convert documentation from nroff to rst - -Wed May 9 14:13:57 2012 -0700 Ira Weiny -3bca843a80bfaed68a9ccd3d9585339ad47d531a - - * infiniband-diags: check_lft_balance.pl remove unused options - -Fri May 4 12:08:57 2012 -0700 Ira Weiny -6de4c35dd109e60882d733c155254adff08f62bd - - * infiniband-diags: ibidsverify exit status 1 on errors found - -Fri May 4 11:51:58 2012 -0700 Ira Weiny -c8cba00f39ef38cb74db984700d69e09bc16d52a - - * infiniband-diags: fix ibidsverify portguid validation. - -Fri May 4 10:34:30 2012 -0700 Ira Weiny -97f0f6b09fd10a4a4c9956c72bc305e7478b2632 - - * infiniband-diags: move ibidsverify man page to main rpm - -Fri May 4 09:20:20 2012 -0700 Ira Weiny -990917642e047966174101aefad9535d380437f4 - - * infiniband-diags: move deprecated scripts to "compat" rpm - -Wed May 2 16:13:19 2012 -0700 Ira Weiny -b4cfdf3dc688008cf8471a27f7525ef768413047 - - * infiniband-diags: update ib[hosts|switches|routers] to standard options - -Thu May 3 10:26:58 2012 -0700 Ira Weiny -d5181ea92be7d2a422b22fed7abcbb796d6ed0cf - - * infiniband-diags: smpdump fix option 'string' - -Wed May 2 17:26:07 2012 -0700 Ira Weiny -b04f511198d9f6f37edd79582ad6f71e993dc187 - - * infiniband-diags: remove -u common option - -Fri Apr 27 15:53:15 2012 -0700 Ira Weiny -a4cedde4bbb7699558aa00d83ed24f14c94ea265 - - * infiniband-diags: remove SMI class registration where possible - -Fri Apr 27 14:33:30 2012 -0700 Ira Weiny -5748256b13a3a1d24ee28e85e5eb233ce5db586b - - * infiniband-diags: remove mad.h from ibstat - -Mon Apr 30 17:27:57 2012 -0700 Albert Chu -7ed1cf6a1b82ed8877ca7f26f0165ac46325cd55 - - * infiniband-diags ibcconfig: Update documentation examples - -Thu Apr 26 14:43:13 2012 -0700 Albert Chu -71c07674356f2fdf93187430908cbb501a1ee6ec - - * infiniband-diags/src/ibccquery.c: Fix CACongestionSetting inputs - -Mon Sep 26 16:47:21 2011 -0700 Ira Weiny -7cdad904b8d846cf3958a779561ede8bc59b5d05 - - * infiniband-diags: move deprecated scripts to "compat" rpm - -Wed Apr 20 23:30:27 2011 -0700 Ira Weiny -c670c59cecbdbfc0f3fbc1afdecf312f21e771d3 - - * infiniband-diags: mark duplicate/lower performing scripts as deprecated. - -Wed Apr 18 09:01:21 2012 -0400 Hal Rosenstock -d5df2450a1b6da5bb5bdc64123ba7a6da28a92f4 - - * infiniband-diags/vendstat.c: Support IS4/SX firmware version info - -Tue Apr 17 10:55:13 2012 -0700 Ira Weiny -3ff5a791fe4235d39aca591bf2ac056b7e8f9fc3 - - * infiniband-diags: preserve long_opts global for use in ibdiag_show_usage - -Thu Apr 12 18:09:45 2012 -0700 Jim Foraker -288234aad813f218049fbfe0e3b0b25ee8f83f69 - - * infiniband-diags: migrate resolve_portid_str in from libibmad - -Thu Apr 12 18:09:44 2012 -0700 Jim Foraker -16f11b35f0cd961e8dc8c6dabd155f2dca024833 - - * infiniband-diags: Remove dependencies on ib_resolve_smlid/ib_resolve_self - -Thu Apr 12 18:09:43 2012 -0700 Jim Foraker -7cdde53ada761d06d610544e3a10a1cdb8dd192a - - * infiniband-diags/mcm_rereg_test.c: Include ib_types.h - -Thu Apr 12 18:09:42 2012 -0700 Jim Foraker -ec94c8f13b35c87fc9dd8a54ee86e0f73703ae33 - - * infiniband-diags/mcm_rereg_test.c: dead code removal - -Thu Apr 12 18:09:41 2012 -0700 Jim Foraker -18fe6ba8a5e4c1c9afd59e87fc36a28ec4e9582d - - * infiniband-diags/ibroute.c: Dead code removal - -Mon Mar 5 13:29:13 2012 -0800 Ira Weiny -5370dfd43d4a00879bca6a5efd14ce21d20967ac - - * infiniband-diags: saquery further error value clean up. - -Mon Feb 27 14:18:09 2012 -0800 Ira Weiny -c1a428ff57c92dc6c1135755fa5da271acfe74fd - - * infiniband-diags: remove unused options from check_lft_balance.pl - -Mon Feb 20 08:17:20 2012 -0800 Ira Weiny -3179ae8c8d7f4fb1372f2813afcd80e4d772a14b - - * infiniband-diags: remove ib_resolve_smlid_via requirement for sa queries - -Fri Feb 17 22:25:42 2012 -0800 Ira Weiny -0810a520a70897566ab09ed245cdad2c8add3103 - - * infiniband-diags: Fix saquery error reporting - -Wed Feb 8 10:17:20 2012 -0800 Ira Weiny -8146868765268752b3e9f60908dded7fcd9180a0 - - * Fix ibping server when client stops sending. - -Thu Nov 3 14:42:34 2011 -0700 Albert Chu -4ac43920fb8e2b6c5679498181aa3688eca117f9 - - * infiniband-diags: Support ibccconfig, congestion control setting tool - -Wed Jan 11 23:39:45 2012 -0800 Ira Weiny -8aadc8ad3ad1df57941022826a03bce3707907c3 - - * ibswitches: fix output when switch names have "base" or "enhanced" in them - -Tue Jan 10 12:22:58 2012 -0800 Hal Rosenstock -cb92b9808bdc292b291e2ef416b6ead19745826c - - * infiniband-diags/configure.in: Fix typo - -Sun Dec 4 19:37:00 2011 -0800 Ira Weiny -78ec2486dfce920b650cf2719acc649b297e2197 - - * infiniband-diags/ibccquery Fix field name - -Fri Dec 2 16:00:10 2011 -0800 Albert Chu -4fabac9d235341b32756a8584e80db86bb348c5b - - * infiniband-diags/src/ibccquery.c: Fix off by one output bug, ccti_limit is 0 based not 1 based - -Fri Dec 2 11:52:27 2011 -0800 Ira Weiny -d8648e9d603e469d0fbd90d18b4c99e725d05812 - - * infiniband-diags: add config file option for Mellanox ExtPortInfo queries - -Fri Dec 2 11:50:31 2011 -0800 Ira Weiny -3d726a8ec8752938e224ef6bb0cbea8e84544dff - - * infiniband-diags: move is_mlnx_ext_port_info_supported to common code - -Fri Dec 2 13:38:17 2011 -0800 Ira Weiny -72f1eb2e425f6198ea2153f1a8a30cacba37b0a5 - - * infiniband-diags: fix printing of extended speeds when port is down - -Thu Dec 1 11:33:09 2011 -0800 Hal Rosenstock -7db86c37537a43521df77ccfce81b714f5c02667 - - * infiniband-diags/perfquery.c: Fix reset for PortExtendedSpeedsCounters - -Thu Dec 1 08:21:12 2011 -0800 Hal Rosenstock -389da636bf1b9614276500039c8c017623fd8c8e - - * infiniband-diags/perfquery.c: Fix display of PortExtendedSpeedsCounters - -Wed Nov 30 14:09:52 2011 -0800 Albert Chu -3c1b21f10c632448419911efa13a5763d15dae7b - - * Fix typo in ibccquery manpage - -Mon Nov 7 08:47:43 2011 -0800 Ira Weiny -5286c744427e642e3ee039fafe8b71d3e3f1ba6e - - * infiniband-diags: check_lft_balance.pl add -C/-P options - -Mon Nov 7 07:42:19 2011 -0800 Ira Weiny -843371947e7f447446df59dd6a5e4e78f264c0e6 - - * check_lft_balance.pl: Add extra check when using -e heuristic flag in check_lft_balance.pl - -Wed Oct 12 17:17:08 2011 -0700 Albert L.Chu -4ed1bbb8e642d88cca5dbbd2b5c6fb5473f45265 - - * Add -e heuristic flag to check_lft_balance.pl to detect common scenarios where unbalanced routing will occur. - -Wed Oct 12 15:43:01 2011 -0700 Albert L.Chu -ff9b775a6bef88f50751fc80deba8d90d962bbcd - - * Update check_lft_balance.pl to work with newer infiniband-diag tools - -Mon Oct 31 22:48:12 2011 -0700 Ira Weiny -7f38b58ae850acaad4c4a79209aec47eb33580a5 - - * infiniband-diags: ibqueryerrors: don't exit on reset error - -Thu Oct 13 15:35:59 2011 -0700 Ira Weiny -2a8f55f0926461cfcf81fb41b75da6a653fc1ef5 - - * infiniband-diags: add a general config file - -Thu Oct 27 00:02:33 2011 -0700 Ira Weiny -117d3ba10d3e22fecd70080e901ad101c7d6b8de - - * infiniband-diags: add ibccquery man page to build - -Wed Oct 26 14:24:46 2011 -0700 Ira Weiny -a717450ac7ed0b6b08f4ec962ede218a3531238b - - * infiniband-diags: clean up build - -Wed Oct 26 11:15:03 2011 -0700 Ira Weiny -7c49fa20284c5d70831fb03fcec2b45b82251d90 - - * infiniband-diags: iblinkinfo flag ports which were not scanned - -Wed Oct 12 16:55:10 2011 -0700 Ira Weiny -e2bdd6ca078aa6c86bdc6ab53fe8c907f1f81ba2 - - * infiniband-diags: saquery: use ib-node-name-map file - -Thu Oct 13 15:28:50 2011 -0700 Ira Weiny -00e47776956d769fb2f9bdceafd960917581f492 - - * infiniband-diags: iblinkinfo: fix error message - -Wed Oct 12 17:28:57 2011 -0700 Ira Weiny -31c06d94d4ecc5fd6af45150807061848ed89092 - - * infiniband-diags: fix installation of error_thresholds file - -Thu Oct 13 15:58:33 2011 -0700 Ira Weiny -607467e00f36c9aa62662445bcd18d0ce72f3be7 - - * Master branch is not moving on to 1.6 - -Thu Sep 29 11:02:21 2011 -0700 Albert Chu -15ee3ea96e4a280873b9f5b6302aa1c359789ec6 - - * support --switches-only and --cas-only options in iblinkinfo - -Thu Sep 29 11:26:29 2011 -0700 Ira Weiny -1c9866e0437fc83dc7b01cd3d8b19300b0d1dfe5 - - * Update version in prep for next release - -Tue Aug 2 11:15:07 2011 -0700 Albert Chu -64afec3a376d0d3037bc4c89dd8384f7fa863777 - - * Support ibccquery, congestion control query tool. - -Tue Sep 27 18:15:12 2011 -0700 Marcus R Epperson -cdbc1cde39a9ae75212f85e8d24326fb72d1cc7d - - * infiniband-diags/src/ibqueryerrors.c: don't increment bad_ports for port ALL - -Tue Sep 27 18:15:11 2011 -0700 Marcus R Epperson -ae19572efa6bcc389b27302ae0606c7fda2093f0 - - * infiniband-diags/src/ibqueryerrors.c: fix segv due to CA port 0 reference - -Sun Sep 11 01:10:32 2011 -0700 Alex Netes -a3b24e9ffa4da0e2b47a6007834bed2ce3530429 - - * infiniband-diags/scripts/ibcheckport.in: ignore lid/sm lid checks on non zero port switches - -Mon Sep 19 15:32:24 2011 -0700 Ira Weiny -bb3213197719ec673e898dbec153ee6424097446 - - * infiniband-diags: ibqueryerrors add query failure count - -Mon Sep 19 14:05:09 2011 -0700 Ira Weiny -1a72e89eb7386bd9b2ee4e64f95359324025c298 - - * infiniband-diags: ibnetdisc Wrap header for use in C++ code - -Thu Sep 22 13:37:23 2011 -0700 Hefty, Sean -8243db1e588c34c7777945c2cc51b94d21ee3d36 - - * RE: [PATCH v2] ib-diags: Add cast to fix build on windows - -Tue Aug 16 13:40:32 2011 -0700 Ira Weiny -5ba0caf35bf96c17b0f795e787292afc82116b8b - - * Update AUTHORS and make README release notes. - -Thu Sep 1 01:47:39 2011 +0000 Hal Rosenstock -d7f9ad0651276578b2c2ce22dd32496a419f484e - - * infiniband-diags: Fix cap_mask extended link speed supported endian checks - -Wed Aug 31 15:26:42 2011 +0000 Hal Rosenstock -1e62d09ae5d7e4d43089deea07ceb94f8dfd49a0 - - * infiniband-diags/ibqueryerrors.c: Add support for FDR10 - -Wed Aug 31 17:08:50 2011 -0700 Ira Weiny -95a84b7cc30aae53e4212e6138b95b515287b151 - - * infiniband-diags/iblinkinfo.c: Add support for FDR10 - -Wed Aug 31 17:07:29 2011 -0700 Ira Weiny -ce6c56fa2165078e9f653428e26368f5393dd081 - - * infiniband-diags: Add support for FDR10 to ibnetdiscover - -Wed Aug 31 17:06:43 2011 -0700 Ira Weiny -c8542da6a0c00ab463f8b7a066219baa1afcb43c - - * infiniband-diags: Add FDR10 support to libibnetdisc - -Wed Aug 31 15:26:53 2011 +0000 Hal Rosenstock -1344cb3feacafc462440dabfa5997c5205486d83 - - * infiniband-diags/ibstat.c: Add support for FDR10 - -Mon Aug 29 21:18:31 2011 +0000 Hal Rosenstock -3133743b5ea6a7d81b7d70e8a83ce4eb28fec8e6 - - * infiniband-diags/ibnetdiscover.c: Fix cap_mask endian for extended link speeds - -Wed Aug 31 15:26:28 2011 +0000 Hal Rosenstock -0020ee448d908011f5f68f1e1d297f1abe58b376 - - * infiniband-diags/ibportstate: Add support for FDR10 - -Wed Aug 31 10:38:08 2011 -0700 Albert Chu -2100e88e994709789207e010f22a6f7a06afeaa7 - - * fix manpage typos - -Tue Aug 23 16:12:39 2011 -0700 Ira Weiny -510c0e0d164ca93af5c263074dea04065fee99fa - - * infiniband-diags: ibqueryerrors Clean up exit codes - -Wed Jul 6 18:50:27 2011 -0700 Ira Weiny -0c220a760d9e42581d326899b8bbbafa16799c06 - - * infiniband-diags: add human readable output for data counters - -Thu Aug 18 14:47:26 2011 -0700 Ira Weiny -8bc3e398a656a175a29daa61d461e5fa0ad76c56 - - * infiniband-diags: move get_msg to common code - -Fri Aug 19 16:53:42 2011 +0000 Hal Rosenstock -6d819a447ce87825c5c6c84723793c7ab9971f3f - - * infiniband-diags/man/ibportstate.8: Update for fdr - -Tue Aug 16 13:44:44 2011 +0000 Hal Rosenstock -ae7695abf3916f3d434dd62c5bacfc5250c36c32 - - * infiniband-diags/ibnetdiscover.c: Changes for extended link speeds - -Tue Aug 16 13:44:37 2011 +0000 Hal Rosenstock -2e77e728c219bc55d88be10015b641158e1e61b2 - - * infiniband-diags/libibnetdisc/ibnetdisc.c: Changes for extended link speeds - -Tue Aug 16 11:13:59 2011 +0000 Hal Rosenstock -fa92836fcbe1e4255ff9d6bb8cb3a842fa43e38f - - * infiniband-diags/ibqueryerrors.c: Changes for extended link speeds - -Tue Aug 16 10:28:39 2011 +0000 Hal Rosenstock -d7bb3c119f3a20410937c4a83bb01b8afaf30298 - - * infiniband-diags/iblinkinfo.c: Changes for extended link speeds - -Tue Aug 16 09:14:39 2011 +0000 Hal Rosenstock -6aab8ab5db478cc46e01c6bc8cfceb32c7e1b42d - - * infiniband-diags/ibportstate.c: Changes for extended link speeds - -Tue Aug 16 00:37:15 2011 +0000 Hal Rosenstock -b550a953e5f8ff7637054377c2f2fde014198f9b - - * infiniband-diags/perfquery: Add support for extended link speeds - -Tue Aug 16 00:18:51 2011 +0000 Hal Rosenstock -a76827fc6b9562c43940bac49d6a9cb9d40df979 - - * infiniband-diags/saquery: Add extended link speed support for PortInfoRecord queries - -Mon Aug 15 23:54:33 2011 +0000 Hal Rosenstock -678ec2f9fc14f60038cd77e46d15040b1b159fd4 - - * infiniband-diags/smpquery: Add support for extended link speeds - -Fri Aug 5 20:44:39 2011 +0000 shefty -a817e38e5275dcf75404af19b8592c03f4822118 - - * ibnetdisc: Fix build for windows - -Fri Aug 5 16:59:08 2011 -0700 Ira Weiny -65818eabe526aee176fc7129e2b5c1b264ba0a3b - - * infiniband-diags: make library dependancies explicit - -Wed Aug 3 13:09:00 2011 -0700 Ira Weiny -6f87728b6f0e230a8706842695a8388a9083b508 - - * infiniband-diags: update check for latest dump function in libibmad - -Sat Jul 23 11:02:52 2011 +0000 Hal Rosenstock -d85a6a88f35bae0182c116298ef57cc224bb02dd - - * infiniband-diags/smpquery: Add Mellanox extended portinfo query - -Wed Aug 3 17:58:04 2011 +0000 Hal Rosenstock -c80dc802054484883a92f96fc9ede9f2a9c076df - - * infiniband-diags/libibnetdisc/ibnetdisc.c: Remove compile warning - -Thu Jul 14 17:10:52 2011 -0700 Albert L.Chu -aa80e79a008717bc40145e06a7f693ae5c592179 - - * perfquery: support many optional performance counters, including congestion control counters - -Tue Jul 26 12:18:02 2011 +0000 Hal Rosenstock -ae82553337eaab6140582ef782cbd11e32cb1401 - - * infiniband-diags/saquery.c: PortInfoRecord now has an options field - -Wed Jul 20 10:01:26 2011 -0700 Ira Weiny -0ee2db536f7e04678664ac51c0f940fa76cbac1c - - * infiniband-diags: ibqueryerrors fix null threshold_str - -Thu Jul 14 14:27:07 2011 -0700 Ira Weiny -1274813595ceaf4c6cc0726e0aa157111ce4ce19 - - * infiniband-diags: convert ib[linkinfo|queryerrors] to use PortGUIDs - -Thu Jul 14 16:05:30 2011 -0700 Ira Weiny -ac291237eec71b758401bab4b8d9ec51b6387e79 - - * infiniband-diags: libibnetdisc Allow a DR Path partial fabric query starting at a CA - -Thu Jul 14 14:25:41 2011 -0700 Ira Weiny -f3e0901c7dd69f5d5b81f80a9d1c675898569f6b - - * infiniband-diags: libibnetdisc add port interface - -Thu Jun 9 22:18:28 2011 -0700 Ira Weiny -89b6a7b026e85e6ddfa8d47dde951f7accd5fff3 - - * infiniband-diags: move core saquery functionality to ibdiag_common - -Thu Jun 2 00:13:38 2011 -0700 Ira Weiny -80628857886b0b26182fcf4e5d17f3c72a90d8b1 - - * infiniband-diags: saquery; remove "result" global - -Tue Jul 12 11:34:36 2011 -0700 Ira Weiny -c06655b88bc1b88f3aa42be4d1306b4fa42e3b47 - - * infiniband-diags: change perl install to vendorlib - -Tue Jun 28 17:50:37 2011 -0700 Ira Weiny -dee28c9a36941f6c2f8ae69f4a574984254afeb4 - - * infiniband-diags: configure.in; check for more recent function in libibmad - -Tue Jul 12 11:35:04 2011 -0700 Ira Weiny -1098eac2138a533e5fdbdfffbe4837763b78ba37 - - * infiniband-diags: Add sysconfdir to spec for config files - -Thu Jul 7 09:50:12 2011 -0700 Hal Rosenstock -c8a3e7bf94498459aad16cd298268e7767e9e9ed - - * infiniband-diags: Initial changes for extended speed support in libibmad - -Wed Jul 6 14:32:08 2011 -0700 Ira Weiny -0138f443fc02c3c650a496db851777221b37e74c - - * infiniband-diags: Remove reference to OpenSM from COPYING - -Wed Jun 1 21:49:57 2011 -0700 Ira Weiny -46b1ba489d6ed3bde6a60c95d07233b67439e4f8 - - * infiniband-diags: add package requires to spec file. - -Sun May 29 18:01:31 2011 -0700 Ira Weiny -291a922cbcf246e15f0b71ef5d467c6e8bebb6d2 - - * infiniband-diags: test for libosmcomp with a function that is used in the code - -Mon Jun 20 06:00:56 2011 -0700 Hal Rosenstock -e9d099eda47f77d456996ce2fc385423ba19cbc0 - - * infiniband-diags/ibnetdiscover.c: Fix typo in help - -Thu Jun 16 13:52:43 2011 -0700 Hal Rosenstock -25fad278d4b8a808da5fe0e2ae7042ba18e74fdc - - * infiniband-diags/ibqueryerrors.c: Fix typo in help - -Wed Jun 8 05:47:34 2011 -0700 Hal Rosenstock -22c5087c091b895507882eec85d6b57b641e637f - - * infiniband-diags/libibnetdisc/ibnetdisc_cache.c: Fix a couple of memory leaks - -Wed Jun 8 05:47:15 2011 -0700 Hal Rosenstock -2a75c3e874e0d5edaaf84085f94fc65cd7c5a5be - - * infiniband-diags/libibnetdisc/ibnetdisc.c: Fix possible overrun of path - -Wed Jun 8 05:57:55 2011 -0700 Hal Rosenstock -3364bcd41ec12c357c0510ac86a0cbb0313ca2d6 - - * infiniband-diags/ibportstate.c: Fix sizeof - -Fri May 13 22:28:55 2011 -0700 Ira Weiny -1004b7f967df8a09e82d986124d1881b94dcb370 - - * infiniband-diags: perfquery; Support PortCountersExtendedNoIETF - -Thu May 12 17:31:15 2011 -0700 Ira Weiny -5ef9bfa5d30baca408f310630de55aa1f0ecfc33 - - * infiniband-diags: perfquery; print cap_mask for information - -Fri May 27 10:52:05 2011 -0700 Hal Rosenstock -82849a8212253c7c91ec6ce3ef15655e1c29b5b1 - - * infiniband-diags/saquery.c: Fix SA_ERR_UNKNOWN define - -Wed May 25 05:30:06 2011 -0700 Hal Rosenstock -ca54411f41b9192918c971a6a58b373e11e47919 - - * infiniband-diags/configure.in: Support override for IBPATH - -Tue May 24 11:26:33 2011 -0700 Hal Rosenstock -1a2ec7c386ae0ee749ac7b66ed0337b9fe1e1f5f - - * infiniband-diags/libibnetdisc/ibnetdisc.c: Better error message - -Thu Apr 28 02:09:36 2011 -0700 Eli Dorfman -87a30707bb36164a11dd1dd24087ca6bd3a333d1 - - * infiniband-diags/vendstat: Fixed general info query - -Wed Apr 27 01:07:59 2011 -0700 Ira Weiny -1e406cb50f406a769afbbf806f984775a10dac4d - - * infiniband-diags: ibqueryerrors; add --counters option - -Tue Apr 26 22:59:15 2011 -0700 Ira Weiny -33a76020297553a5fad0f480e41f6ee9d86f12c7 - - * infiniband-diags: ibqueryerrors --data; show/clear PortCountersExtended when supported - -Tue Apr 26 22:18:27 2011 -0700 Ira Weiny -214bb92d11e93c76276db471ce88423d32c531a5 - - * infiniband-diags: ibqueryerrors; use #defines for CapabilityMask - -Mon Apr 25 12:39:12 2011 -0700 Ira Weiny -3387935ce91193fc7a3d7cdd9adea124f71a7640 - - * infiniband-diags: ibqueryerrors; add ibcheckerrors like summary - -Wed Apr 27 10:43:01 2011 -0700 Ira Weiny -cbe10407a14e57c8febe6e039ae617737f0b6e0f - - * infiniband-diags: ibqueryerrors; add error thresholds - -Thu Apr 28 07:47:16 2011 -0700 Hal Rosenstock -53ac239ede48d6a1df8ed1f048cebe2eb2dc38e4 - - * infiniband-diags/perfquery.c: Use ib_types.h defines for CapabilityMask - -Wed Apr 27 12:48:15 2011 -0700 Hal Rosenstock -42b5389f870c192627c22470298f8f97764b5979 - - * infiniband-diags/ibnetdiscover.c: Eliminate blank line when sysimgguid is 0 - -Wed Apr 27 11:17:46 2011 -0700 Hal Rosenstock -d5d44d167696eeffcb31e941ded9da76566dde6d - - * infiniband-diags/libibnetdisc/ibnetdisc.c: Handle calloc failure - -Wed Apr 27 10:08:03 2011 -0700 Ira Weiny -32c0166f2f3afe68a599b107133ea6e6c6e72edd - - * infiniband-diags: fix "dist" target and subsequent rpm building - -Mon Apr 25 19:55:22 2011 -0700 Marcus Epperson -5f9facd634ed8f95d493c78dec5c1bc12795fbee - - * infiniband-diags/ibnetdiscover: Make --ports option use remap_node_name() - -Thu Apr 21 14:47:03 2011 -0700 Ira Weiny -085432de49bcf6ebbcb927e2cac53da32cc9be94 - - * infiniband-diags: improve backwards/standalone compatibility - -Sun Apr 17 03:06:21 2011 -0700 Ira Weiny -a398a098d0c21f0993cd3b8e3cd7485d87d6dff8 - - * infiniband-diags: iblinkinfo; remove non-supported -c option from man page - -Tue Mar 29 17:48:41 2011 -0700 Ira Weiny -a8c7126ff8cafc828ddbfe3708d25861e5440056 - - * infiniband-diags: saquery, clean up error code/return types - -Wed Apr 13 09:10:34 2011 -0700 Ira Weiny -ef2c2d6732c2f4e92a30e33e1bb4911eddd65223 - - * infiniband-diags: saquery, properly free mad in get_and_dump_any_records - -Sat Apr 9 15:22:02 2011 +0000 Hal Rosenstock -6df1fdd5aeb16fe17f08b5693b79326e8d78c7d2 - - * infiniband-diags: Make sure buffers are set to zero before calling xxx_query_via - -Fri Apr 1 18:38:50 2011 +0000 Hal Rosenstock -a57e627722a5cad227baaae8de22b0af1438008d - - * infiniband-diags.spec.in: Remove duplication of ibdiscover.pl - -Thu Mar 17 17:34:52 2011 -0700 Ira Weiny -9f91f2a277ade5875af43beb9ae246b9534d8279 - - * infiniband-diags: saquery; clean up name/lid processing - -Mon Apr 26 14:27:32 2010 -0400 Hal Rosenstock -1ee5bfabda30ae61ac869c380bbfe4bce3d7de1c - - * infiniband-diags/saquery: Add GUIDInfoRecord support - -Tue Mar 22 15:11:45 2011 -0700 Jason Gunthorpe -7596207a1810dd7c5168469b0c3afd86aca8ae50 - - * Fix ibdatacounters - -Tue Mar 22 14:25:59 2011 -0700 Jason Gunthorpe -568a1175a1089ebe8ee2d9b6e57086398219ba38 - - * Fix missing $IBPATH in ibdatacounts - -Mon Feb 14 15:17:15 2011 -0800 Tamir Ronen -a6abfa00de4e45cedde3616e03de37b3a3430bf2 - - * add support for ibnetdiscover grouping for Mellanox switches - -** Version: infiniband-diags-1.5.8 - -Wed Apr 21 17:04:02 2010 -0700 Albert Chu -450de0f8196a855bfa1f6da7310dc399088a38a5 - - * support --filterdownports in iblinkinfo - -Tue Apr 20 10:13:05 2010 -0700 Albert Chu -c9adf42231d0bb1fc09d361c828bbb54b3f3b2f2 - - * Add lid and node description diff options for --diffcheck in iblinkinfo - -Tue Apr 20 09:53:53 2010 -0700 Albert Chu -20af5c37bbdb21482f2f35a0ad087e143a207c4b - - * support --diffcheck in iblinkinfo - -Mon Apr 19 10:36:54 2010 -0700 Albert Chu -1950038c3f71bb1eaecb77516f2022c13189fdcc - - * add --diff support to iblinkinfo - -Fri Jul 30 14:26:39 2010 -0700 Ira Weiny -d58cb634194c80b91bac8caf6ab34d7a1b7408fc - - * ibnetdisc.c: Fix partial scan of the fabric. - -Mon Feb 14 10:36:13 2011 -0800 Jason Gunthorpe -d60d71eeb9890e932472c415164b1ff400d73b12 - - * The shell scripts use bashism, so use bash directly. - -Mon Feb 14 11:56:21 2011 +0200 Alex Netes -ff57b27e8ec02f4f92e50cbda5caa4b8e6035823 - - * infiniband-diags: package versions update - -Mon Feb 14 11:53:59 2011 +0200 Alex Netes -6edf9877048fd050361fbccdfce69fc2c73b1b06 - - * infiniband-diags: update shared library versions - -Thu Feb 3 18:25:19 2011 +0200 Alex Netes -b1e4531e2d10a8404cc7873c6f899494cef236c4 - - * Makefile: ChangeLog and version generation script path fix - -Wed Dec 22 11:47:07 2010 -0800 Ira Weiny -b260cb4f276b756ded39455969028bcdcd49f60e - - * Further timeout paramater verification (Was: [PATCH] infiniband-diags: Verify timeout value specified to diagnostics) - -Wed Dec 15 11:47:09 2010 -0800 Ira Weiny -298998c77dad10630608374ed1915b506008e79b - - * infiniband-diags: Verify timeout value specified to diagnostics - -Tue Aug 3 10:40:56 2010 -0700 Ira Weiny -8ab2e41e866c27f2ce605fa0bc16b52cd96babf9 - - * libibmad/fields.c: Change all PortCounter names to match the Specification - -Wed Oct 27 08:47:07 2010 -0400 Hal Rosenstock -07b4b1afa21a6b4157a69e82b95ad1bc709326c8 - - * infiniband-diags/iblinkinfo.c: Limit some queries to switches - -Wed Oct 27 09:06:36 2010 -0400 Hal Rosenstock -0d7e988df53e6ebf1b86d24cebab308527c811ac - - * infiniband-diags/saquery.c: In dump_one_mcmember_record, fix flow label endian - -Tue Sep 14 11:10:16 2010 -0400 Hal Rosenstock -3d00c3eb9ae7019dbb8d9e4c10fdc54af9855dd2 - - * infiniband-diags/ibtracert: Eliminate direct route (-D) option - -Mon Oct 4 12:16:43 2010 +0200 Yevgeny Kliteynik -c58dcaa92c3cce03f03a5d4e6fc6e5197ed9674d - - * ibstat.c: fix core dump if wrong port phys state is reported - -Thu Oct 7 16:33:01 2010 -0600 Jason Gunthorpe -f5178760dcdaeecaad9f98a28ed2d32c74908704 - - * Fix autotools to include the necessary M4 files - -Sun Sep 5 11:30:37 2010 +0300 Eli Dorfman (Voltaire) -782fd92025d3c97d8822e95be239edd7553c7b80 - - * inifiband-diags: Support Voltaire switch ISR4200 - -Sun Sep 5 11:28:57 2010 +0300 Eli Dorfman (Voltaire) -5578a9c0b4b8d614880840305badfc81ef5a33d9 - - * infiniband-diags: Do not exit when unexpected node found - -** Version: infiniband-diags-1.5.7 - -Sat Sep 4 14:15:33 2010 +0300 Sasha Khapyorsky -843d2bb428f5e9fda3628252abcedd69300ee9c0 - - * management: packages versions update - -Sat Sep 4 14:13:06 2010 +0300 Sasha Khapyorsky -3eabf4227a7267c52e7be496ffdfb857018c6c83 - - * management: update shared library versions - -Wed Aug 25 14:08:02 2010 -0400 Hal Rosenstock -c02bdb17ef04162968e88379b5ab86f10935ba9b - - * infiniband-diags/ibnetdiscover: Fix handling of CA ports in recv_port_info - -Thu Aug 26 16:14:16 2010 +0300 Doron Shoham -843a0072a86afe85e053dceb402c2d62bb38e002 - - * ibnetdiscover: add '-f' flag to show full information (ports' speed and width). - -Sun Aug 1 20:26:11 2010 +0300 Sasha Khapyorsky -a387f265398c671e9067e055bbebaa634fb4aa49 - - * infiniband-diags/ibstat: convert to PRIx64 macros GUID printing - -Mon Jul 26 11:40:30 2010 -0700 Hefty, Sean -732bac4c01d9e6f2da203ad1a2df241cc5d70cab - - * libibnetdisc: fix cast in unmarshall16 - -Wed Jun 16 07:05:42 2010 -0400 Hal Rosenstock -30309edcc97a452ca38cb3f3e8ae278c2a811618 - - * infiniband-diags/perfquery.8: Add some missing counters to description - -Thu May 6 13:49:55 2010 -0700 Ira Weiny -074ef7c2578b8837428ea12bffb7803336a113eb - - * ibqueryerrors.c: Optimize by querying AllPortSelect first - -Thu Jun 10 18:03:03 2010 +0300 Eli Dorfman (Voltaire) -35a3ce2a8d9374e0f10f56faf8c4d86e30e38299 - - * fix MFT record dump - -Wed Apr 21 11:19:44 2010 -0700 Al Chu -9151e22daf3f7c0ff478bc0af77d1281efa52e75 - - * support diffing lids and nodedesc on remoteports in ibnetdiscover - -Tue Apr 20 15:30:40 2010 -0700 Al Chu -d84c9d4ea679a13e64952cf4f45862b6a90c5074 - - * support diffing nodedesc on remoteports in ibnetdiscover - -Mon Apr 19 11:43:34 2010 -0700 Al Chu -5763f49eb3d5ba3ba33a05b34790c28d1d7ff727 - - * add ibcacheedit tool - -Mon Apr 19 11:43:15 2010 -0700 Al Chu -08512b831eaf13f4c8e8b2d4a00b660ade8efa32 - - * support libibnetdisc caching no-overwrite flag - -Mon Apr 19 11:43:07 2010 -0700 Al Chu -38181cf26e31a93b48e91576cc360e3d3de85e98 - - * make libibnetdisc default behavior to overwrite a cache - -Wed Jun 2 13:15:31 2010 -0700 Hefty, Sean -e6ae86f02337167843d9e3b1011e27cb26ab8fd0 - - * ib/mgmt: fix build under windows stack - -Wed Jun 2 09:05:19 2010 -0400 Hal Rosenstock -e8f783c5a65d1f3452b84f3a321c448c226d2bf7 - - * infiniband-diags/ibnetdiscover.c: Cosmetic changes - -Wed Jun 2 09:04:15 2010 -0400 Hal Rosenstock -cbcde100c7eb9387aad69811f969240471b99668 - - * infiniband-diags/libibnetdisc/chassis.c: In group_nodes, set fabric->chassis - -Wed Jun 2 09:02:54 2010 -0400 Hal Rosenstock -d6ddf46c171b2f8e38a910e75b2ff503d149450b - - * infiniband-diags/libibnetdisc/chassis.c: In group_nodes, pass on all nodes - -Tue May 25 13:32:18 2010 -0700 Ira Weiny -c09b93cfe52854ff8e8f2aab5177ef2c0b34e93f - - * libibnetdisc: move ibmad_port out of smp_engine - -Mon May 24 15:45:08 2010 -0400 Hal Rosenstock -37b6c70f7f607dd41170fee967859400ce16d553 - - * infiniband-diags/libibnetdisc/ibnetdisc.c: Fix compile warns on 32 bit archs - -Mon May 24 21:53:15 2010 +0300 Sasha Khapyorsky -076189da8896da13a8f7eb9786768120ce1ed017 - - * infiniband-diags/vendstat: allow multiple config space records - -Mon May 24 21:53:15 2010 +0300 Sasha Khapyorsky -dc7b66e6fb3353fcb4ecf4e98453f11163282d4b - - * infiniband-diags/vendstat: add config space access options - -Mon May 24 20:37:29 2010 +0300 Sasha Khapyorsky -1db6d9db939d76888568624d530293936c05a25f - - * infiniband-diags/vendstat: code simplifications - -** Version: infiniband-diags-1.5.6 - -Sat May 22 18:00:16 2010 +0300 Sasha Khapyorsky -210775cb6cd383a19a5dadb42a9da97d83aaf118 - - * management: packages versions update - -Sat May 22 17:52:50 2010 +0300 Sasha Khapyorsky -9c01c858ed5e6f0d1602315633206964e797ea07 - - * management: update shared library versions - -Sun Apr 25 14:04:07 2010 +0300 Eli Dorfman (Voltaire) -92b4f4be3a69f95de4157c46132f1f0caeca929e - - * opensm: Always set enabled speed and width - -Tue May 11 15:36:08 2010 -0700 Ira Weiny -ae0675b483b7e8834b5163c15eead36162709b66 - - * ibnetdisc: Separate calls to umad and mad layer to avoid race condition on response MAD's - -Tue Apr 27 14:35:29 2010 +0200 sebastien dugue -21ec4a345a6aff6993989b0e86620e62e1f4caf5 - - * libibnetdisc: Add grouping for Voltaire's ISR4700 switch - -Thu May 6 13:34:46 2010 -0500 Mike Heinz -3eb3622ba70363c9975f3bb5a608e437508cbcd2 - - * RE: [PATCH] management: adding mad_dump_fields to libibmad - -Thu May 6 13:30:02 2010 -0500 Mike Heinz -0176eec5b554dc9bb7a121482afe51e43b410de8 - - * RE: [PATCH] management: adding mad_dump_fields to libibmad - -Mon Apr 19 18:08:19 2010 +0300 Sasha Khapyorsky -1a4b90a74be9ae47d51485e2ed29a18b1a1e26eb - - * libibnetdisc: fix indentations - -Wed Apr 14 15:48:01 2010 -0700 Al Chu -116e64efe8dd4e91a264778996f401cfb57a3497 - - * check for duplicate port guids in libibnetdisc cache - -Wed Apr 14 15:47:49 2010 -0700 Al Chu -a4a7f4707734bf72ff5177397da661f0583ea158 - - * fix libibnetdisc cache error path memleak - -Wed Apr 14 10:48:03 2010 -0700 Al Chu -e8cd82856a6cca259f0592bb4a6233eb0146d053 - - * fix libibnetdisc portguid hashing corner case - -Fri Apr 16 19:31:43 2010 +0300 Sasha Khapyorsky -97161a8523e5e94da9f6bfc3fb555daf35fb3c7c - - * libibnetdisc: remove not needed num_smps_outstanding counter - -Fri Apr 16 15:14:00 2010 +0300 Sasha Khapyorsky -eea29a4b4d0fdd75c75595ffa2317fffc872dbf6 - - * libibnetdisc: remove not needed process_smp_queue() call - -Fri Apr 16 19:31:43 2010 +0300 Sasha Khapyorsky -2c89899269aff81dce048ae9a6a7a5d17c1aad10 - - * libibnetdiscover: more outstanding MADs counting fix - -Fri Apr 16 15:10:30 2010 +0300 Sasha Khapyorsky -a9989e08fbb9e69dc7d69ad7c96d289b01d22e16 - - * libibnetdisc: fix memory leak in case of send_smps() failure - -Fri Apr 9 04:48:15 2010 +0300 Sasha Khapyorsky -c22a907d93a8eadde12f5af75a7c571454880986 - - * libibnetdisc: config struct for ibnd_discover_fabric() - -Tue Apr 13 20:41:59 2010 +0300 Sasha Khapyorsky -60514dcb474325d3b8a99007efbe3ee522ede710 - - * libibnetdisc: don't query CA ports not connected to a fabric - -Tue Apr 13 19:54:45 2010 +0300 Sasha Khapyorsky -0914ffdf6538c271d5de12a6db945796e03851c6 - - * libibnetdisc: don't try to cross discovery over CA - -Tue Apr 13 19:30:23 2010 +0300 Sasha Khapyorsky -001dc72c15ee5329bba9966018c4ab84d436ce9b - - * libibnetdisc: fix outstanding SMPs countung - -Tue Apr 13 17:54:38 2010 +0300 Sasha Khapyorsky -7ff1e266c3f48c8f0bdf59b9e606ec538726ba3a - - * libibnetdisc: add \n at end of error messages - -Tue Apr 13 15:48:30 2010 +0300 Sasha Khapyorsky -a17e36656a53ca9363ef6b6b3ffb58a434c0f70c - - * infiniband-diags/ibnetdiscover: cleanups - -Wed Apr 7 10:06:43 2010 -0700 Al Chu -1b60fb0afd6383e94d0d626dbd10a12136f6b635 - - * support lid and nodedesc diffchecks in ibnetdiscover - -Wed Apr 7 10:06:32 2010 -0700 Al Chu -f6d4848d3c7462c4140a4050e61b96bf9efb6924 - - * support --diffcheck in ibnetdiscover - -Wed Apr 7 10:05:38 2010 -0700 Al Chu -90df93c4ec0e6bec20bef88de4c8bce3e0284362 - - * support --diff in ibnetdiscover - -Fri Apr 9 10:24:50 2010 -0700 Al Chu -ee9cd9d43ef94454d93c77988efb0c3f0ec45d9e - - * fix libibnetdisc corner case when user tries to re-cache a loaded cache - -Sat Apr 10 02:43:24 2010 +0300 Sasha Khapyorsky -937eaaccc0f3a32a861333d5018e3fb8e35feb68 - - * libibnetdisc: no backward NodeInfo queries - -Sat Apr 10 02:16:40 2010 +0300 Sasha Khapyorsky -b5c7dc59cebfcea80a7a853ace8d7e8316f0b689 - - * infiniband-diags/ibnetdiscover: report number of used MADs - -Sat Apr 10 02:07:07 2010 +0300 Sasha Khapyorsky -c690e85eb3822b557bf0fefcf53f03ff403d8cfb - - * libibnetdisc: keep total number of used SMPs - -Sat Apr 10 01:01:44 2010 +0300 Sasha Khapyorsky -4f55f7cd7e8d45ca49c3e107607d5758c6ba3448 - - * libibnetdisc: restore hops limited discovery - -Sat Apr 10 00:14:27 2010 +0300 Sasha Khapyorsky -baae94d9af69e246038f970a5b30ae6d8126aed8 - - * libibnetdisc: restore show_progress functionality - -Fri Apr 9 03:35:29 2010 +0300 Sasha Khapyorsky -85e417e33d777cc515040b561eb6a5e3511e09b7 - - * libibnetdisc: code cleanups - -Tue Feb 2 14:06:03 2010 -0800 Ira Weiny -f518fb5a780fcbec37b54803508abdc9e60e6ac3 - - * libibnetdisc: add ibnd_set_max_smps_on_wire call - -Fri Jan 22 17:33:30 2010 -0800 Ira Weiny -089f028dcd5cf4a121a02bec80f3ca54c2e55494 - - * libibnetdisc: Convert to a multi-smp algorithm - -Tue Mar 9 12:41:15 2010 +0200 Yevgeny Kliteynik -1226619d64fb4d6bbedba7d04ede5df497057fb6 - - * infiniband-diags/ibstat.c: print link layer for RoCEE support - -Tue Mar 9 12:37:38 2010 +0200 Yevgeny Kliteynik -a6cc34bfbc10a93c823668b10bcc39191f044a81 - - * infiniband-diags/ibstatus: add link_layer for RoCEE support - -Thu Mar 4 15:01:44 2010 -0600 Mike Heinz -b0caed9bb5f0d1fe80d0c66519bccaaa852e4dbd - - * Perfquery can be too noisy. - -Thu Mar 18 18:35:34 2010 -0700 Ira Weiny -30b8c9067ca388f9291e6298a65c077a568d2981 - - * infiniband-diags: Ignore PortInfo data on down port. - -Tue Feb 2 17:43:20 2010 -0800 Ira Weiny -156cd056ab5ef0e69053f5bf324e1835cc67c6d9 - - * libibnetdisc: fix typo in man page for ibnd_show_progress - -Wed Feb 10 09:32:05 2010 -0500 Hal Rosenstock -74d69f75fc9bdc72a604a05b9511b5d2dac256f7 - - * infiniband-diags/vendstat: Indicate general info for IS4 as well as IS3 - -Mon Jan 25 08:32:45 2010 -0500 Hal Rosenstock -17adabc46e41157ea8983ffc52ae16c34d29922c - - * infiniband-diags/ibqueryerrors.c: Fix typo in counter name - -Tue Jan 19 15:47:12 2010 +0200 Sasha Khapyorsky -ce85937be777a9686f58e37bdbbadc0f612bab0f - - * infiniband-diags/iblinkinfo,ibqueryerrors: code refactoring - -Mon Jan 18 21:35:51 2010 -0800 Al Chu -256269defbd56c5bc475f65488267db6e3f5c6b6 - - * support --load-cache in iblinkinfo and ibqueryerrors - -Tue Jan 12 20:56:20 2010 +0200 Sasha Khapyorsky -6afc4b05e85c2864c48868a95d82da063676358d - - * ibqueryerrors.c: more readable details dump function - -Thu Dec 31 14:10:54 2009 -0500 Hal Rosenstock -f1d70f4a2a9d6f1d267c7f20b6fdcbd3a64e48a8 - - * infiniband-diags/ibqueryerrors: Add support for optional PortRcvErrorDetails counter - -Sat Jan 16 20:29:29 2010 +0200 Sasha Khapyorsky -5d4f4bda8f0e96a407e4b5de9d38798b051604a5 - - * infiniband-diags: indentation fixes - -Fri Jan 15 10:23:16 2010 -0800 Al Chu -3d5c94091ce0fc7da8ebf79affac67d1fc92b75b - - * support --cache and --load-cache options in ibnetdiscover - -Fri Jan 15 10:23:13 2010 -0800 Al Chu -01b8045f28f6c1fd6a4dd170e8a89b85e7ff1ad2 - - * add libibnetdisc caching to libibnetdiscover - -Thu Jan 14 09:13:24 2010 -0500 Hal Rosenstock -cd383d54dba7e43a1f2de77382c6c31187571491 - - * infiniband-diags/perfquery: Add support for PortSamplesControl counter - -Wed Jan 13 15:23:18 2010 -0500 Hal Rosenstock -c259589b1f75e4a6c8d9ea16e8ee0f71c828ac75 - - * infiniband-diags/ibportstate.8: Add new supported ops - -Thu Dec 31 11:58:34 2009 -0500 Hal Rosenstock -eae275ce547dd148d7526974b601ccdaa03f9cd7 - - * infiniband-diags/perfquery: Add support for optional PortRcvErrorDetails counter - -Thu Nov 5 11:56:56 2009 -0800 Ralph Campbell -b8bbcef89b68865f3fc522a2973131442ca06581 - - * infiniband-diags/ibportstate: allow changes to CA portinfo parameters - -Tue Jan 12 11:14:15 2010 +0200 Sasha Khapyorsky -c7589c66ff78f72cf2817e6864b9c43e49dfbd52 - - * infiniband-diags: -V, --version: exit with zero status - -Tue Dec 29 09:30:49 2009 -0500 Hal Rosenstock -a5427f83c976ae0bbeee6b4d3f7afe38bf87ee0c - - * infiniband-diags/ibqueryerrors.c: Fix output format of counters - -** Version: infiniband-diags-1.5.5 - -Thu Dec 24 15:14:41 2009 +0200 Sasha Khapyorsky -a02a72e79fb350e23da731c313a281a6b0c0ca0d - - * management: packages versions update - -Thu Dec 10 13:24:01 2009 -0800 Al Chu -d70ab89db505c9ccaf8d0f9231cfcc6344aba038 - - * correct manpages for tools that are no longer scripts - -Thu Dec 10 11:38:38 2009 -0800 Al Chu -2f0ba97a07db2bd307f589823fb6ffc7bbd479b7 - - * remove obsoleted option from iblinkinfo manpage - -** Version: infiniband-diags-1.5.4 - -Sun Dec 13 19:39:11 2009 +0200 Sasha Khapyorsky -8596afb4a92181eb2055123cbcca73715a177cf7 - - * management: package versions bump - -Sun Dec 13 19:36:19 2009 +0200 Sasha Khapyorsky -3ef00cf4084364fd3779eb673348d525122976a3 - - * management: update library versions - -Tue Nov 17 10:17:30 2009 -0800 Al Chu -a498f70a59397120f1799645944255d2c1f57401 - - * splice out chassis scan specific from general scan in libibnetdiscover - -Tue Nov 17 10:17:20 2009 -0800 Al Chu -8b1d334b64a7ef7451c796268332fcf15bfc882e - - * use nodes/switches lists instead of nodesdist array in libibnetdiscover - -Tue Nov 17 10:16:14 2009 -0800 Al Chu -d365a61048d93cc9f65a9826d9b10f107d56150e - - * remove unnecessary casting in libibnetdiscover - -Mon Nov 23 12:04:19 2009 +0200 Doron Shoham -97f3fd404d39053f008e68d46c4baff8f4ce2fe1 - - * Add different print macros - -Fri Nov 13 09:52:16 2009 -0800 Al Chu -0d3e5accc016609e7dfce6331d4d44252182ec16 - - * split out scan specific data from ibnd_node_t [attempt #2] - -Tue Nov 3 20:17:14 2009 -0800 Ira Weiny -e51da7bd0efedd17f4252c09c833a280e08eb1df - - * infiniband-diags/ibqueryerrors: Properly exit and clean up resources when node info query fails - -Tue Nov 3 20:22:38 2009 -0800 Ira Weiny -8f8736a6a6993f718ecd47c4bf3d001f68b25229 - - * infiniband-diags/ibqueryerrors: Change realloc of suppressed fields to a static array - -Tue Nov 3 19:51:32 2009 -0800 Ira Weiny -587a6f8ce63933ca004f5fca216f7616fd64f342 - - * infiniband-diags/ibqueryerrors: Fix remote node name printing - -Fri Nov 6 10:14:24 2009 -0800 Al Chu -190451c0b7ff164b198d999aeaaa30016bfa7793 - - * fix potential segfault in ibnd_node_t destroy path - -Fri Nov 6 10:14:21 2009 -0800 Al Chu -a95d8789c55bd06ae62b80c4d32f889289893efd - - * consistently type lids and lmcs libibnetdisc - -Tue Nov 10 13:51:41 2009 -0800 Ira Weiny -10861458f2b3034262bb9a01125704d9709cc6e1 - - * infiniband-diags/libibnetdisc: Remove nearly duplicate "get_node_info" function - -Tue Nov 10 14:01:37 2009 -0800 Ira Weiny -8ad91fd22ae4b0d1bfd504218a02899d3263b576 - - * infiniband-diags/libibnetdisc: clean up PortInfo queries - -Thu Nov 12 19:20:39 2009 +0200 Sasha Khapyorsky -ccf687f2949256973153c38f5e34a31ecf47337d - - * infiniband-diags/ibqueryerrors: minor improvements - -Tue Nov 3 13:58:03 2009 -0800 Ira Weiny -8d673b478e78d5f0e4ff606f55c19f942cc8db4c - - * infiniband-diags/ibqueryerrors: Reformat the output of the xmtdiscard details. - -Fri Nov 6 15:32:25 2009 -0500 Hal Rosenstock -3a3734befe391e891ae18bbb925897fe6edb4a46 - - * infiniband-diags/saquery.c: Change lids and port numbers to decimal - -Fri Nov 6 10:59:00 2009 -0500 Hal Rosenstock -e11ee0b20b01fabe91f482eb91a90e5849b824c5 - - * infiniband-diags/ibsendtrap.c: Add support for SysImageGuid changed trap (145) - -Fri Nov 6 17:54:48 2009 +0200 Sasha Khapyorsky -b363af1580ac214dfa24662285a0b4d6a5d2fecf - - * libibnetdisc: remove man page of removed API - -Mon Nov 2 11:33:17 2009 -0800 Al Chu -2cc2bf56e95ba43cf1b8bdc7c2953e71976de331 - - * remove ibnd_update_node - -Tue Nov 3 17:03:15 2009 -0800 Ira Weiny -3d44880d512c76f3494037a1973ffdf45205964d - - * infiniband-diags/ibnetdisc.h: Clarify "ports" member of ibnd_node_t with more descriptive comment - -Wed Nov 4 09:42:19 2009 -0500 Hal Rosenstock -b61a2910d09a09d58a0ead85dd6db5654fb89aaa - - * infiniband-diags/ibqueryerrors: Add support for PortXmitDiscardDetails - -Tue Nov 3 10:37:29 2009 -0800 Al Chu -abc34ab016bb8f006d394a24c2107ec08b2fab7c - - * remove unused headers in libibnetdiscover - -Mon Nov 2 11:40:19 2009 +0200 Eli Dorfman (Voltaire) -84377df7ce7146b1bf6d9d702bd29d509e8b1d37 - - * infiniband-diags/saquery: Report SA MAD Class specific status. - -** Version: infiniband-diags-1.5.3 - -Sun Nov 1 21:55:47 2009 +0200 Sasha Khapyorsky -0b1c91a77dec80e2d2c39e3f6484f095c0d41175 - - * management: bump package versions - -Sun Nov 1 21:42:56 2009 +0200 Sasha Khapyorsky -8baf219009567aacb067764323d006cbbd9f69f7 - - * management: update libraries version information - -Mon Nov 2 02:09:14 2009 +0200 Sasha Khapyorsky -edb6c696d5570ed77da48fda8813b1d79604261d - - * management: update/add Voltaire copyright - -Fri Oct 30 00:49:36 2009 +0200 Sasha Khapyorsky -929e69b5de0b131d66ab15356e2dd386b870e81c - - * infiniband-diags/perfquery: merge some code - -Wed Sep 23 09:29:43 2009 -0400 Hal Rosenstock -3b0b12cd867006e2e918b9a97b6721dfb5025fed - - * infiniband-diags/perfquery: Add support for optional PortXmitDiscardDetails counter - -Thu Oct 29 23:34:27 2009 +0200 Sasha Khapyorsky -d557de94aa4ca0f4fdaca8948d49e37cbae215e2 - - * libibnetdisc: some cleanups - -Thu Oct 29 23:11:29 2009 +0200 Sasha Khapyorsky -80c220bd2c8fe3c8abb8b9d10a23b1377d744fbb - - * libibnetdisc: rename ibnd_scan variable to scan - -Wed Oct 28 16:52:11 2009 -0700 Al Chu -9e92e25de600c088034351c83088e6a4e5d8cc11 - - * remove 'dist' field from ibnd_node_t, which was virtually not used - -Wed Oct 28 16:52:09 2009 -0700 Al Chu -29003140079845c69888622ababf200e424fdf5f - - * split out ibnd_fabric_t fields that are only used during a scan - -Tue Oct 27 10:22:36 2009 -0700 Ira Weiny -2d237d0b99560b44f41ce8716a39edc31abdf7e6 - - * infiniband-diags/ibqueryerrors: Use remap'ed node name in clear port error message - -Fri Oct 23 13:57:46 2009 -0400 Hal Rosenstock -7107a106aeb0a283da875e7bbe955b3e4c28f781 - - * infiniband-diags/ibqueryerrors.c: Cosmetic changes - -Wed Oct 14 09:44:35 2009 +0530 Keshetti Mahesh -609e037c3723bc759293ec9c343969daf236a8fc - - * infiniband-diags/libibnetdisc: Removed trivial comments - -Fri Oct 23 18:20:59 2009 +0200 Sasha Khapyorsky -fb9503355addb8e01b0903ba2fab21ec7f98fc1a - - * infiniband-diags/ibqueryerrors.c: use common node_name - -Fri Oct 23 17:08:29 2009 +0200 Sasha Khapyorsky -7a0d07dc019b206b8c98e85bf10707fa0dd8fec1 - - * infiniband-diags/ibqueryerrors.c: use common portid in query_cap_mask() - -Fri Oct 23 17:02:22 2009 +0200 Sasha Khapyorsky -2aca4b06068a049781387d240a85f468cf9b8633 - - * infiniband-diags: minor cosmetic fixes - -Fri Sep 25 09:33:58 2009 -0700 Ira Weiny -21b42954dceeb4924b7f4e57c37250b3bdcd7f0b - - * infiniband-diags/src/ibqueryerrors: Add clear errors and counters options - -Wed Oct 7 10:35:25 2009 -0700 Ira Weiny -de9d8f08fc127f09e6f3825686806f59b5c821b4 - - * infiniband-diags/libibnetdisc/ibnetdisc.c: fix bug in single node processing. - -Tue Oct 13 09:04:54 2009 -0400 Hal Rosenstock -65f305cc51d07aa53437e961b43f69005361d0a8 - - * infiniband-diags/saquery.c: Modify dump_path_record - -Tue Sep 29 14:22:46 2009 +0200 Sasha Khapyorsky -642160c80693b4f8fd038e04dd728da1431734dc - - * infiniband-diags/ibqueryerrors: simplify node_type_to_print setup. - -Wed Sep 23 11:38:11 2009 -0700 Ira Weiny -e426d5b7f495550f28b558917eae074bea75600f - - * infiniband-diags/src/ibqueryerrors.c: Remove --all option and replace it with --switch, --ca, --router - -Wed Sep 23 14:26:55 2009 -0700 Ira Weiny -c92b21e9a15fbdabc7f37b986cb036276f02e939 - - * infiniband-diags/src/ibqueryerrors.c: fix bug when attempting a sub-fabric scan - -Tue Sep 22 19:59:36 2009 -0400 Hal Rosenstock -a74d1210266cc8aca0169f5a1e9b43bbf7673948 - - * infiniband-diags/ibportstate.c: Eliminate uninitialized variable compile warning - -Mon Sep 14 12:59:33 2009 +0200 sebastien dugue -f80eefd7c31e0c511794d582d05611fb30f83be4 - - * infiniband-diags/ibnetdiscover: Add separator when printing chassis type - -Sun Sep 13 19:23:13 2009 +0300 Doron Shoham -59d05a9509ae337b7d5786c0970dce88a4fa9b1a - - * ibportstate: fixes for width option - -Tue Sep 8 18:11:37 2009 -0400 Hal Rosenstock -0987cc1e8cbdc683838794429d873b07d72a7077 - - * infiniband-diags/ibportstate: Support changing of link width - -Wed Sep 16 09:12:14 2009 +0530 Keshetti Mahesh -31710227062002f12b1c2b2ca51878f98e6d7bcb - - * 'ibcheckportwidth' : Exit if LWS is 1X - -Tue Sep 15 17:09:29 2009 +0530 Keshetti Mahesh -d8b07f4ca62f6167698e83a8afcef08d424ffa44 - - * infiniband-diags/: Cosmetic changes, mostly typos - -Mon Aug 31 19:45:44 2009 +0300 Sasha Khapyorsky -fe9319b87d22f139b0c6c58c364b0c4c0974b0ba - - * infiniband-diags/ibroute: minor flow optimization - -Sun Aug 30 12:32:07 2009 -0400 Hal Rosenstock -127ddeb0b59f9996d45fba20175b844b466a7342 - - * infiniband-diags/ibroute: Add support for MulticastFDBTop - -Sun Aug 30 15:39:33 2009 +0300 Sasha Khapyorsky -946624a269122d579c7bdd52dc80596c83384e7f - - * libibnetdisc: fix compilation warning - -Wed Aug 26 09:25:00 2009 -0700 Ira Weiny -c0d2f74c6f8ac227f9eecffd4905fe60b73e3a20 - - * libibnetdisc: add retract_dpath function - -Fri Aug 21 15:01:00 2009 -0700 Ira Weiny -b50abf9bbca002a79aa4b80327cd42c8287ea74c - - * infiniband-diags/libibnetdisc: add missing '\n' to error message - -Sun Aug 30 15:29:24 2009 +0300 Sasha Khapyorsky -4e7655c49bc612215b379f3f171490c0f20be123 - - * infiniband-diags/perfquery: indentation fixes - -Wed Aug 26 12:12:23 2009 -0400 Hal Rosenstock -7400343098e38dc9a22b80914a803a30bd6aeae0 - - * infiniband-diags/perfquery.c: Indicate whether PortXmitWait counter is supported - -Wed Aug 26 17:37:30 2009 +0300 Eli Dorfman (Voltaire) -1ddb09cf33e08068e813f4fb7038c6addadea3b2 - - * Fix IB network discovery from switch node. - -Mon Aug 17 14:03:38 2009 -0700 Ira Weiny -2180add45e2b95ea69d0c14eb09d609b637b0e14 - - * libibnetdisc: make all fields of ibnd_fabric_t public - -Sun Aug 16 07:02:24 2009 -0400 Hal Rosenstock -4bf42172903fa14c6c21eea125623434bdfb3ccc - - * infiniband-diags/saquery.c: Allow pkey and qkey to be hidden - -Sat Aug 15 09:46:24 2009 -0400 Hal Rosenstock -12504d1532991c680212eacd3af1cbfa995c9f88 - - * infiniband-diags/saquery.c: Fix CHECK_AND_SET_VAL macro - -Thu Aug 13 19:54:00 2009 -0700 Ira Weiny -efbce75536679fe07c4dd2f9e9cc494a26c2cd9f - - * libibnetdisc: make all fields of ibnd_port_t public - -Sun Aug 16 13:22:09 2009 +0300 Sasha Khapyorsky -fb94a681aaa1d56e69fe9975b07b0ca05c9be14b - - * libibnetdisc: fix again typo in dump_node() - -Tue Aug 11 15:15:21 2009 -0700 Ira Weiny -d6f2d1fd279f39fd0243a1e10c13ef9ed1950db2 - - * libibnetdisc: make all fields of ibnd_node_t public - -Fri Aug 14 10:52:49 2009 -0400 Hal Rosenstock -32c65e163cf4ca64b4db4adb68afb5962d3c1d23 - - * infiniband-diags/saquery.c: Fix typo in option name - -Fri Aug 14 13:15:03 2009 +0300 Sasha Khapyorsky -832b9162b84741f9288f0427a24c1a06493f7f60 - - * infiniabnd-diags: indentation fixes - -Fri Aug 14 04:40:54 2009 +0300 Sasha Khapyorsky -898ffb9f282e1cc1de5a0d17ede549383a4733e7 - - * infiniband-diags/ibportstat.c: simplify conditions - -Fri Aug 14 04:36:24 2009 +0300 Sasha Khapyorsky -ea58a37aac5158be2b8a2d7b267eef29e0469956 - - * infiniband-diags/ibportstate.c: consolidate flows - -Thu Aug 13 15:37:50 2009 +0300 Sasha Khapyorsky -4e0fb746fa86be7badb067d5f75b92dc362885e4 - - * libibnetdisc: indentation fixes - -Thu Aug 13 15:25:50 2009 +0300 Sasha Khapyorsky -0c033c2da354c20afe805d3f3f145b6c867180a5 - - * libibnetdisc/ibnetdisc.c: typo fix - -Wed Aug 12 16:53:20 2009 -0700 Ira Weiny -676bd9f565fb6a8ab72cdc77c03ccf734a1b6917 - - * infiniband-diags/libibnetdisc: remove all IBPANIC's and clean up error handling - -Fri Aug 7 09:05:44 2009 -0700 Ira Weiny -db808b6ecfab52fbeb75816092263033de96d307 - - * libibnetdisc: fix potential memory leak of port object - -Wed Aug 5 10:29:31 2009 +0300 Sasha Khapyorsky -cf5922b9bd38f545ef33963fd32896ca25f4b04e - - * infiniband-diags/ibsendtrap.c: code consolidation - -Wed Aug 5 10:24:32 2009 +0300 Sasha Khapyorsky -7c5b3323b29f25e6baaac7934d4f540e41b5eb11 - - * infiniband-diags/ibsendtrap.c: fix array size - -Tue Aug 4 08:50:09 2009 -0400 Hal Rosenstock -4b78754846dfe7ebd0ee86d074b4c6662d657e7f - - * infiniband-diags/ibsendtrap.c: Add support for link_speed_enabled_change trap - -Mon Aug 3 16:39:57 2009 -0400 Hal Rosenstock -395d4d003d63fa5005c4418bf3c6055ca80705be - - * infiniband-diags/ibsendtrap.c: Fill in capability mask on trap 144 - -Mon Aug 3 15:22:56 2009 +0300 Sasha Khapyorsky -9d60102edae3f9dbfe20686aa6df34e1219e9504 - - * infiniband-diags/man: break long lines - -Sun Aug 2 20:15:32 2009 -0400 Hal Rosenstock -17b317ae81ec6999c608f81b422159bc4194fe11 - - * infiniband-diags/ibnetdiscover.8: Add max hops option - -Sun Aug 2 10:55:37 2009 +0300 Sasha Khapyorsky -fbc728662320140a66db48bded71c7e1a3d94949 - - * infiniband-diags/ibnetdiscover: remove not used var - -Mon Jul 27 10:13:01 2009 -0700 Al Chu -dfbb9603f8f87c5709573f6f031da256153f9e02 - - * fix libibnetdisc API consistency and bugs - -Mon Jul 27 10:12:59 2009 -0700 Al Chu -3eb0af51f36c75691afbd46e1a8eca2d86143cf3 - - * fix libibnetdisc API consistency and bugs - -Sat Aug 1 02:59:50 2009 +0300 Sasha Khapyorsky -5d06b65f612802565e7fc7cf1bf8fc84f3d96806 - - * bibnetdisc/ibnetdisc.c: fix parameter incompatibility warning - -Mon Jul 27 10:12:51 2009 -0700 Al Chu -8092614f5309ed111516dde50bd3390a611d155b - - * fix libibnetdisc API consistency and bugs - -Mon Jul 27 10:12:41 2009 -0700 Al Chu -3fa0a9d8db3430fa7e21b1d528db85ab6833639b - - * fix libibnetdisc API consistency and bugs - -Mon Jul 27 10:12:36 2009 -0700 Al Chu -47323f3b253593863a3862c18b3ffb4c0aa42e89 - - * fix libibnetdisc API consistency and bugs - -Mon Jul 27 10:12:32 2009 -0700 Al Chu -a150500a3451689bf0eb82203762e8dad4c07522 - - * fix libibnetdisc API consistency and bugs - -Thu Jul 30 18:40:12 2009 -0700 Ira Weiny -ab70ff96ebf87a63c0dc1aaeb947ababb2125d5e - - * infiniband-diags/libibnetdisc: fix DBGFLAGS variable - -Mon Jul 20 08:58:47 2009 -0400 Hal Rosenstock -a6fbe5f00a3331bf79fc28c37f3d648ec0bb3cc5 - - * infiniband-diags/ibtracert.c: Fix linearcap test in switch_lookup - -Tue Jul 7 15:24:26 2009 -0700 Al Chu -b0e2e5c901f342c7813ac91486e474afd2a65204 - - * libibnetdisc cleanup patches - -Thu Jul 16 09:32:38 2009 -0400 Hal Rosenstock -5dd30ca90a66cd77d6653deefedffc0cbeac651f - - * infiniband-diags/ibroute.c: Fix typo in IBWARN message - -Thu Jul 16 09:31:58 2009 -0400 Hal Rosenstock -b26200734f13cdb2c7d2f1e4d7acc39599b849e7 - - * infiniband-diags/ibtracert.c: Fix comparison to SwitchInfo.MulticastFDBCap in switch_mclookup - -Tue Jul 14 13:28:52 2009 -0400 Hal Rosenstock -7937993a10638a8d57b80506f040a6cd1ec0413f - - * infiniband-diags/README: Update saquery dependencies - -Tue Jul 14 04:26:20 2009 +0300 Sasha Khapyorsky -c91986c7f354065c42ce70f2dc9fee59d1c73bce - - * infiniband-diags/libibnetdisc: add man pages to EXTRA_DIST - -Thu Jul 9 15:39:15 2009 -0400 Hal Rosenstock -ba92f994d43a360cb7fa47d6976e370e9471a005 - - * infiniband-diags/ibroute.c: Fix format and typo in printf - -Tue Jul 7 06:43:57 2009 +0300 Sasha Khapyorsky -579be1dbd8096f4b42faae75c4070057a614a105 - - * libibnetdisc/Makefile.am: add internal.h to SOURCES list - -Wed Jun 24 18:22:14 2009 -0700 Ira Weiny -3123b272c1d3a7e06223bedd5a9cdcc2be7cfa61 - - * iblinkinfo, ibqueryerrors: clean up ibdiag_process_opts call - -Tue Jun 23 13:29:19 2009 -0700 Ira Weiny -c2a119da5ef4f2c99c07a5e7230812ab038717da - - * ibprintca.pl: fix corner case: print switch information for CA's found at the end of the cache file. - -Wed Jun 24 17:52:37 2009 -0700 Ira Weiny -314008b45efea52c471e5e0ec86dadc47cba698f - - * ibqueryerrors: optomize -D operation - -Thu Jun 18 14:07:13 2009 -0700 Ira Weiny -2df69c8f20a57ac4ccc501f447fc70e7e3dc8cb4 - - * iblinkinfo: optomize -D operation - -Thu May 14 17:24:29 2009 -0700 Ira Weiny -9da2a098863c6633bd9d4a7f48446593904e77a8 - - * ibqueryerrors: fix custom opts string - -Thu May 14 17:23:22 2009 -0700 Ira Weiny -ab82af39c6b7376739d7c813cd6dba7522405745 - - * iblinkinfo: convert to ibdiag_process_opts - -Thu May 14 16:39:52 2009 -0700 Ira Weiny -1b6b85aba85ed0a9249ffcb33ee3c4c9d262ee11 - - * iblinkinfo: remove unused file pointer. - -Thu May 14 15:52:42 2009 -0700 Ira Weiny -5d6a05b24c6116759a45e4a7fa5632b940682bd0 - - * iblinkinfo, ibqueryerrors: prevent core when switch is not found - -Wed May 13 09:30:20 2009 -0700 Ira Weiny -8022ccc98bc83cb59a08cc8ce3a621a80cd7ed91 - - * ibnetdiscover: only report max hops discovered when requested - -Thu Jun 4 11:08:27 2009 -0700 Ira Weiny -443ef9a59d4447d7753e0dc7ddeaec167932c8c8 - - * Move _with_node_name_map rpm spec option from infiniband-diags to opensm. - -Mon Jun 8 13:03:01 2009 +0300 Eli Dorfman (Voltaire) -76f74f789656dac2707f0f34933b76955cbac368 - - * infiniband_diags/ibportstate.c perform reset in a single mad - -Wed Jun 3 17:12:56 2009 +0300 Eli Dorfman (Voltaire) -9d832c6596bf1ad50814aa3533f4e8706a03404f - - * infiniband-diags: Do not change port state on SubnSet - -Fri May 29 15:31:12 2009 -0400 Hal Rosenstock -dbb68b43fd64ae30f013e929dc9e06c9a9c9ee12 - - * infiniband-diags/ibdiag_common.c: Eliminate compile warning on x86_64 archs - -Wed May 27 11:08:10 2009 -0700 Sean Hefty -4348825c9a1f964f17d0d06eeefc600b81de0a3f - - * ib-mgmt/libibnetdisc: fix typecast warning - -Sun May 10 14:30:13 2009 +0300 Doron Shoham -71a382ef541de82fe1aec80dcc6aac0a972859b3 - - * saquery: fix -c arguement - -Wed May 6 09:53:03 2009 -0700 Ira Weiny -3917867db504d6aefbe7ca27bcbd3ac5507c8a55 - - * Clean up printing of switch heading when printing "down links" only. - -Wed May 6 09:51:14 2009 -0700 Ira Weiny -ce9635bda568014f391a6bd2aa165115004c4161 - - * Fix 2 formatting diff's from old ibqueryerrors. - -Tue Apr 28 16:38:38 2009 -0700 Ira Weiny -e5c1b9659adf803bd01bf908a52be5ea374e1307 - - * Modify '-S' option of iblinkinfo and ibqueryerrors to do a limited scan of the - -Wed May 6 09:33:47 2009 -0700 Ira Weiny -c6f03b72633aff494ac0572ae7bf051d854fff90 - - * Add combined routing support to libibnetdisc - -Mon May 4 15:49:49 2009 -0700 Sean Hefty -750c7d1ee5c4850a9533dbd003e6873d1e0a8c53 - - * ib-mgmt: fixup ibsendtrap for windows - -Fri May 1 22:47:51 2009 +0300 Sasha Khapyorsky -4f784b38fb9628e35a2a0b1378b6e530206f7aff - - * ibstat.c: use htohl() for 32-bit capmask conversion - -Mon May 4 15:17:32 2009 -0400 Hal Rosenstock -03b311f8a46a7d9c88c176480de807e29866107b - - * infiniband-diags/ibnetdiscover.c: Cosmetic formatting changes - -Mon May 4 12:58:09 2009 +0200 Nicolas Morey-Chaisemartin -984b98326378702e50dffb854cc72853274cd700 - - * infiniband-diags: Added libibnetdiscover to .spec file - -Mon Apr 27 14:17:53 2009 -0400 Hal Rosenstock -0b33c91abdb02403764ca2e4d889a1d14b2d4bac - - * infiniband-diags/saquery.c: Display attribute ID in hex rather than decimal - -Mon Apr 27 12:59:05 2009 +0200 Nicolas Morey-Chaisemartin -bfc1992705db38f2fda331d3cd0ce4acd48aa277 - - * management: Fixed custom_release in SPEC files - -Mon Apr 27 14:50:26 2009 -0700 Ira Weiny -24741af2301ae8aa2772a35c405212ede4c0a6c8 - - * ibqueryerrors: switch_guid_str is required for the string resolve function. - -Sat Apr 25 20:10:59 2009 +0300 Sasha Khapyorsky -76e4fb8b76d1ab240728c5c7bfa7d94a4d803469 - - * ibdiag_common: remove duplicated ibdebug variable - -Sat Apr 25 19:51:06 2009 +0300 Sasha Khapyorsky -466fbe3e786598904e7cad9cb99abe7ea81f69f5 - - * infiniband-diags: remove not used ibnetdiscover.h - -Sat Apr 25 14:36:43 2009 +0300 Sasha Khapyorsky -0d0c89063dfe8d5ef8ec9ac836e48c8a7d1008bb - - * infiniband-diags: cosmetic fixes - -Thu Apr 23 10:57:10 2009 -0700 Ira Weiny -bff90d580d150cab5f741400fce88ce244cd1ddf - - * Convert ibqueryerrors.pl to C and use new ibnetdisc library. - -Wed Apr 22 18:54:46 2009 -0700 Ira Weiny -5d5734e58b6f73bb1ab7810a63c7ca32b7dfb5cf - - * libibnetdisc: change ibnd_discover_fabric to receive ibmad_port - -Sat Apr 25 15:00:13 2009 +0300 Sasha Khapyorsky -0d1e27e38285e242d438ff6a658363821e583135 - - * ibnetdiscover: fix types to avoid portability castings - -Tue Apr 21 12:06:42 2009 -0700 Sean Hefty -b0b97a684d0133c30571b4e16bc0d31a56bdc446 - - * ib-mgmt/ibn3 branch: libibnetdisc add windows support - -Tue Apr 21 12:02:18 2009 -0700 Sean Hefty -3ef7d3de4ebcd6519899b51e4b1b17c0007c180b - - * ib-mgmt/ibn3 branch: diags updated for continued windows support - -Thu Apr 23 10:57:10 2009 -0700 Ira Weiny -51401a3ed834f5369dc0c98f134db75a2b6e8ee0 - - * Convert ibnetdiscover to use new ibnetdisc library - -Thu Apr 23 10:57:10 2009 -0700 Ira Weiny -339cf92d36a47c2c50727d5ab1c3fd03c409d3fc - - * clean up iblinkinfo conversion - -Fri Apr 3 15:42:54 2009 -0700 Ira Weiny -392a032eda0243931d2b82b8bc8174293ba11e44 - - * Convert iblinkinfo.pl to C and use new ibnetdisc library. - -Fri Apr 3 15:42:51 2009 -0700 Ira Weiny -a626de1abde7223348ed88474e168c3e68f86565 - - * Create a new library libibnetdisc - -** Version: infiniband-diags-1.5.2 - -Sun Apr 26 17:05:13 2009 +0300 Sasha Khapyorsky -186fa39842b64785eb572a69ddeddc5613419782 - - * management: bump package versions - -Sat Apr 25 20:10:59 2009 +0300 Sasha Khapyorsky -bbee6691e502306397f7be2593293a0baaa90c40 - - * ibdiag_common: remove duplicated ibdebug variable - -Sun Apr 19 06:32:41 2009 -0400 Hal Rosenstock -a9acc85489ea27649d726f338a044cc989d5b173 - - * infiniband-diags/man/vendstat.8: Indicate IS4 config group config not persistent across IS4 reboot - -Sat Apr 18 09:11:36 2009 -0400 Hal Rosenstock -34fe5e885707ccf06fb77086a849d0d73a485ae4 - - * infiniband-diags/ibsendtrap.c: Set producer type according to node type - -Thu Apr 16 09:01:45 2009 -0400 Hal Rosenstock -668fb55fc9cb98c1242ff1f7e7305fd6d9c2362e - - * infiniband-diags/man/vendstat.8: Fix PortXmit/RcvDataSL examples - -Wed Apr 15 19:38:30 2009 +0300 Sasha Khapyorsky -8b8a9f0cf5cdae9a0d2552d4d8e5742d10ba385d - - * infiniband-diags/perltidy.sh: option to format a single file - -Fri Apr 3 16:02:49 2009 -0700 Ira Weiny -e34a45c85df471dc11a43107dabe1cf6186bf422 - - * Fix ibidsverify.pl to use the correct cache file - -Wed Apr 15 09:05:18 2009 -0400 Hal Rosenstock -02e69153449f8ed17b3b98a8754734f9a5058d7d - - * infiniband-diags/ibsendtrap.c: Local link integrity is an "urgent" trap - -Tue Apr 14 15:11:18 2009 +0300 Sasha Khapyorsky -347e4ffb4d8297ce656cc1daa6ced0e2a4bd9afe - - * infiniband-diags/ibsendtrap: code consolidation - -Mon Mar 16 11:20:38 2009 +0200 Julia Volynsky -441ece311d51c8a30d27a7b45dc176c98fd23534 - - * Added send trap for trap 129 (local link integrity) - -Wed Apr 8 11:04:45 2009 -0400 Hal Rosenstock -6c2a373455e37c3488bc0f90e8ab0b3a6ffa1f16 - - * infiniband-diags/vendstat: Update man page and examples for PortXmit/RcvDataSL counter support - -Tue Mar 24 03:09:15 2009 +0200 Sasha Khapyorsky -c73f168ca22d40cabb3bb88e827bfb077080cf05 - - * infiniband-diags/vendstat.c: code moving - -Thu Mar 19 14:27:25 2009 +0200 Or Gerlitz -c10e955f68414381d81c5400559281cbf14e1283 - - * ib-diag/vendstat: counter-group-info & config-counter-group vendor mads - -Fri Mar 20 18:12:22 2009 -0500 Hal Rosenstock -fc3d02c9871820f35a34b331046b1fa81b055291 - - * infiniband-diags/perfquery.8: Fix typo in short option for PortXmitDataSL counters - -Fri Mar 13 15:37:18 2009 -0500 Hal Rosenstock -71113b0100ad0236abdc1bfa4868a89b47387880 - - * infiniband-diags/perfquery.c: Label PortXmit/RcvDataSL counters in headings - -Thu Mar 12 11:38:56 2009 -0500 Hal Rosenstock -9e2416c1e1bf0b95db675844e7d4592db8cb1115 - - * infiniband-diags/perfquery.8: Extended counters are now -x rather than -e - -Wed Mar 11 08:29:19 2009 -0500 Hal Rosenstock -90ef4ffcf239cd82e88a5cbccefb60356be8d250 - - * infiniband-diags/vendstat.c: Add missing mad_rpc_close_port call - -Tue Mar 10 17:50:01 2009 -0500 Hal Rosenstock -21478a728ef32a4863866c18e52b64306a86ec73 - - * infiniband-diags/perfquery.c: Fix some memory leaks on exit - -Tue Mar 10 15:50:23 2009 -0500 Hal Rosenstock -680bafcf16c7b34c58a20af4b08350d07767dc81 - - * infiniband-diags/perfquery.8: Update man page for PortXmit/RcvDataSL - -Wed Mar 11 12:43:47 2009 +0200 Sasha Khapyorsky -52c956f91512ded86a2c072074d07269d870128b - - * libibmad: add mad_rpc_class_agent() call - -Mon Mar 9 13:53:21 2009 -0700 David A. McMillen -05d7a879e3e59675a80c8250a1f53c53cf1766ee - - * infiniband-diags/ibnetdiscover: Apply --node-name-map remapping to names printed by --ports option - -Mon Mar 9 18:01:02 2009 +0200 Or Gerlitz -c236d1f91b9e6cccc3c30aec2dfcf050f0ac792a - - * infiniband-diags/perfquery: add srcport param - -Fri Feb 20 14:45:29 2009 -0800 Ira Weiny -9ef2ac0417237d757875a31572274be3f9a90f08 - - * infiniband-diags: convert ibnetdiscover to "new" ibmad interface - -Thu Feb 19 18:53:10 2009 -0800 Ira Weiny -37a39ee80e8d59ed3c3ee1f0d6dddddbed20708a - - * infiniband-diags: Convert perfquery, saquery, sminfo, smpquery, and vendstat to "new" ibmad interface - -Thu Feb 19 18:24:56 2009 -0800 Ira Weiny -a76c09bc5779dad91e44e862ba48bf9ad63455e7 - - * infiniband-diags: Convert mcm_rereg_test to "new" ibmad interface - -Thu Feb 19 18:14:49 2009 -0800 Ira Weiny -b34db7fbae6f36db0d426019df64a289b894a293 - - * infiniband-diags: Convert ibsysstat to "new" ibmad interface - -Thu Feb 19 17:58:36 2009 -0800 Ira Weiny -20a6a5bbd9b0faed3d36a4e02cc00a576df08d3e - - * infiniband-diags: Convert ibtracert to "new" ibmad interface - -Thu Feb 19 17:53:30 2009 -0800 Ira Weiny -be317ec69458e453b7c13aba7adef1bdba770d96 - - * infiniband-diags: Convert ibsendtrap to "new" ibmad interface - -Thu Feb 19 17:30:14 2009 -0800 Ira Weiny -63205b22834d97de1135647198d26655882a4a34 - - * infiniband-diags: Convert ibroute to "new" ibmad interface - -Thu Feb 19 17:27:21 2009 -0800 Ira Weiny -37808bc670ef219c12d1aab22e30582babd5da4d - - * infiniband-diags: Convert ibportstate to "new" ibmad interface - -Fri Mar 6 10:48:08 2009 -0800 Ira Weiny -481279ff94de844a99ecd7c88f11365bad495c8d - - * infiniband-diags: Convert ibaddr to "new" ibmad interface - -Fri Feb 27 13:46:53 2009 -0500 Hal Rosenstock -45131fc051fc69fb3190a895345c15e57bb5c13f - - * opensm/infiniband-diags: Changes for C rather than C++ style comments - -Mon Mar 2 11:35:54 2009 +0200 Or Gerlitz -aa877e7dbd691589bfd45ddfc032514c08831580 - - * infiniband-diags: update configure.in check for libibmad API - -Sun Mar 1 14:41:51 2009 +0200 Or Gerlitz -08775eda007eab489247542cb492663f7aea1f63 - - * perfquery PortXmtDataSL/PortRcvDataSL support - -Sun Mar 1 14:39:48 2009 +0200 Or Gerlitz -3116fb5902642fb8cebbfb1c2f64c5a8cb3a7eb2 - - * generic libibmad perf query/reset api - -** Version: infiniband-diags-1.5.1 - -Sat Feb 28 18:50:54 2009 +0200 Sasha Khapyorsky -d5f23acbcbfe8ee51818ab364007d5b0a7387d01 - - * management: bump all package versions - -Fri Feb 27 10:34:19 2009 +0200 Sasha Khapyorsky -1cb94c303b0a195d766e1d0eb39d87c18425cd4c - - * infiniband-diags/ibroute: fix warning - -Thu Feb 26 13:08:23 2009 -0800 Sean Hefty -bf861ff2118831d99231e2458132571ec30a01aa - - * [ib-diag] saquery: add support for WinOF - -Thu Feb 26 12:33:49 2009 -0800 Sean Hefty -9cb8cf81780c66e529bb275f180d1b734694031c - - * [ib-diags] saquery: set correct pkey table field - -Thu Feb 26 12:22:04 2009 -0800 Sean Hefty -d8b1999aee4635f6522947bb4bf036799d5869c9 - - * [ib-diag] ibsysstat: add support for WinOF - -Thu Feb 26 10:12:23 2009 -0800 Sean Hefty -aaf13343ee26d4c5e597ddf69a8e3b2341291b98 - - * [ib-diag] mcm_rereg_test: add support for WinOF - -Thu Feb 26 10:12:19 2009 -0800 Sean Hefty -3bc107e9c72908bbd51ebaf29389f142e3da72e9 - - * [ib-diag] ibsendtrap: add support for WinOF - -Thu Feb 26 10:11:58 2009 -0800 Sean Hefty -02b7f2ed3e52cbaa39f1d6033a76b970b42ce949 - - * [ib-diag] ibtracert: add support for WinOF - -Thu Feb 26 10:10:58 2009 -0800 Sean Hefty -9b59ad68b2b1976d5c1111531f3f3aacf867d2ab - - * [ib-diag] ibroute: add support for WinOF - -Thu Feb 26 09:48:58 2009 -0800 Sean Hefty -f3cf4703a3c421657ccd2a6a0a5cc6807bf5dd2f - - * [ib-diag] ibnetdiscover: add support for WinOF - -Fri Feb 20 16:59:38 2009 -0500 Hal Rosenstock -8f526856100acd3206ae7c268bb0cadc9c6a7088 - - * infiniband-diags/saquery.c: Convert more LID prints to unsigned decimal - -Wed Feb 18 12:19:32 2009 -0500 Hal Rosenstock -1f6243a43bb429a50e3453178e9b456763cc78ef - - * infiniband-diags/smpdump.c: Release umad resources on exit - -Wed Feb 18 10:55:37 2009 -0500 Hal Rosenstock -cf6e7dcf310786a51deac8191df5a4307c2d5a3d - - * infiniband-diags/smpdump.c: Fix usage examples - -Sun Feb 22 06:19:44 2009 -0600 David McMillen -b75064b33c4faa157a0efb52d6498fa905fed4ff - - * infiniband-diags/src/ibnetdiscover.c missing LID information on --ports - -Wed Feb 18 10:00:21 2009 -0800 Sean Hefty -99225e635ae4a1abeb4f33185c394bc6f40d5db9 - - * smpquery: add support for WinOF - -Tue Feb 17 16:05:45 2009 -0800 Sean Hefty -d82c0b8f7bad0f618ddcc19644f196e4fc6e8879 - - * ibping: add support for WinOF - -Tue Feb 17 14:36:20 2009 -0800 Sean Hefty -7dbf78d97d95da1ad7769b8ed97496f0f56f55c2 - - * smpdump: add support for WinOF - -Tue Feb 17 14:35:40 2009 -0800 Sean Hefty -799a70838ebae1519f6cdc6980327988a3e59057 - - * ibstat: add support for WinOF - -Tue Feb 17 14:33:09 2009 -0800 Sean Hefty -61fb971b57dffbc10f83f51e28b4a67fb0c581cb - - * ibportstate: add support for WinOF - -Tue Feb 17 14:32:38 2009 -0800 Sean Hefty -518d5459663cb7367afac4e2255aa759d48b9889 - - * perfquery: add support for WinOF - -Tue Feb 17 14:32:05 2009 -0800 Sean Hefty -43524e038a5fd95339fd5c43e2fedc32ac76c8f4 - - * ibaddr: add support for WinOF - -Tue Feb 17 14:31:31 2009 -0800 Sean Hefty -0524c25610ea927053d7bf1144d1b06e7b969a80 - - * vendstat: add support for WinOF - -Tue Feb 17 14:30:54 2009 -0800 Sean Hefty -43e6dfa72170309ef5f20100ec1119abdb2e2327 - - * sminfo: add support for WinOF - -Sat Feb 14 17:19:02 2009 +0200 Sasha Khapyorsky -8219070572684307a500347ca0220e1b79640a5b - - * infiniabnd-diags/common: wrap debug macros with do {} while (0) - -Wed Feb 11 18:37:24 2009 +0200 Sasha Khapyorsky -68daa74daf262ee17cabf3a019348c7def662e3c - - * infiniband-diags: some code consolidation - -Wed Feb 11 04:53:46 2009 +0200 Sasha Khapyorsky -f2920cc66f525850f61d4ceaf87e05db8fab17cf - - * infiniband-diags/saquery: fix types and some cleanup - -Wed Feb 11 02:11:30 2009 +0200 Sasha Khapyorsky -ce8e82d5d53e698bf3ca41eb7295b8a19038dc72 - - * infiniband-diags/saquery: remove osm vendor layer - -Thu Feb 5 17:00:02 2009 -0700 Hal Rosenstock -f13f0a25f22e1c9f2ad0e10bda830b83d0edcb80 - - * infiniband-diags/perfquery: Change option name for extended counters - -Thu Feb 5 20:18:10 2009 +0200 Sasha Khapyorsky -6079cc21e9df4851ed5fe2a7e474642cd7b7ee78 - - * infiniband-diags/common: use enum MAD_DEST as ibd_dest_type type - -Fri Jan 30 15:51:05 2009 +0200 Sasha Khapyorsky -5b6ba15dd1dfd5c0664cb3b4f820c10828b9add7 - - * infiniband-diags/saquery: merge PathRecord query functions - -Wed Jan 28 20:23:02 2009 +0200 Sasha Khapyorsky -2305370eccc5891d310fa3b42c93a5257b390d18 - - * infiniband-diags/saquery: more params for Path and MCMember Records - -Wed Jan 28 20:23:02 2009 +0200 Sasha Khapyorsky -db4dd2cbe5131ef240307cdf5df9c4031ed90376 - - * infiniband-diags/saquery: adding query params - -Thu Jan 29 14:34:45 2009 +0200 Sasha Khapyorsky -d85205d7c14697b9777d13da39b1137f0db07636 - - * infiniband-diags/saquery: CHECK_AND_SET_VAL() macro - -Thu Jan 29 13:24:59 2009 +0200 Sasha Khapyorsky -21de45df81e77ac214e355cf7f6861f83b2fc59f - - * infiniband-diags/saquery: cosmetic - -Thu Jan 29 14:42:55 2009 +0200 Sasha Khapyorsky -6d2909c11245777ce44e5b5716c6dc3c877b6a92 - - * infiniband-diags/saquery: fix encoding of SA queries - -Wed Jan 28 20:10:06 2009 +0200 Sasha Khapyorsky -b2191875823de79245cbd6105307d98780f45d6b - - * infiniband-diags/smpdump: fix SL value encoding - -Wed Jan 28 15:14:07 2009 +0200 Sasha Khapyorsky -2e11ae51da524bffa49434e1aea1fc471f2a42b3 - - * infiniband-diags/saquery: fix backward compatibility bug - -Tue Jan 27 14:36:02 2009 +0200 Sasha Khapyorsky -e478ef0b30fd7b7a889c1afb7d94553de15e4693 - - * infiniband-diags/ibsysstat: backward compatibility fixes - -Mon Jan 26 23:03:29 2009 +0200 Sasha Khapyorsky -7d1b0a3d6aca0c5f96f3354a9e4a3ef40b25f300 - - * infiniband-diags/ibsysstat: use RMPP for client/server communication - -Mon Jan 26 16:35:51 2009 +0200 Sasha Khapyorsky -a58765c29649fbf8ae8868e161a4285438c0bd95 - - * infiniband-diags/saquery: add lid parameter to NodeRecord query - -Mon Jan 26 10:49:43 2009 +0200 Sasha Khapyorsky -c5f90ddff99b8d8e6a63bd8a248ff9ab1ec160b6 - - * infiniband-diags/smpquery: usage improvement - -Sat Jan 24 11:19:30 2009 +0200 Sasha Khapyorsky -f1db964fd7316ac1900545078524f0ee5f71620a - - * infiniband-diags: remove unneeded includes - -Sat Jan 24 10:50:50 2009 +0200 Sasha Khapyorsky -cff14be7d5daa56c11177769ea736a654fc94869 - - * infiniband-diags: make get_build_version() static - -Sat Jan 24 10:11:08 2009 +0200 Sasha Khapyorsky -0628026b304becf2c46ccc9ac7b30b02fafa2219 - - * infiniband-diags: remove argv0 global variable - -Sat Jan 24 00:31:01 2009 +0200 Sasha Khapyorsky -3ccf4d576c28854a2c40237179f39185f2c1b5d3 - - * infiniband-diags: using common command line option processing - -Sat Jan 24 00:31:01 2009 +0200 Sasha Khapyorsky -cd5a13772d750e8828e48fd1e921d972894c8d68 - - * infiniband-diags: command line option processing framework - -Sun Jan 25 11:45:03 2009 +0200 Sasha Khapyorsky -591081b4ca2fe3d60e08545d4148e2ef68b6665e - - * infiniband-diags/dump_mfts.sh: fix -D format parsing - -Sun Jan 25 11:45:03 2009 +0200 Sasha Khapyorsky -26680730ec79303a32f0950dc3b6733172a9cd61 - - * infiniband-diags/dump_lfts.sh: fix -D format parsing - -Sat Jan 24 00:12:28 2009 +0200 Sasha Khapyorsky -1fa3b32eba4218ab0fdce5a101624b007a82aad3 - - * infiniband-diags/ibdiag_common: cleanup argv0 prototype - -Sat Jan 24 00:06:11 2009 +0200 Sasha Khapyorsky -7ea0dba08aaf94830e5ebabc83eb8ec5add689bb - - * infiniband-diags/smpdump.c: use common ib definitions - -Thu Jan 22 22:32:34 2009 +0200 Sasha Khapyorsky -bc4d17133d6677cec5e87079f5918e23ba81959f - - * infiniband-diags: remove duplicated ibdebug prototype - -Thu Jan 22 15:00:58 2009 +0200 Sasha Khapyorsky -40061e8db2192d7731f54bd12317e18def7f0062 - - * infiniband-diags/ibdiag_common: move get_build_version() - -Thu Jan 22 14:57:11 2009 +0200 Sasha Khapyorsky -383afee5b334a83cce7030c8ce592b34439ab56e - - * infiniband-diags/ibdiag_common: cosmetic - -Thu Jan 22 14:46:25 2009 +0200 Sasha Khapyorsky -20bf9d37f8181acc0bac3aa8bbb41f275027c90e - - * infiniband-diags/Makefile.am: use common library - -Thu Jan 22 14:37:11 2009 +0200 Sasha Khapyorsky -e1ea13aa0655ab431677505823d5ba28dafff02e - - * infiniband-diags/Makefile.am: merge CFLAGS - -Thu Jan 22 14:32:35 2009 +0200 Sasha Khapyorsky -4318758cbb23f3e8a7136cc0efcc9345f590a982 - - * infiniband-diags/Makefile.am: kill -rpath - -Tue Jan 20 13:29:25 2009 +0200 Sasha Khapyorsky -c002711719cc7e83210d4a8b3fe05f349e9d8bb2 - - * infiniband-diags/perfquery.c: fix typo - -Tue Jan 13 16:56:57 2009 +0200 Eli Dorfman (Voltaire) -7dd16a49f1934d9912a7699bde63744b961564ff - - * infiniband-diags support PortXmitWait get and set - -Mon Jan 5 14:31:07 2009 +0200 Sasha Khapyorsky -69743b5082ed4bc11e211ae3081dbbb4f2feae81 - - * infiniband-diags/perfquery: indentation fixes - -Mon Dec 22 02:26:31 2008 +0200 Sasha Khapyorsky -7e2d9e40c5d0d4d52056d6c17d65c3c9161aff79 - - * management: remove libibcommon dependencies - -Mon Dec 22 00:24:30 2008 +0200 Sasha Khapyorsky -c01c74074db2e9c170f67969c020363fb3500f41 - - * management: move sysfs()_* function to libibumad - -Sun Dec 21 17:28:25 2008 +0200 Sasha Khapyorsky -916e7571b49953360bc28fc53e0e1345c7fd5f3f - - * infiniband-diags/ibstat,smpdump: kill unused includes - -Thu Dec 18 23:45:42 2008 +0200 Sasha Khapyorsky -0a7b21b279f6221b9e0629c9d23c1185ab323948 - - * infiniband-diags/saquery: minor indentation fixes - -Sat Dec 13 22:46:56 2008 +0200 Sasha Khapyorsky -656614a4a7a92765db698fa2c5a8a87f905473c3 - - * infinabd-diags: convert type uint -> unsigned int - -Fri Dec 12 17:30:25 2008 +0200 Sasha Khapyorsky -75990408ac7cc42fede93581543caa7d63984de3 - - * infiniband-diags/saquery: PortInfoRecord query - -Fri Dec 12 16:11:52 2008 +0200 Sasha Khapyorsky -07d702886ff10bc984e2cb1a0b509d67579ecee6 - - * infiniband-diags/saquery: separate queries and commands - -Wed Dec 10 19:50:35 2008 +0200 Sasha Khapyorsky -4e858dc99c87fe68a2edfcdf0886fa5ae33dd6e1 - - * infiniband-diabs/saquery: unify SA queries processors - -Wed Dec 10 16:12:44 2008 +0200 Sasha Khapyorsky -7fd2c792e433f53630f4055c0816f142296d8670 - - * infiniband-diags/saquery: indentation fixes - -** Version: infiniband-diags-1.5.0 - -Sat Dec 13 19:46:15 2008 +0200 Sasha Khapyorsky -f0ce6ce0c60165e80003c3e62ea07d399e7c8e06 - - * management: bump all package versions - -** Version: infiniband-diags-1.4.4 - -Sun Dec 7 00:16:36 2008 +0200 Sasha Khapyorsky -bbf5ee9cfbc23930530d105799c7fc8f6bf892fd - - * management: update package versions - -Wed Nov 26 12:51:30 2008 +0200 Sasha Khapyorsky -ed48f26b346d449a14927463edd7a4b2da9ec3ac - - * infiniband-diags/grouping: add 10G IP router devid - -** Version: infiniband-diags-1.4.3 - -Tue Nov 18 06:20:46 2008 +0200 Sasha Khapyorsky -cbd77598741234f36af5f7ab6bd1915951151967 - - * management: update versions - -Sun Nov 16 11:37:31 2008 -0700 Hal Rosenstock -abeb73d092aa649b9f4b9ba1c967276be4b3b15b - - * infiniband-diags/ibstat.c: Use UMAD_MAX_DEVICES define - -Sun Nov 16 14:23:10 2008 +0200 Sasha Khapyorsky -4949d1fc818c6d5e09c7e5507ed3d7d879dcccbf - - * infiniband-diags/ibstat.c: remove casting - -Fri Nov 14 14:54:06 2008 -0800 Ira Weiny -485d94520e2aa762f6d7f878e6372bf2397f56fe - - * Fix max parameter passed to umad_get_cas_names - -** Version: infiniband-diags-1.4.2 - -Sun Oct 19 20:53:23 2008 +0200 Sasha Khapyorsky -46f65ae24efbbe01e50d192df5aad52ce2d3e1af - - * management/*/configure.in: bump all versions - -Wed Oct 8 12:28:44 2008 +0200 Sasha Khapyorsky -bfe012a31e6661439aa605449ec06f6e660f85d8 - - * management: update Voltaire copyright - -Sun Oct 19 08:54:32 2008 -0600 Hal Rosenstock -8daa6f9b0cc008fc9d8b3b87c3c1e8b3b30c5497 - - * infiniband-diags/saquery.8: Update saquery man page - -Sun Oct 19 08:54:30 2008 -0600 Hal Rosenstock -9def498100790ad773d7a94123f33217fa7acd8c - - * infiniband-diags/saquery: Support MFTRecord - -Sun Oct 19 01:13:15 2008 +0200 Sasha Khapyorsky -32fa8fcc642590f37a8c8197dc87886f1be3dfea - - * infiniband-diags/saquery: add LFT Record handling - -Fri Oct 17 13:04:39 2008 -0400 Doug Ledford -2d556cd0fcc73fdb63e0cc5dfe979b7598378ac8 - - * Trivial: update usage info for ibaddr.c in infiniband-diags-1.4.1 - -Wed Oct 8 12:28:44 2008 +0200 Sasha Khapyorsky -1b6e86e26f819ea40ca23bd0837ff71b84ab3e16 - - * management: add Voltaire copyright - -Sat Oct 11 22:02:38 2008 +0200 Sasha Khapyorsky -80b3f33f1dede4d201146beb969a95459aaf2049 - - * infiniband-diags/perfquery: fix constant size warning - -Fri Oct 10 16:03:05 2008 -0700 Al Chu -54f611b91bd7999378d3bddcb06f8e5614b5f396 - - * infiniband-diags/perfquery: if -a is specified loop through ports if required and aggregate output - -Fri Oct 10 15:58:20 2008 -0700 Al Chu -12b8d91501e1088619aac720ee12f6be1aaaf836 - - * perfquery code cleanup - -Fri Oct 10 16:35:43 2008 -0700 Al Chu -01f93e42ccc6c9953197641eb04b236a54d1d7be - - * infiniband-diags/perfquery: if --loop_ports is specified always loop through all ports if desired - -Fri Oct 10 15:57:45 2008 -0700 Al Chu -e7b0a62d9afd5a5958a7aea50a1114577e5f6ada - - * infinibanf-diags/perfquery: remove single port CA AllPortSelect workaround - -Fri Oct 10 15:57:02 2008 -0700 Al Chu -c77bfecaaf332c6e48ebe93a4561db9bb10005c9 - - * infiniband-diags/perfquery: error out if AllPortSelect is not supported - -Fri Oct 10 15:56:54 2008 -0700 Al Chu -3e83004adec8fb54b4a39e04870c646a222f9084 - - * tweak notes about port 255 in perfquery manpage - -Fri Oct 10 15:56:46 2008 -0700 Al Chu -d7730efcb0f152f42439508a96be43af8ef84c88 - - * infiniband-diags/ibclearerrors: specify -a in call to perfquery - -Wed Oct 8 17:40:52 2008 -0700 Al Chu -88fe58c5987874f876a647fb1580f8dec8b7f5f3 - - * infiniband-diags/perfquery: fix comments - -Wed Oct 8 17:40:51 2008 -0700 Al Chu -0ee221d5c169096cba8f5c9841d71a2d631d976d - - * infiniband-diags/perfquery: support ehanced port 0 with --loop-ports - -Mon Sep 29 14:25:01 2008 -0600 Hal Rosenstock -7193fae14dbd197ebc0679aa44184376c387fe7f - - * infiniband-diags/ibsysstat.c: Fix a couple of latent bugs - -Tue Oct 7 15:54:05 2008 -0700 Al Chu -c56710398f5c90d7c28d0f9d83eef0531518fb30 - - * add --loop_ports option to perfquery - -Tue Oct 7 15:38:51 2008 -0700 Al Chu -b6d240c2e30128f15e51af75c1678e7442b3db9e - - * add more detail to error message on perfquery workaround - -Tue Oct 7 15:38:27 2008 -0700 Al Chu -d2409b5673e1e9608054462c12224bf90bd155f6 - - * use 0xff vs. 255 consistently in perfquery - -Tue Oct 7 15:38:17 2008 -0700 Al Chu -adbbf1e9e88ec646f36e0f06326a2e8ff4fc8c9f - - * add clarification in perfquery manpage - -Wed Sep 24 16:59:23 2008 +0300 Jack Morgenstein -8e6f693a356cd76669efc28009207307b78b5155 - - * infiniband-diags: eliminate compiler warnings - -Sat Sep 13 04:07:54 2008 +0300 Sasha Khapyorsky -372998d988c22c1fbfbc44465c56f9d995c6b513 - - * infiniband-diags/ibtracert: fix port by direct path resolving - -Fri Sep 12 22:07:56 2008 +0300 Sasha Khapyorsky -f959ff0a5c134761d04c427502539449bb85961e - - * man/ibtracert: remove non-existing -e option - -Fri Sep 12 22:03:42 2008 +0300 Sasha Khapyorsky -251ddae270fb411db838cb04cbe82faaa194bd38 - - * infiniband-diags/ibclearcounters: remove unrelated -N option - -Fri Sep 12 21:49:19 2008 +0300 Sasha Khapyorsky -ad37a027ceac3923378dca830130a5de73456503 - - * man/ibnetdiscover: cleanup non-existing options - -Fri Sep 5 15:47:16 2008 -0700 Ira Weiny -8a09e0bfdf2aa9e5f939247bfe7a18f6656f9a6b - - * ibnetdiscover.c: continue processing other ports even if smpquery fails on one port - -Mon Aug 18 15:46:51 2008 -0700 Ira Weiny -cf7517aafac9a7fbd441edb08e00151b62cad091 - - * Fix some missing node name map substitutions - -Thu Jul 24 07:05:05 2008 +0300 Sasha Khapyorsky -be288b2384a6ace9dff1fe39d95c9fe97afa89f6 - - * infiniband-diags/src/ibaddr.c: remove unused variables - -Thu Jul 10 17:44:08 2008 -0700 Ira Weiny -10f82e3df67d5000c029caa218097f174724b9c5 - - * infiniband-diags/src/ibaddr.c: convert GID prints to use inet_ntop - -Thu Jul 24 07:00:51 2008 +0300 Sasha Khapyorsky -779d2b88d7bca5e5799ad613c8fd14b295dbcfe7 - - * infiniband-diags/saquery: remove unused variable - -Thu Jul 10 17:44:07 2008 -0700 Ira Weiny -2fd9b7f64327d1bdb10bebbace3b9e4740edfa52 - - * infiniband-diags/src/saquery.c: convert GID prints to use inet_ntop - -** Version: infiniband-diags-1.4.1 - -Tue Jul 8 07:22:02 2008 +0300 Sasha Khapyorsky -e43349f373da5275259d095df21696d666feab7f - - * management: bump management versions - -Mon Jul 7 14:12:58 2008 -0700 Hal Rosenstock -ab61af409d8d99f56d4bd8b04e46110da224d7d7 - - * infiniband-diags/mcm_rereg_test.c: Cosmetic formatting change - -Sun Jul 6 23:07:38 2008 +0300 Sasha Khapyorsky -91671f93e01d199d8ff9f0047b79910317f174ec - - * management: revert configure.in update configure.in on 'make dist' - -Mon Jun 30 15:11:29 2008 -0700 Al Chu -66862733a42d0d425306a866cb6856cc83e31c0a - - * Fix regenerate cache corner case. - -Sun Jun 29 17:20:23 2008 +0300 Sasha Khapyorsky -b1178b0dbcaaa15edb8d5dbc54cfbb5d00ee4005 - - * infiniband-diags: fix snprintf() usage - -Thu Jun 12 22:38:02 2008 +0300 Sasha Khapyorsky -60e7e24ecd223ab4ad37b3399e37638b09e46655 - - * infiniband-diags/saquery: split print_multicast_group_records() function - -Tue Jun 10 13:18:03 2008 -0700 Ira Weiny -8e33e60e86f5d01d3db519df6f6866f0e73a0b61 - - * infiniband-diags/src/saquery.c: fix potential core dump - -Tue Jun 10 11:12:31 2008 -0700 Hal Rosenstock -bbeed16b0a5d5d00d4ea7986ff4ee874d45e0623 - - * infiniband-diags/saquery.c: In print_multicast_group_records, only query NodeRecords when needed - -Sun Jun 8 13:17:50 2008 -0700 Hal Rosenstock -2e5e1e6ea1b4e3dcacce899399f1979d6e879d53 - - * infiniband-diags/saquery.c: In dump_results, use query_result rather than query_svc_rec - -Thu Jun 5 19:12:51 2008 -0700 Ira Weiny -7ab6e63cf28eaaa8dac4dcd0a55dff1f7a92695f - - * infiniband-diags/src/ibnetdiscover.c: Fix the PortInfo data on the port we discover a switch on. - -Sun Jun 8 07:14:42 2008 +0300 Sasha Khapyorsky -98dcc64c4628c5335f1f0a41532de9caffd0f5c0 - - * infiniband-diags/man/saquery: add --smkey option to the man page - -Thu May 22 16:50:39 2008 +0300 Sasha Khapyorsky -ac99fcb8367da5baf8078b6012aeb41a9ffe92f5 - - * saquery: --smkey command line option - -Thu Jun 5 12:51:53 2008 -0700 Hal Rosenstock -9ea58ce81448c61db2a79e719f5b9bb056c1ba5f - - * infiniband-diags/ibsendtrap.c: Support CA and port num - -Thu Jun 5 12:51:49 2008 -0700 Hal Rosenstock -3a0ccf24cf3e83ca13cf70e015d167be70675ced - - * infiniband-diags/mcm_rereg_test.c: Handle error when guid file not found - -Tue Jun 3 06:01:28 2008 -0700 Hal Rosenstock -1562103b9f3ce6aee323c6ae5dc4fc37c2f03197 - - * infiniband-diags/saquery.c: Update for change to osm_mad_pool_init API - -Thu May 29 06:22:52 2008 -0700 Hal Rosenstock -7b08c94b4113e3951c5f73e52d49360dfcf440e5 - - * management: Support separate SA and SM keys as clarified in IBA 1.2.1 - -Sun Jun 1 19:48:17 2008 +0300 Sasha Khapyorsky -327fb32649f89740bbfb215882c860d0b42ba422 - - * infiniband-diags/scripts/*.pl: prevent some zero exists on errors - -Sun Jun 1 19:47:22 2008 +0300 Sasha Khapyorsky -89544a6d93b76d344ac897a6812ce59bddd2c331 - - * infiniband-diags/scripts/*.pl: exit 2 on usage errors - -Wed May 21 16:48:28 2008 -0700 Matthias Blankenhaus -95a60ca0020e76753d5d6b359939a3162aad1426 - - * saquery: port selection problem - -Wed May 28 17:59:41 2008 -0700 Ira Weiny -90df7e65ee4ae6528984bb9fd8b81132a4e79598 - - * infiniband-diags/scripts/ibprint[ca|switch|rt].pl: allow printing of multiple matches but print warning to user that multiple matches were found - -Wed May 28 17:57:19 2008 -0700 Ira Weiny -a061013fab2ad036b312112934dd935143a8b3bb - - * infiniband-diags/scripts/ibprint[ca|switch|rt].pl: fix printing by name - -Thu May 1 15:50:45 2008 -0700 Ira Weiny -4ec25884064a0a5c1e9bcd02188bf1b857449a2a - - * infiniband-diags/scripts/iblinkinfo.pl: fix printing of switch name when port 1 is down. - -Sun May 11 15:37:11 2008 +0300 Yevgeny Kliteynik -34f90df7e623b9eea858dae1171584457074a558 - - * infiniband-diags/Makefile.am: fix location of ibdiag_version.h - -** Version: 1.6.7 - -Wed Jul 27 00:52:36 2016 -0400 Ira Weiny -2937cf99350a2e423b705e8b8dd10499796a7b41 - - * update README/configure.ac for 1.6.7 - -Sun May 15 01:40:08 2016 -0400 Ira Weiny -1f2f062792e79140facec91add31f1f9f0d85f10 - - * rdma-ndd: Add systemd support - -Fri May 27 17:01:13 2016 -0400 Vladimir Koushnir -846b31ce7eb93c672d99e389d011245bab58611c - - * infiniband-diags: Add Switch-IB2 support to device white lists - -Tue Apr 5 08:53:05 2016 -0400 Dan Ben Yosef -0005d2a088d10e0ac0c3d9de6c4bd5f7026298e0 - - * saquery.c: Fix changing qos_class flag value to network order twice - -Tue Nov 10 13:23:39 2015 +0200 Hal Rosenstock -b2cfed87401983eff35cc4135f5125eb67f60db5 - - * ibsendtrap.c: Eliminate unused parameter from send_trap - -Tue Nov 10 13:23:01 2015 +0200 Hal Rosenstock -eb3e44032628df33b69351f880f985f38c85d25b - - * ibportstate.c: Fix unsigned comparison warnings - -Tue Nov 10 13:22:51 2015 +0200 Hal Rosenstock -68f8a250102b16a2b57144984d617dfd0400261f - - * Remove unused pisize parameter from dump_portinfo in ibdiag_common - -Tue Oct 13 08:38:20 2015 -0400 Hal Rosenstock -c17f74b265c0a547f34ef4019dfced74d7a6c0f9 - - * ibqueryerrors.c: Removed unused passed parameters to print_port_config and query_and_dump - -Tue Oct 13 08:38:02 2015 -0400 Hal Rosenstock -3552aa5036ccb3edfb618cac81522b229bc97d00 - - * ibcacheedit.c: Eliminate unused parameter passed to update_switchportguids - -** Version: 1.6.6 - -Mon Oct 12 23:27:34 2015 -0400 Ira Weiny -275cc40ec83956755356eae55ee64dbf85699aec - - * update README/configure.ac for 1.6.6 - -Wed Sep 30 08:53:51 2015 -0400 Dan Ben Yosef -d64fcf4a3d0ae20fbf497b5605cb8071e334069d - - * libibnetdisc: Avoid pushing same pointer to the hash table - -Mon Oct 12 08:30:31 2015 -0400 Hal Rosenstock -bcdc2151bad1db24e7d96ac896d57a65c7f40cfc - - * perfquery.c: Fix smp_query_via return value checks - -Mon Oct 12 08:31:23 2015 -0400 Hal Rosenstock -0cd6d05da6a6d3b679535c38a64c9600378de076 - - * ibdiag_common.c: Move static to beginning of get_build_version declaration - -Thu Sep 10 19:26:08 2015 -0400 Ira Weiny -14f19aae87a59ef0df30585a7b0c3f6bea7eb274 - - * infiniband-diags: rdma-ndd: remove udev logging when not supported - -Mon Aug 31 10:49:04 2015 +0300 Dan Ben Yosef -3f1aed48b0fc27df9615d89399edd0ac623b2017 - - * perfquery -T (print Extended Speed Counters) times out on nodes supporting RS_FEC capability. - -Wed Sep 9 14:29:38 2015 +0300 Vladimir Koushnir -1a1565006b2a2996fcac4a117d7ffc9ebc3a1b7d - - * saquery.c: Fix saquery -D option - -Wed Jul 22 16:14:03 2015 +0200 Ana Guerrero L?pez -552063e080c6dde686f961238e019172b3823a42 - - * rdma-ndd: fix compiler warnings. - -Wed Jul 15 14:08:49 2015 -0400 Hal Rosenstock -5de1f6de8825ba70d8553be957416ab271716379 - - * iblinkinfo.c: Close additional file descriptor in advance - -Thu Apr 16 18:27:39 2015 +0300 Vladimir Koushnir -9912de3d9dbdd31e67f736ea378d429429a81128 - - * vendstat: mad_rpc_close_port not called in corner cases - -Thu Jun 25 16:12:02 2015 +0200 Michal Schmidt -efecdfb8219ad3234ea61a349a2f7a28cee76439 - - * build-sys: avoid overlinking to libudev - -Thu Jun 25 16:12:01 2015 +0200 Michal Schmidt -01071153c35f18f93b6b19075ffcbc5a7290eaf2 - - * rdma-ndd: never use udev_get_sys_path() - -Thu May 7 13:54:52 2015 +0300 Hal Rosenstock -4989004236cb59d281c743a4b91275ef555951d8 - - * ibdiag_sa.c: In sa_get_handle, handle umad_open_port and umad_register failures - -Sun Apr 26 18:26:16 2015 +0300 Vladimir Koushnir -f68d857412a4499cdc42ddec1059388d7a94e25d - - * ibqueryerrors: improve code related to DR option - -Sun Apr 26 12:24:06 2015 +0300 Vladimir Koushnir -13e9d76a6af2e66186bd8aa77eab8f811decaee7 - - * ibqueryerrors: Close global file descriptor before running ibnd_discover_fabric - -Tue Apr 21 17:12:05 2015 +0300 Vladimir Koushnir -ae4e036450fafaafcf9abee7d2f74bfabd7d5f4a - - * ibqueryerrors: Fix crash when no SM is running - -Sun Apr 26 18:29:31 2015 +0300 Vladimir Koushnir -35c85ad05cff4ca7bc5875320a7a7296cbb16608 - - * ibqueryerrors: code improvement - -Thu Apr 16 16:56:40 2015 +0300 Vladimir Koushnir -f427cf58892426d1d9159019b42af94c48d06feb - - * dump_fts: Open global file descriptor after calling ibnd_discover_fabric - -Thu Apr 16 14:11:16 2015 +0300 Vladimir Koushnir -2a8621e70417c2f45e40acefe5ff96d8d85996f3 - - * query_smp.c: Avoid busy looping in process_one_recv - -Wed Apr 8 12:29:44 2015 +0300 Vladimir Koushnir -ad743ff6c6e2befa71801bc76bdc5d08d8f41131 - - * Remove redundant umad file descriptor from libibnetdisc - -Thu Apr 16 16:39:43 2015 +0300 Vladimir Koushnir -4e6bc81500fecbdece3c16862252a83cdeed3282 - - * ibqueryerrors: Resource leak in path_record_query - -Thu May 1 10:22:00 2014 -0400 Hal Rosenstock -1f4e356a5d156cd85d69f3b064bb1b7692778853 - - * perfquery.c: Change format of capability mask in IBWARN for consistency - -Wed Mar 11 01:41:35 2015 -0400 Ira Weiny -211eccc0447f4259cbdf9579786865ee8e3657ff - - * infiniband-diags/rdma-ndd: add --pidfile option - -Wed Mar 11 01:28:42 2015 -0400 Ira Weiny -62cbfb4ceb41884cd3563b700af7d46fb99572aa - - * infiniband-diags/rdma-ndd: Fix issues with install - -** Version: 1.6.5 - -Tue Feb 10 18:45:17 2015 -0500 Ira Weiny -d5b64231f5c78296bb73724192863f3efe26cefe - - * update README for 1.6.5 - -Wed Jan 28 17:58:29 2015 -0500 Dan Ben Yosef -9d3fcc8179850cf8c86da1567764b6b4762c27a9 - - * ibtracert.c: Remove checking the port 0 state for base switch port 0 - -Thu Feb 5 07:19:15 2015 -0500 Dan Ben Yosef -03d75bf07463a9f155ef41a5138d3f159d875e08 - - * Add new configure flag to enable/disable the rdma-ndd build - -Wed Jan 28 16:54:07 2015 -0500 Hal Rosenstock -10f9628178378fa92d20379d22fb4d93044f06dd - - * Align infiniband-diags MLNX device IDs with OpenSM - -Wed Jan 28 11:45:15 2015 -0500 Ira Weiny -b0a54c1a03d55fb530dd188b6c0e1b5339756c8c - - * infiniband-diags: update for udev changes. - -Wed Jan 28 11:23:53 2015 -0500 Ira Weiny -109b79f9c90fc6a6c573ba91076fa547be6faf60 - - * infiniband-diags/test-code: remove unused variables - -Wed Jan 14 09:07:10 2015 -0500 Hal Rosenstock -8c0ec71b83c532a2b7c8d24455798e56b267539f - - * vendstat.c: Add additional vendor IDs to ext_fw_info_device - -Wed Jan 14 09:07:03 2015 -0500 Hal Rosenstock -4b47135d15cec632ebbec28b61a526600e79dfc9 - - * ibnetdisc.c: Add additional supported device IDs to is_mlnx_ext_port_info_supported - -Wed Jan 14 09:06:54 2015 -0500 Hal Rosenstock -24c62b083d4f2dbff45a996f472e5ad74db20b5c - - * ibdiag_common.c: Add more supported device IDs in is_mlnx_ext_port_info_supported - -Fri Oct 24 19:57:38 2014 -0400 Ira Weiny -ae505415dabc34caba7e82ed93950823baf1f747 - - * infiniband-diags: add rdma-ndd daemon - -Fri Jan 9 10:17:36 2015 -0500 Hal Rosenstock -18f1a0f973cc5cff7328e4576149b26334441c15 - - * ibccconfig.c: Account for enhanced switch port 0 in SwitchPortCongestionSetting handling - -Fri Jan 9 10:17:30 2015 -0500 Hal Rosenstock -202382751b5ac01e32573c5ed122214ee0fa9295 - - * ibccquery.c: Account for enhanced switch port 0 in SwitchPortCongestionSetting handling - -Tue Nov 18 12:35:04 2014 -0500 Ira Weiny -0e96e79cfe01b82ab1b7e987a0148738d1fe9dfd - - * infiniband-diags: update smpquery man page - -Mon Nov 17 16:57:29 2014 +0200 Dan Ben Yosef -6393c5f7bf32cdf77c679a9abd9be577f9620b65 - - * New MAD SM:PortInfoExtended and changing PM:PortExtendedSpeedsCounters - -Wed Nov 5 15:22:05 2014 -0500 Hal Rosenstock -34a5d92f9387ce8d59b19f449e5095ab0fe11f34 - - * saquery.c: Return proper status from query_sa_cpi on bad result status - -Wed Nov 5 15:21:55 2014 -0500 Hal Rosenstock -0741d402601c6636e6e3a1f63016b7c860c29044 - - * saquery.c: Fix handling of cpi and ClassPortInfo options - -Fri Oct 17 17:09:54 2014 -0400 Hal Rosenstock -c7643611e3b0a05df79fc3126b34bed99aff3849 - - * ibping.c: Fix support of OUIs other than IB_OPENIB_OUI - -Tue Jun 10 14:23:13 2014 -0400 Hal Rosenstock -17a8d6db8cee297b9b66b91f36e20c8413b5aa8b - - * ibportstate.c: Cosmetic changes to MLNX Extended PortInfo - -Sat Apr 19 15:14:08 2014 -0700 Ira Weiny -6364d06406a95d1fed2397691ddd012493b0bdf6 - - * infiniband-diags: If rst2man is available fix missing source dir in configure - -Mon Mar 31 10:03:19 2014 +0300 Dan Ben Yosef -4549d891c11458b299e94751ef62d9f076dc5b49 - - * Fix missing source dir in configure.ac - -Wed Feb 26 10:25:43 2014 -0500 Hal Rosenstock -018c7f43f03a20b45bb4cecfa23063bbf37ae7f4 - - * saquery.c: In query_sa_cpi, make error message consistent - -Wed Feb 26 10:25:06 2014 -0500 Hal Rosenstock -b3d11492b5633b214e1843bf46a03f1a6c1288c9 - - * saquery.c: In print_node_record, change LID print format - -** Version: 1.6.4 - -Sat Jan 25 22:10:28 2014 -0800 Ira Weiny -9a2cb335b77e164b7f849d0ff74b0b67cda20814 - - * update README for 1.6.4 - -Sat Jan 25 22:01:39 2014 -0800 Ira Weiny -4b2d64157c9c5cea173ea2484dd92919ec421338 - - * Revert "libibnetdisc/ibnetdisc.c: improve log information to stdout" - -** Version: 1.6.3 - -Fri Jan 24 19:34:22 2014 -0800 Ira Weiny -e0d80aa5636a4ef30c9df74f85d50ca44790b525 - - * update README for 1.6.3 - -Fri Jan 24 19:39:10 2014 -0800 Ira Weiny -5b0c23e2bd82756c09de46ed9e39e757fef0403b - - * ibtracert.8.in: change default pre-built man page - -Tue Jan 21 17:15:13 2014 -0800 Al Chu -21efdf6637f3460dfa5dea32ae3731a529560c60 - - * infiniband-diags: Check node-name-map strings when querying by name - -Thu Jan 2 08:44:15 2014 +0200 Dan Ben Yosef -a3f2fcd468b459e0f3b1f5b7c35a7db181d22ee9 - - * libibnetdisc/ibnetdisc.c: improve log information to stdout - -Mon Dec 30 09:50:59 2013 -0500 Dan Ben Yosef -ab0551a8cbdce73f193ecd88e732bc88347fb611 - - * libibnetdisc/ibnetdisc.c: fix insert of invalid lid 0xFFFF into lid_port hash_table - -Sun Oct 13 09:48:36 2013 +0200 Dan Ben Yosef -59aab498181c6b486a85471d4c0ccb6544a4e83a - - * ibtracert.c: Add 'force' flag to man page - -Tue Dec 17 17:27:24 2013 +0200 Dan Ben Yosef -affc76fb39f0e1e53c0aa98d1073926dae662f8d - - * infiniband-diags/vendstat: Fix GeneralInfo SW version - -Sun Oct 20 10:39:23 2013 +0200 Dan Ben Yosef -b4216ab0359bd60f02eb7ca6de22e17f97ee2842 - - * ibportstate: on/off option is missing in help - -Thu Oct 10 16:21:12 2013 +0200 Dan Ben Yosef -0d270e48c1a1d1b2af1aeed99ec9332d367abe54 - - * iblinkinfo: Remove "-R" option from man page - -Thu Oct 10 15:29:12 2013 +0200 Dan Ben Yosef -11adcf2ce6db9da67326eab2196c1aaa35cdba0e - - * ibaddr: Add missing -t option to manpage - -Mon Sep 16 10:19:58 2013 -0400 Hal Rosenstock -ca5b23da0c6c8c6e5ad7c1eb3c7580c82235ef00 - - * ibdiag_sa.c: Output attribute ID in hex rather than decimal - -Tue Aug 20 08:10:59 2013 -0700 Ira Weiny -914f4c0f4965fc690b3107d717890e3f5bf2b627 - - * infiniband-diags: fail configure if glib2 is not found - -Sun Aug 18 10:51:50 2013 +0200 Bart Van Assche -a5f9dc0e3d6a1391b5034252abcc895100142828 - - * Fix errors triggered by autoregen.sh - -Sun Aug 18 10:57:07 2013 +0200 Bart Van Assche -cfca87c20de5af4d3c43b1349ed991bf5b30d26a - - * get_lid_from_name(): Remove an unused variable - -** Version: 1.6.2 - -Sun Aug 18 00:37:02 2013 -0700 Ira Weiny -df1eac51f6518c6b96d09b3cf6a42d856f99b9fe - - * Update README and version to 1.6.2 - -Thu Aug 1 14:11:06 2013 -0400 Hal Rosenstock -1d79ffd1a57f2add170af87a68f0354f61a94cc4 - - * perfquery.c: Fix dumping of PortSamplesControl - -Mon Jul 15 10:32:40 2013 -0400 Hal Rosenstock -374fd6660fa352501ac1379454abddc174a5a52b - - * infiniband-diags: Eliminate unneeded clean_nodedesc calls - -Fri Jul 5 07:59:04 2013 -0700 Ira Weiny -6825acdd106f2a40493bb5640c9a0ff6f70fea88 - - * infiniband-diags: convert IBERROR to IBEXIT - -Fri Jul 5 10:24:47 2013 -0400 Ira Weiny -bae2ff4e7d5b965e63c0972f25022e4f198c8775 - - * infiniband-diags: umad_init needs to be called before sa_get_handle - -Sat Jun 22 10:07:27 2013 -0400 Hal Rosenstock -08635c3c1b4799989f98ceb177c420ce8c403182 - - * saquery: Add SMInfoRecord support - -Sat May 25 09:36:27 2013 -0400 Hal Rosenstock -9e3446c41dc0afd4fedca9dabd3ef2b687791098 - - * infiniband-diags: saquery: Dump SwitchInfoRecord based on IsSetMulticastFDBTopSupported SA capability - -Thu Jun 13 14:26:48 2013 -0700 Albert Chu -6ac17c9927fcad25de1019f5dce99831c8415f95 - - * ibnetdiscover: Output vlcap in full output format - -Thu Jun 13 14:26:34 2013 -0700 Albert Chu -5e4fe8c9ac0f73ff260eb61c239c9816ed32dcd0 - - * ibnetdiscover: Add missing -f option to manpage - -Wed Jun 12 16:39:56 2013 -0700 Ira Weiny -eb5b498753015ca2cc287532e13fd408c388a593 - - * infiniband-diags: ibstat fix strncpy coverity check and -l bug - -Wed Jun 12 09:55:53 2013 -0400 Dan Ben Yosef -e597637189950e433cf1d3e5a9c70984c99a369b - - * saquery.c: resource leak - -Wed Jun 12 09:55:48 2013 -0400 Dan Ben Yosef -37ca525199a16260cbd120fd6ae3f7bab59d6ac9 - - * ibtracert.c: Uninitialized variable - -Wed Jun 12 09:55:43 2013 -0400 Dan Ben Yosef -914ebfe24987b4508c6c15b14471a075faaa5f91 - - * ibsysstat.c: fix resource leak - -Wed Jun 12 09:55:26 2013 -0400 Dan Ben Yosef -fa7e7a68e0d5df5f87b6731e2bc9cd9c2f6d1ea8 - - * ibtracert.c: fix resource leak - -Wed Jun 12 07:04:15 2013 -0400 Hal Rosenstock -274508084b59a30f7d2ea6867c54c4056658bb46 - - * libibnetdisc/Makefile.am: Add missing makefile dependency - -Wed May 29 08:22:18 2013 -0700 Ira Weiny -77b235479dfe4762b3c6b92ec452b4ff5862ad1b - - * infiniband-diags: Fix gen_ver.sh for use with new Autoconf file - -Tue May 21 15:57:18 2013 -0400 Hal Rosenstock -c61ca16bb7abbd92d792a1be3e4325f045c8c493 - - * saquery: Add SwitchInfoRecord support - -Fri Apr 19 10:03:00 2013 -0700 Ira Weiny -43074c0bf702344eadec6c79920990322db7d7fb - - * infiniband-diags: remove doc/man/ibclearcounters.8.in - -Fri Apr 19 09:38:33 2013 -0700 Ira Weiny -a6f5884c1b01013e4b7ad80c999283f9d3451841 - - * infiniband-diags: add .gitignore - -Wed Apr 3 13:01:01 2013 -0700 Ira Weiny -91fda21bb8ee3e3ef6ba344d8195c490a7d2f09f - - * infiniband-diags: updates for new autoconf tools - -Thu Mar 28 08:44:59 2013 -0700 Ira Weiny -75f8e82c906cae079b0121a4b37d0f5f0b34b542 - - * infiniband-diags/dump_fts: fix block calculation for LFT's - -Thu Mar 28 07:55:40 2013 +0000 Dan Ben Yosef -04a2cc00078af1cc6e264892e7f133ea8831bebd - - * infiniband-diags/ibroute.c: fix pull extra block for LFT - -Tue Mar 19 13:12:55 2013 +0000 Dan Ben Yosef -7d5c35a82d4516315641d6b5f374ec56382e486d - - * infiniband-diags/ibportstate.c: Add ON and OFF options. - -Wed Mar 13 08:04:00 2013 -0700 Ira Weiny -12258fba0bbc9dd2e3317bda8155d785db9646c6 - - * infiniband-diags: update emails in default pages - -Wed Mar 13 06:10:32 2013 -0700 Ira Weiny -b08937cc51aa50f8e6d5033110cd372e6f53ec23 - - * infiniband-diags: update emails - -Fri Mar 8 18:07:42 2013 -0800 Ira Weiny -a58cd2a53d2f91390918a8e160b8f724cf6c90d3 - - * infiniband-diags: fix rst2man when using upstream docutils - -Mon Mar 18 14:36:29 2013 -0700 Ira Weiny -4649be571b45ca5ac85ee49f3f134a9104e215b3 - - * infiniband-diags: add skip-sl to default ibqueryerrors.8.in - -Thu Mar 14 14:52:46 2013 +0000 Dan Ben Yosef -85f31755603200ed6b83e784ee7811410181384e - - * infiniband-diags/ibqueryerrors.c: obtain destination sl before perf query - -Wed Feb 20 13:56:36 2013 -0500 Ira Weiny -d40ad00d604ce8c5e4f337bf6837f11499bd85c7 - - * infiniband-diags: fix rpm requires for glib2 - -Thu Feb 7 16:37:52 2013 -0500 Ira Weiny -cd53e8aa935151768c3c1ffbb310425b5a84a1c3 - - * infiniband-diags: check_lft_balanc: support either DR or Lid based dump lfts output - -Sun Feb 3 19:33:06 2013 -0500 Ira Weiny -209bf9d61788f845d5fed8133733fd25ab4b9d01 - - * infiniband-diags: deprecate dump_[m|l]fts.sh scripts - -Fri Feb 1 18:13:59 2013 -0500 Ira Weiny -0ca4d899d57e21409a99c44f76b3fb5ad13c319f - - * infiniband-diags: add dump_fts tool - -Fri Feb 1 17:32:47 2013 -0500 Ira Weiny -3c03a5500635c9a2b4d267d9a271cbdc0ae9f0ae - - * infiniband-diags: libibnetdisc add find node by lid - -Fri Feb 15 11:08:35 2013 -0500 Ira Weiny -35bc343f3989cd6da6e3a420837ca99d6230b0cb - - * infiniband-diags: add change to pregenerated saquery.8.in - -Wed Feb 13 19:43:27 2013 -0500 Hal Rosenstock -33b590b37965ca16b0d38e0ac39ae85a01c57cd2 - - * infiniband-diags/saquery: Add support for ServiceID in PathRecord querying - -Wed Feb 13 18:29:38 2013 -0500 Ira Weiny -7d3e8444739940c33fa332568f2755b180899267 - - * infiniband-diags: fix saquery rst/man page - -Wed Feb 13 17:16:10 2013 -0500 Hal Rosenstock -de9775709aef452961cbf5f9ec782be6dc28a440 - - * infiniband-diags/saquery.c: Display NodeRecord LID in decimal - -Wed Feb 6 18:20:10 2013 -0500 Ira Weiny -6ee7530f07a846ed7be68609f7147b692db370ed - - * infiniband-diags: add comment for path_portid - -Sun Feb 3 17:30:11 2013 -0500 Ira Weiny -47dc80e15b00ca8ecf9202c9a6a47c55332e22d6 - - * infiniband-diags: ibroute: add MAD status to query failure message - -Tue Jan 22 14:39:18 2013 -0800 Ira Weiny -7bf6e54ffd57faf39ae2d608e0310b103a4a61db - - * infiniband-diags: ibroute fix resolve failure message - -Fri Dec 14 09:11:14 2012 -0500 Hal Rosenstock -4f572bf8e70be0e3ad32ed17952d3db144279aca - - * infiniband-diags/ibportstate.c: Fix PortInfo sets with extended speeds - -Thu Nov 8 17:01:44 2012 -0800 Albert Chu -9308516164b755a7b71e69eb3cd94e389f1465a5 - - * infiniband-diags: Support node-name-map in ibroute - -Thu Nov 15 18:57:52 2012 -0500 Ira Weiny -b68bef7c919bdad0316032b260839c54527ae44a - - * infiniband-diags: add make check target for shell scripts - -Mon Nov 5 19:02:40 2012 -0800 Garrett Cooper -b57ae8989bffc815a3f8a7d9e1ae9f6b05a4d55c - - * Remove bashisms from infiniband-diags - -Sun Nov 4 23:19:18 2012 -0500 Ira Weiny -f381c2120318f88ddcf5a712dd699793fcf1a20e - - * infiniband-diags: Fix ibsysstat man page - -Thu Nov 1 08:35:41 2012 -0400 Hal Rosenstock -2101a9ffe62db5dd9a341238cb52595caa46b3cd - - * infiniband-diags/ibsysstat.c: Fix non default OUI operation - -Tue Oct 16 11:45:25 2012 +0200 Dan Ben Yosef -fa3b6875ff789245b23d90d94458a4c173c10f7d - - * infiniband-diags/src/saquery.c: New option to saquery InformInfoRecord (IIR) - -Fri Sep 21 17:36:12 2012 -0400 Ira Weiny -8f81201385bcf44a4b38bfa9bdfae4db06414a8c - - * infiniband-diags: Fix SA error reporting for common MAD errors - -Thu Sep 20 23:59:48 2012 -0400 Ira Weiny -2263d7e5c01d308702b2a3934e8b4a86a1203894 - - * infiniband-diags: fix bug with loop ports where SMP queries are needed - -Fri Sep 21 11:59:18 2012 -0400 Ira Weiny -a9ae8f7bf47f9b91c5f4ec17a7fb3a69581526b3 - - * infiniband-diags: move sa query code into it's own common file - -Thu Sep 13 16:53:50 2012 -0700 Albert Chu -75d54e8be81840b664a3aa031f01b794963a91d6 - - * infiniband-diags/src/perfquery.c: Fix all_ports corner case - -Thu Sep 13 16:13:05 2012 -0700 Albert Chu -81c48ed47d5decae06b17a554c09b9e1b42da9b4 - - * infiniband-diags: Allow user to specify multiple ports - -** Version: 1.6.1-4chaos - -Tue Aug 23 21:27:15 2011 -0700 Ira Weiny -8c4b2ae71e6380bb36a46402ac748211a170bb4e - - * infiniband-diags: ibqueryerrors add "check" capabilities against ibfabricconf file - -Wed Jul 13 17:08:01 2011 -0700 Ira Weiny -f5ffc5a5aaae6a25239058c5dceb412bbd06793f - - * infiniband-diags: iblinkinfo add "check" capabilities against ibfabricconf file - -Wed Apr 27 10:43:34 2011 -0700 Ira Weiny -af91e9dcb0801a80d2fae499270af163d7ff15e7 - - * infiniband-diags: add libibfabricconf - -Thu Oct 27 00:16:23 2011 -0700 Ira Weiny -c37ee5cf7a6de87b4c9f5b2269006f99fbe3bb69 - - * Add META for chaos build bot - -Wed Sep 12 14:50:41 2012 -0700 Albert Chu -bd51f1bd1d369089e5c51a6a11401949d77c5f89 - - * infiniband-diags: Allow user to specify multiple ports - -** Version: 1.6.1-3chaos - -Wed Sep 12 21:09:05 2012 -0400 Ira Weiny -dfdcb7650b183764859c81761bbe8468ba2364a9 - - * tag it - -Tue Aug 23 21:27:15 2011 -0700 Ira Weiny -0613aa22295a2df23199734ff2c1b61917f8801a - - * infiniband-diags: ibqueryerrors add "check" capabilities against ibfabricconf file - -Wed Jul 13 17:08:01 2011 -0700 Ira Weiny -ff5a78e24ec6c0523ca656f914fd6d87e5a67c3d - - * infiniband-diags: iblinkinfo add "check" capabilities against ibfabricconf file - -Wed Apr 27 10:43:34 2011 -0700 Ira Weiny -ed35acf2fa6f44498bc836063c7393c90b353350 - - * infiniband-diags: add libibfabricconf - -Thu Oct 27 00:16:23 2011 -0700 Ira Weiny -c1e7da8c7d07559489b5cd91253ee167ba6e9908 - - * Add META for chaos build bot - -Wed Sep 12 14:50:41 2012 -0700 Albert Chu -8b0702445282dbfe323d0bb8542b4be59278870e - - * infiniband-diags: Allow user to specify multiple ports - -** Version: 1.6.1-2chaos - -Wed Aug 15 14:53:35 2012 -0400 Ira Weiny -cce9cba9838bf26e3e17c349ccddc1b6bff230e0 - - * fix meta - -Wed Aug 15 14:02:34 2012 -0400 Ira Weiny -4498b1bf41d027973546751cc7057416816d4010 - - * update tag - -Tue Aug 23 21:27:15 2011 -0700 Ira Weiny -4913eedb2aa840a4ab96e02a038d21dd560959cc - - * infiniband-diags: ibqueryerrors add "check" capabilities against ibfabricconf file - -Wed Jul 13 17:08:01 2011 -0700 Ira Weiny -dbb117ddf807b48a0f65de859d0320acf2be3687 - - * infiniband-diags: iblinkinfo add "check" capabilities against ibfabricconf file - -Wed Apr 27 10:43:34 2011 -0700 Ira Weiny -7f83e33a3ce6278df5ee52343b363e33650b30b2 - - * infiniband-diags: add libibfabricconf - -Thu Oct 27 00:16:23 2011 -0700 Ira Weiny -49ecf1739809959f8c71f672813b755da9713a10 - - * Add META for chaos build bot - -Wed Aug 15 13:50:05 2012 -0400 Ira Weiny -469d081c2be8eefc3316b6bf2be3d4a8e0356a83 - - * infiniband-diags: add default .in files - -** Version: 1.6.1-1chaos - -Tue Aug 14 19:54:48 2012 -0400 Ira Weiny -9aba1151d3aefb73724fd710cbf7257bf21c0949 - - * update - -Tue Aug 23 21:27:15 2011 -0700 Ira Weiny -1307c52cad6b56dbf81faee00ce7835350224681 - - * infiniband-diags: ibqueryerrors add "check" capabilities against ibfabricconf file - -Wed Jul 13 17:08:01 2011 -0700 Ira Weiny -dd40322059ac2d207e2cdf58b92bfc66f96b5227 - - * infiniband-diags: iblinkinfo add "check" capabilities against ibfabricconf file - -Wed Apr 27 10:43:34 2011 -0700 Ira Weiny -046b2dddd2cb1b9136417f93d40cd63ec776c0b2 - - * infiniband-diags: add libibfabricconf - -Thu Oct 27 00:16:23 2011 -0700 Ira Weiny -4c3c4ba3d7abc7a285bb70db92ee5bb16041ba64 - - * Add META for chaos build bot - -Tue Jul 24 13:45:53 2012 -0400 Ira Weiny -0afac222172bba5b49e7e7767ed43db7bb20e2ec - - * infiniband-diags: combine common alias option processing - -** Version: 1.6.1 - -Mon Jul 30 16:20:55 2012 -0400 Ira Weiny -f1fa20e2bec8d5866a60bda99dd62e292d2dd616 - - * infiniband-diags: update README and configure.in for 1.6.1 release - -** Version: 1.6.0-7chaos - -Tue Jul 24 20:24:59 2012 -0400 Ira Weiny -938dba3d880781e4516d5a460d86940952c651a2 - - * update META - -Tue Aug 23 21:27:15 2011 -0700 Ira Weiny -c93a3d68dde4b90860ed325cd52a042593950852 - - * infiniband-diags: ibqueryerrors add "check" capabilities against ibfabricconf file - -Wed Jul 13 17:08:01 2011 -0700 Ira Weiny -862373f9432c8ff2637e3326915824fcfa1709e0 - - * infiniband-diags: iblinkinfo add "check" capabilities against ibfabricconf file - -** Version: 1.6.0-6chaos - -Tue Jul 24 14:55:59 2012 -0400 Ira Weiny -2f73c5bfeb0d88a243a380e315863310308d5c05 - - * tag for next release - -Tue Aug 23 21:27:15 2011 -0700 Ira Weiny -eacf29e1f9794cdc5e1890cf1e3ae5c35eb6a85d - - * infiniband-diags: ibqueryerrors add "check" capabilities against ibfabricconf file - -Wed Jul 13 17:08:01 2011 -0700 Ira Weiny -b0a08a5e43503b4860e1c50d1a6f96fe99876289 - - * infiniband-diags: iblinkinfo add "check" capabilities against ibfabricconf file - -Wed Apr 27 10:43:34 2011 -0700 Ira Weiny -a79222f62cadb5cbce4d8e605e64d03db9dc8adb - - * infiniband-diags: add libibfabricconf - -Thu Oct 27 00:16:23 2011 -0700 Ira Weiny -0533c41918e4f0b93529da185c3b70e3bb75a021 - - * Add META for chaos build bot - -Mon Jul 23 16:45:33 2012 -0700 Albert Chu -6356b648e83fac8a20a6678dc5949ae86e40f257 - - * infiniband-diags: Fix command line parsing bug in ibccconfig, ibccquery, saquery, and smpquery. - -Thu Jul 12 10:35:13 2012 +0000 Hal Rosenstock -e72ca56743022f8005d7c93c940ca8a028974590 - - * infiniband-diags/vendstat.c: Commentary change - -Wed Jul 11 14:05:37 2012 +0000 Hal Rosenstock -370f2330dc55a7dd25f2d465d44ca82ad071721c - - * infiniband-diags/perfquery.c: Fix compile warning - -Tue Jul 10 15:24:33 2012 +0000 Daniel Klein -9ccd4685ba61d9cb3a7f29a8e87f0f2b694eaf4a - - * Subject: [PATCHv2] infiniband-diags/vendstat: updated devices supporting extended fw info - -Sun Jul 8 17:49:37 2012 +0000 Hal Rosenstock -3b22454dffaa0207d3f5ed935266571476b450fe - - * infiniband-diags: Support MLNX ExtendedPortInfo for ConnectIB device - -Thu Jul 5 12:45:20 2012 -0400 Hal Rosenstock -4e3a9074b69e41166089d4a3772aa585dc29987d - - * iblinkinfo: fix no port 0 info segmentation fault - -Thu Jul 5 14:25:50 2012 -0400 Hal Rosenstock -1b78dc56302a00070d06257be124e9c17835145a - - * mcm_rereg_test.c: Fix a couple of output messages - -Thu Jul 5 12:42:53 2012 -0400 Hal Rosenstock -b18dbe3725f0e75f7ca09cd95b8968322856d503 - - * ibnetdiscover: fix not showing FDR10 speeds - -Thu Jun 28 13:13:07 2012 -0400 Hal Rosenstock -1d88102ec41667b839273f69beb64816a72a3680 - - * infiniband-diags/ibnetdiscover: fix no port 0 info segmentation fault - -Fri Jun 1 15:44:46 2012 -0700 Ira Weiny -30cdb87ebb2018cacfd577b32394e1f3e898a664 - - * infiniband-diags: saquery avoid a potential seg fault in libibmad - -Thu May 31 17:48:04 2012 -0700 Ira Weiny -370ee066a1d4ee5bb59786df7ab717486efa9870 - - * infiniband-diags: update README for 1.6.0 release - -Thu May 31 16:59:12 2012 -0700 Ira Weiny -47e95f6b97c338afad38571e7b03231d63d53b22 - - * infiniband-diags: udpate smp documentation in infiniband-diags page - -Tue May 29 20:54:33 2012 -0700 Ira Weiny -8dbb41ce333e37b3a52b52bbd9febc9d6b9cbb0e - - * infiniband-diags: Add SMP/QP0 usage explanation to general man page - -Thu May 31 15:10:54 2012 -0700 Ira Weiny -9ca4c0369b6fd1266f50105c07ec7f85db9e8c7a - - * infiniband-diags: saquery clarify default smkey option value - -Wed May 30 15:15:14 2012 -0700 Jim Foraker -a27e2e1683cb7ce3d1cc55b1055c2a8fb0695e16 - - * infiniband-diags: Add SA smkey option to config file - -Wed May 30 15:14:20 2012 -0700 Jim Foraker -1ff0e5182fbec725e14c7101e1f9848c278202ab - - * ib-diags/saquery: Fix smkey handling - -Wed May 30 10:21:35 2012 -0700 Jim Foraker -c361d33cb57a2c942ffa4bbcd3a1dcf08f05b45c - - * infiniband-diags: Add m_key option to config file - -Wed May 30 10:21:34 2012 -0700 Jim Foraker -32a72dd3ea0efbe09579d0ee806d298614d0d722 - - * infiniband-diags/ibportstate.c: Support changing MKey, lease, and protect bits - -Thu May 31 12:11:33 2012 -0700 Jim Foraker -ced1cd4758638468329392099ee82c6f2650ea0c - - * infiniband-diags: Allow specification of an mkey to use on the command line - -Wed May 30 10:21:32 2012 -0700 Jim Foraker -05de760798b5ee0e249b540543d4282a2a2a0d4a - - * infiniband-diags/ibportstate.c: Display MKey, lease, and protect bits - -Wed May 30 10:21:31 2012 -0700 Jim Foraker -a259b9a0d6e7aa53d4013db69126c54a1e83cf7d - - * infiniband-diags: install config file mode 400 - -Wed May 30 10:21:30 2012 -0700 Jim Foraker -546ecba50dcb1b24b5fb64e7e1fc947e4d0c2192 - - * infiniband-diags: Obfuscate sensitive output by default - -Wed May 30 10:09:02 2012 -0700 Jim Foraker -91277f7a31489a12de94d17bca4f5c7f373616ff - - * infiniband-diags: clean up exclude arguments to ibdiag_process_opts() - -Tue May 29 10:04:03 2012 -0700 Hal Rosenstock -42a7b27865250af8ae87564a66e9fcd5f71dadbe - - * infiniband-diags/ibportstate.c: Remove an extra space from warning message - -Thu May 24 13:42:29 2012 -0400 Hal Rosenstock -c7c22d109e3b690e4c38e95fe4590115ca07dc44 - - * infiniband-diags/ibportstate.c: Add newly added options to usage - -Tue May 15 15:52:26 2012 -0700 Ira Weiny -4d1fab57d2a572dfbd0370b1e0cac5ccfea8ac67 - - * infiniband-diags: fix autogen with new rst documentation - -Thu May 3 17:13:32 2012 -0700 Ira Weiny -5f8679d4959904e2f7f890fb35885076cdec460f - - * infiniband-diags: move man/check_lft_balance,ibcacheedit,ibstatus,ibidsverify to rst documentation - -Thu May 3 14:20:56 2012 -0700 Ira Weiny -09627e978bb0a7dc99f4bb7cac677dfef592b90a - - * infiniband-diags: move man/saquery,vendstat,ibsysstat,ibfindnodesusing to rst documentation - -Thu May 3 09:48:39 2012 -0700 Ira Weiny -15bea0d4bbb28df87ef813788324b819ef30bf41 - - * infiniband-diags: move man/perfquery,sminfo,smpdump,smpquery to rst documentation - -Wed May 2 17:01:34 2012 -0700 Ira Weiny -7bdba73a18dbd23874de51a53ead53f5ab3fedc2 - - * infiniband-diags: move man/ibportstate,ibstat,ibroute,ibtracert to rst documentation - -Wed May 2 11:27:32 2012 -0700 Ira Weiny -71634f0a6acb6a93bdd5fb70b1ce7d5a00c1ff81 - - * infiniband-diags: move man/ibping,ibnodes,ibhosts,ibswitches,ibrouters to rst documentation - -Wed May 9 14:41:50 2012 -0700 Ira Weiny -c8c9818dfd3f2ea2ae3a9d19e4e0cb539504f5c9 - - * infiniband-diags: move man/ibcc[config|query] to rst documentation - -Wed May 9 14:39:08 2012 -0700 Ira Weiny -2a81766b7dae22878dbc973060ff34226c3bffcd - - * infiniband-diags: move man/dump_[ml]fts to rst documentation - -Wed May 9 14:30:22 2012 -0700 Ira Weiny -818ed87d906b0d5c5c989316aae58a12ee866401 - - * infiniband-diags: convert documentation from nroff to rst - -Wed May 9 14:13:57 2012 -0700 Ira Weiny -3bca843a80bfaed68a9ccd3d9585339ad47d531a - - * infiniband-diags: check_lft_balance.pl remove unused options - -Fri May 4 12:08:57 2012 -0700 Ira Weiny -6de4c35dd109e60882d733c155254adff08f62bd - - * infiniband-diags: ibidsverify exit status 1 on errors found - -Fri May 4 11:51:58 2012 -0700 Ira Weiny -c8cba00f39ef38cb74db984700d69e09bc16d52a - - * infiniband-diags: fix ibidsverify portguid validation. - -Fri May 4 10:34:30 2012 -0700 Ira Weiny -97f0f6b09fd10a4a4c9956c72bc305e7478b2632 - - * infiniband-diags: move ibidsverify man page to main rpm - -Fri May 4 09:20:20 2012 -0700 Ira Weiny -990917642e047966174101aefad9535d380437f4 - - * infiniband-diags: move deprecated scripts to "compat" rpm - -Wed May 2 16:13:19 2012 -0700 Ira Weiny -b4cfdf3dc688008cf8471a27f7525ef768413047 - - * infiniband-diags: update ib[hosts|switches|routers] to standard options - -Thu May 3 10:26:58 2012 -0700 Ira Weiny -d5181ea92be7d2a422b22fed7abcbb796d6ed0cf - - * infiniband-diags: smpdump fix option 'string' - -Wed May 2 17:26:07 2012 -0700 Ira Weiny -b04f511198d9f6f37edd79582ad6f71e993dc187 - - * infiniband-diags: remove -u common option - -Fri Apr 27 15:53:15 2012 -0700 Ira Weiny -a4cedde4bbb7699558aa00d83ed24f14c94ea265 - - * infiniband-diags: remove SMI class registration where possible - -Fri Apr 27 14:33:30 2012 -0700 Ira Weiny -5748256b13a3a1d24ee28e85e5eb233ce5db586b - - * infiniband-diags: remove mad.h from ibstat - -Mon Apr 30 17:27:57 2012 -0700 Albert Chu -7ed1cf6a1b82ed8877ca7f26f0165ac46325cd55 - - * infiniband-diags ibcconfig: Update documentation examples - -Thu Apr 26 14:43:13 2012 -0700 Albert Chu -71c07674356f2fdf93187430908cbb501a1ee6ec - - * infiniband-diags/src/ibccquery.c: Fix CACongestionSetting inputs - -Mon Sep 26 16:47:21 2011 -0700 Ira Weiny -7cdad904b8d846cf3958a779561ede8bc59b5d05 - - * infiniband-diags: move deprecated scripts to "compat" rpm - -Wed Apr 20 23:30:27 2011 -0700 Ira Weiny -c670c59cecbdbfc0f3fbc1afdecf312f21e771d3 - - * infiniband-diags: mark duplicate/lower performing scripts as deprecated. - -Wed Apr 18 09:01:21 2012 -0400 Hal Rosenstock -d5df2450a1b6da5bb5bdc64123ba7a6da28a92f4 - - * infiniband-diags/vendstat.c: Support IS4/SX firmware version info - -Tue Apr 17 10:55:13 2012 -0700 Ira Weiny -3ff5a791fe4235d39aca591bf2ac056b7e8f9fc3 - - * infiniband-diags: preserve long_opts global for use in ibdiag_show_usage - -Thu Apr 12 18:09:45 2012 -0700 Jim Foraker -288234aad813f218049fbfe0e3b0b25ee8f83f69 - - * infiniband-diags: migrate resolve_portid_str in from libibmad - -Thu Apr 12 18:09:44 2012 -0700 Jim Foraker -16f11b35f0cd961e8dc8c6dabd155f2dca024833 - - * infiniband-diags: Remove dependencies on ib_resolve_smlid/ib_resolve_self - -Thu Apr 12 18:09:43 2012 -0700 Jim Foraker -7cdde53ada761d06d610544e3a10a1cdb8dd192a - - * infiniband-diags/mcm_rereg_test.c: Include ib_types.h - -Thu Apr 12 18:09:42 2012 -0700 Jim Foraker -ec94c8f13b35c87fc9dd8a54ee86e0f73703ae33 - - * infiniband-diags/mcm_rereg_test.c: dead code removal - -Thu Apr 12 18:09:41 2012 -0700 Jim Foraker -18fe6ba8a5e4c1c9afd59e87fc36a28ec4e9582d - - * infiniband-diags/ibroute.c: Dead code removal - -Mon Mar 5 13:29:13 2012 -0800 Ira Weiny -5370dfd43d4a00879bca6a5efd14ce21d20967ac - - * infiniband-diags: saquery further error value clean up. - -Mon Feb 27 14:18:09 2012 -0800 Ira Weiny -c1a428ff57c92dc6c1135755fa5da271acfe74fd - - * infiniband-diags: remove unused options from check_lft_balance.pl - -Mon Feb 20 08:17:20 2012 -0800 Ira Weiny -3179ae8c8d7f4fb1372f2813afcd80e4d772a14b - - * infiniband-diags: remove ib_resolve_smlid_via requirement for sa queries - -Fri Feb 17 22:25:42 2012 -0800 Ira Weiny -0810a520a70897566ab09ed245cdad2c8add3103 - - * infiniband-diags: Fix saquery error reporting - -Wed Feb 8 10:17:20 2012 -0800 Ira Weiny -8146868765268752b3e9f60908dded7fcd9180a0 - - * Fix ibping server when client stops sending. - -Thu Nov 3 14:42:34 2011 -0700 Albert Chu -4ac43920fb8e2b6c5679498181aa3688eca117f9 - - * infiniband-diags: Support ibccconfig, congestion control setting tool - -Wed Jan 11 23:39:45 2012 -0800 Ira Weiny -8aadc8ad3ad1df57941022826a03bce3707907c3 - - * ibswitches: fix output when switch names have "base" or "enhanced" in them - -Tue Jan 10 12:22:58 2012 -0800 Hal Rosenstock -cb92b9808bdc292b291e2ef416b6ead19745826c - - * infiniband-diags/configure.in: Fix typo - -** Version: 1.6.0-5chaos - -Tue Apr 17 11:07:37 2012 -0700 Ira Weiny -23703e7661e8be4084138affe4adf894999a8451 - - * tag 1.6.0-5chaos - -Tue Apr 17 10:55:13 2012 -0700 Ira Weiny -4286d05353a1e8d6badc929e5f1000cbec0cf738 - - * infiniband-diags: preserve long_opts global for use in ibdiag_show_usage - -** Version: 1.6.0-4chaos - -Tue Dec 6 12:08:05 2011 -0800 Ira Weiny -1f0b2765bc6420208816665ab986fdf2a962429f - - * tag 1.6.0-4chaos - -Sun Dec 4 19:37:00 2011 -0800 Ira Weiny -78ec2486dfce920b650cf2719acc649b297e2197 - - * infiniband-diags/ibccquery Fix field name - -Fri Dec 2 16:00:10 2011 -0800 Albert Chu -4fabac9d235341b32756a8584e80db86bb348c5b - - * infiniband-diags/src/ibccquery.c: Fix off by one output bug, ccti_limit is 0 based not 1 based - -Fri Dec 2 11:52:27 2011 -0800 Ira Weiny -d8648e9d603e469d0fbd90d18b4c99e725d05812 - - * infiniband-diags: add config file option for Mellanox ExtPortInfo queries - -Fri Dec 2 11:50:31 2011 -0800 Ira Weiny -3d726a8ec8752938e224ef6bb0cbea8e84544dff - - * infiniband-diags: move is_mlnx_ext_port_info_supported to common code - -Fri Dec 2 13:38:17 2011 -0800 Ira Weiny -72f1eb2e425f6198ea2153f1a8a30cacba37b0a5 - - * infiniband-diags: fix printing of extended speeds when port is down - -Thu Dec 1 11:33:09 2011 -0800 Hal Rosenstock -7db86c37537a43521df77ccfce81b714f5c02667 - - * infiniband-diags/perfquery.c: Fix reset for PortExtendedSpeedsCounters - -Thu Dec 1 08:21:12 2011 -0800 Hal Rosenstock -389da636bf1b9614276500039c8c017623fd8c8e - - * infiniband-diags/perfquery.c: Fix display of PortExtendedSpeedsCounters - -Wed Nov 30 14:09:52 2011 -0800 Albert Chu -3c1b21f10c632448419911efa13a5763d15dae7b - - * Fix typo in ibccquery manpage - -** Version: 1.6.0-3chaos - -Tue Nov 29 23:05:56 2011 -0800 Ira Weiny -a9f29f2e1edc6cc9bc67873b6ff33b6905db4b40 - - * tag 1.6.0-3chaos - -Mon Sep 26 16:47:21 2011 -0700 Ira Weiny -10fa604b2bec5c1fd661611638644b4042f09629 - - * infiniband-diags: move deprecated scripts to compat rpm - -Wed Apr 20 23:30:27 2011 -0700 Ira Weiny -7792b37b50fa27ac3b24125f5c8217ea39d5e8f0 - - * infiniband-diags: mark duplicate/lower performing scripts as deprecated. - -Tue Aug 23 21:27:15 2011 -0700 Ira Weiny -4d677a33a5c14531b71aa4a416226757e78b4e11 - - * infiniband-diags: ibqueryerrors add "check" capabilities against ibfabricconf file - -Wed Jul 13 17:08:01 2011 -0700 Ira Weiny -45e2bc07cbaac9ef3b39d7888a733b935f590dd0 - - * infiniband-diags: iblinkinfo add "check" capabilities against ibfabricconf file - -Wed Apr 27 10:43:34 2011 -0700 Ira Weiny -7a0076507ec1e69483007a99a5117d94c4004416 - - * infiniband-diags: add libibfabricconf - -Mon Nov 7 08:47:43 2011 -0800 Ira Weiny -5286c744427e642e3ee039fafe8b71d3e3f1ba6e - - * infiniband-diags: check_lft_balance.pl add -C/-P options - -Mon Nov 7 07:42:19 2011 -0800 Ira Weiny -843371947e7f447446df59dd6a5e4e78f264c0e6 - - * check_lft_balance.pl: Add extra check when using -e heuristic flag in check_lft_balance.pl - -Wed Oct 12 17:17:08 2011 -0700 Albert L.Chu -4ed1bbb8e642d88cca5dbbd2b5c6fb5473f45265 - - * Add -e heuristic flag to check_lft_balance.pl to detect common scenarios where unbalanced routing will occur. - -Wed Oct 12 15:43:01 2011 -0700 Albert L.Chu -ff9b775a6bef88f50751fc80deba8d90d962bbcd - - * Update check_lft_balance.pl to work with newer infiniband-diag tools - -** Version: 1.6.0-2chaos - -Tue Nov 1 23:01:37 2011 -0700 Ira Weiny -8abd86f983d0510f2a741a3ec4a8d66ef5050e4f - - * tag 1.6.0-2chaos - -Mon Sep 26 16:47:21 2011 -0700 Ira Weiny -78c65c1a57f8ea19d169f1cfed2dab41147beeb2 - - * infiniband-diags: move deprecated scripts to compat rpm - -Wed Apr 20 23:30:27 2011 -0700 Ira Weiny -530154d57fbdaba250685b905cc2540026e7757c - - * infiniband-diags: mark duplicate/lower performing scripts as deprecated. - -Tue Aug 23 21:27:15 2011 -0700 Ira Weiny -9fb428d0855f6994bba1110524f9e311b059f688 - - * infiniband-diags: ibqueryerrors add "check" capabilities against ibfabricconf file - -Wed Jul 13 17:08:01 2011 -0700 Ira Weiny -6644a7951f737ef356212c9a701223e1e1c4f9e9 - - * infiniband-diags: iblinkinfo "check" capabilities against ibfabricconf file - -Wed Apr 27 10:43:34 2011 -0700 Ira Weiny -9caf4573c99abee6348c402931f305840c449e0d - - * infiniband-diags: add libibfabricconf - -Mon Oct 31 22:48:12 2011 -0700 Ira Weiny -7f38b58ae850acaad4c4a79209aec47eb33580a5 - - * infiniband-diags: ibqueryerrors: don't exit on reset error - -** Version: 1.6.0-1chaos - -Thu Oct 27 00:16:23 2011 -0700 Ira Weiny -3a95ad7f6ac8cceddd7c76a26daef01c96662e45 - - * Add META for chaos build bot - -Mon Sep 26 16:47:21 2011 -0700 Ira Weiny -a9989da04c7a8809f19e6e8ca40679ac612e1744 - - * infiniband-diags: move deprecated scripts to compat rpm - -Wed Apr 20 23:30:27 2011 -0700 Ira Weiny -9f8437d5759967d7caa52470bc0a641c27ce4ad2 - - * infiniband-diags: mark duplicate/lower performing scripts as deprecated. - -Tue Aug 23 21:27:15 2011 -0700 Ira Weiny -f045cf93e7652406ae15b947c977d3d1e894d947 - - * infiniband-diags: ibqueryerrors add "check" capabilities against ibfabricconf file - -Wed Jul 13 17:08:01 2011 -0700 Ira Weiny -4520f00da0e33af9111db524e978188cd50885f9 - - * infiniband-diags: iblinkinfo "check" capabilities against ibfabricconf file - -Wed Apr 27 10:43:34 2011 -0700 Ira Weiny -f09b947a7c2ad0fb3306349f65014e41498ad1ec - - * infiniband-diags: add libibfabricconf - -** Version: 1.6.0 - -Thu May 31 17:48:04 2012 -0700 Ira Weiny -370ee066a1d4ee5bb59786df7ab717486efa9870 - - * infiniband-diags: update README for 1.6.0 release - -Thu May 31 16:59:12 2012 -0700 Ira Weiny -47e95f6b97c338afad38571e7b03231d63d53b22 - - * infiniband-diags: udpate smp documentation in infiniband-diags page - -Tue May 29 20:54:33 2012 -0700 Ira Weiny -8dbb41ce333e37b3a52b52bbd9febc9d6b9cbb0e - - * infiniband-diags: Add SMP/QP0 usage explanation to general man page - -Thu May 31 15:10:54 2012 -0700 Ira Weiny -9ca4c0369b6fd1266f50105c07ec7f85db9e8c7a - - * infiniband-diags: saquery clarify default smkey option value - -Wed May 30 15:15:14 2012 -0700 Jim Foraker -a27e2e1683cb7ce3d1cc55b1055c2a8fb0695e16 - - * infiniband-diags: Add SA smkey option to config file - -Wed May 30 15:14:20 2012 -0700 Jim Foraker -1ff0e5182fbec725e14c7101e1f9848c278202ab - - * ib-diags/saquery: Fix smkey handling - -Wed May 30 10:21:35 2012 -0700 Jim Foraker -c361d33cb57a2c942ffa4bbcd3a1dcf08f05b45c - - * infiniband-diags: Add m_key option to config file - -Wed May 30 10:21:34 2012 -0700 Jim Foraker -32a72dd3ea0efbe09579d0ee806d298614d0d722 - - * infiniband-diags/ibportstate.c: Support changing MKey, lease, and protect bits - -Thu May 31 12:11:33 2012 -0700 Jim Foraker -ced1cd4758638468329392099ee82c6f2650ea0c - - * infiniband-diags: Allow specification of an mkey to use on the command line - -Wed May 30 10:21:32 2012 -0700 Jim Foraker -05de760798b5ee0e249b540543d4282a2a2a0d4a - - * infiniband-diags/ibportstate.c: Display MKey, lease, and protect bits - -Wed May 30 10:21:31 2012 -0700 Jim Foraker -a259b9a0d6e7aa53d4013db69126c54a1e83cf7d - - * infiniband-diags: install config file mode 400 - -Wed May 30 10:21:30 2012 -0700 Jim Foraker -546ecba50dcb1b24b5fb64e7e1fc947e4d0c2192 - - * infiniband-diags: Obfuscate sensitive output by default - -Wed May 30 10:09:02 2012 -0700 Jim Foraker -91277f7a31489a12de94d17bca4f5c7f373616ff - - * infiniband-diags: clean up exclude arguments to ibdiag_process_opts() - -Tue May 29 10:04:03 2012 -0700 Hal Rosenstock -42a7b27865250af8ae87564a66e9fcd5f71dadbe - - * infiniband-diags/ibportstate.c: Remove an extra space from warning message - -Thu May 24 13:42:29 2012 -0400 Hal Rosenstock -c7c22d109e3b690e4c38e95fe4590115ca07dc44 - - * infiniband-diags/ibportstate.c: Add newly added options to usage - -Tue May 15 15:52:26 2012 -0700 Ira Weiny -4d1fab57d2a572dfbd0370b1e0cac5ccfea8ac67 - - * infiniband-diags: fix autogen with new rst documentation - -Thu May 3 17:13:32 2012 -0700 Ira Weiny -5f8679d4959904e2f7f890fb35885076cdec460f - - * infiniband-diags: move man/check_lft_balance,ibcacheedit,ibstatus,ibidsverify to rst documentation - -Thu May 3 14:20:56 2012 -0700 Ira Weiny -09627e978bb0a7dc99f4bb7cac677dfef592b90a - - * infiniband-diags: move man/saquery,vendstat,ibsysstat,ibfindnodesusing to rst documentation - -Thu May 3 09:48:39 2012 -0700 Ira Weiny -15bea0d4bbb28df87ef813788324b819ef30bf41 - - * infiniband-diags: move man/perfquery,sminfo,smpdump,smpquery to rst documentation - -Wed May 2 17:01:34 2012 -0700 Ira Weiny -7bdba73a18dbd23874de51a53ead53f5ab3fedc2 - - * infiniband-diags: move man/ibportstate,ibstat,ibroute,ibtracert to rst documentation - -Wed May 2 11:27:32 2012 -0700 Ira Weiny -71634f0a6acb6a93bdd5fb70b1ce7d5a00c1ff81 - - * infiniband-diags: move man/ibping,ibnodes,ibhosts,ibswitches,ibrouters to rst documentation - -Wed May 9 14:41:50 2012 -0700 Ira Weiny -c8c9818dfd3f2ea2ae3a9d19e4e0cb539504f5c9 - - * infiniband-diags: move man/ibcc[config|query] to rst documentation - -Wed May 9 14:39:08 2012 -0700 Ira Weiny -2a81766b7dae22878dbc973060ff34226c3bffcd - - * infiniband-diags: move man/dump_[ml]fts to rst documentation - -Wed May 9 14:30:22 2012 -0700 Ira Weiny -818ed87d906b0d5c5c989316aae58a12ee866401 - - * infiniband-diags: convert documentation from nroff to rst - -Wed May 9 14:13:57 2012 -0700 Ira Weiny -3bca843a80bfaed68a9ccd3d9585339ad47d531a - - * infiniband-diags: check_lft_balance.pl remove unused options - -Fri May 4 12:08:57 2012 -0700 Ira Weiny -6de4c35dd109e60882d733c155254adff08f62bd - - * infiniband-diags: ibidsverify exit status 1 on errors found - -Fri May 4 11:51:58 2012 -0700 Ira Weiny -c8cba00f39ef38cb74db984700d69e09bc16d52a - - * infiniband-diags: fix ibidsverify portguid validation. - -Fri May 4 10:34:30 2012 -0700 Ira Weiny -97f0f6b09fd10a4a4c9956c72bc305e7478b2632 - - * infiniband-diags: move ibidsverify man page to main rpm - -Fri May 4 09:20:20 2012 -0700 Ira Weiny -990917642e047966174101aefad9535d380437f4 - - * infiniband-diags: move deprecated scripts to "compat" rpm - -Wed May 2 16:13:19 2012 -0700 Ira Weiny -b4cfdf3dc688008cf8471a27f7525ef768413047 - - * infiniband-diags: update ib[hosts|switches|routers] to standard options - -Thu May 3 10:26:58 2012 -0700 Ira Weiny -d5181ea92be7d2a422b22fed7abcbb796d6ed0cf - - * infiniband-diags: smpdump fix option 'string' - -Wed May 2 17:26:07 2012 -0700 Ira Weiny -b04f511198d9f6f37edd79582ad6f71e993dc187 - - * infiniband-diags: remove -u common option - -Fri Apr 27 15:53:15 2012 -0700 Ira Weiny -a4cedde4bbb7699558aa00d83ed24f14c94ea265 - - * infiniband-diags: remove SMI class registration where possible - -Fri Apr 27 14:33:30 2012 -0700 Ira Weiny -5748256b13a3a1d24ee28e85e5eb233ce5db586b - - * infiniband-diags: remove mad.h from ibstat - -Mon Apr 30 17:27:57 2012 -0700 Albert Chu -7ed1cf6a1b82ed8877ca7f26f0165ac46325cd55 - - * infiniband-diags ibcconfig: Update documentation examples - -Thu Apr 26 14:43:13 2012 -0700 Albert Chu -71c07674356f2fdf93187430908cbb501a1ee6ec - - * infiniband-diags/src/ibccquery.c: Fix CACongestionSetting inputs - -Mon Sep 26 16:47:21 2011 -0700 Ira Weiny -7cdad904b8d846cf3958a779561ede8bc59b5d05 - - * infiniband-diags: move deprecated scripts to "compat" rpm - -Wed Apr 20 23:30:27 2011 -0700 Ira Weiny -c670c59cecbdbfc0f3fbc1afdecf312f21e771d3 - - * infiniband-diags: mark duplicate/lower performing scripts as deprecated. - -Wed Apr 18 09:01:21 2012 -0400 Hal Rosenstock -d5df2450a1b6da5bb5bdc64123ba7a6da28a92f4 - - * infiniband-diags/vendstat.c: Support IS4/SX firmware version info - -Tue Apr 17 10:55:13 2012 -0700 Ira Weiny -3ff5a791fe4235d39aca591bf2ac056b7e8f9fc3 - - * infiniband-diags: preserve long_opts global for use in ibdiag_show_usage - -Thu Apr 12 18:09:45 2012 -0700 Jim Foraker -288234aad813f218049fbfe0e3b0b25ee8f83f69 - - * infiniband-diags: migrate resolve_portid_str in from libibmad - -Thu Apr 12 18:09:44 2012 -0700 Jim Foraker -16f11b35f0cd961e8dc8c6dabd155f2dca024833 - - * infiniband-diags: Remove dependencies on ib_resolve_smlid/ib_resolve_self - -Thu Apr 12 18:09:43 2012 -0700 Jim Foraker -7cdde53ada761d06d610544e3a10a1cdb8dd192a - - * infiniband-diags/mcm_rereg_test.c: Include ib_types.h - -Thu Apr 12 18:09:42 2012 -0700 Jim Foraker -ec94c8f13b35c87fc9dd8a54ee86e0f73703ae33 - - * infiniband-diags/mcm_rereg_test.c: dead code removal - -Thu Apr 12 18:09:41 2012 -0700 Jim Foraker -18fe6ba8a5e4c1c9afd59e87fc36a28ec4e9582d - - * infiniband-diags/ibroute.c: Dead code removal - -Mon Mar 5 13:29:13 2012 -0800 Ira Weiny -5370dfd43d4a00879bca6a5efd14ce21d20967ac - - * infiniband-diags: saquery further error value clean up. - -Mon Feb 27 14:18:09 2012 -0800 Ira Weiny -c1a428ff57c92dc6c1135755fa5da271acfe74fd - - * infiniband-diags: remove unused options from check_lft_balance.pl - -Mon Feb 20 08:17:20 2012 -0800 Ira Weiny -3179ae8c8d7f4fb1372f2813afcd80e4d772a14b - - * infiniband-diags: remove ib_resolve_smlid_via requirement for sa queries - -Fri Feb 17 22:25:42 2012 -0800 Ira Weiny -0810a520a70897566ab09ed245cdad2c8add3103 - - * infiniband-diags: Fix saquery error reporting - -Wed Feb 8 10:17:20 2012 -0800 Ira Weiny -8146868765268752b3e9f60908dded7fcd9180a0 - - * Fix ibping server when client stops sending. - -Thu Nov 3 14:42:34 2011 -0700 Albert Chu -4ac43920fb8e2b6c5679498181aa3688eca117f9 - - * infiniband-diags: Support ibccconfig, congestion control setting tool - -Wed Jan 11 23:39:45 2012 -0800 Ira Weiny -8aadc8ad3ad1df57941022826a03bce3707907c3 - - * ibswitches: fix output when switch names have "base" or "enhanced" in them - -Tue Jan 10 12:22:58 2012 -0800 Hal Rosenstock -cb92b9808bdc292b291e2ef416b6ead19745826c - - * infiniband-diags/configure.in: Fix typo - -Sun Dec 4 19:37:00 2011 -0800 Ira Weiny -78ec2486dfce920b650cf2719acc649b297e2197 - - * infiniband-diags/ibccquery Fix field name - -Fri Dec 2 16:00:10 2011 -0800 Albert Chu -4fabac9d235341b32756a8584e80db86bb348c5b - - * infiniband-diags/src/ibccquery.c: Fix off by one output bug, ccti_limit is 0 based not 1 based - -Fri Dec 2 11:52:27 2011 -0800 Ira Weiny -d8648e9d603e469d0fbd90d18b4c99e725d05812 - - * infiniband-diags: add config file option for Mellanox ExtPortInfo queries - -Fri Dec 2 11:50:31 2011 -0800 Ira Weiny -3d726a8ec8752938e224ef6bb0cbea8e84544dff - - * infiniband-diags: move is_mlnx_ext_port_info_supported to common code - -Fri Dec 2 13:38:17 2011 -0800 Ira Weiny -72f1eb2e425f6198ea2153f1a8a30cacba37b0a5 - - * infiniband-diags: fix printing of extended speeds when port is down - -Thu Dec 1 11:33:09 2011 -0800 Hal Rosenstock -7db86c37537a43521df77ccfce81b714f5c02667 - - * infiniband-diags/perfquery.c: Fix reset for PortExtendedSpeedsCounters - -Thu Dec 1 08:21:12 2011 -0800 Hal Rosenstock -389da636bf1b9614276500039c8c017623fd8c8e - - * infiniband-diags/perfquery.c: Fix display of PortExtendedSpeedsCounters - -Wed Nov 30 14:09:52 2011 -0800 Albert Chu -3c1b21f10c632448419911efa13a5763d15dae7b - - * Fix typo in ibccquery manpage - -Mon Nov 7 08:47:43 2011 -0800 Ira Weiny -5286c744427e642e3ee039fafe8b71d3e3f1ba6e - - * infiniband-diags: check_lft_balance.pl add -C/-P options - -Mon Nov 7 07:42:19 2011 -0800 Ira Weiny -843371947e7f447446df59dd6a5e4e78f264c0e6 - - * check_lft_balance.pl: Add extra check when using -e heuristic flag in check_lft_balance.pl - -Wed Oct 12 17:17:08 2011 -0700 Albert L.Chu -4ed1bbb8e642d88cca5dbbd2b5c6fb5473f45265 - - * Add -e heuristic flag to check_lft_balance.pl to detect common scenarios where unbalanced routing will occur. - -Wed Oct 12 15:43:01 2011 -0700 Albert L.Chu -ff9b775a6bef88f50751fc80deba8d90d962bbcd - - * Update check_lft_balance.pl to work with newer infiniband-diag tools - -Mon Oct 31 22:48:12 2011 -0700 Ira Weiny -7f38b58ae850acaad4c4a79209aec47eb33580a5 - - * infiniband-diags: ibqueryerrors: don't exit on reset error - -Thu Oct 13 15:35:59 2011 -0700 Ira Weiny -2a8f55f0926461cfcf81fb41b75da6a653fc1ef5 - - * infiniband-diags: add a general config file - -Thu Oct 27 00:02:33 2011 -0700 Ira Weiny -117d3ba10d3e22fecd70080e901ad101c7d6b8de - - * infiniband-diags: add ibccquery man page to build - -Wed Oct 26 14:24:46 2011 -0700 Ira Weiny -a717450ac7ed0b6b08f4ec962ede218a3531238b - - * infiniband-diags: clean up build - -Wed Oct 26 11:15:03 2011 -0700 Ira Weiny -7c49fa20284c5d70831fb03fcec2b45b82251d90 - - * infiniband-diags: iblinkinfo flag ports which were not scanned - -Wed Oct 12 16:55:10 2011 -0700 Ira Weiny -e2bdd6ca078aa6c86bdc6ab53fe8c907f1f81ba2 - - * infiniband-diags: saquery: use ib-node-name-map file - -Thu Oct 13 15:28:50 2011 -0700 Ira Weiny -00e47776956d769fb2f9bdceafd960917581f492 - - * infiniband-diags: iblinkinfo: fix error message - -Wed Oct 12 17:28:57 2011 -0700 Ira Weiny -31c06d94d4ecc5fd6af45150807061848ed89092 - - * infiniband-diags: fix installation of error_thresholds file - -Thu Oct 13 15:58:33 2011 -0700 Ira Weiny -607467e00f36c9aa62662445bcd18d0ce72f3be7 - - * Master branch is not moving on to 1.6 - -Thu Sep 29 11:02:21 2011 -0700 Albert Chu -15ee3ea96e4a280873b9f5b6302aa1c359789ec6 - - * support --switches-only and --cas-only options in iblinkinfo - -Thu Sep 29 11:26:29 2011 -0700 Ira Weiny -1c9866e0437fc83dc7b01cd3d8b19300b0d1dfe5 - - * Update version in prep for next release - -Tue Aug 2 11:15:07 2011 -0700 Albert Chu -64afec3a376d0d3037bc4c89dd8384f7fa863777 - - * Support ibccquery, congestion control query tool. - -Tue Sep 27 18:15:12 2011 -0700 Marcus R Epperson -cdbc1cde39a9ae75212f85e8d24326fb72d1cc7d - - * infiniband-diags/src/ibqueryerrors.c: don't increment bad_ports for port ALL - -Tue Sep 27 18:15:11 2011 -0700 Marcus R Epperson -ae19572efa6bcc389b27302ae0606c7fda2093f0 - - * infiniband-diags/src/ibqueryerrors.c: fix segv due to CA port 0 reference - -Sun Sep 11 01:10:32 2011 -0700 Alex Netes -a3b24e9ffa4da0e2b47a6007834bed2ce3530429 - - * infiniband-diags/scripts/ibcheckport.in: ignore lid/sm lid checks on non zero port switches - -Mon Sep 19 15:32:24 2011 -0700 Ira Weiny -bb3213197719ec673e898dbec153ee6424097446 - - * infiniband-diags: ibqueryerrors add query failure count - -Mon Sep 19 14:05:09 2011 -0700 Ira Weiny -1a72e89eb7386bd9b2ee4e64f95359324025c298 - - * infiniband-diags: ibnetdisc Wrap header for use in C++ code - -Thu Sep 22 13:37:23 2011 -0700 Hefty, Sean -8243db1e588c34c7777945c2cc51b94d21ee3d36 - - * RE: [PATCH v2] ib-diags: Add cast to fix build on windows - -** Version: 1.5.9-1chaos - -Thu Sep 22 14:35:29 2011 -0700 Ira Weiny -1ebe44cd0c1799310f95c0de345bed7e5bdc4a2f - - * tag it - -Tue Aug 2 11:15:07 2011 -0700 Albert Chu -ea6238dfef4b12dab026884e05a556747140de55 - - * Support ibccquery, congestion control query tool. - -Mon Sep 19 14:05:09 2011 -0700 Ira Weiny -394be9c093793e0f949344c2420d79b34feee6fd - - * infiniband-diags: ibnetdisc Wrap header for use in C++ code - -Tue Aug 23 21:27:15 2011 -0700 Ira Weiny -d3ff6bcb60598254f5ac7a091bb0e3ef946ce1f9 - - * infiniband-diags: ibqueryerrors add "check" capabilities against ibfabricconf file - -Wed Jul 13 17:08:01 2011 -0700 Ira Weiny -094c789c80daa5580a4cbd0ecb055c1397b1172a - - * infiniband-diags: iblinkinfo "check" capabilities against ibfabricconf file - -Wed Apr 27 10:43:34 2011 -0700 Ira Weiny -be824cd3369c89f7e1b9f69a98930319f45af7f8 - - * infiniband-diags: add libibfabricconf - -Mon Sep 19 15:32:24 2011 -0700 Ira Weiny -f2ee1f2758f9016bc792f1e530647397f119c06f - - * infiniband-diags: ibqueryerrors add query failure count - -Wed Sep 14 13:08:27 2011 -0700 Ira Weiny -3542f74b5f423938fc1babd71c3e67fe168b932e - - * The merge failed to remove this file on this branch. - -Tue Aug 23 21:27:15 2011 -0700 Ira Weiny -e56e9467984c9142507e8dda07062b22931b896a - - * infiniband-diags: ibqueryerrors add "check" capabilities against ibfabricconf file - -Wed Jul 13 17:08:01 2011 -0700 Ira Weiny -2ce0ad4e371960e1d43edfabadcb6470e736695f - - * infiniband-diags: iblinkinfo "check" capabilities against ibfabricconf file - -Tue Aug 23 21:27:15 2011 -0700 Ira Weiny -baad926df75886ca46897c7c8786ff868765d02f - - * infiniband-diags: ibqueryerrors add "check" capabilities against ibfabricconf file - -Wed Jul 13 17:08:01 2011 -0700 Ira Weiny -ab31d99e1336e57f6c21b0dace9aafe3e13aeab7 - - * infiniband-diags: iblinkinfo "check" capabilities against ibfabricconf file - -Wed Apr 27 10:43:34 2011 -0700 Ira Weiny -1cd5c1616ced9ea72b4cca7182e8bca02e544d45 - - * infiniband-diags: add libibfabricconf - -Wed Aug 31 10:22:43 2011 -0700 Ira Weiny -f7d822cfbdbcd55063834ebf05c987bcfcc5070f - - * tag 1.5.8-7chaos - -Wed Aug 31 10:22:19 2011 -0700 Ira Weiny -cfae4357d16352d332934bb3708305c515df754a - - * Fix messed up merge - -Wed Aug 31 10:14:13 2011 -0700 Ira Weiny -43cd1593e54361c02550184adb28a55699821eb7 - - * tag 1.5.8-6chaos - -Wed Aug 31 09:23:12 2011 -0700 Ira Weiny -1080fd7cc004d5ef186ebdb5a66b73343ae08361 - - * add to fabricconf - -Wed Aug 31 09:27:14 2011 -0700 Ira Weiny -e05601a61149680c19e852d69b25bcefbf230167 - - * tag 1.5.8-5chaos - -Wed Aug 31 09:23:12 2011 -0700 Ira Weiny -25d3bd01def9c0f3824fda8493d243d679d7a889 - - * add to fabricconf - -Wed Aug 31 09:13:25 2011 -0700 Ira Weiny -b5111b4a70425817272511b0786d8551283a3a44 - - * tag 1.5.8-4chaos - -Tue Aug 23 21:27:15 2011 -0700 Ira Weiny -3672e50c43ee8b939b0aeae7f8d5fcd225d89e91 - - * infiniband-diags: ibqueryerrors add "check" capabilities against ibfabricconf file - -Wed Jul 13 17:08:01 2011 -0700 Ira Weiny -8173029113fd57d85c352e7e5289fb385b052d4a - - * infiniband-diags: iblinkinfo "check" capabilities against ibfabricconf file - -Wed Apr 27 10:43:34 2011 -0700 Ira Weiny -ad73af596485064a51f79be48bfcb04008610de2 - - * infiniband-diags: add libibfabricconf - -Tue Aug 30 22:37:31 2011 -0700 Ira Weiny -3e14ea66e7ae3ba1c4156a123e9263d6747e1108 - - * add to fabricconf - -Tue Aug 23 21:42:56 2011 -0700 Ira Weiny -d414a4afdd07de048b8c5e7d48bd8a27e4d116c8 - - * Messed up the merge; new tag 3chaos - -Tue Aug 23 21:35:31 2011 -0700 Ira Weiny -5414e2f99da51ffe517d7001beef8db7804f426b - - * tag 1.5.8-2chaos - -Tue Aug 23 21:27:15 2011 -0700 Ira Weiny -b08260639e2b350ae26cd79af912d9ccf382a2ff - - * infiniband-diags: ibqueryerrors add "check" capabilities against ibfabricconf file - -Wed Jul 13 17:08:01 2011 -0700 Ira Weiny -4335917bcb4b31da25a3548461e5d2899203b187 - - * infiniband-diags: iblinkinfo "check" capabilities against ibfabricconf file - -Wed Apr 27 10:43:34 2011 -0700 Ira Weiny -1093495b10a269d63bc5cc8e2ddd09ecde42f2fe - - * infiniband-diags: add libibfabricconf - -Wed Jul 13 17:08:01 2011 -0700 Ira Weiny -49d047e8735adfba8c78ba4e0342dc96ffbb1bc8 - - * infiniband-diags: iblinkinfo "check" capabilities against ibfabricconf file - -Fri Feb 25 15:13:33 2011 -0800 Ira Weiny -131752b844249aefeb5f66427d3a501169ed39e6 - - * Add META for chaos build bot - -** Version: 1.5.9 - -Tue Aug 16 13:40:32 2011 -0700 Ira Weiny -5ba0caf35bf96c17b0f795e787292afc82116b8b - - * Update AUTHORS and make README release notes. - -Thu Sep 1 01:47:39 2011 +0000 Hal Rosenstock -d7f9ad0651276578b2c2ce22dd32496a419f484e - - * infiniband-diags: Fix cap_mask extended link speed supported endian checks - -Wed Aug 31 15:26:42 2011 +0000 Hal Rosenstock -1e62d09ae5d7e4d43089deea07ceb94f8dfd49a0 - - * infiniband-diags/ibqueryerrors.c: Add support for FDR10 - -Wed Aug 31 17:08:50 2011 -0700 Ira Weiny -95a84b7cc30aae53e4212e6138b95b515287b151 - - * infiniband-diags/iblinkinfo.c: Add support for FDR10 - -Wed Aug 31 17:07:29 2011 -0700 Ira Weiny -ce6c56fa2165078e9f653428e26368f5393dd081 - - * infiniband-diags: Add support for FDR10 to ibnetdiscover - -Wed Aug 31 17:06:43 2011 -0700 Ira Weiny -c8542da6a0c00ab463f8b7a066219baa1afcb43c - - * infiniband-diags: Add FDR10 support to libibnetdisc - -Wed Aug 31 15:26:53 2011 +0000 Hal Rosenstock -1344cb3feacafc462440dabfa5997c5205486d83 - - * infiniband-diags/ibstat.c: Add support for FDR10 - -Mon Aug 29 21:18:31 2011 +0000 Hal Rosenstock -3133743b5ea6a7d81b7d70e8a83ce4eb28fec8e6 - - * infiniband-diags/ibnetdiscover.c: Fix cap_mask endian for extended link speeds - -Wed Aug 31 15:26:28 2011 +0000 Hal Rosenstock -0020ee448d908011f5f68f1e1d297f1abe58b376 - - * infiniband-diags/ibportstate: Add support for FDR10 - -Wed Aug 31 10:38:08 2011 -0700 Albert Chu -2100e88e994709789207e010f22a6f7a06afeaa7 - - * fix manpage typos - -Tue Aug 23 16:12:39 2011 -0700 Ira Weiny -510c0e0d164ca93af5c263074dea04065fee99fa - - * infiniband-diags: ibqueryerrors Clean up exit codes - -Wed Jul 6 18:50:27 2011 -0700 Ira Weiny -0c220a760d9e42581d326899b8bbbafa16799c06 - - * infiniband-diags: add human readable output for data counters - -Thu Aug 18 14:47:26 2011 -0700 Ira Weiny -8bc3e398a656a175a29daa61d461e5fa0ad76c56 - - * infiniband-diags: move get_msg to common code - -Fri Aug 19 16:53:42 2011 +0000 Hal Rosenstock -6d819a447ce87825c5c6c84723793c7ab9971f3f - - * infiniband-diags/man/ibportstate.8: Update for fdr - -Tue Aug 16 13:44:44 2011 +0000 Hal Rosenstock -ae7695abf3916f3d434dd62c5bacfc5250c36c32 - - * infiniband-diags/ibnetdiscover.c: Changes for extended link speeds - -Tue Aug 16 13:44:37 2011 +0000 Hal Rosenstock -2e77e728c219bc55d88be10015b641158e1e61b2 - - * infiniband-diags/libibnetdisc/ibnetdisc.c: Changes for extended link speeds - -Tue Aug 16 11:13:59 2011 +0000 Hal Rosenstock -fa92836fcbe1e4255ff9d6bb8cb3a842fa43e38f - - * infiniband-diags/ibqueryerrors.c: Changes for extended link speeds - -Tue Aug 16 10:28:39 2011 +0000 Hal Rosenstock -d7bb3c119f3a20410937c4a83bb01b8afaf30298 - - * infiniband-diags/iblinkinfo.c: Changes for extended link speeds - -Tue Aug 16 09:14:39 2011 +0000 Hal Rosenstock -6aab8ab5db478cc46e01c6bc8cfceb32c7e1b42d - - * infiniband-diags/ibportstate.c: Changes for extended link speeds - -Tue Aug 16 00:37:15 2011 +0000 Hal Rosenstock -b550a953e5f8ff7637054377c2f2fde014198f9b - - * infiniband-diags/perfquery: Add support for extended link speeds - -Tue Aug 16 00:18:51 2011 +0000 Hal Rosenstock -a76827fc6b9562c43940bac49d6a9cb9d40df979 - - * infiniband-diags/saquery: Add extended link speed support for PortInfoRecord queries - -Mon Aug 15 23:54:33 2011 +0000 Hal Rosenstock -678ec2f9fc14f60038cd77e46d15040b1b159fd4 - - * infiniband-diags/smpquery: Add support for extended link speeds - -Fri Aug 5 20:44:39 2011 +0000 shefty -a817e38e5275dcf75404af19b8592c03f4822118 - - * ibnetdisc: Fix build for windows - -Fri Aug 5 16:59:08 2011 -0700 Ira Weiny -65818eabe526aee176fc7129e2b5c1b264ba0a3b - - * infiniband-diags: make library dependancies explicit - -Wed Aug 3 13:09:00 2011 -0700 Ira Weiny -6f87728b6f0e230a8706842695a8388a9083b508 - - * infiniband-diags: update check for latest dump function in libibmad - -Sat Jul 23 11:02:52 2011 +0000 Hal Rosenstock -d85a6a88f35bae0182c116298ef57cc224bb02dd - - * infiniband-diags/smpquery: Add Mellanox extended portinfo query - -Wed Aug 3 17:58:04 2011 +0000 Hal Rosenstock -c80dc802054484883a92f96fc9ede9f2a9c076df - - * infiniband-diags/libibnetdisc/ibnetdisc.c: Remove compile warning - -Thu Jul 14 17:10:52 2011 -0700 Albert L.Chu -aa80e79a008717bc40145e06a7f693ae5c592179 - - * perfquery: support many optional performance counters, including congestion control counters - -Tue Jul 26 12:18:02 2011 +0000 Hal Rosenstock -ae82553337eaab6140582ef782cbd11e32cb1401 - - * infiniband-diags/saquery.c: PortInfoRecord now has an options field - -Wed Jul 20 10:01:26 2011 -0700 Ira Weiny -0ee2db536f7e04678664ac51c0f940fa76cbac1c - - * infiniband-diags: ibqueryerrors fix null threshold_str - -Thu Jul 14 14:27:07 2011 -0700 Ira Weiny -1274813595ceaf4c6cc0726e0aa157111ce4ce19 - - * infiniband-diags: convert ib[linkinfo|queryerrors] to use PortGUIDs - -Thu Jul 14 16:05:30 2011 -0700 Ira Weiny -ac291237eec71b758401bab4b8d9ec51b6387e79 - - * infiniband-diags: libibnetdisc Allow a DR Path partial fabric query starting at a CA - -Thu Jul 14 14:25:41 2011 -0700 Ira Weiny -f3e0901c7dd69f5d5b81f80a9d1c675898569f6b - - * infiniband-diags: libibnetdisc add port interface - -Thu Jun 9 22:18:28 2011 -0700 Ira Weiny -89b6a7b026e85e6ddfa8d47dde951f7accd5fff3 - - * infiniband-diags: move core saquery functionality to ibdiag_common - -Thu Jun 2 00:13:38 2011 -0700 Ira Weiny -80628857886b0b26182fcf4e5d17f3c72a90d8b1 - - * infiniband-diags: saquery; remove "result" global - -Tue Jul 12 11:34:36 2011 -0700 Ira Weiny -c06655b88bc1b88f3aa42be4d1306b4fa42e3b47 - - * infiniband-diags: change perl install to vendorlib - -Tue Jun 28 17:50:37 2011 -0700 Ira Weiny -dee28c9a36941f6c2f8ae69f4a574984254afeb4 - - * infiniband-diags: configure.in; check for more recent function in libibmad - -Tue Jul 12 11:35:04 2011 -0700 Ira Weiny -1098eac2138a533e5fdbdfffbe4837763b78ba37 - - * infiniband-diags: Add sysconfdir to spec for config files - -Thu Jul 7 09:50:12 2011 -0700 Hal Rosenstock -c8a3e7bf94498459aad16cd298268e7767e9e9ed - - * infiniband-diags: Initial changes for extended speed support in libibmad - -Wed Jul 6 14:32:08 2011 -0700 Ira Weiny -0138f443fc02c3c650a496db851777221b37e74c - - * infiniband-diags: Remove reference to OpenSM from COPYING - -Wed Jun 1 21:49:57 2011 -0700 Ira Weiny -46b1ba489d6ed3bde6a60c95d07233b67439e4f8 - - * infiniband-diags: add package requires to spec file. - -Sun May 29 18:01:31 2011 -0700 Ira Weiny -291a922cbcf246e15f0b71ef5d467c6e8bebb6d2 - - * infiniband-diags: test for libosmcomp with a function that is used in the code - -Mon Jun 20 06:00:56 2011 -0700 Hal Rosenstock -e9d099eda47f77d456996ce2fc385423ba19cbc0 - - * infiniband-diags/ibnetdiscover.c: Fix typo in help - -Thu Jun 16 13:52:43 2011 -0700 Hal Rosenstock -25fad278d4b8a808da5fe0e2ae7042ba18e74fdc - - * infiniband-diags/ibqueryerrors.c: Fix typo in help - -Wed Jun 8 05:47:34 2011 -0700 Hal Rosenstock -22c5087c091b895507882eec85d6b57b641e637f - - * infiniband-diags/libibnetdisc/ibnetdisc_cache.c: Fix a couple of memory leaks - -Wed Jun 8 05:47:15 2011 -0700 Hal Rosenstock -2a75c3e874e0d5edaaf84085f94fc65cd7c5a5be - - * infiniband-diags/libibnetdisc/ibnetdisc.c: Fix possible overrun of path - -Wed Jun 8 05:57:55 2011 -0700 Hal Rosenstock -3364bcd41ec12c357c0510ac86a0cbb0313ca2d6 - - * infiniband-diags/ibportstate.c: Fix sizeof - -Fri May 13 22:28:55 2011 -0700 Ira Weiny -1004b7f967df8a09e82d986124d1881b94dcb370 - - * infiniband-diags: perfquery; Support PortCountersExtendedNoIETF - -Thu May 12 17:31:15 2011 -0700 Ira Weiny -5ef9bfa5d30baca408f310630de55aa1f0ecfc33 - - * infiniband-diags: perfquery; print cap_mask for information - -Fri May 27 10:52:05 2011 -0700 Hal Rosenstock -82849a8212253c7c91ec6ce3ef15655e1c29b5b1 - - * infiniband-diags/saquery.c: Fix SA_ERR_UNKNOWN define - -Wed May 25 05:30:06 2011 -0700 Hal Rosenstock -ca54411f41b9192918c971a6a58b373e11e47919 - - * infiniband-diags/configure.in: Support override for IBPATH - -Tue May 24 11:26:33 2011 -0700 Hal Rosenstock -1a2ec7c386ae0ee749ac7b66ed0337b9fe1e1f5f - - * infiniband-diags/libibnetdisc/ibnetdisc.c: Better error message - -Thu Apr 28 02:09:36 2011 -0700 Eli Dorfman -87a30707bb36164a11dd1dd24087ca6bd3a333d1 - - * infiniband-diags/vendstat: Fixed general info query - -Wed Apr 27 01:07:59 2011 -0700 Ira Weiny -1e406cb50f406a769afbbf806f984775a10dac4d - - * infiniband-diags: ibqueryerrors; add --counters option - -Tue Apr 26 22:59:15 2011 -0700 Ira Weiny -33a76020297553a5fad0f480e41f6ee9d86f12c7 - - * infiniband-diags: ibqueryerrors --data; show/clear PortCountersExtended when supported - -Tue Apr 26 22:18:27 2011 -0700 Ira Weiny -214bb92d11e93c76276db471ce88423d32c531a5 - - * infiniband-diags: ibqueryerrors; use #defines for CapabilityMask - -Mon Apr 25 12:39:12 2011 -0700 Ira Weiny -3387935ce91193fc7a3d7cdd9adea124f71a7640 - - * infiniband-diags: ibqueryerrors; add ibcheckerrors like summary - -Wed Apr 27 10:43:01 2011 -0700 Ira Weiny -cbe10407a14e57c8febe6e039ae617737f0b6e0f - - * infiniband-diags: ibqueryerrors; add error thresholds - -Thu Apr 28 07:47:16 2011 -0700 Hal Rosenstock -53ac239ede48d6a1df8ed1f048cebe2eb2dc38e4 - - * infiniband-diags/perfquery.c: Use ib_types.h defines for CapabilityMask - -Wed Apr 27 12:48:15 2011 -0700 Hal Rosenstock -42b5389f870c192627c22470298f8f97764b5979 - - * infiniband-diags/ibnetdiscover.c: Eliminate blank line when sysimgguid is 0 - -Wed Apr 27 11:17:46 2011 -0700 Hal Rosenstock -d5d44d167696eeffcb31e941ded9da76566dde6d - - * infiniband-diags/libibnetdisc/ibnetdisc.c: Handle calloc failure - -Wed Apr 27 10:08:03 2011 -0700 Ira Weiny -32c0166f2f3afe68a599b107133ea6e6c6e72edd - - * infiniband-diags: fix "dist" target and subsequent rpm building - -Mon Apr 25 19:55:22 2011 -0700 Marcus Epperson -5f9facd634ed8f95d493c78dec5c1bc12795fbee - - * infiniband-diags/ibnetdiscover: Make --ports option use remap_node_name() - -Thu Apr 21 14:47:03 2011 -0700 Ira Weiny -085432de49bcf6ebbcb927e2cac53da32cc9be94 - - * infiniband-diags: improve backwards/standalone compatibility - -Sun Apr 17 03:06:21 2011 -0700 Ira Weiny -a398a098d0c21f0993cd3b8e3cd7485d87d6dff8 - - * infiniband-diags: iblinkinfo; remove non-supported -c option from man page - -Tue Mar 29 17:48:41 2011 -0700 Ira Weiny -a8c7126ff8cafc828ddbfe3708d25861e5440056 - - * infiniband-diags: saquery, clean up error code/return types - -Wed Apr 13 09:10:34 2011 -0700 Ira Weiny -ef2c2d6732c2f4e92a30e33e1bb4911eddd65223 - - * infiniband-diags: saquery, properly free mad in get_and_dump_any_records - -Sat Apr 9 15:22:02 2011 +0000 Hal Rosenstock -6df1fdd5aeb16fe17f08b5693b79326e8d78c7d2 - - * infiniband-diags: Make sure buffers are set to zero before calling xxx_query_via - -Fri Apr 1 18:38:50 2011 +0000 Hal Rosenstock -a57e627722a5cad227baaae8de22b0af1438008d - - * infiniband-diags.spec.in: Remove duplication of ibdiscover.pl - -Thu Mar 17 17:34:52 2011 -0700 Ira Weiny -9f91f2a277ade5875af43beb9ae246b9534d8279 - - * infiniband-diags: saquery; clean up name/lid processing - -Mon Apr 26 14:27:32 2010 -0400 Hal Rosenstock -1ee5bfabda30ae61ac869c380bbfe4bce3d7de1c - - * infiniband-diags/saquery: Add GUIDInfoRecord support - -Tue Mar 22 15:11:45 2011 -0700 Jason Gunthorpe -7596207a1810dd7c5168469b0c3afd86aca8ae50 - - * Fix ibdatacounters - -Tue Mar 22 14:25:59 2011 -0700 Jason Gunthorpe -568a1175a1089ebe8ee2d9b6e57086398219ba38 - - * Fix missing $IBPATH in ibdatacounts - -Mon Feb 14 15:17:15 2011 -0800 Tamir Ronen -a6abfa00de4e45cedde3616e03de37b3a3430bf2 - - * add support for ibnetdiscover grouping for Mellanox switches - -** Version: 1.5.8-chaos1 - -Fri Feb 25 15:13:33 2011 -0800 Ira Weiny -f400454f05da011cb422b1aa3b787c22375427e5 - - * Add META for chaos build bot - -** Version: 1.5.8-7chaos - -Wed Aug 31 10:22:43 2011 -0700 Ira Weiny -f7d822cfbdbcd55063834ebf05c987bcfcc5070f - - * tag 1.5.8-7chaos - -Wed Aug 31 10:22:19 2011 -0700 Ira Weiny -cfae4357d16352d332934bb3708305c515df754a - - * Fix messed up merge - -** Version: 1.5.8-6chaos - -Wed Aug 31 10:14:13 2011 -0700 Ira Weiny -43cd1593e54361c02550184adb28a55699821eb7 - - * tag 1.5.8-6chaos - -Wed Aug 31 09:23:12 2011 -0700 Ira Weiny -1080fd7cc004d5ef186ebdb5a66b73343ae08361 - - * add to fabricconf - -** Version: 1.5.8-5chaos - -Wed Aug 31 09:27:14 2011 -0700 Ira Weiny -e05601a61149680c19e852d69b25bcefbf230167 - - * tag 1.5.8-5chaos - -Wed Aug 31 09:23:12 2011 -0700 Ira Weiny -25d3bd01def9c0f3824fda8493d243d679d7a889 - - * add to fabricconf - -Tue Aug 23 21:27:15 2011 -0700 Ira Weiny -3672e50c43ee8b939b0aeae7f8d5fcd225d89e91 - - * infiniband-diags: ibqueryerrors add "check" capabilities against ibfabricconf file - -Wed Jul 13 17:08:01 2011 -0700 Ira Weiny -8173029113fd57d85c352e7e5289fb385b052d4a - - * infiniband-diags: iblinkinfo "check" capabilities against ibfabricconf file - -Wed Apr 27 10:43:34 2011 -0700 Ira Weiny -ad73af596485064a51f79be48bfcb04008610de2 - - * infiniband-diags: add libibfabricconf - -** Version: 1.5.8-4chaos - -Wed Aug 31 09:13:25 2011 -0700 Ira Weiny -b5111b4a70425817272511b0786d8551283a3a44 - - * tag 1.5.8-4chaos - -Tue Aug 30 22:37:31 2011 -0700 Ira Weiny -3e14ea66e7ae3ba1c4156a123e9263d6747e1108 - - * add to fabricconf - -** Version: 1.5.8-3chaos - -Tue Aug 23 21:42:56 2011 -0700 Ira Weiny -d414a4afdd07de048b8c5e7d48bd8a27e4d116c8 - - * Messed up the merge; new tag 3chaos - -** Version: 1.5.8-2chaos - -Tue Aug 23 21:35:31 2011 -0700 Ira Weiny -5414e2f99da51ffe517d7001beef8db7804f426b - - * tag 1.5.8-2chaos - -Tue Aug 23 21:27:15 2011 -0700 Ira Weiny -b08260639e2b350ae26cd79af912d9ccf382a2ff - - * infiniband-diags: ibqueryerrors add "check" capabilities against ibfabricconf file - -Wed Jul 13 17:08:01 2011 -0700 Ira Weiny -4335917bcb4b31da25a3548461e5d2899203b187 - - * infiniband-diags: iblinkinfo "check" capabilities against ibfabricconf file - -Wed Apr 27 10:43:34 2011 -0700 Ira Weiny -1093495b10a269d63bc5cc8e2ddd09ecde42f2fe - - * infiniband-diags: add libibfabricconf - -Wed Jul 13 17:08:01 2011 -0700 Ira Weiny -49d047e8735adfba8c78ba4e0342dc96ffbb1bc8 - - * infiniband-diags: iblinkinfo "check" capabilities against ibfabricconf file - -Fri Feb 25 15:13:33 2011 -0800 Ira Weiny -131752b844249aefeb5f66427d3a501169ed39e6 - - * Add META for chaos build bot - -** Version: 1.5.13 - -Mon Jan 16 11:03:45 2012 -0800 Ira Weiny -49c2002a18f108adec98c87d8dda39e9f5d71958 - - * bug fix release 1.5.13 - -Thu Sep 29 11:02:21 2011 -0700 Albert Chu -4f3199639402b274df36a182a6beaf65607f5a9e - - * support --switches-only and --cas-only options in iblinkinfo - -Wed Jan 11 23:39:45 2012 -0800 Ira Weiny -9544ea6de80040daaf1f79e7c7aec91c0bc097a6 - - * ibswitches: fix output when switch names have "base" or "enhanced" in them - -Tue Jan 10 12:22:58 2012 -0800 Hal Rosenstock -783cb78217ac55cc3994f00cbb51afe457222674 - - * infiniband-diags/configure.in: Fix typo - -Fri Dec 2 11:52:27 2011 -0800 Ira Weiny -6f7ebf037c054b30e92bf925d9f5ca02081b829a - - * infiniband-diags: add config file option for Mellanox ExtPortInfo queries - -Thu Oct 13 15:35:59 2011 -0700 Ira Weiny -18c12c54d5c0f0eef7b22657578efd62d58a6a95 - - * infiniband-diags: add a general config file - -Fri Dec 2 11:50:31 2011 -0800 Ira Weiny -5d597dbb902f28f300d719cfb9280dd3641b1d01 - - * infiniband-diags: move is_mlnx_ext_port_info_supported to common code - -Fri Dec 2 13:38:17 2011 -0800 Ira Weiny -973ac38e451659cca0e4eb2603996d32fcd7f803 - - * infiniband-diags: fix printing of extended speeds when port is down - -Thu Dec 1 11:33:09 2011 -0800 Hal Rosenstock -10984ee69f9032628c99a9b812cf014545eca82a - - * infiniband-diags/perfquery.c: Fix reset for PortExtendedSpeedsCounters - -Thu Dec 1 08:21:12 2011 -0800 Hal Rosenstock -ae736e8a5f2b012be2fd89508af10517e621aedb - - * infiniband-diags/perfquery.c: Fix display of PortExtendedSpeedsCounters - -** Version: 1.5.12 - -Mon Nov 7 08:57:08 2011 -0800 Ira Weiny -dc864aedf1ea2d8954cd59d43bdeea657949c572 - - * big fix release - -Mon Nov 7 08:47:43 2011 -0800 Ira Weiny -1dcda5868b9ef1af1cea49ee1d385efd0782c7f6 - - * infiniband-diags: check_lft_balance.pl add -C/-P options - -Mon Nov 7 07:42:19 2011 -0800 Ira Weiny -8edda35e923dac056c12e2420c24b0e13c47c707 - - * check_lft_balance.pl: Add extra check when using -e heuristic flag in check_lft_balance.pl - -Wed Oct 12 17:17:08 2011 -0700 Albert L.Chu -3abf9438be6793a0b345313714ba615868b725ca - - * Add -e heuristic flag to check_lft_balance.pl to detect common scenarios where unbalanced routing will occur. - -Wed Oct 12 15:43:01 2011 -0700 Albert L.Chu -da2b17cf9b2bf99f3054d7fad7a495adeb1d2777 - - * Update check_lft_balance.pl to work with newer infiniband-diag tools - -Wed Oct 26 14:24:46 2011 -0700 Ira Weiny -f13d08c94391cc7728ae1ce17709e18132c3ad9a - - * infiniband-diags: clean up build - -** Version: 1.5.11 - -Tue Nov 1 20:43:13 2011 -0700 Ira Weiny -309830fce7009636943f6d8e6f7bc95b64bb6424 - - * update bug fix version - -Mon Oct 31 22:48:12 2011 -0700 Ira Weiny -42734f2d75225e8f1f6d40f1e6adba5c4bed69b7 - - * infiniband-diags: ibqueryerrors: don't exit on reset error - -Wed Oct 26 11:15:03 2011 -0700 Ira Weiny -555d32155271b8ca5a420832c2a2502753b99fd1 - - * infiniband-diags: iblinkinfo flag ports which were not scanned - -Wed Oct 12 16:55:10 2011 -0700 Ira Weiny -c811954b7e729d82153700dd3552f304adf22bf5 - - * infiniband-diags: saquery: use ib-node-name-map file - -** Version: 1.5.10 - -Thu Oct 13 15:53:13 2011 -0700 Ira Weiny -fe2cdbb8f613432363739338426f1219276c9d41 - - * bug fix release - -Thu Oct 13 15:28:50 2011 -0700 Ira Weiny -a1706839ef0dfdec915acc03dad2fcdb7edac61d - - * infiniband-diags: iblinkinfo: fix error message - -Wed Oct 12 17:28:57 2011 -0700 Ira Weiny -a3ccb9f7550f9a590ea7a8e0eece91ac0eb4dc6b - - * infiniband-diags: fix installation of error_thresholds file - -Tue Sep 27 18:15:12 2011 -0700 Marcus R Epperson -77341960a239d32a81babab39fd5c3a00567a2c5 - - * infiniband-diags/src/ibqueryerrors.c: don't increment bad_ports for port ALL - -Tue Sep 27 18:15:11 2011 -0700 Marcus R Epperson -c467942593871891b482e9cc5c0ab23271834b27 - - * infiniband-diags/src/ibqueryerrors.c: fix segv due to CA port 0 reference - -Sun Sep 11 01:10:32 2011 -0700 Alex Netes -1222d7346f7b43e0d0cd000d2a85eb5f9b62cdfc - - * infiniband-diags/scripts/ibcheckport.in: ignore lid/sm lid checks on non zero port switches - -Thu Sep 22 13:37:23 2011 -0700 Hefty, Sean -3d873ba5a7495eaa8afa86195ac2eff1481da553 - - * RE: [PATCH v2] ib-diags: Add cast to fix build on windows - -Tue Aug 16 13:40:32 2011 -0700 Ira Weiny -5ba0caf35bf96c17b0f795e787292afc82116b8b - - * Update AUTHORS and make README release notes. - -Thu Sep 1 01:47:39 2011 +0000 Hal Rosenstock -d7f9ad0651276578b2c2ce22dd32496a419f484e - - * infiniband-diags: Fix cap_mask extended link speed supported endian checks - -Wed Aug 31 15:26:42 2011 +0000 Hal Rosenstock -1e62d09ae5d7e4d43089deea07ceb94f8dfd49a0 - - * infiniband-diags/ibqueryerrors.c: Add support for FDR10 - -Wed Aug 31 17:08:50 2011 -0700 Ira Weiny -95a84b7cc30aae53e4212e6138b95b515287b151 - - * infiniband-diags/iblinkinfo.c: Add support for FDR10 - -Wed Aug 31 17:07:29 2011 -0700 Ira Weiny -ce6c56fa2165078e9f653428e26368f5393dd081 - - * infiniband-diags: Add support for FDR10 to ibnetdiscover - -Wed Aug 31 17:06:43 2011 -0700 Ira Weiny -c8542da6a0c00ab463f8b7a066219baa1afcb43c - - * infiniband-diags: Add FDR10 support to libibnetdisc - -Wed Aug 31 15:26:53 2011 +0000 Hal Rosenstock -1344cb3feacafc462440dabfa5997c5205486d83 - - * infiniband-diags/ibstat.c: Add support for FDR10 - -Mon Aug 29 21:18:31 2011 +0000 Hal Rosenstock -3133743b5ea6a7d81b7d70e8a83ce4eb28fec8e6 - - * infiniband-diags/ibnetdiscover.c: Fix cap_mask endian for extended link speeds - -Wed Aug 31 15:26:28 2011 +0000 Hal Rosenstock -0020ee448d908011f5f68f1e1d297f1abe58b376 - - * infiniband-diags/ibportstate: Add support for FDR10 - -Wed Aug 31 10:38:08 2011 -0700 Albert Chu -2100e88e994709789207e010f22a6f7a06afeaa7 - - * fix manpage typos - -Tue Aug 23 16:12:39 2011 -0700 Ira Weiny -510c0e0d164ca93af5c263074dea04065fee99fa - - * infiniband-diags: ibqueryerrors Clean up exit codes - -Wed Jul 6 18:50:27 2011 -0700 Ira Weiny -0c220a760d9e42581d326899b8bbbafa16799c06 - - * infiniband-diags: add human readable output for data counters - -Thu Aug 18 14:47:26 2011 -0700 Ira Weiny -8bc3e398a656a175a29daa61d461e5fa0ad76c56 - - * infiniband-diags: move get_msg to common code - -Fri Aug 19 16:53:42 2011 +0000 Hal Rosenstock -6d819a447ce87825c5c6c84723793c7ab9971f3f - - * infiniband-diags/man/ibportstate.8: Update for fdr - -Tue Aug 16 13:44:44 2011 +0000 Hal Rosenstock -ae7695abf3916f3d434dd62c5bacfc5250c36c32 - - * infiniband-diags/ibnetdiscover.c: Changes for extended link speeds - -Tue Aug 16 13:44:37 2011 +0000 Hal Rosenstock -2e77e728c219bc55d88be10015b641158e1e61b2 - - * infiniband-diags/libibnetdisc/ibnetdisc.c: Changes for extended link speeds - -Tue Aug 16 11:13:59 2011 +0000 Hal Rosenstock -fa92836fcbe1e4255ff9d6bb8cb3a842fa43e38f - - * infiniband-diags/ibqueryerrors.c: Changes for extended link speeds - -Tue Aug 16 10:28:39 2011 +0000 Hal Rosenstock -d7bb3c119f3a20410937c4a83bb01b8afaf30298 - - * infiniband-diags/iblinkinfo.c: Changes for extended link speeds - -Tue Aug 16 09:14:39 2011 +0000 Hal Rosenstock -6aab8ab5db478cc46e01c6bc8cfceb32c7e1b42d - - * infiniband-diags/ibportstate.c: Changes for extended link speeds - -Tue Aug 16 00:37:15 2011 +0000 Hal Rosenstock -b550a953e5f8ff7637054377c2f2fde014198f9b - - * infiniband-diags/perfquery: Add support for extended link speeds - -Tue Aug 16 00:18:51 2011 +0000 Hal Rosenstock -a76827fc6b9562c43940bac49d6a9cb9d40df979 - - * infiniband-diags/saquery: Add extended link speed support for PortInfoRecord queries - -Mon Aug 15 23:54:33 2011 +0000 Hal Rosenstock -678ec2f9fc14f60038cd77e46d15040b1b159fd4 - - * infiniband-diags/smpquery: Add support for extended link speeds - -Fri Aug 5 20:44:39 2011 +0000 shefty -a817e38e5275dcf75404af19b8592c03f4822118 - - * ibnetdisc: Fix build for windows - -Fri Aug 5 16:59:08 2011 -0700 Ira Weiny -65818eabe526aee176fc7129e2b5c1b264ba0a3b - - * infiniband-diags: make library dependancies explicit - -Wed Aug 3 13:09:00 2011 -0700 Ira Weiny -6f87728b6f0e230a8706842695a8388a9083b508 - - * infiniband-diags: update check for latest dump function in libibmad - -Sat Jul 23 11:02:52 2011 +0000 Hal Rosenstock -d85a6a88f35bae0182c116298ef57cc224bb02dd - - * infiniband-diags/smpquery: Add Mellanox extended portinfo query - -Wed Aug 3 17:58:04 2011 +0000 Hal Rosenstock -c80dc802054484883a92f96fc9ede9f2a9c076df - - * infiniband-diags/libibnetdisc/ibnetdisc.c: Remove compile warning - -Thu Jul 14 17:10:52 2011 -0700 Albert L.Chu -aa80e79a008717bc40145e06a7f693ae5c592179 - - * perfquery: support many optional performance counters, including congestion control counters - -Tue Jul 26 12:18:02 2011 +0000 Hal Rosenstock -ae82553337eaab6140582ef782cbd11e32cb1401 - - * infiniband-diags/saquery.c: PortInfoRecord now has an options field - -Wed Jul 20 10:01:26 2011 -0700 Ira Weiny -0ee2db536f7e04678664ac51c0f940fa76cbac1c - - * infiniband-diags: ibqueryerrors fix null threshold_str - -Thu Jul 14 14:27:07 2011 -0700 Ira Weiny -1274813595ceaf4c6cc0726e0aa157111ce4ce19 - - * infiniband-diags: convert ib[linkinfo|queryerrors] to use PortGUIDs - -Thu Jul 14 16:05:30 2011 -0700 Ira Weiny -ac291237eec71b758401bab4b8d9ec51b6387e79 - - * infiniband-diags: libibnetdisc Allow a DR Path partial fabric query starting at a CA - -Thu Jul 14 14:25:41 2011 -0700 Ira Weiny -f3e0901c7dd69f5d5b81f80a9d1c675898569f6b - - * infiniband-diags: libibnetdisc add port interface - -Thu Jun 9 22:18:28 2011 -0700 Ira Weiny -89b6a7b026e85e6ddfa8d47dde951f7accd5fff3 - - * infiniband-diags: move core saquery functionality to ibdiag_common - -Thu Jun 2 00:13:38 2011 -0700 Ira Weiny -80628857886b0b26182fcf4e5d17f3c72a90d8b1 - - * infiniband-diags: saquery; remove "result" global - -Tue Jul 12 11:34:36 2011 -0700 Ira Weiny -c06655b88bc1b88f3aa42be4d1306b4fa42e3b47 - - * infiniband-diags: change perl install to vendorlib - -Tue Jun 28 17:50:37 2011 -0700 Ira Weiny -dee28c9a36941f6c2f8ae69f4a574984254afeb4 - - * infiniband-diags: configure.in; check for more recent function in libibmad - -Tue Jul 12 11:35:04 2011 -0700 Ira Weiny -1098eac2138a533e5fdbdfffbe4837763b78ba37 - - * infiniband-diags: Add sysconfdir to spec for config files - -Thu Jul 7 09:50:12 2011 -0700 Hal Rosenstock -c8a3e7bf94498459aad16cd298268e7767e9e9ed - - * infiniband-diags: Initial changes for extended speed support in libibmad - -Wed Jul 6 14:32:08 2011 -0700 Ira Weiny -0138f443fc02c3c650a496db851777221b37e74c - - * infiniband-diags: Remove reference to OpenSM from COPYING - -Wed Jun 1 21:49:57 2011 -0700 Ira Weiny -46b1ba489d6ed3bde6a60c95d07233b67439e4f8 - - * infiniband-diags: add package requires to spec file. - -Sun May 29 18:01:31 2011 -0700 Ira Weiny -291a922cbcf246e15f0b71ef5d467c6e8bebb6d2 - - * infiniband-diags: test for libosmcomp with a function that is used in the code - -Mon Jun 20 06:00:56 2011 -0700 Hal Rosenstock -e9d099eda47f77d456996ce2fc385423ba19cbc0 - - * infiniband-diags/ibnetdiscover.c: Fix typo in help - -Thu Jun 16 13:52:43 2011 -0700 Hal Rosenstock -25fad278d4b8a808da5fe0e2ae7042ba18e74fdc - - * infiniband-diags/ibqueryerrors.c: Fix typo in help - -Wed Jun 8 05:47:34 2011 -0700 Hal Rosenstock -22c5087c091b895507882eec85d6b57b641e637f - - * infiniband-diags/libibnetdisc/ibnetdisc_cache.c: Fix a couple of memory leaks - -Wed Jun 8 05:47:15 2011 -0700 Hal Rosenstock -2a75c3e874e0d5edaaf84085f94fc65cd7c5a5be - - * infiniband-diags/libibnetdisc/ibnetdisc.c: Fix possible overrun of path - -Wed Jun 8 05:57:55 2011 -0700 Hal Rosenstock -3364bcd41ec12c357c0510ac86a0cbb0313ca2d6 - - * infiniband-diags/ibportstate.c: Fix sizeof - -Fri May 13 22:28:55 2011 -0700 Ira Weiny -1004b7f967df8a09e82d986124d1881b94dcb370 - - * infiniband-diags: perfquery; Support PortCountersExtendedNoIETF - -Thu May 12 17:31:15 2011 -0700 Ira Weiny -5ef9bfa5d30baca408f310630de55aa1f0ecfc33 - - * infiniband-diags: perfquery; print cap_mask for information - -Fri May 27 10:52:05 2011 -0700 Hal Rosenstock -82849a8212253c7c91ec6ce3ef15655e1c29b5b1 - - * infiniband-diags/saquery.c: Fix SA_ERR_UNKNOWN define - -Wed May 25 05:30:06 2011 -0700 Hal Rosenstock -ca54411f41b9192918c971a6a58b373e11e47919 - - * infiniband-diags/configure.in: Support override for IBPATH - -Tue May 24 11:26:33 2011 -0700 Hal Rosenstock -1a2ec7c386ae0ee749ac7b66ed0337b9fe1e1f5f - - * infiniband-diags/libibnetdisc/ibnetdisc.c: Better error message - -Thu Apr 28 02:09:36 2011 -0700 Eli Dorfman -87a30707bb36164a11dd1dd24087ca6bd3a333d1 - - * infiniband-diags/vendstat: Fixed general info query - -Wed Apr 27 01:07:59 2011 -0700 Ira Weiny -1e406cb50f406a769afbbf806f984775a10dac4d - - * infiniband-diags: ibqueryerrors; add --counters option - -Tue Apr 26 22:59:15 2011 -0700 Ira Weiny -33a76020297553a5fad0f480e41f6ee9d86f12c7 - - * infiniband-diags: ibqueryerrors --data; show/clear PortCountersExtended when supported - -Tue Apr 26 22:18:27 2011 -0700 Ira Weiny -214bb92d11e93c76276db471ce88423d32c531a5 - - * infiniband-diags: ibqueryerrors; use #defines for CapabilityMask - -Mon Apr 25 12:39:12 2011 -0700 Ira Weiny -3387935ce91193fc7a3d7cdd9adea124f71a7640 - - * infiniband-diags: ibqueryerrors; add ibcheckerrors like summary - -Wed Apr 27 10:43:01 2011 -0700 Ira Weiny -cbe10407a14e57c8febe6e039ae617737f0b6e0f - - * infiniband-diags: ibqueryerrors; add error thresholds - -Thu Apr 28 07:47:16 2011 -0700 Hal Rosenstock -53ac239ede48d6a1df8ed1f048cebe2eb2dc38e4 - - * infiniband-diags/perfquery.c: Use ib_types.h defines for CapabilityMask - -Wed Apr 27 12:48:15 2011 -0700 Hal Rosenstock -42b5389f870c192627c22470298f8f97764b5979 - - * infiniband-diags/ibnetdiscover.c: Eliminate blank line when sysimgguid is 0 - -Wed Apr 27 11:17:46 2011 -0700 Hal Rosenstock -d5d44d167696eeffcb31e941ded9da76566dde6d - - * infiniband-diags/libibnetdisc/ibnetdisc.c: Handle calloc failure - -Wed Apr 27 10:08:03 2011 -0700 Ira Weiny -32c0166f2f3afe68a599b107133ea6e6c6e72edd - - * infiniband-diags: fix "dist" target and subsequent rpm building - -Mon Apr 25 19:55:22 2011 -0700 Marcus Epperson -5f9facd634ed8f95d493c78dec5c1bc12795fbee - - * infiniband-diags/ibnetdiscover: Make --ports option use remap_node_name() - -Thu Apr 21 14:47:03 2011 -0700 Ira Weiny -085432de49bcf6ebbcb927e2cac53da32cc9be94 - - * infiniband-diags: improve backwards/standalone compatibility - -Sun Apr 17 03:06:21 2011 -0700 Ira Weiny -a398a098d0c21f0993cd3b8e3cd7485d87d6dff8 - - * infiniband-diags: iblinkinfo; remove non-supported -c option from man page - -Tue Mar 29 17:48:41 2011 -0700 Ira Weiny -a8c7126ff8cafc828ddbfe3708d25861e5440056 - - * infiniband-diags: saquery, clean up error code/return types - -Wed Apr 13 09:10:34 2011 -0700 Ira Weiny -ef2c2d6732c2f4e92a30e33e1bb4911eddd65223 - - * infiniband-diags: saquery, properly free mad in get_and_dump_any_records - -Sat Apr 9 15:22:02 2011 +0000 Hal Rosenstock -6df1fdd5aeb16fe17f08b5693b79326e8d78c7d2 - - * infiniband-diags: Make sure buffers are set to zero before calling xxx_query_via - -Fri Apr 1 18:38:50 2011 +0000 Hal Rosenstock -a57e627722a5cad227baaae8de22b0af1438008d - - * infiniband-diags.spec.in: Remove duplication of ibdiscover.pl - -Thu Mar 17 17:34:52 2011 -0700 Ira Weiny -9f91f2a277ade5875af43beb9ae246b9534d8279 - - * infiniband-diags: saquery; clean up name/lid processing - -Mon Apr 26 14:27:32 2010 -0400 Hal Rosenstock -1ee5bfabda30ae61ac869c380bbfe4bce3d7de1c - - * infiniband-diags/saquery: Add GUIDInfoRecord support - -Tue Mar 22 15:11:45 2011 -0700 Jason Gunthorpe -7596207a1810dd7c5168469b0c3afd86aca8ae50 - - * Fix ibdatacounters - -Tue Mar 22 14:25:59 2011 -0700 Jason Gunthorpe -568a1175a1089ebe8ee2d9b6e57086398219ba38 - - * Fix missing $IBPATH in ibdatacounts - -Mon Feb 14 15:17:15 2011 -0800 Tamir Ronen -a6abfa00de4e45cedde3616e03de37b3a3430bf2 - - * add support for ibnetdiscover grouping for Mellanox switches - -Wed Apr 21 17:04:02 2010 -0700 Albert Chu -450de0f8196a855bfa1f6da7310dc399088a38a5 - - * support --filterdownports in iblinkinfo - -Tue Apr 20 10:13:05 2010 -0700 Albert Chu -c9adf42231d0bb1fc09d361c828bbb54b3f3b2f2 - - * Add lid and node description diff options for --diffcheck in iblinkinfo - -Tue Apr 20 09:53:53 2010 -0700 Albert Chu -20af5c37bbdb21482f2f35a0ad087e143a207c4b - - * support --diffcheck in iblinkinfo - -Mon Apr 19 10:36:54 2010 -0700 Albert Chu -1950038c3f71bb1eaecb77516f2022c13189fdcc - - * add --diff support to iblinkinfo - -Fri Jul 30 14:26:39 2010 -0700 Ira Weiny -d58cb634194c80b91bac8caf6ab34d7a1b7408fc - - * ibnetdisc.c: Fix partial scan of the fabric. - -Mon Feb 14 10:36:13 2011 -0800 Jason Gunthorpe -d60d71eeb9890e932472c415164b1ff400d73b12 - - * The shell scripts use bashism, so use bash directly. - -Mon Feb 14 11:56:21 2011 +0200 Alex Netes -ff57b27e8ec02f4f92e50cbda5caa4b8e6035823 - - * infiniband-diags: package versions update - -Mon Feb 14 11:53:59 2011 +0200 Alex Netes -6edf9877048fd050361fbccdfce69fc2c73b1b06 - - * infiniband-diags: update shared library versions - -Thu Feb 3 18:25:19 2011 +0200 Alex Netes -b1e4531e2d10a8404cc7873c6f899494cef236c4 - - * Makefile: ChangeLog and version generation script path fix - -Wed Dec 22 11:47:07 2010 -0800 Ira Weiny -b260cb4f276b756ded39455969028bcdcd49f60e - - * Further timeout paramater verification (Was: [PATCH] infiniband-diags: Verify timeout value specified to diagnostics) - -Wed Dec 15 11:47:09 2010 -0800 Ira Weiny -298998c77dad10630608374ed1915b506008e79b - - * infiniband-diags: Verify timeout value specified to diagnostics - -Tue Aug 3 10:40:56 2010 -0700 Ira Weiny -8ab2e41e866c27f2ce605fa0bc16b52cd96babf9 - - * libibmad/fields.c: Change all PortCounter names to match the Specification - -Wed Oct 27 08:47:07 2010 -0400 Hal Rosenstock -07b4b1afa21a6b4157a69e82b95ad1bc709326c8 - - * infiniband-diags/iblinkinfo.c: Limit some queries to switches - -Wed Oct 27 09:06:36 2010 -0400 Hal Rosenstock -0d7e988df53e6ebf1b86d24cebab308527c811ac - - * infiniband-diags/saquery.c: In dump_one_mcmember_record, fix flow label endian - -Tue Sep 14 11:10:16 2010 -0400 Hal Rosenstock -3d00c3eb9ae7019dbb8d9e4c10fdc54af9855dd2 - - * infiniband-diags/ibtracert: Eliminate direct route (-D) option - -Mon Oct 4 12:16:43 2010 +0200 Yevgeny Kliteynik -c58dcaa92c3cce03f03a5d4e6fc6e5197ed9674d - - * ibstat.c: fix core dump if wrong port phys state is reported - -Thu Oct 7 16:33:01 2010 -0600 Jason Gunthorpe -f5178760dcdaeecaad9f98a28ed2d32c74908704 - - * Fix autotools to include the necessary M4 files - -Sun Sep 5 11:30:37 2010 +0300 Eli Dorfman (Voltaire) -782fd92025d3c97d8822e95be239edd7553c7b80 - - * inifiband-diags: Support Voltaire switch ISR4200 - -Sun Sep 5 11:28:57 2010 +0300 Eli Dorfman (Voltaire) -5578a9c0b4b8d614880840305badfc81ef5a33d9 - - * infiniband-diags: Do not exit when unexpected node found - -Sat Sep 4 14:15:33 2010 +0300 Sasha Khapyorsky -843d2bb428f5e9fda3628252abcedd69300ee9c0 - - * management: packages versions update - -Sat Sep 4 14:13:06 2010 +0300 Sasha Khapyorsky -3eabf4227a7267c52e7be496ffdfb857018c6c83 - - * management: update shared library versions - -Wed Aug 25 14:08:02 2010 -0400 Hal Rosenstock -c02bdb17ef04162968e88379b5ab86f10935ba9b - - * infiniband-diags/ibnetdiscover: Fix handling of CA ports in recv_port_info - -Thu Aug 26 16:14:16 2010 +0300 Doron Shoham -843a0072a86afe85e053dceb402c2d62bb38e002 - - * ibnetdiscover: add '-f' flag to show full information (ports' speed and width). - -Sun Aug 1 20:26:11 2010 +0300 Sasha Khapyorsky -a387f265398c671e9067e055bbebaa634fb4aa49 - - * infiniband-diags/ibstat: convert to PRIx64 macros GUID printing - -Mon Jul 26 11:40:30 2010 -0700 Hefty, Sean -732bac4c01d9e6f2da203ad1a2df241cc5d70cab - - * libibnetdisc: fix cast in unmarshall16 - -Wed Jun 16 07:05:42 2010 -0400 Hal Rosenstock -30309edcc97a452ca38cb3f3e8ae278c2a811618 - - * infiniband-diags/perfquery.8: Add some missing counters to description - -Thu May 6 13:49:55 2010 -0700 Ira Weiny -074ef7c2578b8837428ea12bffb7803336a113eb - - * ibqueryerrors.c: Optimize by querying AllPortSelect first - -Thu Jun 10 18:03:03 2010 +0300 Eli Dorfman (Voltaire) -35a3ce2a8d9374e0f10f56faf8c4d86e30e38299 - - * fix MFT record dump - -Wed Apr 21 11:19:44 2010 -0700 Al Chu -9151e22daf3f7c0ff478bc0af77d1281efa52e75 - - * support diffing lids and nodedesc on remoteports in ibnetdiscover - -Tue Apr 20 15:30:40 2010 -0700 Al Chu -d84c9d4ea679a13e64952cf4f45862b6a90c5074 - - * support diffing nodedesc on remoteports in ibnetdiscover - -Mon Apr 19 11:43:34 2010 -0700 Al Chu -5763f49eb3d5ba3ba33a05b34790c28d1d7ff727 - - * add ibcacheedit tool - -Mon Apr 19 11:43:15 2010 -0700 Al Chu -08512b831eaf13f4c8e8b2d4a00b660ade8efa32 - - * support libibnetdisc caching no-overwrite flag - -Mon Apr 19 11:43:07 2010 -0700 Al Chu -38181cf26e31a93b48e91576cc360e3d3de85e98 - - * make libibnetdisc default behavior to overwrite a cache - -Wed Jun 2 13:15:31 2010 -0700 Hefty, Sean -e6ae86f02337167843d9e3b1011e27cb26ab8fd0 - - * ib/mgmt: fix build under windows stack - -Wed Jun 2 09:05:19 2010 -0400 Hal Rosenstock -e8f783c5a65d1f3452b84f3a321c448c226d2bf7 - - * infiniband-diags/ibnetdiscover.c: Cosmetic changes - -Wed Jun 2 09:04:15 2010 -0400 Hal Rosenstock -cbcde100c7eb9387aad69811f969240471b99668 - - * infiniband-diags/libibnetdisc/chassis.c: In group_nodes, set fabric->chassis - -Wed Jun 2 09:02:54 2010 -0400 Hal Rosenstock -d6ddf46c171b2f8e38a910e75b2ff503d149450b - - * infiniband-diags/libibnetdisc/chassis.c: In group_nodes, pass on all nodes - -Tue May 25 13:32:18 2010 -0700 Ira Weiny -c09b93cfe52854ff8e8f2aab5177ef2c0b34e93f - - * libibnetdisc: move ibmad_port out of smp_engine - -Mon May 24 15:45:08 2010 -0400 Hal Rosenstock -37b6c70f7f607dd41170fee967859400ce16d553 - - * infiniband-diags/libibnetdisc/ibnetdisc.c: Fix compile warns on 32 bit archs - -Mon May 24 21:53:15 2010 +0300 Sasha Khapyorsky -076189da8896da13a8f7eb9786768120ce1ed017 - - * infiniband-diags/vendstat: allow multiple config space records - -Mon May 24 21:53:15 2010 +0300 Sasha Khapyorsky -dc7b66e6fb3353fcb4ecf4e98453f11163282d4b - - * infiniband-diags/vendstat: add config space access options - -Mon May 24 20:37:29 2010 +0300 Sasha Khapyorsky -1db6d9db939d76888568624d530293936c05a25f - - * infiniband-diags/vendstat: code simplifications - -Sat May 22 18:00:16 2010 +0300 Sasha Khapyorsky -210775cb6cd383a19a5dadb42a9da97d83aaf118 - - * management: packages versions update - -Sat May 22 17:52:50 2010 +0300 Sasha Khapyorsky -9c01c858ed5e6f0d1602315633206964e797ea07 - - * management: update shared library versions - -Sun Apr 25 14:04:07 2010 +0300 Eli Dorfman (Voltaire) -92b4f4be3a69f95de4157c46132f1f0caeca929e - - * opensm: Always set enabled speed and width - -Tue May 11 15:36:08 2010 -0700 Ira Weiny -ae0675b483b7e8834b5163c15eead36162709b66 - - * ibnetdisc: Separate calls to umad and mad layer to avoid race condition on response MAD's - -Tue Apr 27 14:35:29 2010 +0200 sebastien dugue -21ec4a345a6aff6993989b0e86620e62e1f4caf5 - - * libibnetdisc: Add grouping for Voltaire's ISR4700 switch - -Thu May 6 13:34:46 2010 -0500 Mike Heinz -3eb3622ba70363c9975f3bb5a608e437508cbcd2 - - * RE: [PATCH] management: adding mad_dump_fields to libibmad - -Thu May 6 13:30:02 2010 -0500 Mike Heinz -0176eec5b554dc9bb7a121482afe51e43b410de8 - - * RE: [PATCH] management: adding mad_dump_fields to libibmad - -Mon Apr 19 18:08:19 2010 +0300 Sasha Khapyorsky -1a4b90a74be9ae47d51485e2ed29a18b1a1e26eb - - * libibnetdisc: fix indentations - -Wed Apr 14 15:48:01 2010 -0700 Al Chu -116e64efe8dd4e91a264778996f401cfb57a3497 - - * check for duplicate port guids in libibnetdisc cache - -Wed Apr 14 15:47:49 2010 -0700 Al Chu -a4a7f4707734bf72ff5177397da661f0583ea158 - - * fix libibnetdisc cache error path memleak - -Wed Apr 14 10:48:03 2010 -0700 Al Chu -e8cd82856a6cca259f0592bb4a6233eb0146d053 - - * fix libibnetdisc portguid hashing corner case - -Fri Apr 16 19:31:43 2010 +0300 Sasha Khapyorsky -97161a8523e5e94da9f6bfc3fb555daf35fb3c7c - - * libibnetdisc: remove not needed num_smps_outstanding counter - -Fri Apr 16 15:14:00 2010 +0300 Sasha Khapyorsky -eea29a4b4d0fdd75c75595ffa2317fffc872dbf6 - - * libibnetdisc: remove not needed process_smp_queue() call - -Fri Apr 16 19:31:43 2010 +0300 Sasha Khapyorsky -2c89899269aff81dce048ae9a6a7a5d17c1aad10 - - * libibnetdiscover: more outstanding MADs counting fix - -Fri Apr 16 15:10:30 2010 +0300 Sasha Khapyorsky -a9989e08fbb9e69dc7d69ad7c96d289b01d22e16 - - * libibnetdisc: fix memory leak in case of send_smps() failure - -Fri Apr 9 04:48:15 2010 +0300 Sasha Khapyorsky -c22a907d93a8eadde12f5af75a7c571454880986 - - * libibnetdisc: config struct for ibnd_discover_fabric() - -Tue Apr 13 20:41:59 2010 +0300 Sasha Khapyorsky -60514dcb474325d3b8a99007efbe3ee522ede710 - - * libibnetdisc: don't query CA ports not connected to a fabric - -Tue Apr 13 19:54:45 2010 +0300 Sasha Khapyorsky -0914ffdf6538c271d5de12a6db945796e03851c6 - - * libibnetdisc: don't try to cross discovery over CA - -Tue Apr 13 19:30:23 2010 +0300 Sasha Khapyorsky -001dc72c15ee5329bba9966018c4ab84d436ce9b - - * libibnetdisc: fix outstanding SMPs countung - -Tue Apr 13 17:54:38 2010 +0300 Sasha Khapyorsky -7ff1e266c3f48c8f0bdf59b9e606ec538726ba3a - - * libibnetdisc: add \n at end of error messages - -Tue Apr 13 15:48:30 2010 +0300 Sasha Khapyorsky -a17e36656a53ca9363ef6b6b3ffb58a434c0f70c - - * infiniband-diags/ibnetdiscover: cleanups - -Wed Apr 7 10:06:43 2010 -0700 Al Chu -1b60fb0afd6383e94d0d626dbd10a12136f6b635 - - * support lid and nodedesc diffchecks in ibnetdiscover - -Wed Apr 7 10:06:32 2010 -0700 Al Chu -f6d4848d3c7462c4140a4050e61b96bf9efb6924 - - * support --diffcheck in ibnetdiscover - -Wed Apr 7 10:05:38 2010 -0700 Al Chu -90df93c4ec0e6bec20bef88de4c8bce3e0284362 - - * support --diff in ibnetdiscover - -Fri Apr 9 10:24:50 2010 -0700 Al Chu -ee9cd9d43ef94454d93c77988efb0c3f0ec45d9e - - * fix libibnetdisc corner case when user tries to re-cache a loaded cache - -Sat Apr 10 02:43:24 2010 +0300 Sasha Khapyorsky -937eaaccc0f3a32a861333d5018e3fb8e35feb68 - - * libibnetdisc: no backward NodeInfo queries - -Sat Apr 10 02:16:40 2010 +0300 Sasha Khapyorsky -b5c7dc59cebfcea80a7a853ace8d7e8316f0b689 - - * infiniband-diags/ibnetdiscover: report number of used MADs - -Sat Apr 10 02:07:07 2010 +0300 Sasha Khapyorsky -c690e85eb3822b557bf0fefcf53f03ff403d8cfb - - * libibnetdisc: keep total number of used SMPs - -Sat Apr 10 01:01:44 2010 +0300 Sasha Khapyorsky -4f55f7cd7e8d45ca49c3e107607d5758c6ba3448 - - * libibnetdisc: restore hops limited discovery - -Sat Apr 10 00:14:27 2010 +0300 Sasha Khapyorsky -baae94d9af69e246038f970a5b30ae6d8126aed8 - - * libibnetdisc: restore show_progress functionality - -Fri Apr 9 03:35:29 2010 +0300 Sasha Khapyorsky -85e417e33d777cc515040b561eb6a5e3511e09b7 - - * libibnetdisc: code cleanups - -Tue Feb 2 14:06:03 2010 -0800 Ira Weiny -f518fb5a780fcbec37b54803508abdc9e60e6ac3 - - * libibnetdisc: add ibnd_set_max_smps_on_wire call - -Fri Jan 22 17:33:30 2010 -0800 Ira Weiny -089f028dcd5cf4a121a02bec80f3ca54c2e55494 - - * libibnetdisc: Convert to a multi-smp algorithm - -Tue Mar 9 12:41:15 2010 +0200 Yevgeny Kliteynik -1226619d64fb4d6bbedba7d04ede5df497057fb6 - - * infiniband-diags/ibstat.c: print link layer for RoCEE support - -Tue Mar 9 12:37:38 2010 +0200 Yevgeny Kliteynik -a6cc34bfbc10a93c823668b10bcc39191f044a81 - - * infiniband-diags/ibstatus: add link_layer for RoCEE support - -Thu Mar 4 15:01:44 2010 -0600 Mike Heinz -b0caed9bb5f0d1fe80d0c66519bccaaa852e4dbd - - * Perfquery can be too noisy. - -Thu Mar 18 18:35:34 2010 -0700 Ira Weiny -30b8c9067ca388f9291e6298a65c077a568d2981 - - * infiniband-diags: Ignore PortInfo data on down port. - -Tue Feb 2 17:43:20 2010 -0800 Ira Weiny -156cd056ab5ef0e69053f5bf324e1835cc67c6d9 - - * libibnetdisc: fix typo in man page for ibnd_show_progress - -Wed Feb 10 09:32:05 2010 -0500 Hal Rosenstock -74d69f75fc9bdc72a604a05b9511b5d2dac256f7 - - * infiniband-diags/vendstat: Indicate general info for IS4 as well as IS3 - -Mon Jan 25 08:32:45 2010 -0500 Hal Rosenstock -17adabc46e41157ea8983ffc52ae16c34d29922c - - * infiniband-diags/ibqueryerrors.c: Fix typo in counter name - -Tue Jan 19 15:47:12 2010 +0200 Sasha Khapyorsky -ce85937be777a9686f58e37bdbbadc0f612bab0f - - * infiniband-diags/iblinkinfo,ibqueryerrors: code refactoring - -Mon Jan 18 21:35:51 2010 -0800 Al Chu -256269defbd56c5bc475f65488267db6e3f5c6b6 - - * support --load-cache in iblinkinfo and ibqueryerrors - -Tue Jan 12 20:56:20 2010 +0200 Sasha Khapyorsky -6afc4b05e85c2864c48868a95d82da063676358d - - * ibqueryerrors.c: more readable details dump function - -Thu Dec 31 14:10:54 2009 -0500 Hal Rosenstock -f1d70f4a2a9d6f1d267c7f20b6fdcbd3a64e48a8 - - * infiniband-diags/ibqueryerrors: Add support for optional PortRcvErrorDetails counter - -Sat Jan 16 20:29:29 2010 +0200 Sasha Khapyorsky -5d4f4bda8f0e96a407e4b5de9d38798b051604a5 - - * infiniband-diags: indentation fixes - -Fri Jan 15 10:23:16 2010 -0800 Al Chu -3d5c94091ce0fc7da8ebf79affac67d1fc92b75b - - * support --cache and --load-cache options in ibnetdiscover - -Fri Jan 15 10:23:13 2010 -0800 Al Chu -01b8045f28f6c1fd6a4dd170e8a89b85e7ff1ad2 - - * add libibnetdisc caching to libibnetdiscover - -Thu Jan 14 09:13:24 2010 -0500 Hal Rosenstock -cd383d54dba7e43a1f2de77382c6c31187571491 - - * infiniband-diags/perfquery: Add support for PortSamplesControl counter - -Wed Jan 13 15:23:18 2010 -0500 Hal Rosenstock -c259589b1f75e4a6c8d9ea16e8ee0f71c828ac75 - - * infiniband-diags/ibportstate.8: Add new supported ops - -Thu Dec 31 11:58:34 2009 -0500 Hal Rosenstock -eae275ce547dd148d7526974b601ccdaa03f9cd7 - - * infiniband-diags/perfquery: Add support for optional PortRcvErrorDetails counter - -Thu Nov 5 11:56:56 2009 -0800 Ralph Campbell -b8bbcef89b68865f3fc522a2973131442ca06581 - - * infiniband-diags/ibportstate: allow changes to CA portinfo parameters - -Tue Jan 12 11:14:15 2010 +0200 Sasha Khapyorsky -c7589c66ff78f72cf2817e6864b9c43e49dfbd52 - - * infiniband-diags: -V, --version: exit with zero status - -Tue Dec 29 09:30:49 2009 -0500 Hal Rosenstock -a5427f83c976ae0bbeee6b4d3f7afe38bf87ee0c - - * infiniband-diags/ibqueryerrors.c: Fix output format of counters - -Thu Dec 24 15:14:41 2009 +0200 Sasha Khapyorsky -a02a72e79fb350e23da731c313a281a6b0c0ca0d - - * management: packages versions update - -Thu Dec 10 13:24:01 2009 -0800 Al Chu -d70ab89db505c9ccaf8d0f9231cfcc6344aba038 - - * correct manpages for tools that are no longer scripts - -Thu Dec 10 11:38:38 2009 -0800 Al Chu -2f0ba97a07db2bd307f589823fb6ffc7bbd479b7 - - * remove obsoleted option from iblinkinfo manpage - -Sun Dec 13 19:39:11 2009 +0200 Sasha Khapyorsky -8596afb4a92181eb2055123cbcca73715a177cf7 - - * management: package versions bump - -Sun Dec 13 19:36:19 2009 +0200 Sasha Khapyorsky -3ef00cf4084364fd3779eb673348d525122976a3 - - * management: update library versions - -Tue Nov 17 10:17:30 2009 -0800 Al Chu -a498f70a59397120f1799645944255d2c1f57401 - - * splice out chassis scan specific from general scan in libibnetdiscover - -Tue Nov 17 10:17:20 2009 -0800 Al Chu -8b1d334b64a7ef7451c796268332fcf15bfc882e - - * use nodes/switches lists instead of nodesdist array in libibnetdiscover - -Tue Nov 17 10:16:14 2009 -0800 Al Chu -d365a61048d93cc9f65a9826d9b10f107d56150e - - * remove unnecessary casting in libibnetdiscover - -Mon Nov 23 12:04:19 2009 +0200 Doron Shoham -97f3fd404d39053f008e68d46c4baff8f4ce2fe1 - - * Add different print macros - -Fri Nov 13 09:52:16 2009 -0800 Al Chu -0d3e5accc016609e7dfce6331d4d44252182ec16 - - * split out scan specific data from ibnd_node_t [attempt #2] - -Tue Nov 3 20:17:14 2009 -0800 Ira Weiny -e51da7bd0efedd17f4252c09c833a280e08eb1df - - * infiniband-diags/ibqueryerrors: Properly exit and clean up resources when node info query fails - -Tue Nov 3 20:22:38 2009 -0800 Ira Weiny -8f8736a6a6993f718ecd47c4bf3d001f68b25229 - - * infiniband-diags/ibqueryerrors: Change realloc of suppressed fields to a static array - -Tue Nov 3 19:51:32 2009 -0800 Ira Weiny -587a6f8ce63933ca004f5fca216f7616fd64f342 - - * infiniband-diags/ibqueryerrors: Fix remote node name printing - -Fri Nov 6 10:14:24 2009 -0800 Al Chu -190451c0b7ff164b198d999aeaaa30016bfa7793 - - * fix potential segfault in ibnd_node_t destroy path - -Fri Nov 6 10:14:21 2009 -0800 Al Chu -a95d8789c55bd06ae62b80c4d32f889289893efd - - * consistently type lids and lmcs libibnetdisc - -Tue Nov 10 13:51:41 2009 -0800 Ira Weiny -10861458f2b3034262bb9a01125704d9709cc6e1 - - * infiniband-diags/libibnetdisc: Remove nearly duplicate "get_node_info" function - -Tue Nov 10 14:01:37 2009 -0800 Ira Weiny -8ad91fd22ae4b0d1bfd504218a02899d3263b576 - - * infiniband-diags/libibnetdisc: clean up PortInfo queries - -Thu Nov 12 19:20:39 2009 +0200 Sasha Khapyorsky -ccf687f2949256973153c38f5e34a31ecf47337d - - * infiniband-diags/ibqueryerrors: minor improvements - -Tue Nov 3 13:58:03 2009 -0800 Ira Weiny -8d673b478e78d5f0e4ff606f55c19f942cc8db4c - - * infiniband-diags/ibqueryerrors: Reformat the output of the xmtdiscard details. - -Fri Nov 6 15:32:25 2009 -0500 Hal Rosenstock -3a3734befe391e891ae18bbb925897fe6edb4a46 - - * infiniband-diags/saquery.c: Change lids and port numbers to decimal - -Fri Nov 6 10:59:00 2009 -0500 Hal Rosenstock -e11ee0b20b01fabe91f482eb91a90e5849b824c5 - - * infiniband-diags/ibsendtrap.c: Add support for SysImageGuid changed trap (145) - -Fri Nov 6 17:54:48 2009 +0200 Sasha Khapyorsky -b363af1580ac214dfa24662285a0b4d6a5d2fecf - - * libibnetdisc: remove man page of removed API - -Mon Nov 2 11:33:17 2009 -0800 Al Chu -2cc2bf56e95ba43cf1b8bdc7c2953e71976de331 - - * remove ibnd_update_node - -Tue Nov 3 17:03:15 2009 -0800 Ira Weiny -3d44880d512c76f3494037a1973ffdf45205964d - - * infiniband-diags/ibnetdisc.h: Clarify "ports" member of ibnd_node_t with more descriptive comment - -Wed Nov 4 09:42:19 2009 -0500 Hal Rosenstock -b61a2910d09a09d58a0ead85dd6db5654fb89aaa - - * infiniband-diags/ibqueryerrors: Add support for PortXmitDiscardDetails - -Tue Nov 3 10:37:29 2009 -0800 Al Chu -abc34ab016bb8f006d394a24c2107ec08b2fab7c - - * remove unused headers in libibnetdiscover - -Mon Nov 2 11:40:19 2009 +0200 Eli Dorfman (Voltaire) -84377df7ce7146b1bf6d9d702bd29d509e8b1d37 - - * infiniband-diags/saquery: Report SA MAD Class specific status. - -Sun Nov 1 21:55:47 2009 +0200 Sasha Khapyorsky -0b1c91a77dec80e2d2c39e3f6484f095c0d41175 - - * management: bump package versions - -Sun Nov 1 21:42:56 2009 +0200 Sasha Khapyorsky -8baf219009567aacb067764323d006cbbd9f69f7 - - * management: update libraries version information - -Mon Nov 2 02:09:14 2009 +0200 Sasha Khapyorsky -edb6c696d5570ed77da48fda8813b1d79604261d - - * management: update/add Voltaire copyright - -Fri Oct 30 00:49:36 2009 +0200 Sasha Khapyorsky -929e69b5de0b131d66ab15356e2dd386b870e81c - - * infiniband-diags/perfquery: merge some code - -Wed Sep 23 09:29:43 2009 -0400 Hal Rosenstock -3b0b12cd867006e2e918b9a97b6721dfb5025fed - - * infiniband-diags/perfquery: Add support for optional PortXmitDiscardDetails counter - -Thu Oct 29 23:34:27 2009 +0200 Sasha Khapyorsky -d557de94aa4ca0f4fdaca8948d49e37cbae215e2 - - * libibnetdisc: some cleanups - -Thu Oct 29 23:11:29 2009 +0200 Sasha Khapyorsky -80c220bd2c8fe3c8abb8b9d10a23b1377d744fbb - - * libibnetdisc: rename ibnd_scan variable to scan - -Wed Oct 28 16:52:11 2009 -0700 Al Chu -9e92e25de600c088034351c83088e6a4e5d8cc11 - - * remove 'dist' field from ibnd_node_t, which was virtually not used - -Wed Oct 28 16:52:09 2009 -0700 Al Chu -29003140079845c69888622ababf200e424fdf5f - - * split out ibnd_fabric_t fields that are only used during a scan - -Tue Oct 27 10:22:36 2009 -0700 Ira Weiny -2d237d0b99560b44f41ce8716a39edc31abdf7e6 - - * infiniband-diags/ibqueryerrors: Use remap'ed node name in clear port error message - -Fri Oct 23 13:57:46 2009 -0400 Hal Rosenstock -7107a106aeb0a283da875e7bbe955b3e4c28f781 - - * infiniband-diags/ibqueryerrors.c: Cosmetic changes - -Wed Oct 14 09:44:35 2009 +0530 Keshetti Mahesh -609e037c3723bc759293ec9c343969daf236a8fc - - * infiniband-diags/libibnetdisc: Removed trivial comments - -Fri Oct 23 18:20:59 2009 +0200 Sasha Khapyorsky -fb9503355addb8e01b0903ba2fab21ec7f98fc1a - - * infiniband-diags/ibqueryerrors.c: use common node_name - -Fri Oct 23 17:08:29 2009 +0200 Sasha Khapyorsky -7a0d07dc019b206b8c98e85bf10707fa0dd8fec1 - - * infiniband-diags/ibqueryerrors.c: use common portid in query_cap_mask() - -Fri Oct 23 17:02:22 2009 +0200 Sasha Khapyorsky -2aca4b06068a049781387d240a85f468cf9b8633 - - * infiniband-diags: minor cosmetic fixes - -Fri Sep 25 09:33:58 2009 -0700 Ira Weiny -21b42954dceeb4924b7f4e57c37250b3bdcd7f0b - - * infiniband-diags/src/ibqueryerrors: Add clear errors and counters options - -Wed Oct 7 10:35:25 2009 -0700 Ira Weiny -de9d8f08fc127f09e6f3825686806f59b5c821b4 - - * infiniband-diags/libibnetdisc/ibnetdisc.c: fix bug in single node processing. - -Tue Oct 13 09:04:54 2009 -0400 Hal Rosenstock -65f305cc51d07aa53437e961b43f69005361d0a8 - - * infiniband-diags/saquery.c: Modify dump_path_record - -Tue Sep 29 14:22:46 2009 +0200 Sasha Khapyorsky -642160c80693b4f8fd038e04dd728da1431734dc - - * infiniband-diags/ibqueryerrors: simplify node_type_to_print setup. - -Wed Sep 23 11:38:11 2009 -0700 Ira Weiny -e426d5b7f495550f28b558917eae074bea75600f - - * infiniband-diags/src/ibqueryerrors.c: Remove --all option and replace it with --switch, --ca, --router - -Wed Sep 23 14:26:55 2009 -0700 Ira Weiny -c92b21e9a15fbdabc7f37b986cb036276f02e939 - - * infiniband-diags/src/ibqueryerrors.c: fix bug when attempting a sub-fabric scan - -Tue Sep 22 19:59:36 2009 -0400 Hal Rosenstock -a74d1210266cc8aca0169f5a1e9b43bbf7673948 - - * infiniband-diags/ibportstate.c: Eliminate uninitialized variable compile warning - -Mon Sep 14 12:59:33 2009 +0200 sebastien dugue -f80eefd7c31e0c511794d582d05611fb30f83be4 - - * infiniband-diags/ibnetdiscover: Add separator when printing chassis type - -Sun Sep 13 19:23:13 2009 +0300 Doron Shoham -59d05a9509ae337b7d5786c0970dce88a4fa9b1a - - * ibportstate: fixes for width option - -Tue Sep 8 18:11:37 2009 -0400 Hal Rosenstock -0987cc1e8cbdc683838794429d873b07d72a7077 - - * infiniband-diags/ibportstate: Support changing of link width - -Wed Sep 16 09:12:14 2009 +0530 Keshetti Mahesh -31710227062002f12b1c2b2ca51878f98e6d7bcb - - * 'ibcheckportwidth' : Exit if LWS is 1X - -Tue Sep 15 17:09:29 2009 +0530 Keshetti Mahesh -d8b07f4ca62f6167698e83a8afcef08d424ffa44 - - * infiniband-diags/: Cosmetic changes, mostly typos - -Mon Aug 31 19:45:44 2009 +0300 Sasha Khapyorsky -fe9319b87d22f139b0c6c58c364b0c4c0974b0ba - - * infiniband-diags/ibroute: minor flow optimization - -Sun Aug 30 12:32:07 2009 -0400 Hal Rosenstock -127ddeb0b59f9996d45fba20175b844b466a7342 - - * infiniband-diags/ibroute: Add support for MulticastFDBTop - -Sun Aug 30 15:39:33 2009 +0300 Sasha Khapyorsky -946624a269122d579c7bdd52dc80596c83384e7f - - * libibnetdisc: fix compilation warning - -Wed Aug 26 09:25:00 2009 -0700 Ira Weiny -c0d2f74c6f8ac227f9eecffd4905fe60b73e3a20 - - * libibnetdisc: add retract_dpath function - -Fri Aug 21 15:01:00 2009 -0700 Ira Weiny -b50abf9bbca002a79aa4b80327cd42c8287ea74c - - * infiniband-diags/libibnetdisc: add missing '\n' to error message - -Sun Aug 30 15:29:24 2009 +0300 Sasha Khapyorsky -4e7655c49bc612215b379f3f171490c0f20be123 - - * infiniband-diags/perfquery: indentation fixes - -Wed Aug 26 12:12:23 2009 -0400 Hal Rosenstock -7400343098e38dc9a22b80914a803a30bd6aeae0 - - * infiniband-diags/perfquery.c: Indicate whether PortXmitWait counter is supported - -Wed Aug 26 17:37:30 2009 +0300 Eli Dorfman (Voltaire) -1ddb09cf33e08068e813f4fb7038c6addadea3b2 - - * Fix IB network discovery from switch node. - -Mon Aug 17 14:03:38 2009 -0700 Ira Weiny -2180add45e2b95ea69d0c14eb09d609b637b0e14 - - * libibnetdisc: make all fields of ibnd_fabric_t public - -Sun Aug 16 07:02:24 2009 -0400 Hal Rosenstock -4bf42172903fa14c6c21eea125623434bdfb3ccc - - * infiniband-diags/saquery.c: Allow pkey and qkey to be hidden - -Sat Aug 15 09:46:24 2009 -0400 Hal Rosenstock -12504d1532991c680212eacd3af1cbfa995c9f88 - - * infiniband-diags/saquery.c: Fix CHECK_AND_SET_VAL macro - -Thu Aug 13 19:54:00 2009 -0700 Ira Weiny -efbce75536679fe07c4dd2f9e9cc494a26c2cd9f - - * libibnetdisc: make all fields of ibnd_port_t public - -Sun Aug 16 13:22:09 2009 +0300 Sasha Khapyorsky -fb94a681aaa1d56e69fe9975b07b0ca05c9be14b - - * libibnetdisc: fix again typo in dump_node() - -Tue Aug 11 15:15:21 2009 -0700 Ira Weiny -d6f2d1fd279f39fd0243a1e10c13ef9ed1950db2 - - * libibnetdisc: make all fields of ibnd_node_t public - -Fri Aug 14 10:52:49 2009 -0400 Hal Rosenstock -32c65e163cf4ca64b4db4adb68afb5962d3c1d23 - - * infiniband-diags/saquery.c: Fix typo in option name - -Fri Aug 14 13:15:03 2009 +0300 Sasha Khapyorsky -832b9162b84741f9288f0427a24c1a06493f7f60 - - * infiniabnd-diags: indentation fixes - -Fri Aug 14 04:40:54 2009 +0300 Sasha Khapyorsky -898ffb9f282e1cc1de5a0d17ede549383a4733e7 - - * infiniband-diags/ibportstat.c: simplify conditions - -Fri Aug 14 04:36:24 2009 +0300 Sasha Khapyorsky -ea58a37aac5158be2b8a2d7b267eef29e0469956 - - * infiniband-diags/ibportstate.c: consolidate flows - -Thu Aug 13 15:37:50 2009 +0300 Sasha Khapyorsky -4e0fb746fa86be7badb067d5f75b92dc362885e4 - - * libibnetdisc: indentation fixes - -Thu Aug 13 15:25:50 2009 +0300 Sasha Khapyorsky -0c033c2da354c20afe805d3f3f145b6c867180a5 - - * libibnetdisc/ibnetdisc.c: typo fix - -Wed Aug 12 16:53:20 2009 -0700 Ira Weiny -676bd9f565fb6a8ab72cdc77c03ccf734a1b6917 - - * infiniband-diags/libibnetdisc: remove all IBPANIC's and clean up error handling - -Fri Aug 7 09:05:44 2009 -0700 Ira Weiny -db808b6ecfab52fbeb75816092263033de96d307 - - * libibnetdisc: fix potential memory leak of port object - -Wed Aug 5 10:29:31 2009 +0300 Sasha Khapyorsky -cf5922b9bd38f545ef33963fd32896ca25f4b04e - - * infiniband-diags/ibsendtrap.c: code consolidation - -Wed Aug 5 10:24:32 2009 +0300 Sasha Khapyorsky -7c5b3323b29f25e6baaac7934d4f540e41b5eb11 - - * infiniband-diags/ibsendtrap.c: fix array size - -Tue Aug 4 08:50:09 2009 -0400 Hal Rosenstock -4b78754846dfe7ebd0ee86d074b4c6662d657e7f - - * infiniband-diags/ibsendtrap.c: Add support for link_speed_enabled_change trap - -Mon Aug 3 16:39:57 2009 -0400 Hal Rosenstock -395d4d003d63fa5005c4418bf3c6055ca80705be - - * infiniband-diags/ibsendtrap.c: Fill in capability mask on trap 144 - -Mon Aug 3 15:22:56 2009 +0300 Sasha Khapyorsky -9d60102edae3f9dbfe20686aa6df34e1219e9504 - - * infiniband-diags/man: break long lines - -Sun Aug 2 20:15:32 2009 -0400 Hal Rosenstock -17b317ae81ec6999c608f81b422159bc4194fe11 - - * infiniband-diags/ibnetdiscover.8: Add max hops option - -Sun Aug 2 10:55:37 2009 +0300 Sasha Khapyorsky -fbc728662320140a66db48bded71c7e1a3d94949 - - * infiniband-diags/ibnetdiscover: remove not used var - -Mon Jul 27 10:13:01 2009 -0700 Al Chu -dfbb9603f8f87c5709573f6f031da256153f9e02 - - * fix libibnetdisc API consistency and bugs - -Mon Jul 27 10:12:59 2009 -0700 Al Chu -3eb0af51f36c75691afbd46e1a8eca2d86143cf3 - - * fix libibnetdisc API consistency and bugs - -Sat Aug 1 02:59:50 2009 +0300 Sasha Khapyorsky -5d06b65f612802565e7fc7cf1bf8fc84f3d96806 - - * bibnetdisc/ibnetdisc.c: fix parameter incompatibility warning - -Mon Jul 27 10:12:51 2009 -0700 Al Chu -8092614f5309ed111516dde50bd3390a611d155b - - * fix libibnetdisc API consistency and bugs - -Mon Jul 27 10:12:41 2009 -0700 Al Chu -3fa0a9d8db3430fa7e21b1d528db85ab6833639b - - * fix libibnetdisc API consistency and bugs - -Mon Jul 27 10:12:36 2009 -0700 Al Chu -47323f3b253593863a3862c18b3ffb4c0aa42e89 - - * fix libibnetdisc API consistency and bugs - -Mon Jul 27 10:12:32 2009 -0700 Al Chu -a150500a3451689bf0eb82203762e8dad4c07522 - - * fix libibnetdisc API consistency and bugs - -Thu Jul 30 18:40:12 2009 -0700 Ira Weiny -ab70ff96ebf87a63c0dc1aaeb947ababb2125d5e - - * infiniband-diags/libibnetdisc: fix DBGFLAGS variable - -Mon Jul 20 08:58:47 2009 -0400 Hal Rosenstock -a6fbe5f00a3331bf79fc28c37f3d648ec0bb3cc5 - - * infiniband-diags/ibtracert.c: Fix linearcap test in switch_lookup - -Tue Jul 7 15:24:26 2009 -0700 Al Chu -b0e2e5c901f342c7813ac91486e474afd2a65204 - - * libibnetdisc cleanup patches - -Thu Jul 16 09:32:38 2009 -0400 Hal Rosenstock -5dd30ca90a66cd77d6653deefedffc0cbeac651f - - * infiniband-diags/ibroute.c: Fix typo in IBWARN message - -Thu Jul 16 09:31:58 2009 -0400 Hal Rosenstock -b26200734f13cdb2c7d2f1e4d7acc39599b849e7 - - * infiniband-diags/ibtracert.c: Fix comparison to SwitchInfo.MulticastFDBCap in switch_mclookup - -Tue Jul 14 13:28:52 2009 -0400 Hal Rosenstock -7937993a10638a8d57b80506f040a6cd1ec0413f - - * infiniband-diags/README: Update saquery dependencies - -Tue Jul 14 04:26:20 2009 +0300 Sasha Khapyorsky -c91986c7f354065c42ce70f2dc9fee59d1c73bce - - * infiniband-diags/libibnetdisc: add man pages to EXTRA_DIST - -Thu Jul 9 15:39:15 2009 -0400 Hal Rosenstock -ba92f994d43a360cb7fa47d6976e370e9471a005 - - * infiniband-diags/ibroute.c: Fix format and typo in printf - -Tue Jul 7 06:43:57 2009 +0300 Sasha Khapyorsky -579be1dbd8096f4b42faae75c4070057a614a105 - - * libibnetdisc/Makefile.am: add internal.h to SOURCES list - -Wed Jun 24 18:22:14 2009 -0700 Ira Weiny -3123b272c1d3a7e06223bedd5a9cdcc2be7cfa61 - - * iblinkinfo, ibqueryerrors: clean up ibdiag_process_opts call - -Tue Jun 23 13:29:19 2009 -0700 Ira Weiny -c2a119da5ef4f2c99c07a5e7230812ab038717da - - * ibprintca.pl: fix corner case: print switch information for CA's found at the end of the cache file. - -Wed Jun 24 17:52:37 2009 -0700 Ira Weiny -314008b45efea52c471e5e0ec86dadc47cba698f - - * ibqueryerrors: optomize -D operation - -Thu Jun 18 14:07:13 2009 -0700 Ira Weiny -2df69c8f20a57ac4ccc501f447fc70e7e3dc8cb4 - - * iblinkinfo: optomize -D operation - -Thu May 14 17:24:29 2009 -0700 Ira Weiny -9da2a098863c6633bd9d4a7f48446593904e77a8 - - * ibqueryerrors: fix custom opts string - -Thu May 14 17:23:22 2009 -0700 Ira Weiny -ab82af39c6b7376739d7c813cd6dba7522405745 - - * iblinkinfo: convert to ibdiag_process_opts - -Thu May 14 16:39:52 2009 -0700 Ira Weiny -1b6b85aba85ed0a9249ffcb33ee3c4c9d262ee11 - - * iblinkinfo: remove unused file pointer. - -Thu May 14 15:52:42 2009 -0700 Ira Weiny -5d6a05b24c6116759a45e4a7fa5632b940682bd0 - - * iblinkinfo, ibqueryerrors: prevent core when switch is not found - -Wed May 13 09:30:20 2009 -0700 Ira Weiny -8022ccc98bc83cb59a08cc8ce3a621a80cd7ed91 - - * ibnetdiscover: only report max hops discovered when requested - -Thu Jun 4 11:08:27 2009 -0700 Ira Weiny -443ef9a59d4447d7753e0dc7ddeaec167932c8c8 - - * Move _with_node_name_map rpm spec option from infiniband-diags to opensm. - -Mon Jun 8 13:03:01 2009 +0300 Eli Dorfman (Voltaire) -76f74f789656dac2707f0f34933b76955cbac368 - - * infiniband_diags/ibportstate.c perform reset in a single mad - -Wed Jun 3 17:12:56 2009 +0300 Eli Dorfman (Voltaire) -9d832c6596bf1ad50814aa3533f4e8706a03404f - - * infiniband-diags: Do not change port state on SubnSet - -Fri May 29 15:31:12 2009 -0400 Hal Rosenstock -dbb68b43fd64ae30f013e929dc9e06c9a9c9ee12 - - * infiniband-diags/ibdiag_common.c: Eliminate compile warning on x86_64 archs - -Wed May 27 11:08:10 2009 -0700 Sean Hefty -4348825c9a1f964f17d0d06eeefc600b81de0a3f - - * ib-mgmt/libibnetdisc: fix typecast warning - -Sun May 10 14:30:13 2009 +0300 Doron Shoham -71a382ef541de82fe1aec80dcc6aac0a972859b3 - - * saquery: fix -c arguement - -Wed May 6 09:53:03 2009 -0700 Ira Weiny -3917867db504d6aefbe7ca27bcbd3ac5507c8a55 - - * Clean up printing of switch heading when printing "down links" only. - -Wed May 6 09:51:14 2009 -0700 Ira Weiny -ce9635bda568014f391a6bd2aa165115004c4161 - - * Fix 2 formatting diff's from old ibqueryerrors. - -Tue Apr 28 16:38:38 2009 -0700 Ira Weiny -e5c1b9659adf803bd01bf908a52be5ea374e1307 - - * Modify '-S' option of iblinkinfo and ibqueryerrors to do a limited scan of the - -Wed May 6 09:33:47 2009 -0700 Ira Weiny -c6f03b72633aff494ac0572ae7bf051d854fff90 - - * Add combined routing support to libibnetdisc - -Mon May 4 15:49:49 2009 -0700 Sean Hefty -750c7d1ee5c4850a9533dbd003e6873d1e0a8c53 - - * ib-mgmt: fixup ibsendtrap for windows - -Fri May 1 22:47:51 2009 +0300 Sasha Khapyorsky -4f784b38fb9628e35a2a0b1378b6e530206f7aff - - * ibstat.c: use htohl() for 32-bit capmask conversion - -Mon May 4 15:17:32 2009 -0400 Hal Rosenstock -03b311f8a46a7d9c88c176480de807e29866107b - - * infiniband-diags/ibnetdiscover.c: Cosmetic formatting changes - -Mon May 4 12:58:09 2009 +0200 Nicolas Morey-Chaisemartin -984b98326378702e50dffb854cc72853274cd700 - - * infiniband-diags: Added libibnetdiscover to .spec file - -Mon Apr 27 14:17:53 2009 -0400 Hal Rosenstock -0b33c91abdb02403764ca2e4d889a1d14b2d4bac - - * infiniband-diags/saquery.c: Display attribute ID in hex rather than decimal - -Mon Apr 27 12:59:05 2009 +0200 Nicolas Morey-Chaisemartin -bfc1992705db38f2fda331d3cd0ce4acd48aa277 - - * management: Fixed custom_release in SPEC files - -Mon Apr 27 14:50:26 2009 -0700 Ira Weiny -24741af2301ae8aa2772a35c405212ede4c0a6c8 - - * ibqueryerrors: switch_guid_str is required for the string resolve function. - -Sun Apr 26 17:05:13 2009 +0300 Sasha Khapyorsky -186fa39842b64785eb572a69ddeddc5613419782 - - * management: bump package versions - -Sat Apr 25 20:10:59 2009 +0300 Sasha Khapyorsky -bbee6691e502306397f7be2593293a0baaa90c40 - - * ibdiag_common: remove duplicated ibdebug variable - -Sat Apr 25 20:10:59 2009 +0300 Sasha Khapyorsky -76e4fb8b76d1ab240728c5c7bfa7d94a4d803469 - - * ibdiag_common: remove duplicated ibdebug variable - -Sat Apr 25 19:51:06 2009 +0300 Sasha Khapyorsky -466fbe3e786598904e7cad9cb99abe7ea81f69f5 - - * infiniband-diags: remove not used ibnetdiscover.h - -Sat Apr 25 14:36:43 2009 +0300 Sasha Khapyorsky -0d0c89063dfe8d5ef8ec9ac836e48c8a7d1008bb - - * infiniband-diags: cosmetic fixes - -Thu Apr 23 10:57:10 2009 -0700 Ira Weiny -bff90d580d150cab5f741400fce88ce244cd1ddf - - * Convert ibqueryerrors.pl to C and use new ibnetdisc library. - -Wed Apr 22 18:54:46 2009 -0700 Ira Weiny -5d5734e58b6f73bb1ab7810a63c7ca32b7dfb5cf - - * libibnetdisc: change ibnd_discover_fabric to receive ibmad_port - -Sat Apr 25 15:00:13 2009 +0300 Sasha Khapyorsky -0d1e27e38285e242d438ff6a658363821e583135 - - * ibnetdiscover: fix types to avoid portability castings - -Tue Apr 21 12:06:42 2009 -0700 Sean Hefty -b0b97a684d0133c30571b4e16bc0d31a56bdc446 - - * ib-mgmt/ibn3 branch: libibnetdisc add windows support - -Tue Apr 21 12:02:18 2009 -0700 Sean Hefty -3ef7d3de4ebcd6519899b51e4b1b17c0007c180b - - * ib-mgmt/ibn3 branch: diags updated for continued windows support - -Thu Apr 23 10:57:10 2009 -0700 Ira Weiny -51401a3ed834f5369dc0c98f134db75a2b6e8ee0 - - * Convert ibnetdiscover to use new ibnetdisc library - -Thu Apr 23 10:57:10 2009 -0700 Ira Weiny -339cf92d36a47c2c50727d5ab1c3fd03c409d3fc - - * clean up iblinkinfo conversion - -Fri Apr 3 15:42:54 2009 -0700 Ira Weiny -392a032eda0243931d2b82b8bc8174293ba11e44 - - * Convert iblinkinfo.pl to C and use new ibnetdisc library. - -Fri Apr 3 15:42:51 2009 -0700 Ira Weiny -a626de1abde7223348ed88474e168c3e68f86565 - - * Create a new library libibnetdisc - -Sun Apr 19 06:32:41 2009 -0400 Hal Rosenstock -a9acc85489ea27649d726f338a044cc989d5b173 - - * infiniband-diags/man/vendstat.8: Indicate IS4 config group config not persistent across IS4 reboot - -Sat Apr 18 09:11:36 2009 -0400 Hal Rosenstock -34fe5e885707ccf06fb77086a849d0d73a485ae4 - - * infiniband-diags/ibsendtrap.c: Set producer type according to node type - -Thu Apr 16 09:01:45 2009 -0400 Hal Rosenstock -668fb55fc9cb98c1242ff1f7e7305fd6d9c2362e - - * infiniband-diags/man/vendstat.8: Fix PortXmit/RcvDataSL examples - -Wed Apr 15 19:38:30 2009 +0300 Sasha Khapyorsky -8b8a9f0cf5cdae9a0d2552d4d8e5742d10ba385d - - * infiniband-diags/perltidy.sh: option to format a single file - -Fri Apr 3 16:02:49 2009 -0700 Ira Weiny -e34a45c85df471dc11a43107dabe1cf6186bf422 - - * Fix ibidsverify.pl to use the correct cache file - -Wed Apr 15 09:05:18 2009 -0400 Hal Rosenstock -02e69153449f8ed17b3b98a8754734f9a5058d7d - - * infiniband-diags/ibsendtrap.c: Local link integrity is an "urgent" trap - -Tue Apr 14 15:11:18 2009 +0300 Sasha Khapyorsky -347e4ffb4d8297ce656cc1daa6ced0e2a4bd9afe - - * infiniband-diags/ibsendtrap: code consolidation - -Mon Mar 16 11:20:38 2009 +0200 Julia Volynsky -441ece311d51c8a30d27a7b45dc176c98fd23534 - - * Added send trap for trap 129 (local link integrity) - -Wed Apr 8 11:04:45 2009 -0400 Hal Rosenstock -6c2a373455e37c3488bc0f90e8ab0b3a6ffa1f16 - - * infiniband-diags/vendstat: Update man page and examples for PortXmit/RcvDataSL counter support - -Tue Mar 24 03:09:15 2009 +0200 Sasha Khapyorsky -c73f168ca22d40cabb3bb88e827bfb077080cf05 - - * infiniband-diags/vendstat.c: code moving - -Thu Mar 19 14:27:25 2009 +0200 Or Gerlitz -c10e955f68414381d81c5400559281cbf14e1283 - - * ib-diag/vendstat: counter-group-info & config-counter-group vendor mads - -Fri Mar 20 18:12:22 2009 -0500 Hal Rosenstock -fc3d02c9871820f35a34b331046b1fa81b055291 - - * infiniband-diags/perfquery.8: Fix typo in short option for PortXmitDataSL counters - -Fri Mar 13 15:37:18 2009 -0500 Hal Rosenstock -71113b0100ad0236abdc1bfa4868a89b47387880 - - * infiniband-diags/perfquery.c: Label PortXmit/RcvDataSL counters in headings - -Thu Mar 12 11:38:56 2009 -0500 Hal Rosenstock -9e2416c1e1bf0b95db675844e7d4592db8cb1115 - - * infiniband-diags/perfquery.8: Extended counters are now -x rather than -e - -Wed Mar 11 08:29:19 2009 -0500 Hal Rosenstock -90ef4ffcf239cd82e88a5cbccefb60356be8d250 - - * infiniband-diags/vendstat.c: Add missing mad_rpc_close_port call - -Tue Mar 10 17:50:01 2009 -0500 Hal Rosenstock -21478a728ef32a4863866c18e52b64306a86ec73 - - * infiniband-diags/perfquery.c: Fix some memory leaks on exit - -Tue Mar 10 15:50:23 2009 -0500 Hal Rosenstock -680bafcf16c7b34c58a20af4b08350d07767dc81 - - * infiniband-diags/perfquery.8: Update man page for PortXmit/RcvDataSL - -Wed Mar 11 12:43:47 2009 +0200 Sasha Khapyorsky -52c956f91512ded86a2c072074d07269d870128b - - * libibmad: add mad_rpc_class_agent() call - -Mon Mar 9 13:53:21 2009 -0700 David A. McMillen -05d7a879e3e59675a80c8250a1f53c53cf1766ee - - * infiniband-diags/ibnetdiscover: Apply --node-name-map remapping to names printed by --ports option - -Mon Mar 9 18:01:02 2009 +0200 Or Gerlitz -c236d1f91b9e6cccc3c30aec2dfcf050f0ac792a - - * infiniband-diags/perfquery: add srcport param - -Fri Feb 20 14:45:29 2009 -0800 Ira Weiny -9ef2ac0417237d757875a31572274be3f9a90f08 - - * infiniband-diags: convert ibnetdiscover to "new" ibmad interface - -Thu Feb 19 18:53:10 2009 -0800 Ira Weiny -37a39ee80e8d59ed3c3ee1f0d6dddddbed20708a - - * infiniband-diags: Convert perfquery, saquery, sminfo, smpquery, and vendstat to "new" ibmad interface - -Thu Feb 19 18:24:56 2009 -0800 Ira Weiny -a76c09bc5779dad91e44e862ba48bf9ad63455e7 - - * infiniband-diags: Convert mcm_rereg_test to "new" ibmad interface - -Thu Feb 19 18:14:49 2009 -0800 Ira Weiny -b34db7fbae6f36db0d426019df64a289b894a293 - - * infiniband-diags: Convert ibsysstat to "new" ibmad interface - -Thu Feb 19 17:58:36 2009 -0800 Ira Weiny -20a6a5bbd9b0faed3d36a4e02cc00a576df08d3e - - * infiniband-diags: Convert ibtracert to "new" ibmad interface - -Thu Feb 19 17:53:30 2009 -0800 Ira Weiny -be317ec69458e453b7c13aba7adef1bdba770d96 - - * infiniband-diags: Convert ibsendtrap to "new" ibmad interface - -Thu Feb 19 17:30:14 2009 -0800 Ira Weiny -63205b22834d97de1135647198d26655882a4a34 - - * infiniband-diags: Convert ibroute to "new" ibmad interface - -Thu Feb 19 17:27:21 2009 -0800 Ira Weiny -37808bc670ef219c12d1aab22e30582babd5da4d - - * infiniband-diags: Convert ibportstate to "new" ibmad interface - -Fri Mar 6 10:48:08 2009 -0800 Ira Weiny -481279ff94de844a99ecd7c88f11365bad495c8d - - * infiniband-diags: Convert ibaddr to "new" ibmad interface - -Fri Feb 27 13:46:53 2009 -0500 Hal Rosenstock -45131fc051fc69fb3190a895345c15e57bb5c13f - - * opensm/infiniband-diags: Changes for C rather than C++ style comments - -Mon Mar 2 11:35:54 2009 +0200 Or Gerlitz -aa877e7dbd691589bfd45ddfc032514c08831580 - - * infiniband-diags: update configure.in check for libibmad API - -Sun Mar 1 14:41:51 2009 +0200 Or Gerlitz -08775eda007eab489247542cb492663f7aea1f63 - - * perfquery PortXmtDataSL/PortRcvDataSL support - -Sun Mar 1 14:39:48 2009 +0200 Or Gerlitz -3116fb5902642fb8cebbfb1c2f64c5a8cb3a7eb2 - - * generic libibmad perf query/reset api - -Sat Feb 28 18:50:54 2009 +0200 Sasha Khapyorsky -d5f23acbcbfe8ee51818ab364007d5b0a7387d01 - - * management: bump all package versions - -Fri Feb 27 10:34:19 2009 +0200 Sasha Khapyorsky -1cb94c303b0a195d766e1d0eb39d87c18425cd4c - - * infiniband-diags/ibroute: fix warning - -Thu Feb 26 13:08:23 2009 -0800 Sean Hefty -bf861ff2118831d99231e2458132571ec30a01aa - - * [ib-diag] saquery: add support for WinOF - -Thu Feb 26 12:33:49 2009 -0800 Sean Hefty -9cb8cf81780c66e529bb275f180d1b734694031c - - * [ib-diags] saquery: set correct pkey table field - -Thu Feb 26 12:22:04 2009 -0800 Sean Hefty -d8b1999aee4635f6522947bb4bf036799d5869c9 - - * [ib-diag] ibsysstat: add support for WinOF - -Thu Feb 26 10:12:23 2009 -0800 Sean Hefty -aaf13343ee26d4c5e597ddf69a8e3b2341291b98 - - * [ib-diag] mcm_rereg_test: add support for WinOF - -Thu Feb 26 10:12:19 2009 -0800 Sean Hefty -3bc107e9c72908bbd51ebaf29389f142e3da72e9 - - * [ib-diag] ibsendtrap: add support for WinOF - -Thu Feb 26 10:11:58 2009 -0800 Sean Hefty -02b7f2ed3e52cbaa39f1d6033a76b970b42ce949 - - * [ib-diag] ibtracert: add support for WinOF - -Thu Feb 26 10:10:58 2009 -0800 Sean Hefty -9b59ad68b2b1976d5c1111531f3f3aacf867d2ab - - * [ib-diag] ibroute: add support for WinOF - -Thu Feb 26 09:48:58 2009 -0800 Sean Hefty -f3cf4703a3c421657ccd2a6a0a5cc6807bf5dd2f - - * [ib-diag] ibnetdiscover: add support for WinOF - -Fri Feb 20 16:59:38 2009 -0500 Hal Rosenstock -8f526856100acd3206ae7c268bb0cadc9c6a7088 - - * infiniband-diags/saquery.c: Convert more LID prints to unsigned decimal - -Wed Feb 18 12:19:32 2009 -0500 Hal Rosenstock -1f6243a43bb429a50e3453178e9b456763cc78ef - - * infiniband-diags/smpdump.c: Release umad resources on exit - -Wed Feb 18 10:55:37 2009 -0500 Hal Rosenstock -cf6e7dcf310786a51deac8191df5a4307c2d5a3d - - * infiniband-diags/smpdump.c: Fix usage examples - -Sun Feb 22 06:19:44 2009 -0600 David McMillen -b75064b33c4faa157a0efb52d6498fa905fed4ff - - * infiniband-diags/src/ibnetdiscover.c missing LID information on --ports - -Wed Feb 18 10:00:21 2009 -0800 Sean Hefty -99225e635ae4a1abeb4f33185c394bc6f40d5db9 - - * smpquery: add support for WinOF - -Tue Feb 17 16:05:45 2009 -0800 Sean Hefty -d82c0b8f7bad0f618ddcc19644f196e4fc6e8879 - - * ibping: add support for WinOF - -Tue Feb 17 14:36:20 2009 -0800 Sean Hefty -7dbf78d97d95da1ad7769b8ed97496f0f56f55c2 - - * smpdump: add support for WinOF - -Tue Feb 17 14:35:40 2009 -0800 Sean Hefty -799a70838ebae1519f6cdc6980327988a3e59057 - - * ibstat: add support for WinOF - -Tue Feb 17 14:33:09 2009 -0800 Sean Hefty -61fb971b57dffbc10f83f51e28b4a67fb0c581cb - - * ibportstate: add support for WinOF - -Tue Feb 17 14:32:38 2009 -0800 Sean Hefty -518d5459663cb7367afac4e2255aa759d48b9889 - - * perfquery: add support for WinOF - -Tue Feb 17 14:32:05 2009 -0800 Sean Hefty -43524e038a5fd95339fd5c43e2fedc32ac76c8f4 - - * ibaddr: add support for WinOF - -Tue Feb 17 14:31:31 2009 -0800 Sean Hefty -0524c25610ea927053d7bf1144d1b06e7b969a80 - - * vendstat: add support for WinOF - -Tue Feb 17 14:30:54 2009 -0800 Sean Hefty -43e6dfa72170309ef5f20100ec1119abdb2e2327 - - * sminfo: add support for WinOF - -Sat Feb 14 17:19:02 2009 +0200 Sasha Khapyorsky -8219070572684307a500347ca0220e1b79640a5b - - * infiniabnd-diags/common: wrap debug macros with do {} while (0) - -Wed Feb 11 18:37:24 2009 +0200 Sasha Khapyorsky -68daa74daf262ee17cabf3a019348c7def662e3c - - * infiniband-diags: some code consolidation - -Wed Feb 11 04:53:46 2009 +0200 Sasha Khapyorsky -f2920cc66f525850f61d4ceaf87e05db8fab17cf - - * infiniband-diags/saquery: fix types and some cleanup - -Wed Feb 11 02:11:30 2009 +0200 Sasha Khapyorsky -ce8e82d5d53e698bf3ca41eb7295b8a19038dc72 - - * infiniband-diags/saquery: remove osm vendor layer - -Thu Feb 5 17:00:02 2009 -0700 Hal Rosenstock -f13f0a25f22e1c9f2ad0e10bda830b83d0edcb80 - - * infiniband-diags/perfquery: Change option name for extended counters - -Thu Feb 5 20:18:10 2009 +0200 Sasha Khapyorsky -6079cc21e9df4851ed5fe2a7e474642cd7b7ee78 - - * infiniband-diags/common: use enum MAD_DEST as ibd_dest_type type - -Fri Jan 30 15:51:05 2009 +0200 Sasha Khapyorsky -5b6ba15dd1dfd5c0664cb3b4f820c10828b9add7 - - * infiniband-diags/saquery: merge PathRecord query functions - -Wed Jan 28 20:23:02 2009 +0200 Sasha Khapyorsky -2305370eccc5891d310fa3b42c93a5257b390d18 - - * infiniband-diags/saquery: more params for Path and MCMember Records - -Wed Jan 28 20:23:02 2009 +0200 Sasha Khapyorsky -db4dd2cbe5131ef240307cdf5df9c4031ed90376 - - * infiniband-diags/saquery: adding query params - -Thu Jan 29 14:34:45 2009 +0200 Sasha Khapyorsky -d85205d7c14697b9777d13da39b1137f0db07636 - - * infiniband-diags/saquery: CHECK_AND_SET_VAL() macro - -Thu Jan 29 13:24:59 2009 +0200 Sasha Khapyorsky -21de45df81e77ac214e355cf7f6861f83b2fc59f - - * infiniband-diags/saquery: cosmetic - -Thu Jan 29 14:42:55 2009 +0200 Sasha Khapyorsky -6d2909c11245777ce44e5b5716c6dc3c877b6a92 - - * infiniband-diags/saquery: fix encoding of SA queries - -Wed Jan 28 20:10:06 2009 +0200 Sasha Khapyorsky -b2191875823de79245cbd6105307d98780f45d6b - - * infiniband-diags/smpdump: fix SL value encoding - -Wed Jan 28 15:14:07 2009 +0200 Sasha Khapyorsky -2e11ae51da524bffa49434e1aea1fc471f2a42b3 - - * infiniband-diags/saquery: fix backward compatibility bug - -Tue Jan 27 14:36:02 2009 +0200 Sasha Khapyorsky -e478ef0b30fd7b7a889c1afb7d94553de15e4693 - - * infiniband-diags/ibsysstat: backward compatibility fixes - -Mon Jan 26 23:03:29 2009 +0200 Sasha Khapyorsky -7d1b0a3d6aca0c5f96f3354a9e4a3ef40b25f300 - - * infiniband-diags/ibsysstat: use RMPP for client/server communication - -Mon Jan 26 16:35:51 2009 +0200 Sasha Khapyorsky -a58765c29649fbf8ae8868e161a4285438c0bd95 - - * infiniband-diags/saquery: add lid parameter to NodeRecord query - -Mon Jan 26 10:49:43 2009 +0200 Sasha Khapyorsky -c5f90ddff99b8d8e6a63bd8a248ff9ab1ec160b6 - - * infiniband-diags/smpquery: usage improvement - -Sat Jan 24 11:19:30 2009 +0200 Sasha Khapyorsky -f1db964fd7316ac1900545078524f0ee5f71620a - - * infiniband-diags: remove unneeded includes - -Sat Jan 24 10:50:50 2009 +0200 Sasha Khapyorsky -cff14be7d5daa56c11177769ea736a654fc94869 - - * infiniband-diags: make get_build_version() static - -Sat Jan 24 10:11:08 2009 +0200 Sasha Khapyorsky -0628026b304becf2c46ccc9ac7b30b02fafa2219 - - * infiniband-diags: remove argv0 global variable - -Sat Jan 24 00:31:01 2009 +0200 Sasha Khapyorsky -3ccf4d576c28854a2c40237179f39185f2c1b5d3 - - * infiniband-diags: using common command line option processing - -Sat Jan 24 00:31:01 2009 +0200 Sasha Khapyorsky -cd5a13772d750e8828e48fd1e921d972894c8d68 - - * infiniband-diags: command line option processing framework - -Sun Jan 25 11:45:03 2009 +0200 Sasha Khapyorsky -591081b4ca2fe3d60e08545d4148e2ef68b6665e - - * infiniband-diags/dump_mfts.sh: fix -D format parsing - -Sun Jan 25 11:45:03 2009 +0200 Sasha Khapyorsky -26680730ec79303a32f0950dc3b6733172a9cd61 - - * infiniband-diags/dump_lfts.sh: fix -D format parsing - -Sat Jan 24 00:12:28 2009 +0200 Sasha Khapyorsky -1fa3b32eba4218ab0fdce5a101624b007a82aad3 - - * infiniband-diags/ibdiag_common: cleanup argv0 prototype - -Sat Jan 24 00:06:11 2009 +0200 Sasha Khapyorsky -7ea0dba08aaf94830e5ebabc83eb8ec5add689bb - - * infiniband-diags/smpdump.c: use common ib definitions - -Thu Jan 22 22:32:34 2009 +0200 Sasha Khapyorsky -bc4d17133d6677cec5e87079f5918e23ba81959f - - * infiniband-diags: remove duplicated ibdebug prototype - -Thu Jan 22 15:00:58 2009 +0200 Sasha Khapyorsky -40061e8db2192d7731f54bd12317e18def7f0062 - - * infiniband-diags/ibdiag_common: move get_build_version() - -Thu Jan 22 14:57:11 2009 +0200 Sasha Khapyorsky -383afee5b334a83cce7030c8ce592b34439ab56e - - * infiniband-diags/ibdiag_common: cosmetic - -Thu Jan 22 14:46:25 2009 +0200 Sasha Khapyorsky -20bf9d37f8181acc0bac3aa8bbb41f275027c90e - - * infiniband-diags/Makefile.am: use common library - -Thu Jan 22 14:37:11 2009 +0200 Sasha Khapyorsky -e1ea13aa0655ab431677505823d5ba28dafff02e - - * infiniband-diags/Makefile.am: merge CFLAGS - -Thu Jan 22 14:32:35 2009 +0200 Sasha Khapyorsky -4318758cbb23f3e8a7136cc0efcc9345f590a982 - - * infiniband-diags/Makefile.am: kill -rpath - -Tue Jan 20 13:29:25 2009 +0200 Sasha Khapyorsky -c002711719cc7e83210d4a8b3fe05f349e9d8bb2 - - * infiniband-diags/perfquery.c: fix typo - -Tue Jan 13 16:56:57 2009 +0200 Eli Dorfman (Voltaire) -7dd16a49f1934d9912a7699bde63744b961564ff - - * infiniband-diags support PortXmitWait get and set - -Mon Jan 5 14:31:07 2009 +0200 Sasha Khapyorsky -69743b5082ed4bc11e211ae3081dbbb4f2feae81 - - * infiniband-diags/perfquery: indentation fixes - -Mon Dec 22 02:26:31 2008 +0200 Sasha Khapyorsky -7e2d9e40c5d0d4d52056d6c17d65c3c9161aff79 - - * management: remove libibcommon dependencies - -Mon Dec 22 00:24:30 2008 +0200 Sasha Khapyorsky -c01c74074db2e9c170f67969c020363fb3500f41 - - * management: move sysfs()_* function to libibumad - -Sun Dec 21 17:28:25 2008 +0200 Sasha Khapyorsky -916e7571b49953360bc28fc53e0e1345c7fd5f3f - - * infiniband-diags/ibstat,smpdump: kill unused includes - -Thu Dec 18 23:45:42 2008 +0200 Sasha Khapyorsky -0a7b21b279f6221b9e0629c9d23c1185ab323948 - - * infiniband-diags/saquery: minor indentation fixes - -Sat Dec 13 22:46:56 2008 +0200 Sasha Khapyorsky -656614a4a7a92765db698fa2c5a8a87f905473c3 - - * infinabd-diags: convert type uint -> unsigned int - -Fri Dec 12 17:30:25 2008 +0200 Sasha Khapyorsky -75990408ac7cc42fede93581543caa7d63984de3 - - * infiniband-diags/saquery: PortInfoRecord query - -Fri Dec 12 16:11:52 2008 +0200 Sasha Khapyorsky -07d702886ff10bc984e2cb1a0b509d67579ecee6 - - * infiniband-diags/saquery: separate queries and commands - -Wed Dec 10 19:50:35 2008 +0200 Sasha Khapyorsky -4e858dc99c87fe68a2edfcdf0886fa5ae33dd6e1 - - * infiniband-diabs/saquery: unify SA queries processors - -Wed Dec 10 16:12:44 2008 +0200 Sasha Khapyorsky -7fd2c792e433f53630f4055c0816f142296d8670 - - * infiniband-diags/saquery: indentation fixes - -Sat Dec 13 19:46:15 2008 +0200 Sasha Khapyorsky -f0ce6ce0c60165e80003c3e62ea07d399e7c8e06 - - * management: bump all package versions - -Sun Dec 7 00:16:36 2008 +0200 Sasha Khapyorsky -bbf5ee9cfbc23930530d105799c7fc8f6bf892fd - - * management: update package versions - -Wed Nov 26 12:51:30 2008 +0200 Sasha Khapyorsky -ed48f26b346d449a14927463edd7a4b2da9ec3ac - - * infiniband-diags/grouping: add 10G IP router devid - -Tue Nov 18 06:20:46 2008 +0200 Sasha Khapyorsky -cbd77598741234f36af5f7ab6bd1915951151967 - - * management: update versions - -Sun Nov 16 11:37:31 2008 -0700 Hal Rosenstock -abeb73d092aa649b9f4b9ba1c967276be4b3b15b - - * infiniband-diags/ibstat.c: Use UMAD_MAX_DEVICES define - -Sun Nov 16 14:23:10 2008 +0200 Sasha Khapyorsky -4949d1fc818c6d5e09c7e5507ed3d7d879dcccbf - - * infiniband-diags/ibstat.c: remove casting - -Fri Nov 14 14:54:06 2008 -0800 Ira Weiny -485d94520e2aa762f6d7f878e6372bf2397f56fe - - * Fix max parameter passed to umad_get_cas_names - -Sun Oct 19 20:53:23 2008 +0200 Sasha Khapyorsky -46f65ae24efbbe01e50d192df5aad52ce2d3e1af - - * management/*/configure.in: bump all versions - -Wed Oct 8 12:28:44 2008 +0200 Sasha Khapyorsky -bfe012a31e6661439aa605449ec06f6e660f85d8 - - * management: update Voltaire copyright - -Sun Oct 19 08:54:32 2008 -0600 Hal Rosenstock -8daa6f9b0cc008fc9d8b3b87c3c1e8b3b30c5497 - - * infiniband-diags/saquery.8: Update saquery man page - -Sun Oct 19 08:54:30 2008 -0600 Hal Rosenstock -9def498100790ad773d7a94123f33217fa7acd8c - - * infiniband-diags/saquery: Support MFTRecord - -Sun Oct 19 01:13:15 2008 +0200 Sasha Khapyorsky -32fa8fcc642590f37a8c8197dc87886f1be3dfea - - * infiniband-diags/saquery: add LFT Record handling - -Fri Oct 17 13:04:39 2008 -0400 Doug Ledford -2d556cd0fcc73fdb63e0cc5dfe979b7598378ac8 - - * Trivial: update usage info for ibaddr.c in infiniband-diags-1.4.1 - -Wed Oct 8 12:28:44 2008 +0200 Sasha Khapyorsky -1b6e86e26f819ea40ca23bd0837ff71b84ab3e16 - - * management: add Voltaire copyright - -Sat Oct 11 22:02:38 2008 +0200 Sasha Khapyorsky -80b3f33f1dede4d201146beb969a95459aaf2049 - - * infiniband-diags/perfquery: fix constant size warning - -Fri Oct 10 16:03:05 2008 -0700 Al Chu -54f611b91bd7999378d3bddcb06f8e5614b5f396 - - * infiniband-diags/perfquery: if -a is specified loop through ports if required and aggregate output - -Fri Oct 10 15:58:20 2008 -0700 Al Chu -12b8d91501e1088619aac720ee12f6be1aaaf836 - - * perfquery code cleanup - -Fri Oct 10 16:35:43 2008 -0700 Al Chu -01f93e42ccc6c9953197641eb04b236a54d1d7be - - * infiniband-diags/perfquery: if --loop_ports is specified always loop through all ports if desired - -Fri Oct 10 15:57:45 2008 -0700 Al Chu -e7b0a62d9afd5a5958a7aea50a1114577e5f6ada - - * infinibanf-diags/perfquery: remove single port CA AllPortSelect workaround - -Fri Oct 10 15:57:02 2008 -0700 Al Chu -c77bfecaaf332c6e48ebe93a4561db9bb10005c9 - - * infiniband-diags/perfquery: error out if AllPortSelect is not supported - -Fri Oct 10 15:56:54 2008 -0700 Al Chu -3e83004adec8fb54b4a39e04870c646a222f9084 - - * tweak notes about port 255 in perfquery manpage - -Fri Oct 10 15:56:46 2008 -0700 Al Chu -d7730efcb0f152f42439508a96be43af8ef84c88 - - * infiniband-diags/ibclearerrors: specify -a in call to perfquery - -Wed Oct 8 17:40:52 2008 -0700 Al Chu -88fe58c5987874f876a647fb1580f8dec8b7f5f3 - - * infiniband-diags/perfquery: fix comments - -Wed Oct 8 17:40:51 2008 -0700 Al Chu -0ee221d5c169096cba8f5c9841d71a2d631d976d - - * infiniband-diags/perfquery: support ehanced port 0 with --loop-ports - -Mon Sep 29 14:25:01 2008 -0600 Hal Rosenstock -7193fae14dbd197ebc0679aa44184376c387fe7f - - * infiniband-diags/ibsysstat.c: Fix a couple of latent bugs - -Tue Oct 7 15:54:05 2008 -0700 Al Chu -c56710398f5c90d7c28d0f9d83eef0531518fb30 - - * add --loop_ports option to perfquery - -Tue Oct 7 15:38:51 2008 -0700 Al Chu -b6d240c2e30128f15e51af75c1678e7442b3db9e - - * add more detail to error message on perfquery workaround - -Tue Oct 7 15:38:27 2008 -0700 Al Chu -d2409b5673e1e9608054462c12224bf90bd155f6 - - * use 0xff vs. 255 consistently in perfquery - -Tue Oct 7 15:38:17 2008 -0700 Al Chu -adbbf1e9e88ec646f36e0f06326a2e8ff4fc8c9f - - * add clarification in perfquery manpage - -Wed Sep 24 16:59:23 2008 +0300 Jack Morgenstein -8e6f693a356cd76669efc28009207307b78b5155 - - * infiniband-diags: eliminate compiler warnings - -Sat Sep 13 04:07:54 2008 +0300 Sasha Khapyorsky -372998d988c22c1fbfbc44465c56f9d995c6b513 - - * infiniband-diags/ibtracert: fix port by direct path resolving - -Fri Sep 12 22:07:56 2008 +0300 Sasha Khapyorsky -f959ff0a5c134761d04c427502539449bb85961e - - * man/ibtracert: remove non-existing -e option - -Fri Sep 12 22:03:42 2008 +0300 Sasha Khapyorsky -251ddae270fb411db838cb04cbe82faaa194bd38 - - * infiniband-diags/ibclearcounters: remove unrelated -N option - -Fri Sep 12 21:49:19 2008 +0300 Sasha Khapyorsky -ad37a027ceac3923378dca830130a5de73456503 - - * man/ibnetdiscover: cleanup non-existing options - -Fri Sep 5 15:47:16 2008 -0700 Ira Weiny -8a09e0bfdf2aa9e5f939247bfe7a18f6656f9a6b - - * ibnetdiscover.c: continue processing other ports even if smpquery fails on one port - -Mon Aug 18 15:46:51 2008 -0700 Ira Weiny -cf7517aafac9a7fbd441edb08e00151b62cad091 - - * Fix some missing node name map substitutions - -Thu Jul 24 07:05:05 2008 +0300 Sasha Khapyorsky -be288b2384a6ace9dff1fe39d95c9fe97afa89f6 - - * infiniband-diags/src/ibaddr.c: remove unused variables - -Thu Jul 10 17:44:08 2008 -0700 Ira Weiny -10f82e3df67d5000c029caa218097f174724b9c5 - - * infiniband-diags/src/ibaddr.c: convert GID prints to use inet_ntop - -Thu Jul 24 07:00:51 2008 +0300 Sasha Khapyorsky -779d2b88d7bca5e5799ad613c8fd14b295dbcfe7 - - * infiniband-diags/saquery: remove unused variable - -Thu Jul 10 17:44:07 2008 -0700 Ira Weiny -2fd9b7f64327d1bdb10bebbace3b9e4740edfa52 - - * infiniband-diags/src/saquery.c: convert GID prints to use inet_ntop - -Tue Jul 8 07:22:02 2008 +0300 Sasha Khapyorsky -e43349f373da5275259d095df21696d666feab7f - - * management: bump management versions - -Mon Jul 7 14:12:58 2008 -0700 Hal Rosenstock -ab61af409d8d99f56d4bd8b04e46110da224d7d7 - - * infiniband-diags/mcm_rereg_test.c: Cosmetic formatting change - -Sun Jul 6 23:07:38 2008 +0300 Sasha Khapyorsky -91671f93e01d199d8ff9f0047b79910317f174ec - - * management: revert configure.in update configure.in on 'make dist' - -Mon Jun 30 15:11:29 2008 -0700 Al Chu -66862733a42d0d425306a866cb6856cc83e31c0a - - * Fix regenerate cache corner case. - -Sun Jun 29 17:20:23 2008 +0300 Sasha Khapyorsky -b1178b0dbcaaa15edb8d5dbc54cfbb5d00ee4005 - - * infiniband-diags: fix snprintf() usage - -Thu Jun 12 22:38:02 2008 +0300 Sasha Khapyorsky -60e7e24ecd223ab4ad37b3399e37638b09e46655 - - * infiniband-diags/saquery: split print_multicast_group_records() function - -Tue Jun 10 13:18:03 2008 -0700 Ira Weiny -8e33e60e86f5d01d3db519df6f6866f0e73a0b61 - - * infiniband-diags/src/saquery.c: fix potential core dump - -Tue Jun 10 11:12:31 2008 -0700 Hal Rosenstock -bbeed16b0a5d5d00d4ea7986ff4ee874d45e0623 - - * infiniband-diags/saquery.c: In print_multicast_group_records, only query NodeRecords when needed - -Sun Jun 8 13:17:50 2008 -0700 Hal Rosenstock -2e5e1e6ea1b4e3dcacce899399f1979d6e879d53 - - * infiniband-diags/saquery.c: In dump_results, use query_result rather than query_svc_rec - -Thu Jun 5 19:12:51 2008 -0700 Ira Weiny -7ab6e63cf28eaaa8dac4dcd0a55dff1f7a92695f - - * infiniband-diags/src/ibnetdiscover.c: Fix the PortInfo data on the port we discover a switch on. - -Sun Jun 8 07:14:42 2008 +0300 Sasha Khapyorsky -98dcc64c4628c5335f1f0a41532de9caffd0f5c0 - - * infiniband-diags/man/saquery: add --smkey option to the man page - -Thu May 22 16:50:39 2008 +0300 Sasha Khapyorsky -ac99fcb8367da5baf8078b6012aeb41a9ffe92f5 - - * saquery: --smkey command line option - -Thu Jun 5 12:51:53 2008 -0700 Hal Rosenstock -9ea58ce81448c61db2a79e719f5b9bb056c1ba5f - - * infiniband-diags/ibsendtrap.c: Support CA and port num - -Thu Jun 5 12:51:49 2008 -0700 Hal Rosenstock -3a0ccf24cf3e83ca13cf70e015d167be70675ced - - * infiniband-diags/mcm_rereg_test.c: Handle error when guid file not found - -Tue Jun 3 06:01:28 2008 -0700 Hal Rosenstock -1562103b9f3ce6aee323c6ae5dc4fc37c2f03197 - - * infiniband-diags/saquery.c: Update for change to osm_mad_pool_init API - -Thu May 29 06:22:52 2008 -0700 Hal Rosenstock -7b08c94b4113e3951c5f73e52d49360dfcf440e5 - - * management: Support separate SA and SM keys as clarified in IBA 1.2.1 - -Sun Jun 1 19:48:17 2008 +0300 Sasha Khapyorsky -327fb32649f89740bbfb215882c860d0b42ba422 - - * infiniband-diags/scripts/*.pl: prevent some zero exists on errors - -Sun Jun 1 19:47:22 2008 +0300 Sasha Khapyorsky -89544a6d93b76d344ac897a6812ce59bddd2c331 - - * infiniband-diags/scripts/*.pl: exit 2 on usage errors - -Wed May 21 16:48:28 2008 -0700 Matthias Blankenhaus -95a60ca0020e76753d5d6b359939a3162aad1426 - - * saquery: port selection problem - -Wed May 28 17:59:41 2008 -0700 Ira Weiny -90df7e65ee4ae6528984bb9fd8b81132a4e79598 - - * infiniband-diags/scripts/ibprint[ca|switch|rt].pl: allow printing of multiple matches but print warning to user that multiple matches were found - -Wed May 28 17:57:19 2008 -0700 Ira Weiny -a061013fab2ad036b312112934dd935143a8b3bb - - * infiniband-diags/scripts/ibprint[ca|switch|rt].pl: fix printing by name - -Thu May 1 15:50:45 2008 -0700 Ira Weiny -4ec25884064a0a5c1e9bcd02188bf1b857449a2a - - * infiniband-diags/scripts/iblinkinfo.pl: fix printing of switch name when port 1 is down. - -Sun May 11 15:37:11 2008 +0300 Yevgeny Kliteynik -34f90df7e623b9eea858dae1171584457074a558 - - * infiniband-diags/Makefile.am: fix location of ibdiag_version.h - -Thu Apr 3 20:07:55 2008 +0300 Sasha Khapyorsky -7ecfb0746d6e11bf1510fc79fed5e9bf1ea97341 - - * management: bump all versions - -Sat Mar 29 14:51:00 2008 +0300 Sasha Khapyorsky -e364674d7a6bf4288e26709fdbbe0f387f6cfd8a - - * infiniband-diags: pass valid VLArb table size to dump func - -Tue Mar 25 13:35:25 2008 -0700 Hal Rosenstock -6efbae44e1537838d38f0dd88018ca980554b88c - - * infiniband-diags/vendstat.c: Fix port xmit wait handling - -Tue Mar 25 13:54:48 2008 +0200 Dotan Barak -04dd90f7cb0cb23d181bd77d4424ef6d62597a56 - - * management: Remove extraneous semicolon from several files - -Mon Mar 24 08:54:31 2008 -0700 Hal Rosenstock -fe928d2d08a113f85ef4fbf812af35064a3fe82c - - * infiniband-diags/ibping.c: Remove extraneous semicolon - -Mon Mar 24 02:18:42 2008 +0000 Sasha Khapyorsky -44c58ef9a9fa8c9b0362e5a047c7a7ca80f57999 - - * infiniband-diags/ibsendtrap.c: indentation fixes - -Fri Mar 21 15:51:19 2008 -0700 Ira Weiny -56814f52b7a590f1e6fa941661d0315eb56c8fe6 - - * Add mcm_rereg_test to test-utils option. - -Mon Mar 24 02:00:08 2008 +0000 Sasha Khapyorsky -2670e10e9969c6a2fdc281d119c6d82d59d61829 - - * infiniband-diags/ibsendtrap.c: add include files - -Fri Mar 21 15:51:17 2008 -0700 Ira Weiny -bd49fb360158eb5809fc6507d1aa1423158fa296 - - * Add an optional test utility 'ibsendtrap' - -Fri Mar 21 15:51:15 2008 -0700 Ira Weiny -41591a1ab4567e4aee7afca7503d2e4a66b34048 - - * infiniband-diags/scripts/set_nodedesc.sh: enhance to be able to set names other than hostname and to provide feedback on the names assigned - -Thu Mar 20 20:01:33 2008 +0000 Sasha Khapyorsky -63cc3c0b45d8b99d57db2d360facc20a2fc638cd - - * saquery: trivial: remove empty line - -Thu Mar 20 12:00:49 2008 +0200 Yevgeny Kliteynik -d2bde9575485384d8a6c94410f646f9c09c42cc1 - - * infiniband-diags/saquery: print SL in MCast groups - -Thu Mar 20 11:50:36 2008 +0200 Yevgeny Kliteynik -bc4041a177d7c243d4ce7623e6cf3ad249727e34 - - * infiniband-diags/Makefile.am: fix 'make install' - -Thu Mar 13 14:51:31 2008 -0700 Albert L. Chu -4512462cd8b21de965b9988a246349f4469080d4 - - * add router support to check_lft_balance.pl - -Tue Mar 11 04:41:34 2008 -0700 Hal Rosenstock -c195fac07db10d1842264b36b8f9c9f9280863c4 - - * infiniband-diags: Fix install of IBswcountlimits.pm script - -Thu Mar 6 18:30:37 2008 -0800 Ira Weiny -872ec30a11b7396ed6d95c4de5f4eea76a880601 - - * Rename ib_gid_t in mad.h to mad_gid_t to prevent name collision with ib_types.h - -Sun Mar 2 10:53:41 2008 -0800 Albert Chu -72dfdeca12c17debb440339babf7f022dae5e8fe - - * check_lft_balance script - -Mon Mar 3 11:02:06 2008 -0800 Ira Weiny -5930ed33e4820778ae59e9208c9f6d4e0ae826ef - - * Update documentation for guid format - -Mon Mar 3 10:59:23 2008 -0800 Ira Weiny -14de5552507c2307fe6c73e22d125d5d04d047f1 - - * infiniband-diags/scripts/ib[linkinfo][queryerrors].pl: report switch not found - -Mon Mar 3 10:58:33 2008 -0800 Ira Weiny -1c833d172b06a741ce26c55de87931149a021d8a - - * Fix bug which prevented some GUIDs from being found due to formating issues. - -Fri Feb 29 11:34:58 2008 -0800 Ira Weiny -cf9ce22d02c6e3ee21a0bd592279752fbed0c092 - - * infiniband-diags/scripts/ibprintswitch.pl: fix printing of ports - -Thu Feb 28 15:21:10 2008 -0800 Ira Weiny -fd389c5989017d04b962276b48d33aa6ab82663d - - * Create script to automate perltidy command - -Tue Feb 12 16:33:21 2008 -0800 Jeremy Brown -9b82613dd0cce2b5299adc9b578f35bdbb67de02 - - * ibstatus - small script change - -Mon Feb 11 20:17:54 2008 +0200 Sasha Khapyorsky -8579e3deb9020dd038f2b01ab8dfcc9ce20e67dc - - * management: bump versions in master branch - -Thu Jan 31 20:03:04 2008 +0200 Sasha Khapyorsky -7d3bd9adbb163ea108f6890e34680a3413a51b35 - - * infiniband-diags: perl scripts formatting - -Wed Jan 30 16:05:50 2008 -0800 Timothy A. Meier -55e569deee08be6c5cec6afa28844efaacc5df06 - - * opensm: diags bug fix in iblinkinfo.pl - -Wed Jan 30 14:03:50 2008 -0800 Tim Meier -45f9c2140c44c421c6cb2e25db48d07be6daf43b - - * opensm: diags better error checking for DR option - -Wed Jan 30 14:03:50 2008 -0800 Tim Meier -d1eb43f7e41736d803001d994621112253691e8b - - * infiniband-diags: formatting some perlscripts - -Sun Jan 27 08:01:40 2008 -0800 Hal Rosenstock -a8d47f30da9490c3fae599b484d19bbe0b335cbe - - * management: Update License: field in management spec files - -Sun Jan 27 09:31:25 2008 -0800 Hal Rosenstock -16272fceb91d29b1716c81836c171a642d0cbc64 - - * infiniband-diags: Add missing COPYING file - -Sat Jan 26 22:45:09 2008 +0200 Sasha Khapyorsky -986e59353da4fe5bbeee83b958cf317eec838183 - - * infiniband-diags: remove trailing whitespaces - -Thu Jan 24 18:50:38 2008 -0800 Ira K. Weiny -00257a079e8d639a001d8b836010f6b4cf4c642d - - * infiniband-diags/scripts/iblinkinfo.pl: Fix switch to switch output with new - -Thu Jan 24 15:20:31 2008 -0800 Tim Meier -5eae6ab79ab30e3ab3d0d65a05bd1c3085bf9307 - - * opensm: update man pages for diags DR support - -Thu Jan 24 14:49:02 2008 -0800 Tim Meier -3dde3917a4f1a0710bbbeae29ee6c5477b76490c - - * opensm: diags add DR path support to some utils - -Sun Jan 20 20:18:24 2008 +0000 Sasha Khapyorsky -8626bfe8b1682512d5175b16f2f7744ba7175dbd - - * infiniband-diags/saquery: code consolidation - -Sun Jan 20 19:54:33 2008 +0000 Sasha Khapyorsky -ce5943ba4cacd6c2d8791a21d8fdebdc91dd0b98 - - * infiniband-diags/saquery: usage field to struct query_cmd - -Fri Jan 18 16:37:22 2008 -0800 Ira Weiny -aeee7ee3283c6715a7cb2d9bc261bee11d617b3e - - * infiniband-diags/scripts/ibprintca.pl: fix regex when searching for node by name - -Fri Jan 18 16:37:18 2008 -0800 Ira Weiny -d681ab1613217cca52cd761143654091769e4b3f - - * infiniband-diags/scripts/ibprintrt.pl: fix regex when searching for router by name - -Fri Jan 18 16:37:10 2008 -0800 Ira Weiny -39761738830b335bb37e6231d093b9fcd72b7517 - - * infiniband-diags/scripts/ibprintswitch.pl: fix regex when searching for switch by name - -Fri Jan 18 17:01:10 2008 -0800 Ira Weiny -d25693819e1ece5fda6423d4be9d53036b5e4948 - - * Update perl script man pages for -C and -P options - -Fri Jan 18 16:37:36 2008 -0800 Ira Weiny -e9a17075ba00937d60025a345b7eb2a900dd8fd1 - - * Add -C and -P to ibprint[ca|rt|switch].pl - -Fri Jan 18 16:37:28 2008 -0800 Ira Weiny -6f1d1dc3ead6fdd2315f2e925bdb5b66ddfa0bd5 - - * infiniband-diags/scripts/iblinkinfo.pl: clean up output format - -Fri Jan 18 14:38:12 2008 -0800 Ira Weiny -606a2e2cbaef7350e2809fe9195232689e3e9c1e - - * infiniband-diags/scripts/IBswcountlimits.pm: clean up long lines - -Fri Jan 18 14:37:56 2008 -0800 Ira Weiny -42109662b63e13c1e49afaf8e8e171b7a7cf247f - - * infiniband-diags/scripts/IBswcountlimits.pm: Fix comment - -Wed Jan 16 21:16:25 2008 +0000 Sasha Khapyorsky -1abaf688b3d7e5c53ab320e11167076626ebbc32 - - * infiniband-diags/infiniband-diags.spec.in: add Obsoletes rule - -Tue Jan 15 17:16:25 2008 +0000 Sasha Khapyorsky -fa584067ae4a7a0d56670ed67a56f4b223d60741 - - * infiniband-diags/configure.in: complib doesn't have opensm dependencies anymore - -Thu Jan 10 03:48:16 2008 +0200 Sasha Khapyorsky -62155ca6bfd4478ff70dae2f38002f08be5d18ac - - * infiniband-diags/saquery: support for VLArb and PKey Table Records - -Wed Jan 9 23:31:59 2008 +0200 Sasha Khapyorsky -e7ad26383fa8c7771da7df4ed1e196069f5743b4 - - * infiniband-diags/saquery: support ports with LinkRecord query - -Wed Jan 9 21:59:02 2008 +0200 Sasha Khapyorsky -efaec253c4c3c57bf77362f84b29cbd3a4f66e61 - - * infiniband-diags/saquery: support for SL2VLTableRecord attribute - -Wed Jan 9 05:43:17 2008 +0200 Sasha Khapyorsky -d6d902f39837292d623a7617ff9273e936bbd0e9 - - * infiniband-diags/saquery: attribute names support - -Mon Jan 7 04:52:47 2008 +0200 Sasha Khapyorsky -c03c2c3370fb30aca72e12657d5ca145bdfca689 - - * infiniband-diags: update version according to the tree state - -Mon Jan 7 04:32:24 2008 +0200 Sasha Khapyorsky -c479145850752d46221b7e2d6a132ca5ce628674 - - * infiniband-diags: remove not needed anymore __BUILD_VERSION_TAG__ - -Mon Jan 7 04:25:37 2008 +0200 Sasha Khapyorsky -db0ca96adfec3080443ca03a75e572f6ab492e8e - - * infiniband-diags: use common build version - -Mon Jan 7 01:40:19 2008 +0200 Sasha Khapyorsky -78258492afdb8d274f063670ffb9c7485a44f964 - - * management/*/Makefile.am: update configure.in version on 'make dist' - -Sun Jan 6 21:33:44 2008 +0200 Sasha Khapyorsky -3868f7190a8d8a94d012b04f1bd1b483aedb0023 - - * management/*/Makefile.am: fix ChangeLog generation rule - -Thu Jan 3 04:20:57 2008 -0800 Hal Rosenstock -b8e575f8f72c6a922117d41450c561f8f6e0c9f1 - - * infiniband-diags/man/ibnetdiscover.8: Add newly added ports report option - -Thu Jan 3 09:44:46 2008 +0200 Sasha Khapyorsky -738a86c5e64decc2b1d3882a0a986be77eb9ed5b - - * management: bump versions - -Thu Jan 3 10:52:38 2008 +0200 Sasha Khapyorsky -d1785f3aa8228e2dc5459afecd3d9349d69f3c5e - - * infiniband-diags/dump_lfts.sh: fix switch DR Path parser - -Thu Jan 3 10:52:38 2008 +0200 Sasha Khapyorsky -0ad9eaec6d2f2fa68dfd5713f199fbb3753b0437 - - * infiniband-diags/dump_lfts.sh: adopt DR Path parser - -Tue Dec 25 09:06:00 2007 +0200 Erez Strauss -0b1d918fe0f7298b9a900d9ce08fb5d5fb463eda - - * ibnetdiscover - ports report - -Fri Dec 21 18:32:28 2007 +0200 Sasha Khapyorsky -15d6199f680e509038e20d0b338884108d35e3a3 - - * manangement: kill __WORDSIZE macro checks - -Thu Dec 13 02:09:07 2007 +0200 Sasha Khapyorsky -fb3b1e753d527faa08f863a55f7f8392fb01f2ed - - * infiniband-diags/scripts: fix perfquery usage - -Thu Dec 13 01:57:37 2007 +0200 Sasha Khapyorsky -6ab573fc99065007dea0f460bbc374f1eca086ac - - * infiniband-diags/ibcheckerrors: fix port errors count - -Tue Dec 11 03:55:20 2007 +0000 Sasha Khapyorsky -0e2ab5e8bd7242dcb28063018ee13e2c0352e21e - - * infiniband-diags/ibcheckerrors: for CAs query only single ports - -Tue Dec 4 01:22:12 2007 +0200 Sasha Khapyorsky -aafcba658fbfaf97eede499de78b20b00f3a4819 - - * infiniband-diags/man: add -x option to saquery man page - -Mon Dec 3 19:50:44 2007 +0200 Sasha Khapyorsky -b4193760335915df74256cd4dae744996f75b9bb - - * infiniband-diags/saquery: allow empty src and/or dst with --src-to-dst option - -Mon Dec 3 19:33:10 2007 +0200 Sasha Khapyorsky -3dccb526d62ef839f4d5bb527ea64504a745a07b - - * infiniband-diags/saquery: LinkRecord query support - -Mon Dec 3 19:28:43 2007 +0200 Sasha Khapyorsky -9af21edccd6d79cf0754f7ffcb4cbb0fdb71435b - - * infinibad-diags/saquery: move lid resolving functions - -Mon Dec 3 19:24:27 2007 +0200 Sasha Khapyorsky -ad5628bd4c23b97921901e1c3831c44b37710f97 - - * infiniband-diags/saquery: add get_any_records() function - -Tue Nov 20 00:04:13 2007 +0200 Sasha Khapyorsky -b0d9a6a768064891dec5c89f3e62ee6192c25ac8 - - * infiniband-diags: version 1.3.4 - -Fri Nov 16 16:32:22 2007 -0700 Rolf Manderscheid -af3f61cffeaa9d0d333c7ff6203bc5cfa406fbb4 - - * PATCH diags: add saquery option to get path records by GIDs - -Thu Nov 15 13:05:15 2007 +0200 Sasha Khapyorsky -20695d724fbec0505556f294597296bd696cef2c - - * infiniband-diags/ibtracert: print lids in decimal form - -Thu Nov 15 00:17:45 2007 +0200 Sasha Khapyorsky -c97a2026b62aaaa4fc67ff026abd0f9c3a7a97db - - * infiniband-diags: remove utf-8 characters from sources and man pages - -Tue Nov 6 19:09:16 2007 +0200 Sasha Khapyorsky -a192c1c6ebf253569a52129e1bf5974db0fbaae9 - - * infiniband-diags: version 1.3.3 - -Thu Nov 1 19:29:02 2007 -0700 Ira K. Weiny -ccb098b5f3ca59cb88d643aca24b012cfe583f03 - - * Change node name map implementation to use qmap in memory storage - -Sat Nov 3 14:58:36 2007 -0700 Hal Rosenstock -7d4d4a6495a830ca338ea91b649e686f3a5ab769 - - * infiniband-diags/grouping.c: For Xsigo grouping, fix seg fault when no peer port - -Thu Nov 1 20:15:08 2007 -0700 Ira Weiny -0e003f0eaa7c78e7a452437c5977aec9bc2281f2 - - * Move nodenamemap out of infiniband-diags into libosmcomp - -Fri Nov 2 20:55:22 2007 +0200 Sasha Khapyorsky -599db496b60dd369141e39f3beb0be0aa63ab0eb - - * infiniband-diags/man/smpquery: fix typo - -Thu Nov 1 20:15:02 2007 -0700 Ira Weiny -360f999d6485bce8bde53ae0fee7a202b07a641e - - * Change switch map function names to reflect the new functionality of a simple node name map. - -Thu Nov 1 20:14:56 2007 -0700 Ira Weiny -160bf41e1ae206ea89f23681cc0c9fbc5fe813f4 - - * use lookup_switch_name for all node types. - -Thu Nov 1 20:15:18 2007 -0700 Ira Weiny -022d2f1084db70b615a284939d98e04a2a9e7b10 - - * infiniband-diags/src/smpquery.c : special case situation where nodename len is >= 32 - -Thu Oct 25 11:43:17 2007 -0700 Ira Weiny -782933071981177d04931a4230a95665e728a57e - - * infiniband-diags/configure.in: fix comment - -Tue Oct 23 14:08:09 2007 -0700 Hal Rosenstock -8d7a5a0fecf564301669608085f9bccd56e61666 - - * infiniband-diags/sminfo: Fix activity count display - -Tue Oct 23 06:05:44 2007 -0700 Hal Rosenstock -3d0fe12820b662304953fba895b9262a0233cdad - - * infiniband-diags/scripts: Eliminate some duplicated messages - -Tue Oct 23 11:03:32 2007 +0200 Yevgeny Kliteynik -5b233eff723c309f700950fc004a536a98e2a1bb - - * osm: QoS - adding CPI:CapabilityMask2 and turning on QOS_SUPPORTED bit - -Fri Oct 19 11:11:36 2007 -0700 Ira Weiny -d219fae95e053409f97117f38b7e7675c0ececdb - - * infiniband-diags: Formalize BuildRequires for rpmbuild - -Tue Oct 16 16:30:57 2007 -0700 Hal Rosenstock -b4d808b08ed07f68cdd185cd155049a292f876d8 - - * infiniband-diags/scripts: Updated for perfquery support of no AllPortSelect option - -Tue Oct 16 16:25:37 2007 -0700 Hal Rosenstock -05bc2ced372d8b31f36c8803c50982e628aee269 - - * infiniband-diags/perfquery.c: Support PMAs which don't support AllPortSelect option - -Sun Oct 14 20:11:37 2007 +0200 Sasha Khapyorsky -66866e09c1da86ec5e6c8f011a42acd7ddc4d3d7 - - * libibcommon,infiniband-diags: move get_build_version() to diags - -Fri Oct 12 06:30:57 2007 -0700 Hal Rosenstock -0648a3e39bcf983116e34c88b7477d564004ff0a - - * infiniband-diags/perfquery.c: Fix issues when checking PerfMgt:ClassPortInfo.CapabilityMask - -Thu Sep 20 19:41:12 2007 +0200 Sasha Khapyorsky -a9e9021fdbc306d7d4b6bce1f69904e9c17eb6cb - - * infiniband-diags: update version to 1.3.2 - -Thu Sep 20 18:04:12 2007 +0200 Sasha Khapyorsky -dfd2c903eeae56aed470bbfb6f6e59cd5331e328 - - * management/*/*.spec.in: change Source field to OFA paths - -Wed Sep 19 03:37:03 2007 +0200 Sasha Khapyorsky -9176134f1a979ca880f7413b3a81c8e1f72d527b - - * management/*/configure: RELEASE and TARBALL for spec files - -Wed Sep 19 03:42:52 2007 +0200 Sasha Khapyorsky -f971305587c9d44ddb20542d2a46af7be0838bfb - - * management/*/Makefile.am: generate ChangeLog files when distributed - -Wed Sep 19 03:28:43 2007 +0200 Sasha Khapyorsky -01af39b2b79c7457b39ebeae829de74829fa024f - - * management/*/Makefile.am: clean dist-hook target - -Wed Sep 19 02:00:08 2007 +0200 Sasha Khapyorsky -a435c184928ad672dad014ed8c9d41d6194b12d0 - - * management/*/*.spec.in: don't run autogen.sh - -Wed Sep 19 12:39:44 2007 +0200 Sasha Khapyorsky -803fec08da4b069c47e3e0684d878437f455d9b4 - - * management/*/Makefile.am: fix include paths - -Wed Sep 19 06:36:00 2007 +0200 Sasha Khapyorsky -53de3e14348eff17e8354f2d527f13d0af284f2a - - * libibmad,infiniband-diags: fix include paths - -Wed Sep 19 03:00:44 2007 +0200 Sasha Khapyorsky -807865b7d12fbb58e52757638475e8fe59b657c6 - - * management/*/ChangeLog: trivial spacing fixes - -Wed Sep 19 02:05:57 2007 +0200 Sasha Khapyorsky -59bcb7ce564a940e0fad68cfd08ba360e6705507 - - * management/*/Makefile.am: add autogen.sh script to 'make dist' - -Tue Sep 18 04:31:56 2007 -0700 Hal Rosenstock -83a1d77451c43326cea6a47bbb0378ad434af803 - - * infiniband-diags/ibnetdiscover: Bump build version - -Tue Sep 18 00:41:21 2007 +0200 Sasha Khapyorsky -7fbcedce265ae759f5475474333e8dbece640808 - - * infiniband-diags/ibnetdiscover: trivial code simplifications - -Thu Sep 13 17:36:34 2007 -0700 Hal Rosenstock -12da31ea6580928639a389a644a067f4492e61e4 - - * ibnetdiscover: Support Xsigo chassis grouping - -Mon Sep 17 20:53:30 2007 +0200 Sasha Khapyorsky -adfe1178860a6d552a4c65883bf43ae3dee3f828 - - * opensm and all: fix Source field in spec.in files. - -Thu Sep 6 13:22:23 2007 +0300 Sasha Khapyorsky -bea13ae0456af09e00e29716dfd33bd0e8d586f4 - - * infiniband-diags: use shared ibdebug var - -Fri Sep 7 15:21:21 2007 -0700 Ira Weiny -d1f3b1a2a4e90238ac0b9ae6d48e5289e4242e3a - - * Fix regexp's for new ibnetdiscover output - -Fri Sep 7 15:19:25 2007 -0700 Ira Weiny -eeca1cde7278f76a7fb66b1a6794dbc9b0164dde - - * infiniband-diags/src/ibdiag_common.c: do not print warning of failed default switch map open - -Fri Sep 7 15:19:24 2007 -0700 Ira Weiny -874741bffe3461c0efe8fa1aaaa9239d56344891 - - * infiniband-diags/src/smpquery.c: fix compiler warning - -Fri Sep 7 15:25:41 2007 -0700 Ira Weiny -05b0cd513c1caaf804d54bd344c0fc823e3b30a3 - - * Add -C and -P options to perl diags to be able to use alternate CA's and ports - -Thu Aug 30 09:24:35 2007 -0700 Ira Weiny -69b63fa34ebb7870353eb1232375be9c78d74a11 - - * infiniband-diags/Makefile.am: clean up extra directives - -Thu Aug 23 14:46:48 2007 -0700 Ira Weiny -eb35d7d55199ce6496bbfff3522d6d37ad66ec7b - - * infiniband-diags/src/smpquery.c: Add switch-map support for nodedesc query - -Tue Aug 21 14:44:58 2007 +0300 Yevgeny Kliteynik -ef8c0b37c2d7569941647555d1f1f9b0a75b3772 - - * osm: QoS - adding new PathRecord fields - -Tue Aug 14 18:06:14 2007 -0700 Ira Weiny -8a93339145383e48e61dcabfd0483729d930e00b - - * iblinkinfo.pl: Remove annoying double quote around switch name. - -Thu Aug 9 19:03:32 2007 -0700 Ira Weiny -de992988200185aaa97f17d5e49f648bb16dc3c0 - - * infiniband-diags/set_mthca_nodedesc.sh: change to work for all HCA's - -Thu Aug 9 19:03:31 2007 -0700 Ira Weiny -eb1a85399667b3a78e233898d91b3d3bfd8bbd5b - - * infiniband-diags/set_mthca_nodedesc.sh: change to work for all HCA's - -Wed Aug 8 22:48:15 2007 +0300 Bernd Schubert -fdcb7763408d40261623b026a12bdbe636c805bc - - * ibnetdiscover: man page improvement - -Tue Jul 31 19:09:54 2007 -0500 davem at systemfabricworks.com -d4a17c49fbeb6a08553b57f83ca58c35aba327de - - * infiniband-diags/scripts: Fix Bug 239 Error Reporting - -Tue Jul 31 15:39:27 2007 -0500 davem at systemfabricworks.com -4fcb80fc9ac33873bd03eefdbe25609f87bdf7c2 - - * infiniband-diags: Add common flags -P, -C, and -t - -Thu Aug 2 16:10:19 2007 +0300 Yevgeny Kliteynik -3518ece979a687bf14e5ec5d0f0b2d4d31230462 - - * osm: cosmetics - removing trailing blanks - -Fri Jul 20 10:12:03 2007 -0500 davem at systemfabricworks.com -50c5fdb9a45816590a8e2fb4c882327319896cad - - * infiniband-diags/ibnetdiscover: Fix DDR link speed decode - -Fri Jul 20 10:09:50 2007 -0500 davem at systemfabricworks.com -a1d599fa9ba35dd1b3a4774ab1483ba63d2420ef - - * infiniband-diags/scripts: Handle new and old topology file format - -Thu Jul 19 07:28:09 2007 +0300 Sasha Khapyorsky -fd158762068cb105b9b3379b48f9aa14d0ef3d18 - - * infiniband-diags: remove trailing whitespaces - -Tue Jul 10 17:23:06 2007 -0400 Hal Rosenstock -7c33825faf3927e4dfc0fe599884a1a4bbb1c183 - - * infiniband-diags: Updated to version 1.3.1 - -Wed Jun 20 08:44:33 2007 -0400 Hal Rosenstock -25448da98b8e5bc99e6381200e438e8e47392288 - - * infiniband-diags: Use diag common code ib_error routine - -Mon Jun 18 06:58:20 2007 -0400 Hal Rosenstock -183a433ed832d3eff9eaddfa1028e75ccb4132bb - - * infiniband-diags/src/ibtracert.c: Cosmetic change to IBWARN message - -Mon Jun 18 06:11:57 2007 -0400 Hal Rosenstock -4e2bded53687ffc12cc31b82d648ef296dc6c471 - - * infiniband-diags/man/ibaddr.8: Improve description - -Thu Jun 7 09:49:16 2007 -0400 Hal Rosenstock -40dc7d4e19ac9d7017bc8abb8ad1cca3e850c893 - - * infiniband-diags/scripts/ibidsverify.pl: Validate port GUID against node GUIDs Note only one port GUID can duplicate a node GUID - -Thu Jun 7 09:00:31 2007 -0400 Hal Rosenstock -0ff55b33b23afe4925fd617f8eaeb8531421d67c - - * infiniband-diags/scripts/ibidsverify.pl: Normalize portguid format to be the same as nodeguid format (0x preceeding the guid) - -Thu Jun 7 08:55:18 2007 -0400 Hal Rosenstock -8adc2f85ab9ee788b7e69a4190b18968550ac184 - - * infiniband-diags/scripts/ibidsverify.pl: Fix parsing of node and port GUIDs for switches - -Thu Jun 7 08:38:05 2007 -0400 Hal Rosenstock -762dab1bc92d195e7a09f632051947ae8051aa06 - - * infiniband-diags/scripts/ibidsverify.pl: Cosmetic formatting changes - -Tue Jun 5 15:07:43 2007 -0400 Hal Rosenstock -f9e45b389c08d4033d258139dae3d064501c2ae7 - - * infiniband-diags/ibidsverify.pl: Support port GUID validation - -Tue Jun 5 15:07:08 2007 -0400 Hal Rosenstock -d3732ecd9f1a17b73756b61e4d42cb9db7cc0580 - - * infiniband-diags/ibnetdiscover: Add port GUIDs to topology file - -Tue Jun 5 14:29:34 2007 -0400 Hal Rosenstock -b351940ef1fcc80da83787a69c9a87af529c20ce - - * infiniband-diags/man/ibnetdiscover.8: Fix a typo - -Tue Jun 5 14:10:32 2007 -0400 Hal Rosenstock -a8fab72f6698d67e7af3af6da1d6f4ae19fd3635 - - * infiniband-diags/scripts/ibidsverify.pl: Generalize validate_non_zero_guid for GUID rather than NodeGUID to ready for adding PortGUID verification - -Tue Jun 5 13:36:11 2007 -0400 Hal Rosenstock -1332c73b0ccb369aaec9a4d5701e2044ff189986 - - * infiniband-diags/src/ibnetdiscover.c: Minor changes to minimize differences for adding port GUID into topology file - -Tue Jun 5 13:29:58 2007 -0400 Hal Rosenstock -94f0079e9b47f168f5852a35ff6c35e7ba523435 - - * infiniband-diags/src/ibnetdiscover.c: In get_node, set portguid to NodeInfo PortGUID rather than NodeGUID - -Tue Jun 5 09:11:56 2007 -0400 Hal Rosenstock -6641029b5da88ee80ad5fbaa1cd52d1eddae1f15 - - * infiniband-diags/man/ibnetdiscover.8: Added text description for active link width and link speed - -Mon Jun 4 12:10:10 2007 -0400 Hal Rosenstock -88db7275231eff0591b7f9b8a0158f6f5e81a81d - - * ibnetdiscover: Add link width and speed to topology file output - -Mon Jun 4 08:33:26 2007 -0400 Hal Rosenstock -bea47292bf3e841426e0848885ee5b3d8db65f29 - - * infiniband-diags/src/ibnetdiscover.c: Cosmetic formatting change - -Sat Jun 2 05:58:01 2007 -0400 Hal Rosenstock -1af3748277e853a55f0761e6304a7da179a16cdf - - * infiniband-diags/man/ibnetdiscover.8: Add topology file format section - -Fri Jun 1 23:30:36 2007 -0400 Hal Rosenstock -041fbe3708c74298ecf698e65ba9c51e27e28a7a - - * infiniband-diags/man/ibnetdiscover.8: Add grouping information - -Fri Jun 1 19:36:08 2007 -0400 Hal Rosenstock -160e22380610dbcb25466eaba2a3eee1ab64735a - - * infiniband-diags/ibnetdiscover: Fix list by nodetype operations - -Fri Jun 1 15:52:26 2007 -0400 Hal Rosenstock -f6fa70500e4590d9cbf3f8ff3a9b2ef4f28cba79 - - * infiniband-diags/man/ibnetdiscover.8: Cosmetic changes - -Fri Jun 1 15:39:23 2007 -0400 Hal Rosenstock -f8b4af2d3e42f4b7b15556bb714760ba4f1f40dc - - * infiniband-diags/ibnetdiscover: Add supporti for -R(outer_list) option - -Fri Jun 1 11:12:07 2007 -0400 Hal Rosenstock -ff9957480ed5b975d6c0c093c00d4f20088f2aa1 - - * infiniband-diags/Makefile.am: Add ibidsverify - -Fri Jun 1 11:08:14 2007 -0400 Hal Rosenstock -84861fa8674c2daa48e788f78f1fdbfc1a8f354e - - * infiniband-diags/scripts/ibidsverify.pl: Add initial version of ibidsverify.pl script - -Fri Jun 1 11:05:29 2007 -0400 Hal Rosenstock -403dc8cd132d8acb27b4950a6c6dd023c0cee0b5 - - * infiniband-diags/scripts/IBswcountlimits.pm: Fixed typo and other cosmetic changes - -Fri Jun 1 09:18:18 2007 -0400 Hal Rosenstock -e381c6a96b70fccbc17472d7d2362de95bdb28da - - * infiniband-diags/scripts/iblinkinfo.pl: Cosmetic formatting change - -Fri Jun 1 08:22:35 2007 -0400 Hal Rosenstock -bcaebf3d1c860aab92678f68ea2a67f3c8cd7faf - - * infiniband-diags/scripts/ibqueryerrors.pl: Cosmetic change - -Fri Jun 1 08:12:04 2007 -0400 Hal Rosenstock -d39af4afab4957f4e5d38004546f1a5245e86b62 - - * infiniband-diags/man/ibidsverify.8: Add man page for ibidsverify.pl script - -Thu May 31 12:33:39 2007 -0400 Hal Rosenstock -343e890726faa50c61aae171f45cd0f382e07dbd - - * management/*.spec: Remove *.spec files from management git repo as committed files. They are generated files. - -Thu May 31 11:41:16 2007 -0400 Hal Rosenstock -d01f5e1398e971e4cb6a32dcd1ccfe2fcc975283 - - * management/*.spec: Latest daily versions of .spec files (prior to removing these due to build changes) - -Thu May 31 08:19:16 2007 -0400 Hal Rosenstock -913311ad7451f461e55b15e96890bf67cb83a945 - - * infiniband-diag/man/(ibprintca ibprintswitch ibprintrt).8: Add description of list capability to man pages - -Thu May 31 06:34:52 2007 -0400 Hal Rosenstock -a8c7e71e332ee9f387a251513c8bc14de5200daf - - * infiniband-diags: Add ibdatacounters - -Thu May 31 06:30:56 2007 -0400 Hal Rosenstock -b1c72b6d21c5363fe3f47bf8fb1e0bcff4355519 - - * infiniband-diags/ibdatacounters: Add script and man page for subnet wide data counters - -Thu May 31 06:19:07 2007 -0400 Hal Rosenstock -152d8bbba98aa8b6544a0f822802c1afd95a8dd6 - - * infiniband-diags/configure.in: Change IBSCRIPTPATH from bindir to sbindir - -Wed May 30 17:24:23 2007 -0400 Hal Rosenstock -90ef0643c4d9ee3ffbff5a4465dc3c5603c71ebf - - * infiniband-diags/(Makefile.am configure.in): Add ibrouters and ibprintrt.pl - -Wed May 30 17:18:45 2007 -0400 Hal Rosenstock -01ff4ad34a92182e237d039ae080328523103967 - - * infiniband-diags: Add scripts and man pages for display of IB routers (ibrouters.in, ibprintrt.pl, ibrouters.8, ibprintrt.8) - -Wed May 30 17:14:04 2007 -0400 Hal Rosenstock -ad1acd658f8b824fb4278119bd04351e9e517350 - - * infiniband-diags/scripts/ibprintca.pl: Fix bug introduced in last commit which caused compilation error - -Wed May 30 13:36:29 2007 -0400 Hal Rosenstock -a3305b761e0828a26f4ae02407f39c75b462e6d0 - - * infiniband-diags/scripts/ibqueryerrors.pl: Add GUID to output line for ports - -Wed May 30 13:25:16 2007 -0400 Hal Rosenstock -c521a155f3e62065fea3b06008b577d13e5208ba - - * infiniband-diags/scripts/(ibcheckerrs ibcheckport ibcheckportstate ibcheckportwidth ibdatacounts).in: Add lid and port into verbose output - -Wed May 30 11:18:08 2007 -0400 Hal Rosenstock -459536621c993926ffbbf538c9c16d4b362a04a1 - - * infiniband-diags/scripts/(ibcheckerrs ibcheckport ibdatacounts).in: Changed portnum to port in output - -Wed May 30 10:00:24 2007 -0400 Hal Rosenstock -5a14e8fa23513799587a097ec059fb699020c470 - - * infiniband-diags: Updated configure.in and Makefile.am for ibdatacounts script and man page - -Wed May 30 09:55:57 2007 -0400 Hal Rosenstock -01952b41745424c2ddb978960504a775c55c58b6 - - * infiniband-diags/man/ibdatacounts.8: Cosmetic change - -Wed May 30 09:22:40 2007 -0400 Hal Rosenstock -bfaff30da5769c73a5af392e218a7e404dcdd187 - - * infiniband-diags/ibdatacounts.(in 8): Add script to display only data counters and associated man page - -Sat May 26 15:54:58 2007 -0400 Hal Rosenstock -a9f3b186120184df96bc8ea341e215c138071500 - - * infiniband-diags/scripts/IBswcountlimits.pm: Fix node description parsing for switches - -Sat May 26 07:47:44 2007 -0400 Hal Rosenstock -78111b4ca8d37f29703546b0f650b1c4b40aba34 - - * infiniband-diags/scripts/iblinkinfo.pl: Add peer port link width and speed validation - -Fri May 25 19:32:38 2007 -0400 Hal Rosenstock -caa39fc6d9732396bdbf1948bd7171fa4af5cd66 - - * infiniband-diags/ChangeLog: Add log entry for change to IBswcountlimits.pm for router support - -Fri May 25 19:31:35 2007 -0400 Hal Rosenstock -c156628cb66af6273299cf25d2df3b467c3034c8 - - * infiniband-diags/scripts/IBswcountlimits.pm: Add support for routers - -Fri May 25 12:55:28 2007 -0400 Hal Rosenstock -90a529b4faa74570976084c1e276d1e6f7eb298d - - * infiniband-diags/ChangeLog: Add log entries for script changes to IBswcountlimits.pm and iblinkinfo.pl - -Fri May 25 12:52:20 2007 -0400 Hal Rosenstock -2c146e65b010a3e8db27f6f55116f2aec168e93a - - * infiniband-diags/scripts/iblinkinfo.pl: Display remote LID with peer port info - -Fri May 25 12:51:53 2007 -0400 Hal Rosenstock -df8acd9eb2589979a435996258828553136c1c1f - - * infiniband-diags/scripts/IBswcountlimits.pm: Add support for rem_lid in get_link_ends subroutine - -Fri May 25 09:10:18 2007 -0400 Hal Rosenstock -1d1530fb215273f91b6eaa1c783b7c8291054a43 - - * infiniband-diags/src/ibportstate.c: Handle peer ports at 1x that should be wider and 2.5 Gbps that should be faster - -Fri May 25 08:48:08 2007 -0400 Hal Rosenstock -13490070db00c145b7f0a2225ed7ace10451bdb8 - - * infiniband-diags/src/ibportstate.c: Add LinkSpeed/Width related components to output - -Thu May 24 08:43:27 2007 -0400 Hal Rosenstock -9d10ef557cd6edd06780c7451d4848a3f816a6b8 - - * infiniband-diags/scripts/ibprintca.pl: Add support for routers - -Wed May 23 14:20:19 2007 -0400 Hal Rosenstock -f49c6114addab8444d0961f780823c33141b883b - - * infiniband-diags/scripts: Add support for IB routers in existing scripts - -Wed May 23 06:40:58 2007 -0400 Ira K. Weiny -4085ee4a9005f6f7cab28050a2f0d63d8794a213 - - * infiniband-diags/infiniband-diags.spec.in: Move commands from bin to sbin - -Tue May 22 15:34:45 2007 -0400 Hal Rosenstock -82aea277bb8541a297b5eef34af4208112e843ad - - * Diags/man: Cosmetic changes - -Mon May 21 15:01:45 2007 -0400 Hal Rosenstock -552c82f2e6bc8eb09907e8132e0dd70ebcc9608c - - * diags/man: Fixed some formatting - -Tue May 15 12:02:50 2007 -0400 Hal Rosenstock -dbbe9cb983e2e67cd5ffa0ac38a494392f930402 - - * infiniband-diags/Makefile.am: Move diag programs and scripts from bin to sbin - -Tue May 15 09:26:48 2007 -0400 Hal Rosenstock -75f187e14908df40ab7ad0eff3e87da381b9ba74 - - * Merge branch 'master' of git://staging.openfabrics.org/~halr/management - -Mon May 14 13:31:05 2007 -0400 Hal Rosenstock -f79504952e7817a07d0adb2359abf1cadcd31f1f - - * spec summary changes - -Wed May 9 19:15:57 2007 -0400 Hal Rosenstock -0832be7ea9b83e84083d6e859455b75fb3145fb6 - - * infiniband-diags/configure.in: Changes for changing from openib-diags to infiniband-diags - -Thu Apr 12 16:52:49 2007 -0400 Hal Rosenstock -e4d681de516743f6a0d94d679b8332c57c71528f - - * Diags: Renamed openib-diags to infiniband-diags Also, some other changes based on this (openib-diags.spec.in moved to infiniband-diags.spec.in, openib-diags.spec moved to infiniband-diags.spec, and Makefile.am changed for this) diff --git a/INSTALL b/INSTALL new file mode 100644 index 0000000..007e939 --- /dev/null +++ b/INSTALL @@ -0,0 +1,370 @@ +Installation Instructions +************************* + +Copyright (C) 1994-1996, 1999-2002, 2004-2013 Free Software Foundation, +Inc. + + Copying and distribution of this file, with or without modification, +are permitted in any medium without royalty provided the copyright +notice and this notice are preserved. This file is offered as-is, +without warranty of any kind. + +Basic Installation +================== + + Briefly, the shell commands `./configure; make; make install' should +configure, build, and install this package. The following +more-detailed instructions are generic; see the `README' file for +instructions specific to this package. Some packages provide this +`INSTALL' file but do not implement all of the features documented +below. The lack of an optional feature in a given package is not +necessarily a bug. More recommendations for GNU packages can be found +in *note Makefile Conventions: (standards)Makefile Conventions. + + The `configure' shell script attempts to guess correct values for +various system-dependent variables used during compilation. It uses +those values to create a `Makefile' in each directory of the package. +It may also create one or more `.h' files containing system-dependent +definitions. Finally, it creates a shell script `config.status' that +you can run in the future to recreate the current configuration, and a +file `config.log' containing compiler output (useful mainly for +debugging `configure'). + + It can also use an optional file (typically called `config.cache' +and enabled with `--cache-file=config.cache' or simply `-C') that saves +the results of its tests to speed up reconfiguring. Caching is +disabled by default to prevent problems with accidental use of stale +cache files. + + If you need to do unusual things to compile the package, please try +to figure out how `configure' could check whether to do them, and mail +diffs or instructions to the address given in the `README' so they can +be considered for the next release. If you are using the cache, and at +some point `config.cache' contains results you don't want to keep, you +may remove or edit it. + + The file `configure.ac' (or `configure.in') is used to create +`configure' by a program called `autoconf'. You need `configure.ac' if +you want to change it or regenerate `configure' using a newer version +of `autoconf'. + + The simplest way to compile this package is: + + 1. `cd' to the directory containing the package's source code and type + `./configure' to configure the package for your system. + + Running `configure' might take a while. While running, it prints + some messages telling which features it is checking for. + + 2. Type `make' to compile the package. + + 3. Optionally, type `make check' to run any self-tests that come with + the package, generally using the just-built uninstalled binaries. + + 4. Type `make install' to install the programs and any data files and + documentation. When installing into a prefix owned by root, it is + recommended that the package be configured and built as a regular + user, and only the `make install' phase executed with root + privileges. + + 5. Optionally, type `make installcheck' to repeat any self-tests, but + this time using the binaries in their final installed location. + This target does not install anything. Running this target as a + regular user, particularly if the prior `make install' required + root privileges, verifies that the installation completed + correctly. + + 6. You can remove the program binaries and object files from the + source code directory by typing `make clean'. To also remove the + files that `configure' created (so you can compile the package for + a different kind of computer), type `make distclean'. There is + also a `make maintainer-clean' target, but that is intended mainly + for the package's developers. If you use it, you may have to get + all sorts of other programs in order to regenerate files that came + with the distribution. + + 7. Often, you can also type `make uninstall' to remove the installed + files again. In practice, not all packages have tested that + uninstallation works correctly, even though it is required by the + GNU Coding Standards. + + 8. Some packages, particularly those that use Automake, provide `make + distcheck', which can by used by developers to test that all other + targets like `make install' and `make uninstall' work correctly. + This target is generally not run by end users. + +Compilers and Options +===================== + + Some systems require unusual options for compilation or linking that +the `configure' script does not know about. Run `./configure --help' +for details on some of the pertinent environment variables. + + You can give `configure' initial values for configuration parameters +by setting variables in the command line or in the environment. Here +is an example: + + ./configure CC=c99 CFLAGS=-g LIBS=-lposix + + *Note Defining Variables::, for more details. + +Compiling For Multiple Architectures +==================================== + + You can compile the package for more than one kind of computer at the +same time, by placing the object files for each architecture in their +own directory. To do this, you can use GNU `make'. `cd' to the +directory where you want the object files and executables to go and run +the `configure' script. `configure' automatically checks for the +source code in the directory that `configure' is in and in `..'. This +is known as a "VPATH" build. + + With a non-GNU `make', it is safer to compile the package for one +architecture at a time in the source code directory. After you have +installed the package for one architecture, use `make distclean' before +reconfiguring for another architecture. + + On MacOS X 10.5 and later systems, you can create libraries and +executables that work on multiple system types--known as "fat" or +"universal" binaries--by specifying multiple `-arch' options to the +compiler but only a single `-arch' option to the preprocessor. Like +this: + + ./configure CC="gcc -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ + CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \ + CPP="gcc -E" CXXCPP="g++ -E" + + This is not guaranteed to produce working output in all cases, you +may have to build one architecture at a time and combine the results +using the `lipo' tool if you have problems. + +Installation Names +================== + + By default, `make install' installs the package's commands under +`/usr/local/bin', include files under `/usr/local/include', etc. You +can specify an installation prefix other than `/usr/local' by giving +`configure' the option `--prefix=PREFIX', where PREFIX must be an +absolute file name. + + You can specify separate installation prefixes for +architecture-specific files and architecture-independent files. If you +pass the option `--exec-prefix=PREFIX' to `configure', the package uses +PREFIX as the prefix for installing programs and libraries. +Documentation and other data files still use the regular prefix. + + In addition, if you use an unusual directory layout you can give +options like `--bindir=DIR' to specify different values for particular +kinds of files. Run `configure --help' for a list of the directories +you can set and what kinds of files go in them. In general, the +default for these options is expressed in terms of `${prefix}', so that +specifying just `--prefix' will affect all of the other directory +specifications that were not explicitly provided. + + The most portable way to affect installation locations is to pass the +correct locations to `configure'; however, many packages provide one or +both of the following shortcuts of passing variable assignments to the +`make install' command line to change installation locations without +having to reconfigure or recompile. + + The first method involves providing an override variable for each +affected directory. For example, `make install +prefix=/alternate/directory' will choose an alternate location for all +directory configuration variables that were expressed in terms of +`${prefix}'. Any directories that were specified during `configure', +but not in terms of `${prefix}', must each be overridden at install +time for the entire installation to be relocated. The approach of +makefile variable overrides for each directory variable is required by +the GNU Coding Standards, and ideally causes no recompilation. +However, some platforms have known limitations with the semantics of +shared libraries that end up requiring recompilation when using this +method, particularly noticeable in packages that use GNU Libtool. + + The second method involves providing the `DESTDIR' variable. For +example, `make install DESTDIR=/alternate/directory' will prepend +`/alternate/directory' before all installation names. The approach of +`DESTDIR' overrides is not required by the GNU Coding Standards, and +does not work on platforms that have drive letters. On the other hand, +it does better at avoiding recompilation issues, and works well even +when some directory options were not specified in terms of `${prefix}' +at `configure' time. + +Optional Features +================= + + If the package supports it, you can cause programs to be installed +with an extra prefix or suffix on their names by giving `configure' the +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. + + Some packages pay attention to `--enable-FEATURE' options to +`configure', where FEATURE indicates an optional part of the package. +They may also pay attention to `--with-PACKAGE' options, where PACKAGE +is something like `gnu-as' or `x' (for the X Window System). The +`README' should mention any `--enable-' and `--with-' options that the +package recognizes. + + For packages that use the X Window System, `configure' can usually +find the X include and library files automatically, but if it doesn't, +you can use the `configure' options `--x-includes=DIR' and +`--x-libraries=DIR' to specify their locations. + + Some packages offer the ability to configure how verbose the +execution of `make' will be. For these packages, running `./configure +--enable-silent-rules' sets the default to minimal output, which can be +overridden with `make V=1'; while running `./configure +--disable-silent-rules' sets the default to verbose, which can be +overridden with `make V=0'. + +Particular systems +================== + + On HP-UX, the default C compiler is not ANSI C compatible. If GNU +CC is not installed, it is recommended to use the following options in +order to use an ANSI C compiler: + + ./configure CC="cc -Ae -D_XOPEN_SOURCE=500" + +and if that doesn't work, install pre-built binaries of GCC for HP-UX. + + HP-UX `make' updates targets which have the same time stamps as +their prerequisites, which makes it generally unusable when shipped +generated files such as `configure' are involved. Use GNU `make' +instead. + + On OSF/1 a.k.a. Tru64, some versions of the default C compiler cannot +parse its `' header file. The option `-nodtk' can be used as +a workaround. If GNU CC is not installed, it is therefore recommended +to try + + ./configure CC="cc" + +and if that doesn't work, try + + ./configure CC="cc -nodtk" + + On Solaris, don't put `/usr/ucb' early in your `PATH'. This +directory contains several dysfunctional programs; working variants of +these programs are available in `/usr/bin'. So, if you need `/usr/ucb' +in your `PATH', put it _after_ `/usr/bin'. + + On Haiku, software installed for all users goes in `/boot/common', +not `/usr/local'. It is recommended to use the following options: + + ./configure --prefix=/boot/common + +Specifying the System Type +========================== + + There may be some features `configure' cannot figure out +automatically, but needs to determine by the type of machine the package +will run on. Usually, assuming the package is built to be run on the +_same_ architectures, `configure' can figure that out, but if it prints +a message saying it cannot guess the machine type, give it the +`--build=TYPE' option. TYPE can either be a short name for the system +type, such as `sun4', or a canonical name which has the form: + + CPU-COMPANY-SYSTEM + +where SYSTEM can have one of these forms: + + OS + KERNEL-OS + + See the file `config.sub' for the possible values of each field. If +`config.sub' isn't included in this package, then this package doesn't +need to know the machine type. + + If you are _building_ compiler tools for cross-compiling, you should +use the option `--target=TYPE' to select the type of system they will +produce code for. + + If you want to _use_ a cross compiler, that generates code for a +platform different from the build platform, you should specify the +"host" platform (i.e., that on which the generated programs will +eventually be run) with `--host=TYPE'. + +Sharing Defaults +================ + + If you want to set default values for `configure' scripts to share, +you can create a site shell script called `config.site' that gives +default values for variables like `CC', `cache_file', and `prefix'. +`configure' looks for `PREFIX/share/config.site' if it exists, then +`PREFIX/etc/config.site' if it exists. Or, you can set the +`CONFIG_SITE' environment variable to the location of the site script. +A warning: not all `configure' scripts look for a site script. + +Defining Variables +================== + + Variables not defined in a site shell script can be set in the +environment passed to `configure'. However, some packages may run +configure again during the build, and the customized values of these +variables may be lost. In order to avoid this problem, you should set +them in the `configure' command line, using `VAR=value'. For example: + + ./configure CC=/usr/local2/bin/gcc + +causes the specified `gcc' to be used as the C compiler (unless it is +overridden in the site shell script). + +Unfortunately, this technique does not work for `CONFIG_SHELL' due to +an Autoconf limitation. Until the limitation is lifted, you can use +this workaround: + + CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash + +`configure' Invocation +====================== + + `configure' recognizes the following options to control how it +operates. + +`--help' +`-h' + Print a summary of all of the options to `configure', and exit. + +`--help=short' +`--help=recursive' + Print a summary of the options unique to this package's + `configure', and exit. The `short' variant lists options used + only in the top level, while the `recursive' variant lists options + also present in any nested packages. + +`--version' +`-V' + Print the version of Autoconf used to generate the `configure' + script, and exit. + +`--cache-file=FILE' + Enable the cache: use and save the results of the tests in FILE, + traditionally `config.cache'. FILE defaults to `/dev/null' to + disable caching. + +`--config-cache' +`-C' + Alias for `--cache-file=config.cache'. + +`--quiet' +`--silent' +`-q' + Do not print messages saying which checks are being made. To + suppress all normal output, redirect it to `/dev/null' (any error + messages will still be shown). + +`--srcdir=DIR' + Look for the package's source code in directory DIR. Usually + `configure' can determine that directory automatically. + +`--prefix=DIR' + Use DIR as the installation prefix. *note Installation Names:: + for more details, including other options available for fine-tuning + the installation locations. + +`--no-create' +`-n' + Run the configure checks, but stop before creating any output + files. + +`configure' also accepts some other, not widely useful, options. Run +`configure --help' for more details. diff --git a/Makefile.am b/Makefile.am index 3fea79d..19ed7c4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,8 +1,9 @@ ACLOCAL_AMFLAGS = -I config -SUBDIRS = libibnetdisc +SUBDIRS = libibmad libibnetdisc -INCLUDES = -I$(top_builddir)/include/ -I$(srcdir)/include -I$(includedir) \ - -I$(includedir)/infiniband -I$(top_srcdir)/libibnetdisc/include +AM_CPPFLAGS = -I$(top_builddir)/include/ -I$(srcdir)/include -I$(includedir) \ + -I$(includedir)/infiniband -I$(top_srcdir)/libibnetdisc/include \ + -I$(top_srcdir)/libibmad/include if DEBUG DBGFLAGS = -ggdb -D_DEBUG_ @@ -17,10 +18,6 @@ sbin_PROGRAMS = src/ibaddr src/ibnetdiscover src/ibping src/ibportstate \ src/ibqueryerrors src/ibcacheedit src/ibccquery \ src/ibccconfig src/dump_fts -if ENABLE_RDMA_NDD -sbin_PROGRAMS += src/rdma-ndd -endif - if ENABLE_TEST_UTILS sbin_PROGRAMS += src/ibsendtrap src/mcm_rereg_test endif @@ -76,10 +73,6 @@ man_MANS = doc/man/ibaddr.8 \ man/dump_lfts.8 \ man/dump_mfts.8 -if ENABLE_RDMA_NDD -man_MANS += doc/man/rdma-ndd.8 -endif - # define this for the dist target compat_man_pages = man/ibdiscover.8 man/ibcheckerrors.8 man/ibcheckerrs.8 \ man/ibchecknet.8 man/ibchecknode.8 man/ibcheckport.8 \ @@ -98,12 +91,13 @@ endif noinst_LIBRARIES = libcommon.a AM_CFLAGS = -Wall $(DBGFLAGS) -LDADD = libcommon.a +LDADD = libcommon.a \ + -L$(top_builddir)/libibnetdisc -libnetdisc \ + -L$(top_builddir)/libibmad -libmad libcommon_a_SOURCES = src/ibdiag_common.c src/ibdiag_sa.c src_ibaddr_SOURCES = src/ibaddr.c src_ibnetdiscover_SOURCES = src/ibnetdiscover.c -src_ibnetdiscover_LDFLAGS = -L$(top_builddir)/libibnetdisc -libnetdisc src_ibping_SOURCES = src/ibping.c src_ibportstate_SOURCES = src/ibportstate.c src_ibroute_SOURCES = src/ibroute.c @@ -121,20 +115,11 @@ src_mcm_rereg_test_SOURCES = src/mcm_rereg_test.c src_iblinkinfo_SOURCES = src/iblinkinfo.c src_ibccquery_SOURCES = src/ibccquery.c src_ibccconfig_SOURCES = src/ibccconfig.c -src_iblinkinfo_LDFLAGS = -L$(top_builddir)/libibnetdisc -libnetdisc src_ibqueryerrors_SOURCES = src/ibqueryerrors.c -src_ibqueryerrors_LDFLAGS = -L$(top_builddir)/libibnetdisc -libnetdisc src_ibcacheedit_SOURCES = src/ibcacheedit.c -src_ibcacheedit_LDFLAGS = -L$(top_builddir)/libibnetdisc -libnetdisc src_dump_fts_SOURCES = src/dump_fts.c -src_dump_fts_LDFLAGS = -L$(top_builddir)/libibnetdisc -libnetdisc - -if ENABLE_RDMA_NDD -src_rdma_ndd_SOURCES = src/rdma-ndd.c -src_rdma_ndd_CFLAGS = $(AM_CFLAGS) $(UDEV_CFLAGS) -src_rdma_ndd_LDADD = libcommon.a $(UDEV_LIBS) -endif +src_dump_fts_LDFLAGS = $(internal_lib_LDFLAGS) BUILT_SOURCES = ibdiag_version ibdiag_version: @@ -158,11 +143,6 @@ EXTRA_DIST = doc scripts include infiniband-diags.spec.in infiniband-diags.spec distclean-local: $(top_srcdir)/doc/generate clean -dist-hook: - if [ -x $(top_srcdir)/gen_chlog.sh ] ; then \ - $(top_srcdir)/gen_chlog.sh > $(distdir)/ChangeLog ; \ - fi - # install this to a default location. install-data-hook: if test ! -d $(DESTDIR)/$(sysconfdir)/infiniband-diags; then \ @@ -175,12 +155,3 @@ install-data-hook: $(top_srcdir)/config/install-sh -c -m 444 $(top_srcdir)/etc/error_thresholds $(DESTDIR)/$(sysconfdir)/infiniband-diags $(top_srcdir)/config/install-sh -c -m 400 $(top_srcdir)/etc/ibdiag.conf $(DESTDIR)/$(sysconfdir)/infiniband-diags -if ENABLE_RDMA_NDD -install-exec-hook: -if SYSTEMD_SYSTEM - $(top_srcdir)/config/install-sh -m 755 $(top_srcdir)/etc/rdma-ndd.service $(DESTDIR)/$(SYSTEMD_SYSTEM_UNIT_DIR)/rdma-ndd.service -else - $(top_srcdir)/config/install-sh -m 755 -d $(DESTDIR)/$(sysconfdir)/init.d - $(top_srcdir)/config/install-sh -m 755 $(top_srcdir)/etc/rdma-ndd.init $(DESTDIR)/$(sysconfdir)/init.d/rdma-ndd -endif -endif diff --git a/Makefile.in b/Makefile.in index 6d1d7dc..d2ee6ff 100644 --- a/Makefile.in +++ b/Makefile.in @@ -89,11 +89,9 @@ sbin_PROGRAMS = src/ibaddr$(EXEEXT) src/ibnetdiscover$(EXEEXT) \ src/saquery$(EXEEXT) src/vendstat$(EXEEXT) \ src/iblinkinfo$(EXEEXT) src/ibqueryerrors$(EXEEXT) \ src/ibcacheedit$(EXEEXT) src/ibccquery$(EXEEXT) \ - src/ibccconfig$(EXEEXT) src/dump_fts$(EXEEXT) $(am__EXEEXT_1) \ - $(am__EXEEXT_2) - at ENABLE_RDMA_NDD_TRUE@am__append_1 = src/rdma-ndd - at ENABLE_TEST_UTILS_TRUE@am__append_2 = src/ibsendtrap src/mcm_rereg_test - at ENABLE_COMPAT_UTILS_TRUE@am__append_3 = scripts/ibcheckerrs scripts/ibchecknet scripts/ibchecknode \ + src/ibccconfig$(EXEEXT) src/dump_fts$(EXEEXT) $(am__EXEEXT_1) + at ENABLE_TEST_UTILS_TRUE@am__append_1 = src/ibsendtrap src/mcm_rereg_test + at ENABLE_COMPAT_UTILS_TRUE@am__append_2 = scripts/ibcheckerrs scripts/ibchecknet scripts/ibchecknode \ @ENABLE_COMPAT_UTILS_TRUE@ scripts/ibcheckport scripts/ibcheckportwidth scripts/ibcheckportstate \ @ENABLE_COMPAT_UTILS_TRUE@ scripts/ibcheckwidth scripts/ibcheckstate \ @ENABLE_COMPAT_UTILS_TRUE@ scripts/ibcheckerrors scripts/ibdatacounts \ @@ -103,17 +101,14 @@ sbin_PROGRAMS = src/ibaddr$(EXEEXT) src/ibnetdiscover$(EXEEXT) \ @ENABLE_COMPAT_UTILS_TRUE@ scripts/ibprintca.pl scripts/ibprintswitch.pl scripts/ibprintrt.pl \ @ENABLE_COMPAT_UTILS_TRUE@ scripts/set_nodedesc.sh scripts/ibclearerrors scripts/ibclearcounters - at ENABLE_RDMA_NDD_TRUE@am__append_4 = doc/man/rdma-ndd.8 # but only actually install them if specified - at ENABLE_COMPAT_UTILS_TRUE@am__append_5 = $(compat_man_pages) + at ENABLE_COMPAT_UTILS_TRUE@am__append_3 = $(compat_man_pages) subdir = . -DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ +DIST_COMMON = INSTALL NEWS README AUTHORS ChangeLog \ + $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ $(top_srcdir)/configure $(am__configure_deps) \ - $(srcdir)/config.h.in $(top_srcdir)/doc/man/rdma-ndd.8.in \ - $(top_srcdir)/etc/rdma-ndd.init.in \ - $(top_srcdir)/etc/rdma-ndd.service.in \ - $(srcdir)/infiniband-diags.spec.in \ + $(srcdir)/config.h.in $(srcdir)/infiniband-diags.spec.in \ $(top_srcdir)/include/ibdiag_version.h.in \ $(top_srcdir)/scripts/ibcheckerrors.in \ $(top_srcdir)/scripts/ibcheckerrs.in \ @@ -166,10 +161,10 @@ DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ $(top_srcdir)/doc/man/vendstat.8.in \ $(top_srcdir)/doc/man/infiniband-diags.8.in \ $(top_srcdir)/config/depcomp $(top_srcdir)/config/test-driver \ - AUTHORS COPYING ChangeLog NEWS README config/compile \ - config/config.guess config/config.sub config/depcomp \ - config/install-sh config/missing config/ltmain.sh \ - $(top_srcdir)/config/compile $(top_srcdir)/config/config.guess \ + COPYING config/compile config/config.guess config/config.sub \ + config/depcomp config/install-sh config/missing \ + config/ltmain.sh $(top_srcdir)/config/compile \ + $(top_srcdir)/config/config.guess \ $(top_srcdir)/config/config.sub \ $(top_srcdir)/config/install-sh $(top_srcdir)/config/ltmain.sh \ $(top_srcdir)/config/missing @@ -185,18 +180,16 @@ am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ configure.lineno config.status.lineno mkinstalldirs = $(install_sh) -d CONFIG_HEADER = config.h -CONFIG_CLEAN_FILES = doc/man/rdma-ndd.8 etc/rdma-ndd.init \ - etc/rdma-ndd.service infiniband-diags.spec \ - include/ibdiag_version.h scripts/ibcheckerrors \ - scripts/ibcheckerrs scripts/ibchecknet scripts/ibchecknode \ - scripts/ibcheckport scripts/ibcheckportstate \ - scripts/ibcheckportwidth scripts/ibcheckstate \ - scripts/ibcheckwidth scripts/ibclearcounters \ - scripts/ibclearerrors scripts/ibdatacounts \ - scripts/ibdatacounters scripts/ibhosts scripts/ibnodes \ - scripts/ibswitches scripts/ibrouters scripts/iblinkinfo.pl \ - scripts/ibqueryerrors.pl scripts/dump_lfts.sh \ - scripts/dump_mfts.sh doc/man/ibaddr.8 \ +CONFIG_CLEAN_FILES = infiniband-diags.spec include/ibdiag_version.h \ + scripts/ibcheckerrors scripts/ibcheckerrs scripts/ibchecknet \ + scripts/ibchecknode scripts/ibcheckport \ + scripts/ibcheckportstate scripts/ibcheckportwidth \ + scripts/ibcheckstate scripts/ibcheckwidth \ + scripts/ibclearcounters scripts/ibclearerrors \ + scripts/ibdatacounts scripts/ibdatacounters scripts/ibhosts \ + scripts/ibnodes scripts/ibswitches scripts/ibrouters \ + scripts/iblinkinfo.pl scripts/ibqueryerrors.pl \ + scripts/dump_lfts.sh scripts/dump_mfts.sh doc/man/ibaddr.8 \ doc/man/check_lft_balance.8 doc/man/ibcacheedit.8 \ doc/man/ibccconfig.8 doc/man/ibccquery.8 doc/man/dump_fts.8 \ doc/man/ibhosts.8 doc/man/ibidsverify.8 doc/man/iblinkinfo.8 \ @@ -217,15 +210,16 @@ am__v_AR_0 = @echo " AR " $@; am__v_AR_1 = libcommon_a_AR = $(AR) $(ARFLAGS) libcommon_a_LIBADD = -am_libcommon_a_OBJECTS = ibdiag_common.$(OBJEXT) ibdiag_sa.$(OBJEXT) +am__dirstamp = $(am__leading_dot)dirstamp +am_libcommon_a_OBJECTS = src/ibdiag_common.$(OBJEXT) \ + src/ibdiag_sa.$(OBJEXT) libcommon_a_OBJECTS = $(am_libcommon_a_OBJECTS) - at ENABLE_RDMA_NDD_TRUE@am__EXEEXT_1 = src/rdma-ndd$(EXEEXT) - at ENABLE_TEST_UTILS_TRUE@am__EXEEXT_2 = src/ibsendtrap$(EXEEXT) \ + at ENABLE_TEST_UTILS_TRUE@am__EXEEXT_1 = src/ibsendtrap$(EXEEXT) \ @ENABLE_TEST_UTILS_TRUE@ src/mcm_rereg_test$(EXEEXT) am__installdirs = "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(sbindir)" \ "$(DESTDIR)$(man8dir)" PROGRAMS = $(sbin_PROGRAMS) -am_src_dump_fts_OBJECTS = dump_fts.$(OBJEXT) +am_src_dump_fts_OBJECTS = src/dump_fts.$(OBJEXT) src_dump_fts_OBJECTS = $(am_src_dump_fts_OBJECTS) src_dump_fts_LDADD = $(LDADD) src_dump_fts_DEPENDENCIES = libcommon.a @@ -236,114 +230,87 @@ am__v_lt_1 = src_dump_fts_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ $(src_dump_fts_LDFLAGS) $(LDFLAGS) -o $@ -am__dirstamp = $(am__leading_dot)dirstamp -am_src_ibaddr_OBJECTS = ibaddr.$(OBJEXT) +am_src_ibaddr_OBJECTS = src/ibaddr.$(OBJEXT) src_ibaddr_OBJECTS = $(am_src_ibaddr_OBJECTS) src_ibaddr_LDADD = $(LDADD) src_ibaddr_DEPENDENCIES = libcommon.a -am_src_ibcacheedit_OBJECTS = ibcacheedit.$(OBJEXT) +am_src_ibcacheedit_OBJECTS = src/ibcacheedit.$(OBJEXT) src_ibcacheedit_OBJECTS = $(am_src_ibcacheedit_OBJECTS) src_ibcacheedit_LDADD = $(LDADD) src_ibcacheedit_DEPENDENCIES = libcommon.a -src_ibcacheedit_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ - $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ - $(AM_CFLAGS) $(CFLAGS) $(src_ibcacheedit_LDFLAGS) $(LDFLAGS) \ - -o $@ -am_src_ibccconfig_OBJECTS = ibccconfig.$(OBJEXT) +am_src_ibccconfig_OBJECTS = src/ibccconfig.$(OBJEXT) src_ibccconfig_OBJECTS = $(am_src_ibccconfig_OBJECTS) src_ibccconfig_LDADD = $(LDADD) src_ibccconfig_DEPENDENCIES = libcommon.a -am_src_ibccquery_OBJECTS = ibccquery.$(OBJEXT) +am_src_ibccquery_OBJECTS = src/ibccquery.$(OBJEXT) src_ibccquery_OBJECTS = $(am_src_ibccquery_OBJECTS) src_ibccquery_LDADD = $(LDADD) src_ibccquery_DEPENDENCIES = libcommon.a -am_src_iblinkinfo_OBJECTS = iblinkinfo.$(OBJEXT) +am_src_iblinkinfo_OBJECTS = src/iblinkinfo.$(OBJEXT) src_iblinkinfo_OBJECTS = $(am_src_iblinkinfo_OBJECTS) src_iblinkinfo_LDADD = $(LDADD) src_iblinkinfo_DEPENDENCIES = libcommon.a -src_iblinkinfo_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ - $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ - $(AM_CFLAGS) $(CFLAGS) $(src_iblinkinfo_LDFLAGS) $(LDFLAGS) -o \ - $@ -am_src_ibnetdiscover_OBJECTS = ibnetdiscover.$(OBJEXT) +am_src_ibnetdiscover_OBJECTS = src/ibnetdiscover.$(OBJEXT) src_ibnetdiscover_OBJECTS = $(am_src_ibnetdiscover_OBJECTS) src_ibnetdiscover_LDADD = $(LDADD) src_ibnetdiscover_DEPENDENCIES = libcommon.a -src_ibnetdiscover_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ - $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ - $(AM_CFLAGS) $(CFLAGS) $(src_ibnetdiscover_LDFLAGS) $(LDFLAGS) \ - -o $@ -am_src_ibping_OBJECTS = ibping.$(OBJEXT) +am_src_ibping_OBJECTS = src/ibping.$(OBJEXT) src_ibping_OBJECTS = $(am_src_ibping_OBJECTS) src_ibping_LDADD = $(LDADD) src_ibping_DEPENDENCIES = libcommon.a -am_src_ibportstate_OBJECTS = ibportstate.$(OBJEXT) +am_src_ibportstate_OBJECTS = src/ibportstate.$(OBJEXT) src_ibportstate_OBJECTS = $(am_src_ibportstate_OBJECTS) src_ibportstate_LDADD = $(LDADD) src_ibportstate_DEPENDENCIES = libcommon.a -am_src_ibqueryerrors_OBJECTS = ibqueryerrors.$(OBJEXT) +am_src_ibqueryerrors_OBJECTS = src/ibqueryerrors.$(OBJEXT) src_ibqueryerrors_OBJECTS = $(am_src_ibqueryerrors_OBJECTS) src_ibqueryerrors_LDADD = $(LDADD) src_ibqueryerrors_DEPENDENCIES = libcommon.a -src_ibqueryerrors_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ - $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ - $(AM_CFLAGS) $(CFLAGS) $(src_ibqueryerrors_LDFLAGS) $(LDFLAGS) \ - -o $@ -am_src_ibroute_OBJECTS = ibroute.$(OBJEXT) +am_src_ibroute_OBJECTS = src/ibroute.$(OBJEXT) src_ibroute_OBJECTS = $(am_src_ibroute_OBJECTS) src_ibroute_LDADD = $(LDADD) src_ibroute_DEPENDENCIES = libcommon.a -am_src_ibsendtrap_OBJECTS = ibsendtrap.$(OBJEXT) +am_src_ibsendtrap_OBJECTS = src/ibsendtrap.$(OBJEXT) src_ibsendtrap_OBJECTS = $(am_src_ibsendtrap_OBJECTS) src_ibsendtrap_LDADD = $(LDADD) src_ibsendtrap_DEPENDENCIES = libcommon.a -am_src_ibstat_OBJECTS = ibstat.$(OBJEXT) +am_src_ibstat_OBJECTS = src/ibstat.$(OBJEXT) src_ibstat_OBJECTS = $(am_src_ibstat_OBJECTS) src_ibstat_LDADD = $(LDADD) src_ibstat_DEPENDENCIES = libcommon.a -am_src_ibsysstat_OBJECTS = ibsysstat.$(OBJEXT) +am_src_ibsysstat_OBJECTS = src/ibsysstat.$(OBJEXT) src_ibsysstat_OBJECTS = $(am_src_ibsysstat_OBJECTS) src_ibsysstat_LDADD = $(LDADD) src_ibsysstat_DEPENDENCIES = libcommon.a -am_src_ibtracert_OBJECTS = ibtracert.$(OBJEXT) +am_src_ibtracert_OBJECTS = src/ibtracert.$(OBJEXT) src_ibtracert_OBJECTS = $(am_src_ibtracert_OBJECTS) src_ibtracert_LDADD = $(LDADD) src_ibtracert_DEPENDENCIES = libcommon.a -am_src_mcm_rereg_test_OBJECTS = mcm_rereg_test.$(OBJEXT) +am_src_mcm_rereg_test_OBJECTS = src/mcm_rereg_test.$(OBJEXT) src_mcm_rereg_test_OBJECTS = $(am_src_mcm_rereg_test_OBJECTS) src_mcm_rereg_test_LDADD = $(LDADD) src_mcm_rereg_test_DEPENDENCIES = libcommon.a -am_src_perfquery_OBJECTS = perfquery.$(OBJEXT) +am_src_perfquery_OBJECTS = src/perfquery.$(OBJEXT) src_perfquery_OBJECTS = $(am_src_perfquery_OBJECTS) src_perfquery_LDADD = $(LDADD) src_perfquery_DEPENDENCIES = libcommon.a -am__src_rdma_ndd_SOURCES_DIST = src/rdma-ndd.c - at ENABLE_RDMA_NDD_TRUE@am_src_rdma_ndd_OBJECTS = \ - at ENABLE_RDMA_NDD_TRUE@ src_rdma_ndd-rdma-ndd.$(OBJEXT) -src_rdma_ndd_OBJECTS = $(am_src_rdma_ndd_OBJECTS) -am__DEPENDENCIES_1 = - at ENABLE_RDMA_NDD_TRUE@src_rdma_ndd_DEPENDENCIES = libcommon.a \ - at ENABLE_RDMA_NDD_TRUE@ $(am__DEPENDENCIES_1) -src_rdma_ndd_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ - $(LIBTOOLFLAGS) --mode=link $(CCLD) $(src_rdma_ndd_CFLAGS) \ - $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@ -am_src_saquery_OBJECTS = saquery.$(OBJEXT) +am_src_saquery_OBJECTS = src/saquery.$(OBJEXT) src_saquery_OBJECTS = $(am_src_saquery_OBJECTS) src_saquery_LDADD = $(LDADD) src_saquery_DEPENDENCIES = libcommon.a -am_src_sminfo_OBJECTS = sminfo.$(OBJEXT) +am_src_sminfo_OBJECTS = src/sminfo.$(OBJEXT) src_sminfo_OBJECTS = $(am_src_sminfo_OBJECTS) src_sminfo_LDADD = $(LDADD) src_sminfo_DEPENDENCIES = libcommon.a -am_src_smpdump_OBJECTS = smpdump.$(OBJEXT) +am_src_smpdump_OBJECTS = src/smpdump.$(OBJEXT) src_smpdump_OBJECTS = $(am_src_smpdump_OBJECTS) src_smpdump_LDADD = $(LDADD) src_smpdump_DEPENDENCIES = libcommon.a -am_src_smpquery_OBJECTS = smpquery.$(OBJEXT) +am_src_smpquery_OBJECTS = src/smpquery.$(OBJEXT) src_smpquery_OBJECTS = $(am_src_smpquery_OBJECTS) src_smpquery_LDADD = $(LDADD) src_smpquery_DEPENDENCIES = libcommon.a -am_src_vendstat_OBJECTS = vendstat.$(OBJEXT) +am_src_vendstat_OBJECTS = src/vendstat.$(OBJEXT) src_vendstat_OBJECTS = $(am_src_vendstat_OBJECTS) src_vendstat_LDADD = $(LDADD) src_vendstat_DEPENDENCIES = libcommon.a @@ -418,9 +385,9 @@ SOURCES = $(libcommon_a_SOURCES) $(src_dump_fts_SOURCES) \ $(src_ibsendtrap_SOURCES) $(src_ibstat_SOURCES) \ $(src_ibsysstat_SOURCES) $(src_ibtracert_SOURCES) \ $(src_mcm_rereg_test_SOURCES) $(src_perfquery_SOURCES) \ - $(src_rdma_ndd_SOURCES) $(src_saquery_SOURCES) \ - $(src_sminfo_SOURCES) $(src_smpdump_SOURCES) \ - $(src_smpquery_SOURCES) $(src_vendstat_SOURCES) + $(src_saquery_SOURCES) $(src_sminfo_SOURCES) \ + $(src_smpdump_SOURCES) $(src_smpquery_SOURCES) \ + $(src_vendstat_SOURCES) DIST_SOURCES = $(libcommon_a_SOURCES) $(src_dump_fts_SOURCES) \ $(src_ibaddr_SOURCES) $(src_ibcacheedit_SOURCES) \ $(src_ibccconfig_SOURCES) $(src_ibccquery_SOURCES) \ @@ -430,9 +397,9 @@ DIST_SOURCES = $(libcommon_a_SOURCES) $(src_dump_fts_SOURCES) \ $(src_ibsendtrap_SOURCES) $(src_ibstat_SOURCES) \ $(src_ibsysstat_SOURCES) $(src_ibtracert_SOURCES) \ $(src_mcm_rereg_test_SOURCES) $(src_perfquery_SOURCES) \ - $(am__src_rdma_ndd_SOURCES_DIST) $(src_saquery_SOURCES) \ - $(src_sminfo_SOURCES) $(src_smpdump_SOURCES) \ - $(src_smpquery_SOURCES) $(src_vendstat_SOURCES) + $(src_saquery_SOURCES) $(src_sminfo_SOURCES) \ + $(src_smpdump_SOURCES) $(src_smpquery_SOURCES) \ + $(src_vendstat_SOURCES) RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \ ctags-recursive dvi-recursive html-recursive info-recursive \ install-data-recursive install-dvi-recursive \ @@ -712,8 +679,6 @@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ -DEFAULT_START = @DEFAULT_START@ -DEFAULT_STOP = @DEFAULT_STOP@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ @@ -766,20 +731,12 @@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ RANLIB = @RANLIB@ -RDMA_SERVICE = @RDMA_SERVICE@ RELEASE = @RELEASE@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ -SPEC_FILE_RDMA_NDD_INSTALL = @SPEC_FILE_RDMA_NDD_INSTALL@ STRIP = @STRIP@ -SYSTEMD_BUILD_REQUIRES = @SYSTEMD_BUILD_REQUIRES@ -SYSTEMD_CFLAGS = @SYSTEMD_CFLAGS@ -SYSTEMD_LIBS = @SYSTEMD_LIBS@ -SYSTEMD_SYSTEM_UNIT_DIR = @SYSTEMD_SYSTEM_UNIT_DIR@ TARBALL = @TARBALL@ -UDEV_CFLAGS = @UDEV_CFLAGS@ -UDEV_LIBS = @UDEV_LIBS@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -813,6 +770,7 @@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ +ibmad_api_version = @ibmad_api_version@ ibnetdisc_api_version = @ibnetdisc_api_version@ includedir = @includedir@ infodir = @infodir@ @@ -837,9 +795,10 @@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ ACLOCAL_AMFLAGS = -I config -SUBDIRS = libibnetdisc -INCLUDES = -I$(top_builddir)/include/ -I$(srcdir)/include -I$(includedir) \ - -I$(includedir)/infiniband -I$(top_srcdir)/libibnetdisc/include +SUBDIRS = libibmad libibnetdisc +AM_CPPFLAGS = -I$(top_builddir)/include/ -I$(srcdir)/include -I$(includedir) \ + -I$(includedir)/infiniband -I$(top_srcdir)/libibnetdisc/include \ + -I$(top_srcdir)/libibmad/include @DEBUG_FALSE at DBGFLAGS = @DEBUG_TRUE at DBGFLAGS = -ggdb -D_DEBUG_ @@ -847,7 +806,7 @@ sbin_SCRIPTS = scripts/ibhosts scripts/ibswitches scripts/ibnodes \ scripts/ibrouters scripts/ibfindnodesusing.pl \ scripts/ibidsverify.pl scripts/check_lft_balance.pl \ scripts/dump_lfts.sh scripts/dump_mfts.sh scripts/ibstatus \ - $(am__append_3) + $(am__append_2) man_MANS = doc/man/ibaddr.8 doc/man/check_lft_balance.8 \ doc/man/ibcacheedit.8 doc/man/ibccconfig.8 doc/man/ibccquery.8 \ doc/man/dump_fts.8 doc/man/iblinkinfo.8 \ @@ -860,7 +819,7 @@ man_MANS = doc/man/ibaddr.8 doc/man/check_lft_balance.8 \ doc/man/saquery.8 doc/man/sminfo.8 doc/man/smpdump.8 \ doc/man/smpquery.8 doc/man/vendstat.8 \ doc/man/infiniband-diags.8 man/dump_lfts.8 man/dump_mfts.8 \ - $(am__append_4) $(am__append_5) + $(am__append_3) # define this for the dist target compat_man_pages = man/ibdiscover.8 man/ibcheckerrors.8 man/ibcheckerrs.8 \ @@ -874,11 +833,13 @@ compat_man_pages = man/ibdiscover.8 man/ibcheckerrors.8 man/ibcheckerrs.8 \ noinst_LIBRARIES = libcommon.a AM_CFLAGS = -Wall $(DBGFLAGS) -LDADD = libcommon.a +LDADD = libcommon.a \ + -L$(top_builddir)/libibnetdisc -libnetdisc \ + -L$(top_builddir)/libibmad -libmad + libcommon_a_SOURCES = src/ibdiag_common.c src/ibdiag_sa.c src_ibaddr_SOURCES = src/ibaddr.c src_ibnetdiscover_SOURCES = src/ibnetdiscover.c -src_ibnetdiscover_LDFLAGS = -L$(top_builddir)/libibnetdisc -libnetdisc src_ibping_SOURCES = src/ibping.c src_ibportstate_SOURCES = src/ibportstate.c src_ibroute_SOURCES = src/ibroute.c @@ -896,16 +857,10 @@ src_mcm_rereg_test_SOURCES = src/mcm_rereg_test.c src_iblinkinfo_SOURCES = src/iblinkinfo.c src_ibccquery_SOURCES = src/ibccquery.c src_ibccconfig_SOURCES = src/ibccconfig.c -src_iblinkinfo_LDFLAGS = -L$(top_builddir)/libibnetdisc -libnetdisc src_ibqueryerrors_SOURCES = src/ibqueryerrors.c -src_ibqueryerrors_LDFLAGS = -L$(top_builddir)/libibnetdisc -libnetdisc src_ibcacheedit_SOURCES = src/ibcacheedit.c -src_ibcacheedit_LDFLAGS = -L$(top_builddir)/libibnetdisc -libnetdisc src_dump_fts_SOURCES = src/dump_fts.c -src_dump_fts_LDFLAGS = -L$(top_builddir)/libibnetdisc -libnetdisc - at ENABLE_RDMA_NDD_TRUE@src_rdma_ndd_SOURCES = src/rdma-ndd.c - at ENABLE_RDMA_NDD_TRUE@src_rdma_ndd_CFLAGS = $(AM_CFLAGS) $(UDEV_CFLAGS) - at ENABLE_RDMA_NDD_TRUE@src_rdma_ndd_LDADD = libcommon.a $(UDEV_LIBS) +src_dump_fts_LDFLAGS = $(internal_lib_LDFLAGS) BUILT_SOURCES = ibdiag_version @HAVE_DASH_TRUE at TESTS = tests/check_shells.sh EXTRA_DIST = doc scripts include infiniband-diags.spec.in infiniband-diags.spec \ @@ -922,15 +877,15 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) @for dep in $?; do \ case '$(am__configure_deps)' in \ *$$dep*) \ - echo ' cd $(srcdir) && $(AUTOMAKE) --foreign'; \ - $(am__cd) $(srcdir) && $(AUTOMAKE) --foreign \ + echo ' cd $(srcdir) && $(AUTOMAKE) --gnu'; \ + $(am__cd) $(srcdir) && $(AUTOMAKE) --gnu \ && exit 0; \ exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign Makefile + $(AUTOMAKE) --gnu Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ @@ -965,12 +920,6 @@ $(srcdir)/config.h.in: $(am__configure_deps) distclean-hdr: -rm -f config.h stamp-h1 -doc/man/rdma-ndd.8: $(top_builddir)/config.status $(top_srcdir)/doc/man/rdma-ndd.8.in - cd $(top_builddir) && $(SHELL) ./config.status $@ -etc/rdma-ndd.init: $(top_builddir)/config.status $(top_srcdir)/etc/rdma-ndd.init.in - cd $(top_builddir) && $(SHELL) ./config.status $@ -etc/rdma-ndd.service: $(top_builddir)/config.status $(top_srcdir)/etc/rdma-ndd.service.in - cd $(top_builddir) && $(SHELL) ./config.status $@ infiniband-diags.spec: $(top_builddir)/config.status $(srcdir)/infiniband-diags.spec.in cd $(top_builddir) && $(SHELL) ./config.status $@ include/ibdiag_version.h: $(top_builddir)/config.status $(top_srcdir)/include/ibdiag_version.h.in @@ -1078,6 +1027,16 @@ doc/man/infiniband-diags.8: $(top_builddir)/config.status $(top_srcdir)/doc/man/ clean-noinstLIBRARIES: -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES) +src/$(am__dirstamp): + @$(MKDIR_P) src + @: > src/$(am__dirstamp) +src/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) src/$(DEPDIR) + @: > src/$(DEPDIR)/$(am__dirstamp) +src/ibdiag_common.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/ibdiag_sa.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) libcommon.a: $(libcommon_a_OBJECTS) $(libcommon_a_DEPENDENCIES) $(EXTRA_libcommon_a_DEPENDENCIES) $(AM_V_at)-rm -f libcommon.a @@ -1132,97 +1091,134 @@ clean-sbinPROGRAMS: list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ echo " rm -f" $$list; \ rm -f $$list -src/$(am__dirstamp): - @$(MKDIR_P) src - @: > src/$(am__dirstamp) +src/dump_fts.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) src/dump_fts$(EXEEXT): $(src_dump_fts_OBJECTS) $(src_dump_fts_DEPENDENCIES) $(EXTRA_src_dump_fts_DEPENDENCIES) src/$(am__dirstamp) @rm -f src/dump_fts$(EXEEXT) $(AM_V_CCLD)$(src_dump_fts_LINK) $(src_dump_fts_OBJECTS) $(src_dump_fts_LDADD) $(LIBS) +src/ibaddr.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) src/ibaddr$(EXEEXT): $(src_ibaddr_OBJECTS) $(src_ibaddr_DEPENDENCIES) $(EXTRA_src_ibaddr_DEPENDENCIES) src/$(am__dirstamp) @rm -f src/ibaddr$(EXEEXT) $(AM_V_CCLD)$(LINK) $(src_ibaddr_OBJECTS) $(src_ibaddr_LDADD) $(LIBS) +src/ibcacheedit.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) src/ibcacheedit$(EXEEXT): $(src_ibcacheedit_OBJECTS) $(src_ibcacheedit_DEPENDENCIES) $(EXTRA_src_ibcacheedit_DEPENDENCIES) src/$(am__dirstamp) @rm -f src/ibcacheedit$(EXEEXT) - $(AM_V_CCLD)$(src_ibcacheedit_LINK) $(src_ibcacheedit_OBJECTS) $(src_ibcacheedit_LDADD) $(LIBS) + $(AM_V_CCLD)$(LINK) $(src_ibcacheedit_OBJECTS) $(src_ibcacheedit_LDADD) $(LIBS) +src/ibccconfig.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) src/ibccconfig$(EXEEXT): $(src_ibccconfig_OBJECTS) $(src_ibccconfig_DEPENDENCIES) $(EXTRA_src_ibccconfig_DEPENDENCIES) src/$(am__dirstamp) @rm -f src/ibccconfig$(EXEEXT) $(AM_V_CCLD)$(LINK) $(src_ibccconfig_OBJECTS) $(src_ibccconfig_LDADD) $(LIBS) +src/ibccquery.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) src/ibccquery$(EXEEXT): $(src_ibccquery_OBJECTS) $(src_ibccquery_DEPENDENCIES) $(EXTRA_src_ibccquery_DEPENDENCIES) src/$(am__dirstamp) @rm -f src/ibccquery$(EXEEXT) $(AM_V_CCLD)$(LINK) $(src_ibccquery_OBJECTS) $(src_ibccquery_LDADD) $(LIBS) +src/iblinkinfo.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) src/iblinkinfo$(EXEEXT): $(src_iblinkinfo_OBJECTS) $(src_iblinkinfo_DEPENDENCIES) $(EXTRA_src_iblinkinfo_DEPENDENCIES) src/$(am__dirstamp) @rm -f src/iblinkinfo$(EXEEXT) - $(AM_V_CCLD)$(src_iblinkinfo_LINK) $(src_iblinkinfo_OBJECTS) $(src_iblinkinfo_LDADD) $(LIBS) + $(AM_V_CCLD)$(LINK) $(src_iblinkinfo_OBJECTS) $(src_iblinkinfo_LDADD) $(LIBS) +src/ibnetdiscover.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) src/ibnetdiscover$(EXEEXT): $(src_ibnetdiscover_OBJECTS) $(src_ibnetdiscover_DEPENDENCIES) $(EXTRA_src_ibnetdiscover_DEPENDENCIES) src/$(am__dirstamp) @rm -f src/ibnetdiscover$(EXEEXT) - $(AM_V_CCLD)$(src_ibnetdiscover_LINK) $(src_ibnetdiscover_OBJECTS) $(src_ibnetdiscover_LDADD) $(LIBS) + $(AM_V_CCLD)$(LINK) $(src_ibnetdiscover_OBJECTS) $(src_ibnetdiscover_LDADD) $(LIBS) +src/ibping.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) src/ibping$(EXEEXT): $(src_ibping_OBJECTS) $(src_ibping_DEPENDENCIES) $(EXTRA_src_ibping_DEPENDENCIES) src/$(am__dirstamp) @rm -f src/ibping$(EXEEXT) $(AM_V_CCLD)$(LINK) $(src_ibping_OBJECTS) $(src_ibping_LDADD) $(LIBS) +src/ibportstate.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) src/ibportstate$(EXEEXT): $(src_ibportstate_OBJECTS) $(src_ibportstate_DEPENDENCIES) $(EXTRA_src_ibportstate_DEPENDENCIES) src/$(am__dirstamp) @rm -f src/ibportstate$(EXEEXT) $(AM_V_CCLD)$(LINK) $(src_ibportstate_OBJECTS) $(src_ibportstate_LDADD) $(LIBS) +src/ibqueryerrors.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) src/ibqueryerrors$(EXEEXT): $(src_ibqueryerrors_OBJECTS) $(src_ibqueryerrors_DEPENDENCIES) $(EXTRA_src_ibqueryerrors_DEPENDENCIES) src/$(am__dirstamp) @rm -f src/ibqueryerrors$(EXEEXT) - $(AM_V_CCLD)$(src_ibqueryerrors_LINK) $(src_ibqueryerrors_OBJECTS) $(src_ibqueryerrors_LDADD) $(LIBS) + $(AM_V_CCLD)$(LINK) $(src_ibqueryerrors_OBJECTS) $(src_ibqueryerrors_LDADD) $(LIBS) +src/ibroute.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) src/ibroute$(EXEEXT): $(src_ibroute_OBJECTS) $(src_ibroute_DEPENDENCIES) $(EXTRA_src_ibroute_DEPENDENCIES) src/$(am__dirstamp) @rm -f src/ibroute$(EXEEXT) $(AM_V_CCLD)$(LINK) $(src_ibroute_OBJECTS) $(src_ibroute_LDADD) $(LIBS) +src/ibsendtrap.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) src/ibsendtrap$(EXEEXT): $(src_ibsendtrap_OBJECTS) $(src_ibsendtrap_DEPENDENCIES) $(EXTRA_src_ibsendtrap_DEPENDENCIES) src/$(am__dirstamp) @rm -f src/ibsendtrap$(EXEEXT) $(AM_V_CCLD)$(LINK) $(src_ibsendtrap_OBJECTS) $(src_ibsendtrap_LDADD) $(LIBS) +src/ibstat.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) src/ibstat$(EXEEXT): $(src_ibstat_OBJECTS) $(src_ibstat_DEPENDENCIES) $(EXTRA_src_ibstat_DEPENDENCIES) src/$(am__dirstamp) @rm -f src/ibstat$(EXEEXT) $(AM_V_CCLD)$(LINK) $(src_ibstat_OBJECTS) $(src_ibstat_LDADD) $(LIBS) +src/ibsysstat.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) src/ibsysstat$(EXEEXT): $(src_ibsysstat_OBJECTS) $(src_ibsysstat_DEPENDENCIES) $(EXTRA_src_ibsysstat_DEPENDENCIES) src/$(am__dirstamp) @rm -f src/ibsysstat$(EXEEXT) $(AM_V_CCLD)$(LINK) $(src_ibsysstat_OBJECTS) $(src_ibsysstat_LDADD) $(LIBS) +src/ibtracert.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) src/ibtracert$(EXEEXT): $(src_ibtracert_OBJECTS) $(src_ibtracert_DEPENDENCIES) $(EXTRA_src_ibtracert_DEPENDENCIES) src/$(am__dirstamp) @rm -f src/ibtracert$(EXEEXT) $(AM_V_CCLD)$(LINK) $(src_ibtracert_OBJECTS) $(src_ibtracert_LDADD) $(LIBS) +src/mcm_rereg_test.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) src/mcm_rereg_test$(EXEEXT): $(src_mcm_rereg_test_OBJECTS) $(src_mcm_rereg_test_DEPENDENCIES) $(EXTRA_src_mcm_rereg_test_DEPENDENCIES) src/$(am__dirstamp) @rm -f src/mcm_rereg_test$(EXEEXT) $(AM_V_CCLD)$(LINK) $(src_mcm_rereg_test_OBJECTS) $(src_mcm_rereg_test_LDADD) $(LIBS) +src/perfquery.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) src/perfquery$(EXEEXT): $(src_perfquery_OBJECTS) $(src_perfquery_DEPENDENCIES) $(EXTRA_src_perfquery_DEPENDENCIES) src/$(am__dirstamp) @rm -f src/perfquery$(EXEEXT) $(AM_V_CCLD)$(LINK) $(src_perfquery_OBJECTS) $(src_perfquery_LDADD) $(LIBS) - -src/rdma-ndd$(EXEEXT): $(src_rdma_ndd_OBJECTS) $(src_rdma_ndd_DEPENDENCIES) $(EXTRA_src_rdma_ndd_DEPENDENCIES) src/$(am__dirstamp) - @rm -f src/rdma-ndd$(EXEEXT) - $(AM_V_CCLD)$(src_rdma_ndd_LINK) $(src_rdma_ndd_OBJECTS) $(src_rdma_ndd_LDADD) $(LIBS) +src/saquery.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) src/saquery$(EXEEXT): $(src_saquery_OBJECTS) $(src_saquery_DEPENDENCIES) $(EXTRA_src_saquery_DEPENDENCIES) src/$(am__dirstamp) @rm -f src/saquery$(EXEEXT) $(AM_V_CCLD)$(LINK) $(src_saquery_OBJECTS) $(src_saquery_LDADD) $(LIBS) +src/sminfo.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) src/sminfo$(EXEEXT): $(src_sminfo_OBJECTS) $(src_sminfo_DEPENDENCIES) $(EXTRA_src_sminfo_DEPENDENCIES) src/$(am__dirstamp) @rm -f src/sminfo$(EXEEXT) $(AM_V_CCLD)$(LINK) $(src_sminfo_OBJECTS) $(src_sminfo_LDADD) $(LIBS) +src/smpdump.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) src/smpdump$(EXEEXT): $(src_smpdump_OBJECTS) $(src_smpdump_DEPENDENCIES) $(EXTRA_src_smpdump_DEPENDENCIES) src/$(am__dirstamp) @rm -f src/smpdump$(EXEEXT) $(AM_V_CCLD)$(LINK) $(src_smpdump_OBJECTS) $(src_smpdump_LDADD) $(LIBS) +src/smpquery.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) src/smpquery$(EXEEXT): $(src_smpquery_OBJECTS) $(src_smpquery_DEPENDENCIES) $(EXTRA_src_smpquery_DEPENDENCIES) src/$(am__dirstamp) @rm -f src/smpquery$(EXEEXT) $(AM_V_CCLD)$(LINK) $(src_smpquery_OBJECTS) $(src_smpquery_LDADD) $(LIBS) +src/vendstat.$(OBJEXT): src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) src/vendstat$(EXEEXT): $(src_vendstat_OBJECTS) $(src_vendstat_DEPENDENCIES) $(EXTRA_src_vendstat_DEPENDENCIES) src/$(am__dirstamp) @rm -f src/vendstat$(EXEEXT) @@ -1265,407 +1261,60 @@ uninstall-sbinSCRIPTS: mostlyclean-compile: -rm -f *.$(OBJEXT) + -rm -f src/*.$(OBJEXT) distclean-compile: -rm -f *.tab.c - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/dump_fts.Po at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/ibaddr.Po at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/ibcacheedit.Po at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/ibccconfig.Po at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/ibccquery.Po at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/ibdiag_common.Po at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/ibdiag_sa.Po at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/iblinkinfo.Po at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/ibnetdiscover.Po at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/ibping.Po at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/ibportstate.Po at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/ibqueryerrors.Po at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/ibroute.Po at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/ibsendtrap.Po at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/ibstat.Po at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/ibsysstat.Po at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/ibtracert.Po at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/mcm_rereg_test.Po at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/perfquery.Po at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/saquery.Po at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/sminfo.Po at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/smpdump.Po at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/smpquery.Po at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/src_rdma_ndd-rdma-ndd.Po at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/vendstat.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/dump_fts.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/ibaddr.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/ibcacheedit.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/ibccconfig.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/ibccquery.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/ibdiag_common.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/ibdiag_sa.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/iblinkinfo.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/ibnetdiscover.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/ibping.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/ibportstate.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/ibqueryerrors.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/ibroute.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/ibsendtrap.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/ibstat.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/ibsysstat.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/ibtracert.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/mcm_rereg_test.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/perfquery.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/saquery.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/sminfo.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/smpdump.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/smpquery.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/vendstat.Po at am__quote@ .c.o: - at am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + at am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ + at am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + at am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(COMPILE) -c $< + at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: - at am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + at am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ + at am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ + at am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` + at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: - at am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo + at am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ + at am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + at am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LTCOMPILE) -c -o $@ $< -ibdiag_common.o: src/ibdiag_common.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibdiag_common.o -MD -MP -MF $(DEPDIR)/ibdiag_common.Tpo -c -o ibdiag_common.o `test -f 'src/ibdiag_common.c' || echo '$(srcdir)/'`src/ibdiag_common.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibdiag_common.Tpo $(DEPDIR)/ibdiag_common.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibdiag_common.c' object='ibdiag_common.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibdiag_common.o `test -f 'src/ibdiag_common.c' || echo '$(srcdir)/'`src/ibdiag_common.c - -ibdiag_common.obj: src/ibdiag_common.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibdiag_common.obj -MD -MP -MF $(DEPDIR)/ibdiag_common.Tpo -c -o ibdiag_common.obj `if test -f 'src/ibdiag_common.c'; then $(CYGPATH_W) 'src/ibdiag_common.c'; else $(CYGPATH_W) '$(srcdir)/src/ibdiag_common.c'; fi` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibdiag_common.Tpo $(DEPDIR)/ibdiag_common.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibdiag_common.c' object='ibdiag_common.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibdiag_common.obj `if test -f 'src/ibdiag_common.c'; then $(CYGPATH_W) 'src/ibdiag_common.c'; else $(CYGPATH_W) '$(srcdir)/src/ibdiag_common.c'; fi` - -ibdiag_sa.o: src/ibdiag_sa.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibdiag_sa.o -MD -MP -MF $(DEPDIR)/ibdiag_sa.Tpo -c -o ibdiag_sa.o `test -f 'src/ibdiag_sa.c' || echo '$(srcdir)/'`src/ibdiag_sa.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibdiag_sa.Tpo $(DEPDIR)/ibdiag_sa.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibdiag_sa.c' object='ibdiag_sa.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibdiag_sa.o `test -f 'src/ibdiag_sa.c' || echo '$(srcdir)/'`src/ibdiag_sa.c - -ibdiag_sa.obj: src/ibdiag_sa.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibdiag_sa.obj -MD -MP -MF $(DEPDIR)/ibdiag_sa.Tpo -c -o ibdiag_sa.obj `if test -f 'src/ibdiag_sa.c'; then $(CYGPATH_W) 'src/ibdiag_sa.c'; else $(CYGPATH_W) '$(srcdir)/src/ibdiag_sa.c'; fi` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibdiag_sa.Tpo $(DEPDIR)/ibdiag_sa.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibdiag_sa.c' object='ibdiag_sa.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibdiag_sa.obj `if test -f 'src/ibdiag_sa.c'; then $(CYGPATH_W) 'src/ibdiag_sa.c'; else $(CYGPATH_W) '$(srcdir)/src/ibdiag_sa.c'; fi` - -dump_fts.o: src/dump_fts.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT dump_fts.o -MD -MP -MF $(DEPDIR)/dump_fts.Tpo -c -o dump_fts.o `test -f 'src/dump_fts.c' || echo '$(srcdir)/'`src/dump_fts.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/dump_fts.Tpo $(DEPDIR)/dump_fts.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/dump_fts.c' object='dump_fts.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o dump_fts.o `test -f 'src/dump_fts.c' || echo '$(srcdir)/'`src/dump_fts.c - -dump_fts.obj: src/dump_fts.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT dump_fts.obj -MD -MP -MF $(DEPDIR)/dump_fts.Tpo -c -o dump_fts.obj `if test -f 'src/dump_fts.c'; then $(CYGPATH_W) 'src/dump_fts.c'; else $(CYGPATH_W) '$(srcdir)/src/dump_fts.c'; fi` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/dump_fts.Tpo $(DEPDIR)/dump_fts.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/dump_fts.c' object='dump_fts.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o dump_fts.obj `if test -f 'src/dump_fts.c'; then $(CYGPATH_W) 'src/dump_fts.c'; else $(CYGPATH_W) '$(srcdir)/src/dump_fts.c'; fi` - -ibaddr.o: src/ibaddr.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibaddr.o -MD -MP -MF $(DEPDIR)/ibaddr.Tpo -c -o ibaddr.o `test -f 'src/ibaddr.c' || echo '$(srcdir)/'`src/ibaddr.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibaddr.Tpo $(DEPDIR)/ibaddr.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibaddr.c' object='ibaddr.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibaddr.o `test -f 'src/ibaddr.c' || echo '$(srcdir)/'`src/ibaddr.c - -ibaddr.obj: src/ibaddr.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibaddr.obj -MD -MP -MF $(DEPDIR)/ibaddr.Tpo -c -o ibaddr.obj `if test -f 'src/ibaddr.c'; then $(CYGPATH_W) 'src/ibaddr.c'; else $(CYGPATH_W) '$(srcdir)/src/ibaddr.c'; fi` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibaddr.Tpo $(DEPDIR)/ibaddr.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibaddr.c' object='ibaddr.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibaddr.obj `if test -f 'src/ibaddr.c'; then $(CYGPATH_W) 'src/ibaddr.c'; else $(CYGPATH_W) '$(srcdir)/src/ibaddr.c'; fi` - -ibcacheedit.o: src/ibcacheedit.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibcacheedit.o -MD -MP -MF $(DEPDIR)/ibcacheedit.Tpo -c -o ibcacheedit.o `test -f 'src/ibcacheedit.c' || echo '$(srcdir)/'`src/ibcacheedit.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibcacheedit.Tpo $(DEPDIR)/ibcacheedit.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibcacheedit.c' object='ibcacheedit.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibcacheedit.o `test -f 'src/ibcacheedit.c' || echo '$(srcdir)/'`src/ibcacheedit.c - -ibcacheedit.obj: src/ibcacheedit.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibcacheedit.obj -MD -MP -MF $(DEPDIR)/ibcacheedit.Tpo -c -o ibcacheedit.obj `if test -f 'src/ibcacheedit.c'; then $(CYGPATH_W) 'src/ibcacheedit.c'; else $(CYGPATH_W) '$(srcdir)/src/ibcacheedit.c'; fi` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibcacheedit.Tpo $(DEPDIR)/ibcacheedit.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibcacheedit.c' object='ibcacheedit.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibcacheedit.obj `if test -f 'src/ibcacheedit.c'; then $(CYGPATH_W) 'src/ibcacheedit.c'; else $(CYGPATH_W) '$(srcdir)/src/ibcacheedit.c'; fi` - -ibccconfig.o: src/ibccconfig.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibccconfig.o -MD -MP -MF $(DEPDIR)/ibccconfig.Tpo -c -o ibccconfig.o `test -f 'src/ibccconfig.c' || echo '$(srcdir)/'`src/ibccconfig.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibccconfig.Tpo $(DEPDIR)/ibccconfig.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibccconfig.c' object='ibccconfig.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibccconfig.o `test -f 'src/ibccconfig.c' || echo '$(srcdir)/'`src/ibccconfig.c - -ibccconfig.obj: src/ibccconfig.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibccconfig.obj -MD -MP -MF $(DEPDIR)/ibccconfig.Tpo -c -o ibccconfig.obj `if test -f 'src/ibccconfig.c'; then $(CYGPATH_W) 'src/ibccconfig.c'; else $(CYGPATH_W) '$(srcdir)/src/ibccconfig.c'; fi` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibccconfig.Tpo $(DEPDIR)/ibccconfig.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibccconfig.c' object='ibccconfig.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibccconfig.obj `if test -f 'src/ibccconfig.c'; then $(CYGPATH_W) 'src/ibccconfig.c'; else $(CYGPATH_W) '$(srcdir)/src/ibccconfig.c'; fi` - -ibccquery.o: src/ibccquery.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibccquery.o -MD -MP -MF $(DEPDIR)/ibccquery.Tpo -c -o ibccquery.o `test -f 'src/ibccquery.c' || echo '$(srcdir)/'`src/ibccquery.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibccquery.Tpo $(DEPDIR)/ibccquery.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibccquery.c' object='ibccquery.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibccquery.o `test -f 'src/ibccquery.c' || echo '$(srcdir)/'`src/ibccquery.c - -ibccquery.obj: src/ibccquery.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibccquery.obj -MD -MP -MF $(DEPDIR)/ibccquery.Tpo -c -o ibccquery.obj `if test -f 'src/ibccquery.c'; then $(CYGPATH_W) 'src/ibccquery.c'; else $(CYGPATH_W) '$(srcdir)/src/ibccquery.c'; fi` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibccquery.Tpo $(DEPDIR)/ibccquery.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibccquery.c' object='ibccquery.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibccquery.obj `if test -f 'src/ibccquery.c'; then $(CYGPATH_W) 'src/ibccquery.c'; else $(CYGPATH_W) '$(srcdir)/src/ibccquery.c'; fi` - -iblinkinfo.o: src/iblinkinfo.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT iblinkinfo.o -MD -MP -MF $(DEPDIR)/iblinkinfo.Tpo -c -o iblinkinfo.o `test -f 'src/iblinkinfo.c' || echo '$(srcdir)/'`src/iblinkinfo.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/iblinkinfo.Tpo $(DEPDIR)/iblinkinfo.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/iblinkinfo.c' object='iblinkinfo.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o iblinkinfo.o `test -f 'src/iblinkinfo.c' || echo '$(srcdir)/'`src/iblinkinfo.c - -iblinkinfo.obj: src/iblinkinfo.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT iblinkinfo.obj -MD -MP -MF $(DEPDIR)/iblinkinfo.Tpo -c -o iblinkinfo.obj `if test -f 'src/iblinkinfo.c'; then $(CYGPATH_W) 'src/iblinkinfo.c'; else $(CYGPATH_W) '$(srcdir)/src/iblinkinfo.c'; fi` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/iblinkinfo.Tpo $(DEPDIR)/iblinkinfo.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/iblinkinfo.c' object='iblinkinfo.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o iblinkinfo.obj `if test -f 'src/iblinkinfo.c'; then $(CYGPATH_W) 'src/iblinkinfo.c'; else $(CYGPATH_W) '$(srcdir)/src/iblinkinfo.c'; fi` - -ibnetdiscover.o: src/ibnetdiscover.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibnetdiscover.o -MD -MP -MF $(DEPDIR)/ibnetdiscover.Tpo -c -o ibnetdiscover.o `test -f 'src/ibnetdiscover.c' || echo '$(srcdir)/'`src/ibnetdiscover.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibnetdiscover.Tpo $(DEPDIR)/ibnetdiscover.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibnetdiscover.c' object='ibnetdiscover.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibnetdiscover.o `test -f 'src/ibnetdiscover.c' || echo '$(srcdir)/'`src/ibnetdiscover.c - -ibnetdiscover.obj: src/ibnetdiscover.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibnetdiscover.obj -MD -MP -MF $(DEPDIR)/ibnetdiscover.Tpo -c -o ibnetdiscover.obj `if test -f 'src/ibnetdiscover.c'; then $(CYGPATH_W) 'src/ibnetdiscover.c'; else $(CYGPATH_W) '$(srcdir)/src/ibnetdiscover.c'; fi` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibnetdiscover.Tpo $(DEPDIR)/ibnetdiscover.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibnetdiscover.c' object='ibnetdiscover.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibnetdiscover.obj `if test -f 'src/ibnetdiscover.c'; then $(CYGPATH_W) 'src/ibnetdiscover.c'; else $(CYGPATH_W) '$(srcdir)/src/ibnetdiscover.c'; fi` - -ibping.o: src/ibping.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibping.o -MD -MP -MF $(DEPDIR)/ibping.Tpo -c -o ibping.o `test -f 'src/ibping.c' || echo '$(srcdir)/'`src/ibping.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibping.Tpo $(DEPDIR)/ibping.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibping.c' object='ibping.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibping.o `test -f 'src/ibping.c' || echo '$(srcdir)/'`src/ibping.c - -ibping.obj: src/ibping.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibping.obj -MD -MP -MF $(DEPDIR)/ibping.Tpo -c -o ibping.obj `if test -f 'src/ibping.c'; then $(CYGPATH_W) 'src/ibping.c'; else $(CYGPATH_W) '$(srcdir)/src/ibping.c'; fi` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibping.Tpo $(DEPDIR)/ibping.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibping.c' object='ibping.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibping.obj `if test -f 'src/ibping.c'; then $(CYGPATH_W) 'src/ibping.c'; else $(CYGPATH_W) '$(srcdir)/src/ibping.c'; fi` - -ibportstate.o: src/ibportstate.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibportstate.o -MD -MP -MF $(DEPDIR)/ibportstate.Tpo -c -o ibportstate.o `test -f 'src/ibportstate.c' || echo '$(srcdir)/'`src/ibportstate.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibportstate.Tpo $(DEPDIR)/ibportstate.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibportstate.c' object='ibportstate.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibportstate.o `test -f 'src/ibportstate.c' || echo '$(srcdir)/'`src/ibportstate.c - -ibportstate.obj: src/ibportstate.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibportstate.obj -MD -MP -MF $(DEPDIR)/ibportstate.Tpo -c -o ibportstate.obj `if test -f 'src/ibportstate.c'; then $(CYGPATH_W) 'src/ibportstate.c'; else $(CYGPATH_W) '$(srcdir)/src/ibportstate.c'; fi` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibportstate.Tpo $(DEPDIR)/ibportstate.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibportstate.c' object='ibportstate.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibportstate.obj `if test -f 'src/ibportstate.c'; then $(CYGPATH_W) 'src/ibportstate.c'; else $(CYGPATH_W) '$(srcdir)/src/ibportstate.c'; fi` - -ibqueryerrors.o: src/ibqueryerrors.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibqueryerrors.o -MD -MP -MF $(DEPDIR)/ibqueryerrors.Tpo -c -o ibqueryerrors.o `test -f 'src/ibqueryerrors.c' || echo '$(srcdir)/'`src/ibqueryerrors.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibqueryerrors.Tpo $(DEPDIR)/ibqueryerrors.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibqueryerrors.c' object='ibqueryerrors.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibqueryerrors.o `test -f 'src/ibqueryerrors.c' || echo '$(srcdir)/'`src/ibqueryerrors.c - -ibqueryerrors.obj: src/ibqueryerrors.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibqueryerrors.obj -MD -MP -MF $(DEPDIR)/ibqueryerrors.Tpo -c -o ibqueryerrors.obj `if test -f 'src/ibqueryerrors.c'; then $(CYGPATH_W) 'src/ibqueryerrors.c'; else $(CYGPATH_W) '$(srcdir)/src/ibqueryerrors.c'; fi` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibqueryerrors.Tpo $(DEPDIR)/ibqueryerrors.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibqueryerrors.c' object='ibqueryerrors.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibqueryerrors.obj `if test -f 'src/ibqueryerrors.c'; then $(CYGPATH_W) 'src/ibqueryerrors.c'; else $(CYGPATH_W) '$(srcdir)/src/ibqueryerrors.c'; fi` - -ibroute.o: src/ibroute.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibroute.o -MD -MP -MF $(DEPDIR)/ibroute.Tpo -c -o ibroute.o `test -f 'src/ibroute.c' || echo '$(srcdir)/'`src/ibroute.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibroute.Tpo $(DEPDIR)/ibroute.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibroute.c' object='ibroute.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibroute.o `test -f 'src/ibroute.c' || echo '$(srcdir)/'`src/ibroute.c - -ibroute.obj: src/ibroute.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibroute.obj -MD -MP -MF $(DEPDIR)/ibroute.Tpo -c -o ibroute.obj `if test -f 'src/ibroute.c'; then $(CYGPATH_W) 'src/ibroute.c'; else $(CYGPATH_W) '$(srcdir)/src/ibroute.c'; fi` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibroute.Tpo $(DEPDIR)/ibroute.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibroute.c' object='ibroute.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibroute.obj `if test -f 'src/ibroute.c'; then $(CYGPATH_W) 'src/ibroute.c'; else $(CYGPATH_W) '$(srcdir)/src/ibroute.c'; fi` - -ibsendtrap.o: src/ibsendtrap.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibsendtrap.o -MD -MP -MF $(DEPDIR)/ibsendtrap.Tpo -c -o ibsendtrap.o `test -f 'src/ibsendtrap.c' || echo '$(srcdir)/'`src/ibsendtrap.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibsendtrap.Tpo $(DEPDIR)/ibsendtrap.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibsendtrap.c' object='ibsendtrap.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibsendtrap.o `test -f 'src/ibsendtrap.c' || echo '$(srcdir)/'`src/ibsendtrap.c - -ibsendtrap.obj: src/ibsendtrap.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibsendtrap.obj -MD -MP -MF $(DEPDIR)/ibsendtrap.Tpo -c -o ibsendtrap.obj `if test -f 'src/ibsendtrap.c'; then $(CYGPATH_W) 'src/ibsendtrap.c'; else $(CYGPATH_W) '$(srcdir)/src/ibsendtrap.c'; fi` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibsendtrap.Tpo $(DEPDIR)/ibsendtrap.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibsendtrap.c' object='ibsendtrap.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibsendtrap.obj `if test -f 'src/ibsendtrap.c'; then $(CYGPATH_W) 'src/ibsendtrap.c'; else $(CYGPATH_W) '$(srcdir)/src/ibsendtrap.c'; fi` - -ibstat.o: src/ibstat.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibstat.o -MD -MP -MF $(DEPDIR)/ibstat.Tpo -c -o ibstat.o `test -f 'src/ibstat.c' || echo '$(srcdir)/'`src/ibstat.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibstat.Tpo $(DEPDIR)/ibstat.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibstat.c' object='ibstat.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibstat.o `test -f 'src/ibstat.c' || echo '$(srcdir)/'`src/ibstat.c - -ibstat.obj: src/ibstat.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibstat.obj -MD -MP -MF $(DEPDIR)/ibstat.Tpo -c -o ibstat.obj `if test -f 'src/ibstat.c'; then $(CYGPATH_W) 'src/ibstat.c'; else $(CYGPATH_W) '$(srcdir)/src/ibstat.c'; fi` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibstat.Tpo $(DEPDIR)/ibstat.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibstat.c' object='ibstat.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibstat.obj `if test -f 'src/ibstat.c'; then $(CYGPATH_W) 'src/ibstat.c'; else $(CYGPATH_W) '$(srcdir)/src/ibstat.c'; fi` - -ibsysstat.o: src/ibsysstat.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibsysstat.o -MD -MP -MF $(DEPDIR)/ibsysstat.Tpo -c -o ibsysstat.o `test -f 'src/ibsysstat.c' || echo '$(srcdir)/'`src/ibsysstat.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibsysstat.Tpo $(DEPDIR)/ibsysstat.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibsysstat.c' object='ibsysstat.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibsysstat.o `test -f 'src/ibsysstat.c' || echo '$(srcdir)/'`src/ibsysstat.c - -ibsysstat.obj: src/ibsysstat.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibsysstat.obj -MD -MP -MF $(DEPDIR)/ibsysstat.Tpo -c -o ibsysstat.obj `if test -f 'src/ibsysstat.c'; then $(CYGPATH_W) 'src/ibsysstat.c'; else $(CYGPATH_W) '$(srcdir)/src/ibsysstat.c'; fi` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibsysstat.Tpo $(DEPDIR)/ibsysstat.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibsysstat.c' object='ibsysstat.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibsysstat.obj `if test -f 'src/ibsysstat.c'; then $(CYGPATH_W) 'src/ibsysstat.c'; else $(CYGPATH_W) '$(srcdir)/src/ibsysstat.c'; fi` - -ibtracert.o: src/ibtracert.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibtracert.o -MD -MP -MF $(DEPDIR)/ibtracert.Tpo -c -o ibtracert.o `test -f 'src/ibtracert.c' || echo '$(srcdir)/'`src/ibtracert.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibtracert.Tpo $(DEPDIR)/ibtracert.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibtracert.c' object='ibtracert.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibtracert.o `test -f 'src/ibtracert.c' || echo '$(srcdir)/'`src/ibtracert.c - -ibtracert.obj: src/ibtracert.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT ibtracert.obj -MD -MP -MF $(DEPDIR)/ibtracert.Tpo -c -o ibtracert.obj `if test -f 'src/ibtracert.c'; then $(CYGPATH_W) 'src/ibtracert.c'; else $(CYGPATH_W) '$(srcdir)/src/ibtracert.c'; fi` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/ibtracert.Tpo $(DEPDIR)/ibtracert.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibtracert.c' object='ibtracert.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o ibtracert.obj `if test -f 'src/ibtracert.c'; then $(CYGPATH_W) 'src/ibtracert.c'; else $(CYGPATH_W) '$(srcdir)/src/ibtracert.c'; fi` - -mcm_rereg_test.o: src/mcm_rereg_test.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT mcm_rereg_test.o -MD -MP -MF $(DEPDIR)/mcm_rereg_test.Tpo -c -o mcm_rereg_test.o `test -f 'src/mcm_rereg_test.c' || echo '$(srcdir)/'`src/mcm_rereg_test.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/mcm_rereg_test.Tpo $(DEPDIR)/mcm_rereg_test.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/mcm_rereg_test.c' object='mcm_rereg_test.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mcm_rereg_test.o `test -f 'src/mcm_rereg_test.c' || echo '$(srcdir)/'`src/mcm_rereg_test.c - -mcm_rereg_test.obj: src/mcm_rereg_test.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT mcm_rereg_test.obj -MD -MP -MF $(DEPDIR)/mcm_rereg_test.Tpo -c -o mcm_rereg_test.obj `if test -f 'src/mcm_rereg_test.c'; then $(CYGPATH_W) 'src/mcm_rereg_test.c'; else $(CYGPATH_W) '$(srcdir)/src/mcm_rereg_test.c'; fi` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/mcm_rereg_test.Tpo $(DEPDIR)/mcm_rereg_test.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/mcm_rereg_test.c' object='mcm_rereg_test.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o mcm_rereg_test.obj `if test -f 'src/mcm_rereg_test.c'; then $(CYGPATH_W) 'src/mcm_rereg_test.c'; else $(CYGPATH_W) '$(srcdir)/src/mcm_rereg_test.c'; fi` - -perfquery.o: src/perfquery.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT perfquery.o -MD -MP -MF $(DEPDIR)/perfquery.Tpo -c -o perfquery.o `test -f 'src/perfquery.c' || echo '$(srcdir)/'`src/perfquery.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/perfquery.Tpo $(DEPDIR)/perfquery.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/perfquery.c' object='perfquery.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o perfquery.o `test -f 'src/perfquery.c' || echo '$(srcdir)/'`src/perfquery.c - -perfquery.obj: src/perfquery.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT perfquery.obj -MD -MP -MF $(DEPDIR)/perfquery.Tpo -c -o perfquery.obj `if test -f 'src/perfquery.c'; then $(CYGPATH_W) 'src/perfquery.c'; else $(CYGPATH_W) '$(srcdir)/src/perfquery.c'; fi` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/perfquery.Tpo $(DEPDIR)/perfquery.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/perfquery.c' object='perfquery.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o perfquery.obj `if test -f 'src/perfquery.c'; then $(CYGPATH_W) 'src/perfquery.c'; else $(CYGPATH_W) '$(srcdir)/src/perfquery.c'; fi` - -src_rdma_ndd-rdma-ndd.o: src/rdma-ndd.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(src_rdma_ndd_CFLAGS) $(CFLAGS) -MT src_rdma_ndd-rdma-ndd.o -MD -MP -MF $(DEPDIR)/src_rdma_ndd-rdma-ndd.Tpo -c -o src_rdma_ndd-rdma-ndd.o `test -f 'src/rdma-ndd.c' || echo '$(srcdir)/'`src/rdma-ndd.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/src_rdma_ndd-rdma-ndd.Tpo $(DEPDIR)/src_rdma_ndd-rdma-ndd.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/rdma-ndd.c' object='src_rdma_ndd-rdma-ndd.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(src_rdma_ndd_CFLAGS) $(CFLAGS) -c -o src_rdma_ndd-rdma-ndd.o `test -f 'src/rdma-ndd.c' || echo '$(srcdir)/'`src/rdma-ndd.c - -src_rdma_ndd-rdma-ndd.obj: src/rdma-ndd.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(src_rdma_ndd_CFLAGS) $(CFLAGS) -MT src_rdma_ndd-rdma-ndd.obj -MD -MP -MF $(DEPDIR)/src_rdma_ndd-rdma-ndd.Tpo -c -o src_rdma_ndd-rdma-ndd.obj `if test -f 'src/rdma-ndd.c'; then $(CYGPATH_W) 'src/rdma-ndd.c'; else $(CYGPATH_W) '$(srcdir)/src/rdma-ndd.c'; fi` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/src_rdma_ndd-rdma-ndd.Tpo $(DEPDIR)/src_rdma_ndd-rdma-ndd.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/rdma-ndd.c' object='src_rdma_ndd-rdma-ndd.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(src_rdma_ndd_CFLAGS) $(CFLAGS) -c -o src_rdma_ndd-rdma-ndd.obj `if test -f 'src/rdma-ndd.c'; then $(CYGPATH_W) 'src/rdma-ndd.c'; else $(CYGPATH_W) '$(srcdir)/src/rdma-ndd.c'; fi` - -saquery.o: src/saquery.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT saquery.o -MD -MP -MF $(DEPDIR)/saquery.Tpo -c -o saquery.o `test -f 'src/saquery.c' || echo '$(srcdir)/'`src/saquery.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/saquery.Tpo $(DEPDIR)/saquery.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/saquery.c' object='saquery.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o saquery.o `test -f 'src/saquery.c' || echo '$(srcdir)/'`src/saquery.c - -saquery.obj: src/saquery.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT saquery.obj -MD -MP -MF $(DEPDIR)/saquery.Tpo -c -o saquery.obj `if test -f 'src/saquery.c'; then $(CYGPATH_W) 'src/saquery.c'; else $(CYGPATH_W) '$(srcdir)/src/saquery.c'; fi` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/saquery.Tpo $(DEPDIR)/saquery.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/saquery.c' object='saquery.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o saquery.obj `if test -f 'src/saquery.c'; then $(CYGPATH_W) 'src/saquery.c'; else $(CYGPATH_W) '$(srcdir)/src/saquery.c'; fi` - -sminfo.o: src/sminfo.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sminfo.o -MD -MP -MF $(DEPDIR)/sminfo.Tpo -c -o sminfo.o `test -f 'src/sminfo.c' || echo '$(srcdir)/'`src/sminfo.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/sminfo.Tpo $(DEPDIR)/sminfo.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/sminfo.c' object='sminfo.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sminfo.o `test -f 'src/sminfo.c' || echo '$(srcdir)/'`src/sminfo.c - -sminfo.obj: src/sminfo.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT sminfo.obj -MD -MP -MF $(DEPDIR)/sminfo.Tpo -c -o sminfo.obj `if test -f 'src/sminfo.c'; then $(CYGPATH_W) 'src/sminfo.c'; else $(CYGPATH_W) '$(srcdir)/src/sminfo.c'; fi` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/sminfo.Tpo $(DEPDIR)/sminfo.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/sminfo.c' object='sminfo.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o sminfo.obj `if test -f 'src/sminfo.c'; then $(CYGPATH_W) 'src/sminfo.c'; else $(CYGPATH_W) '$(srcdir)/src/sminfo.c'; fi` - -smpdump.o: src/smpdump.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT smpdump.o -MD -MP -MF $(DEPDIR)/smpdump.Tpo -c -o smpdump.o `test -f 'src/smpdump.c' || echo '$(srcdir)/'`src/smpdump.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/smpdump.Tpo $(DEPDIR)/smpdump.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/smpdump.c' object='smpdump.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o smpdump.o `test -f 'src/smpdump.c' || echo '$(srcdir)/'`src/smpdump.c - -smpdump.obj: src/smpdump.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT smpdump.obj -MD -MP -MF $(DEPDIR)/smpdump.Tpo -c -o smpdump.obj `if test -f 'src/smpdump.c'; then $(CYGPATH_W) 'src/smpdump.c'; else $(CYGPATH_W) '$(srcdir)/src/smpdump.c'; fi` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/smpdump.Tpo $(DEPDIR)/smpdump.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/smpdump.c' object='smpdump.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o smpdump.obj `if test -f 'src/smpdump.c'; then $(CYGPATH_W) 'src/smpdump.c'; else $(CYGPATH_W) '$(srcdir)/src/smpdump.c'; fi` - -smpquery.o: src/smpquery.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT smpquery.o -MD -MP -MF $(DEPDIR)/smpquery.Tpo -c -o smpquery.o `test -f 'src/smpquery.c' || echo '$(srcdir)/'`src/smpquery.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/smpquery.Tpo $(DEPDIR)/smpquery.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/smpquery.c' object='smpquery.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o smpquery.o `test -f 'src/smpquery.c' || echo '$(srcdir)/'`src/smpquery.c - -smpquery.obj: src/smpquery.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT smpquery.obj -MD -MP -MF $(DEPDIR)/smpquery.Tpo -c -o smpquery.obj `if test -f 'src/smpquery.c'; then $(CYGPATH_W) 'src/smpquery.c'; else $(CYGPATH_W) '$(srcdir)/src/smpquery.c'; fi` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/smpquery.Tpo $(DEPDIR)/smpquery.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/smpquery.c' object='smpquery.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o smpquery.obj `if test -f 'src/smpquery.c'; then $(CYGPATH_W) 'src/smpquery.c'; else $(CYGPATH_W) '$(srcdir)/src/smpquery.c'; fi` - -vendstat.o: src/vendstat.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT vendstat.o -MD -MP -MF $(DEPDIR)/vendstat.Tpo -c -o vendstat.o `test -f 'src/vendstat.c' || echo '$(srcdir)/'`src/vendstat.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/vendstat.Tpo $(DEPDIR)/vendstat.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/vendstat.c' object='vendstat.o' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o vendstat.o `test -f 'src/vendstat.c' || echo '$(srcdir)/'`src/vendstat.c - -vendstat.obj: src/vendstat.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT vendstat.obj -MD -MP -MF $(DEPDIR)/vendstat.Tpo -c -o vendstat.obj `if test -f 'src/vendstat.c'; then $(CYGPATH_W) 'src/vendstat.c'; else $(CYGPATH_W) '$(srcdir)/src/vendstat.c'; fi` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/vendstat.Tpo $(DEPDIR)/vendstat.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/vendstat.c' object='vendstat.obj' libtool=no @AMDEPBACKSLASH@ - at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o vendstat.obj `if test -f 'src/vendstat.c'; then $(CYGPATH_W) 'src/vendstat.c'; else $(CYGPATH_W) '$(srcdir)/src/vendstat.c'; fi` - mostlyclean-libtool: -rm -f *.lo @@ -2045,9 +1694,6 @@ distdir: $(DISTFILES) || exit 1; \ fi; \ done - $(MAKE) $(AM_MAKEFLAGS) \ - top_distdir="$(top_distdir)" distdir="$(distdir)" \ - dist-hook -test -n "$(am__skip_mode_fix)" \ || find "$(distdir)" -type d ! -perm -755 \ -exec chmod u+rwx,go+rx {} \; -o \ @@ -2212,13 +1858,13 @@ clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -rm -f src/$(DEPDIR)/$(am__dirstamp) -rm -f src/$(am__dirstamp) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @echo "it deletes files that may require special tools to rebuild." -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES) - at ENABLE_RDMA_NDD_FALSE@install-exec-hook: clean: clean-recursive clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \ @@ -2226,7 +1872,7 @@ clean-am: clean-generic clean-libtool clean-noinstLIBRARIES \ distclean: distclean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) - -rm -rf ./$(DEPDIR) + -rm -rf src/$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-hdr distclean-libtool distclean-local distclean-tags @@ -2251,8 +1897,7 @@ install-dvi: install-dvi-recursive install-dvi-am: install-exec-am: install-sbinPROGRAMS install-sbinSCRIPTS - @$(NORMAL_INSTALL) - $(MAKE) $(AM_MAKEFLAGS) install-exec-hook + install-html: install-html-recursive install-html-am: @@ -2276,7 +1921,7 @@ installcheck-am: maintainer-clean: maintainer-clean-recursive -rm -f $(am__CONFIG_DISTCLEAN_FILES) -rm -rf $(top_srcdir)/autom4te.cache - -rm -rf ./$(DEPDIR) + -rm -rf src/$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic @@ -2299,29 +1944,28 @@ uninstall-am: uninstall-man uninstall-sbinPROGRAMS \ uninstall-man: uninstall-man8 .MAKE: $(am__recursive_targets) all check check-am install install-am \ - install-data-am install-exec-am install-strip + install-data-am install-strip .PHONY: $(am__recursive_targets) CTAGS GTAGS TAGS all all-am \ am--refresh check check-TESTS check-am clean clean-cscope \ clean-generic clean-libtool clean-noinstLIBRARIES \ clean-sbinPROGRAMS cscope cscopelist-am ctags ctags-am dist \ - dist-all dist-bzip2 dist-gzip dist-hook dist-lzip dist-shar \ - dist-tarZ dist-xz dist-zip distcheck distclean \ - distclean-compile distclean-generic distclean-hdr \ - distclean-libtool distclean-local distclean-tags \ - distcleancheck distdir distuninstallcheck dvi dvi-am html \ - html-am info info-am install install-am install-data \ - install-data-am install-data-hook install-dvi install-dvi-am \ - install-exec install-exec-am install-exec-hook install-html \ - install-html-am install-info install-info-am install-man \ - install-man8 install-pdf install-pdf-am install-ps \ - install-ps-am install-sbinPROGRAMS install-sbinSCRIPTS \ - install-strip installcheck installcheck-am installdirs \ - installdirs-am maintainer-clean maintainer-clean-generic \ - mostlyclean mostlyclean-compile mostlyclean-generic \ - mostlyclean-libtool pdf pdf-am ps ps-am recheck tags tags-am \ - uninstall uninstall-am uninstall-man uninstall-man8 \ - uninstall-sbinPROGRAMS uninstall-sbinSCRIPTS + dist-all dist-bzip2 dist-gzip dist-lzip dist-shar dist-tarZ \ + dist-xz dist-zip distcheck distclean distclean-compile \ + distclean-generic distclean-hdr distclean-libtool \ + distclean-local distclean-tags distcleancheck distdir \ + distuninstallcheck dvi dvi-am html html-am info info-am \ + install install-am install-data install-data-am \ + install-data-hook install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-man install-man8 install-pdf \ + install-pdf-am install-ps install-ps-am install-sbinPROGRAMS \ + install-sbinSCRIPTS install-strip installcheck installcheck-am \ + installdirs installdirs-am maintainer-clean \ + maintainer-clean-generic mostlyclean mostlyclean-compile \ + mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ + recheck tags tags-am uninstall uninstall-am uninstall-man \ + uninstall-man8 uninstall-sbinPROGRAMS uninstall-sbinSCRIPTS ibdiag_version: if [ -x $(top_srcdir)/gen_ver.sh ] ; then \ @@ -2337,11 +1981,6 @@ ibdiag_version: distclean-local: $(top_srcdir)/doc/generate clean -dist-hook: - if [ -x $(top_srcdir)/gen_chlog.sh ] ; then \ - $(top_srcdir)/gen_chlog.sh > $(distdir)/ChangeLog ; \ - fi - # install this to a default location. install-data-hook: if test ! -d $(DESTDIR)/$(sysconfdir)/infiniband-diags; then \ @@ -2354,11 +1993,6 @@ install-data-hook: $(top_srcdir)/config/install-sh -c -m 444 $(top_srcdir)/etc/error_thresholds $(DESTDIR)/$(sysconfdir)/infiniband-diags $(top_srcdir)/config/install-sh -c -m 400 $(top_srcdir)/etc/ibdiag.conf $(DESTDIR)/$(sysconfdir)/infiniband-diags - at ENABLE_RDMA_NDD_TRUE@install-exec-hook: - at ENABLE_RDMA_NDD_TRUE@@SYSTEMD_SYSTEM_TRUE@ $(top_srcdir)/config/install-sh -m 755 $(top_srcdir)/etc/rdma-ndd.service $(DESTDIR)/$(SYSTEMD_SYSTEM_UNIT_DIR)/rdma-ndd.service - at ENABLE_RDMA_NDD_TRUE@@SYSTEMD_SYSTEM_FALSE@ $(top_srcdir)/config/install-sh -m 755 -d $(DESTDIR)/$(sysconfdir)/init.d - at ENABLE_RDMA_NDD_TRUE@@SYSTEMD_SYSTEM_FALSE@ $(top_srcdir)/config/install-sh -m 755 $(top_srcdir)/etc/rdma-ndd.init $(DESTDIR)/$(sysconfdir)/init.d/rdma-ndd - # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: diff --git a/README b/README index 593ac9b..2ff77c9 100644 --- a/README +++ b/README @@ -10,36 +10,77 @@ interface to this library is _not_ guaranteed to be stable (though we try.) Dependencies: - 1) libibmad >= 1.3.12 - 2) libibumad >= 1.3.7 - 3) opensm-libs >= 3.3.10 - 4) ib_umad kernel module - 5) glib2 + 1) libibumad >= 1.3.7 + 2) opensm-libs >= 3.3.10 + 3) ib_umad kernel module + 4) glib2 -Release notes v1.6.6 => 1.6.7 +Release notes 1.6.7 => 2.0.0 - 1) bug fixes - 2) Add support for systemd + 1) combine libibmad + 2) Removed rdma-ndd + 2a) Removed need for systemd + 2b) Removed need for udev -Authors since 1.6.6 +Authors since 1.6.7 -Dan Ben Yosef (1): - saquery.c: Fix changing qos_class flag value to network order twice +*Preserved full history from libibmad* -Hal Rosenstock (5): - ibcacheedit.c: Eliminate unused parameter passed to - update_switchportguids - ibqueryerrors.c: Removed unused passed parameters to print_port_config - and query_and_dump - Remove unused pisize parameter from dump_portinfo in ibdiag_common - ibportstate.c: Fix unsigned comparison warnings - ibsendtrap.c: Eliminate unused parameter from send_trap +Ana Guerrero L?pez (4): + Update AM_INIT_AUTOMAKE to use subdir-objects + Replace INCLUDES with AM_CPPFLAGS + Update the shebang to point to /bin/bash + A few typo fixes in the manpages -Ira Weiny (1): - rdma-ndd: Add systemd support +Dag Moxnes (1): + ibportstate: Fixed switch peer port probing when using DR routing + +Eitan Zahavi (1): + ibsendtrap.c: Add support for security traps + +Hal Rosenstock (13): + ibportstate.c: When not switch, port can be router port + ibaddr.c: Fix LID printfs to be unsigned rather than signed + libibnetdisc/internal.h: Remove duplicated declaration of + add_to_portlid_hash + ibtracert.c: Enable m_key option + Add Bull device ID support to device white lists + infiniband-diags: Add Connect-X5 device ID to device white + scripts: Add mkey support into ibhosts, ibswitches, and ibrouters + ibdiag_common.c: Disambiguate link speed when QDR and could be FDR10 + saquery.c: Remove use of to be deprecated ib_gid_t + ibdiag_common.c: Fix endian conversion in resolve_self for umad_port + GID prefix and GUID + ibdiag_common.c: Fix cosmetic formatting issue + ibstat.c: Add include for __be64 type + perfquery.c: Output PerfMgt ClassPortInfo CapabilityMask2 + +Ira Weiny (15): + doc/man/*.in: update pre-built *.in files + scripts: Add m_key to man pages + infiniband-diags: Use modern glibc htobe64/be64toh macros + infiniband-diags: Fix type passed to umad_get_ca_portguids + infiniband-diags/perfquery: Use universal zero init for perf_count + infiniband-diags: Update README files to reflect new merged repo + infiniband-diags: Bump version to 2.0.0 + infiniband-diags: Update COPYING files to reflect the new repo + infiniband-diags: Remove redundant AUTHORS file + infiniband-diags: Move libibmad auto-configuration to main dir + infiniband-diags: Merge makefiles and build against internal libibmad + infiniband-diags: Combine libibmad spec into infiniband-diags + infiniband-diags: Remove outdated scripts for ChangeLog + infiniband-diags: set noreplace on config files + infiniband-diags: Remove rdma-ndd + + +Oded Nissan (2): + ibstat.c: If port is 1x SDR, rate is 2.5 rather than 2 Gbps + perfquery.c: Add support for additional counters in + PortCountersExtended + +Vincent Ficet (1): + infiniband-diags: Add Bull device ID support to device white lists -Vladimir Koushnir (1): - infiniband-diags: Add Switch-IB2 support to device white lists diff --git a/config.h.in b/config.h.in index 58a4ef5..9547093 100644 --- a/config.h.in +++ b/config.h.in @@ -15,9 +15,6 @@ /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H -/* Define to 1 if you have the `ibmad' library (-libmad). */ -#undef HAVE_LIBIBMAD - /* Define to 1 if you have the `ibumad' library (-libumad). */ #undef HAVE_LIBIBUMAD @@ -66,12 +63,12 @@ /* Define to 1 if you have the header file. */ #undef HAVE_SYS_STAT_H +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TIME_H + /* Define to 1 if you have the header file. */ #undef HAVE_SYS_TYPES_H -/* whether libudev logging can be used */ -#undef HAVE_UDEV_LOGGING - /* Define to 1 if struct umad_port has link_layer member */ #undef HAVE_UMAD_PORT_LINK_LAYER @@ -120,3 +117,9 @@ /* Define to empty if `const' does not conform to ANSI C. */ #undef const + +/* Define to `__inline__' or `__inline' if that's what the C compiler + calls it, or to nothing if 'inline' is not supported under any name. */ +#ifndef __cplusplus +#undef inline +#endif diff --git a/configure b/configure index 9b26d4f..b14489f 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for infiniband-diags 1.6.7. +# Generated by GNU Autoconf 2.69 for infiniband-diags 2.0.0. # # Report bugs to . # @@ -590,8 +590,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='infiniband-diags' PACKAGE_TARNAME='infiniband-diags' -PACKAGE_VERSION='1.6.7' -PACKAGE_STRING='infiniband-diags 1.6.7' +PACKAGE_VERSION='2.0.0' +PACKAGE_STRING='infiniband-diags 2.0.0' PACKAGE_BUGREPORT='linux-rdma at vger.kernel.org' PACKAGE_URL='' @@ -636,20 +636,7 @@ am__EXEEXT_TRUE LTLIBOBJS have_rst2man BUILD_DATE -UDEV_LIBS -UDEV_CFLAGS -DEFAULT_STOP -DEFAULT_START -RDMA_SERVICE -ENABLE_RDMA_NDD_FALSE -ENABLE_RDMA_NDD_TRUE -SPEC_FILE_RDMA_NDD_INSTALL -SYSTEMD_SYSTEM_FALSE -SYSTEMD_SYSTEM_TRUE -SYSTEMD_BUILD_REQUIRES -SYSTEMD_SYSTEM_UNIT_DIR -SYSTEMD_LIBS -SYSTEMD_CFLAGS +ibmad_api_version ibnetdisc_api_version HAVE_GLIB_FALSE HAVE_GLIB_TRUE @@ -806,9 +793,6 @@ enable_compat_utils with_perl_path with_perl_installdir with_ibpath_override -with_systemdsystemunitdir -enable_rdma_ndd -with_rdma_service ' ac_precious_vars='build_alias host_alias @@ -823,11 +807,7 @@ PKG_CONFIG PKG_CONFIG_PATH PKG_CONFIG_LIBDIR GLIB_CFLAGS -GLIB_LIBS -SYSTEMD_CFLAGS -SYSTEMD_LIBS -UDEV_CFLAGS -UDEV_LIBS' +GLIB_LIBS' # Initialize some variables set by options. @@ -1368,7 +1348,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures infiniband-diags 1.6.7 to adapt to many kinds of systems. +\`configure' configures infiniband-diags 2.0.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1439,7 +1419,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of infiniband-diags 1.6.7:";; + short | recursive ) echo "Configuration of infiniband-diags 2.0.0:";; esac cat <<\_ACEOF @@ -1461,7 +1441,6 @@ Optional Features: --disable-libtool-lock avoid locking (might break parallel builds) --enable-test-utils build additional test utilities (default=no) --enable-compat-utils build deprecated compatibility utilities (default=no) - --enable-rdma-ndd build rdma-ndd (default=yes) Optional Packages: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] @@ -1475,14 +1454,6 @@ Optional Packages: --with-perl-installdir=path define perl install path --with-ibpath_override= define ib binaries path - --with-systemdsystemunitdir=DIR - Directory for systemd service files default from - pkg-config variable systemdsystemunitdir) - --with-rdma-service=name - name of the RDMA service: "rdma" when using - /etc/init.d/rdma to start RDMA services; "openibd" - when using /etc/init.d/openibd to start RDMA - services [default=${default_rdma_service}] Some influential environment variables: CC C compiler command @@ -1500,12 +1471,6 @@ Some influential environment variables: path overriding pkg-config's built-in search path GLIB_CFLAGS C compiler flags for GLIB, overriding pkg-config GLIB_LIBS linker flags for GLIB, overriding pkg-config - SYSTEMD_CFLAGS - C compiler flags for SYSTEMD, overriding pkg-config - SYSTEMD_LIBS - linker flags for SYSTEMD, overriding pkg-config - UDEV_CFLAGS C compiler flags for UDEV, overriding pkg-config - UDEV_LIBS linker flags for UDEV, overriding pkg-config Use these variables to override the choices made by `configure' or to help it to find libraries and programs with nonstandard names/locations. @@ -1573,7 +1538,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -infiniband-diags configure 1.6.7 +infiniband-diags configure 2.0.0 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1999,7 +1964,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by infiniband-diags $as_me 1.6.7, which was +It was created by infiniband-diags $as_me 2.0.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2865,7 +2830,7 @@ fi # Define the identity of the package. PACKAGE='infiniband-diags' - VERSION='1.6.7' + VERSION='2.0.0' cat >>confdefs.h <<_ACEOF @@ -11729,101 +11694,6 @@ else as_fn_error $? "umad_init() not found. diags require libibumad." "$LINENO" 5 fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mad_dump_mlnx_ext_port_info in -libmad" >&5 -$as_echo_n "checking for mad_dump_mlnx_ext_port_info in -libmad... " >&6; } -if ${ac_cv_lib_ibmad_mad_dump_mlnx_ext_port_info+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-libmad $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char mad_dump_mlnx_ext_port_info (); -int -main () -{ -return mad_dump_mlnx_ext_port_info (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_ibmad_mad_dump_mlnx_ext_port_info=yes -else - ac_cv_lib_ibmad_mad_dump_mlnx_ext_port_info=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ibmad_mad_dump_mlnx_ext_port_info" >&5 -$as_echo "$ac_cv_lib_ibmad_mad_dump_mlnx_ext_port_info" >&6; } -if test "x$ac_cv_lib_ibmad_mad_dump_mlnx_ext_port_info" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBIBMAD 1 -_ACEOF - - LIBS="-libmad $LIBS" - -else - as_fn_error $? "mad_dump_mlnx_ext_port_info() not found. - diags require libibmad with mad_dump_mlnx_ext_port_info support." "$LINENO" 5 -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for mad_dump_classportinfo in -libmad" >&5 -$as_echo_n "checking for mad_dump_classportinfo in -libmad... " >&6; } -if ${ac_cv_lib_ibmad_mad_dump_classportinfo+:} false; then : - $as_echo_n "(cached) " >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-libmad $LIBS" -cat confdefs.h - <<_ACEOF >conftest.$ac_ext -/* end confdefs.h. */ - -/* Override any GCC internal prototype to avoid an error. - Use char because int might match the return type of a GCC - builtin and then its argument prototype would still apply. */ -#ifdef __cplusplus -extern "C" -#endif -char mad_dump_classportinfo (); -int -main () -{ -return mad_dump_classportinfo (); - ; - return 0; -} -_ACEOF -if ac_fn_c_try_link "$LINENO"; then : - ac_cv_lib_ibmad_mad_dump_classportinfo=yes -else - ac_cv_lib_ibmad_mad_dump_classportinfo=no -fi -rm -f core conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ibmad_mad_dump_classportinfo" >&5 -$as_echo "$ac_cv_lib_ibmad_mad_dump_classportinfo" >&6; } -if test "x$ac_cv_lib_ibmad_mad_dump_classportinfo" = xyes; then : - cat >>confdefs.h <<_ACEOF -#define HAVE_LIBIBMAD 1 -_ACEOF - - LIBS="-libmad $LIBS" - -else - as_fn_error $? "mad_dump_classportinfo() not found. diags requires a more recent libibmad." "$LINENO" 5 -fi - ac_fn_c_check_member "$LINENO" "struct umad_port" "link_layer" "ac_cv_member_struct_umad_port_link_layer" "#include " if test "x$ac_cv_member_struct_umad_port_link_layer" = xyes; then : @@ -11997,7 +11867,7 @@ $as_echo "#define STDC_HEADERS 1" >>confdefs.h fi -for ac_header in stdlib.h string.h unistd.h fcntl.h inttypes.h netinet/in.h sys/ioctl.h +for ac_header in stdlib.h string.h unistd.h fcntl.h inttypes.h netinet/in.h sys/ioctl.h sys/time.h do : as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" @@ -12019,15 +11889,6 @@ else fi -ac_fn_c_check_header_mongrel "$LINENO" "infiniband/mad.h" "ac_cv_header_infiniband_mad_h" "$ac_includes_default" -if test "x$ac_cv_header_infiniband_mad_h" = xyes; then : - -else - as_fn_error $? " not found. diags require libibmad." "$LINENO" 5 - -fi - - { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5 $as_echo_n "checking for error_at_line... " >&6; } @@ -12177,6 +12038,48 @@ $as_echo "#define const /**/" >>confdefs.h fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5 +$as_echo_n "checking for inline... " >&6; } +if ${ac_cv_c_inline+:} false; then : + $as_echo_n "(cached) " >&6 +else + ac_cv_c_inline=no +for ac_kw in inline __inline__ __inline; do + cat confdefs.h - <<_ACEOF >conftest.$ac_ext +/* end confdefs.h. */ +#ifndef __cplusplus +typedef int foo_t; +static $ac_kw foo_t static_foo () {return 0; } +$ac_kw foo_t foo () {return 0; } +#endif + +_ACEOF +if ac_fn_c_try_compile "$LINENO"; then : + ac_cv_c_inline=$ac_kw +fi +rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + test "$ac_cv_c_inline" != no && break +done + +fi +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5 +$as_echo "$ac_cv_c_inline" >&6; } + +case $ac_cv_c_inline in + inline | yes) ;; + *) + case $ac_cv_c_inline in + no) ac_val=;; + *) ac_val=$ac_cv_c_inline;; + esac + cat >>confdefs.h <<_ACEOF +#ifndef __cplusplus +#define inline $ac_val +#endif +_ACEOF + ;; +esac + IBDIAG_CONFIG_PATH_TMP1="`eval echo ${sysconfdir}`" IBDIAG_CONFIG_PATH_TMP2="`echo $IBDIAG_CONFIG_PATH_TMP1 | sed 's/^NONE/$ac_default_prefix/'`" @@ -12579,274 +12482,12 @@ if test -z $ibnetdisc_api_version; then fi - -pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SYSTEMD" >&5 -$as_echo_n "checking for SYSTEMD... " >&6; } - -if test -n "$SYSTEMD_CFLAGS"; then - pkg_cv_SYSTEMD_CFLAGS="$SYSTEMD_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5 - ($PKG_CONFIG --exists --print-errors "systemd") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_SYSTEMD_CFLAGS=`$PKG_CONFIG --cflags "systemd" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi -if test -n "$SYSTEMD_LIBS"; then - pkg_cv_SYSTEMD_LIBS="$SYSTEMD_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"systemd\""; } >&5 - ($PKG_CONFIG --exists --print-errors "systemd") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_SYSTEMD_LIBS=`$PKG_CONFIG --libs "systemd" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no -fi - if test $_pkg_short_errors_supported = yes; then - SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "systemd" 2>&1` - else - SYSTEMD_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "systemd" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$SYSTEMD_PKG_ERRORS" >&5 - - use_systemd=no -elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - use_systemd=no -else - SYSTEMD_CFLAGS=$pkg_cv_SYSTEMD_CFLAGS - SYSTEMD_LIBS=$pkg_cv_SYSTEMD_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - use_systemd=yes -fi - -specfile_install="%{_sysconfdir}/init.d/rdma-ndd" -if test "x$use_systemd" == xyes; then - dir="" - -# Check whether --with-systemdsystemunitdir was given. -if test "${with_systemdsystemunitdir+set}" = set; then : - withval=$with_systemdsystemunitdir; dir=${withval} -else - dir="$($PKG_CONFIG --variable=systemdsystemunitdir systemd)" -fi - - systemdsystemunitdir=${dir} - SYSTEMD_SYSTEM_UNIT_DIR=$systemdsystemunitdir - - SYSTEMD_BUILD_REQUIRES="BuildRequires: systemd" - - specfile_install="$systemdsystemunitdir/rdma-ndd.service" -fi - if test "x$use_systemd" == xyes; then - SYSTEMD_SYSTEM_TRUE= - SYSTEMD_SYSTEM_FALSE='#' -else - SYSTEMD_SYSTEM_TRUE='#' - SYSTEMD_SYSTEM_FALSE= -fi - -SPEC_FILE_RDMA_NDD_INSTALL=$specfile_install - - - - -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-rdma-ndd" >&5 -$as_echo_n "checking for --enable-rdma-ndd... " >&6; } -# Check whether --enable-rdma-ndd was given. -if test "${enable_rdma_ndd+set}" = set; then : - enableval=$enable_rdma_ndd; case "${enableval}" in - yes) rdmandd=yes ;; - no) rdmandd=no ;; - *) as_fn_error $? "bad value ${enableval} for --enable-rdma-ndd" "$LINENO" 5 ;; -esac -else - rdmandd=yes -fi - - if test x$rdmandd = xyes; then - ENABLE_RDMA_NDD_TRUE= - ENABLE_RDMA_NDD_FALSE='#' -else - ENABLE_RDMA_NDD_TRUE='#' - ENABLE_RDMA_NDD_FALSE= -fi - -{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${rdmandd=no}" >&5 -$as_echo "${rdmandd=no}" >&6; } - -default_rdma_service=openibd - -# Check whether --with-rdma_service was given. -if test "${with_rdma_service+set}" = set; then : - withval=$with_rdma_service; -fi - -RDMA_SERVICE=${with_rdma_service:-${default_rdma_service}} - - -if { rpm -q sles-release || rpm -q openSUSE-release; } >/dev/null 2>&1; then - default_stop="0 1 4 6" -else - default_stop="0 1 6" -fi - -default_start="null" - -DEFAULT_START=$default_start - -DEFAULT_STOP=$default_stop - - -if test x$rdmandd = xyes; then : - - -pkg_failed=no -{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for UDEV" >&5 -$as_echo_n "checking for UDEV... " >&6; } - -if test -n "$UDEV_CFLAGS"; then - pkg_cv_UDEV_CFLAGS="$UDEV_CFLAGS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev\""; } >&5 - ($PKG_CONFIG --exists --print-errors "libudev") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_UDEV_CFLAGS=`$PKG_CONFIG --cflags "libudev" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi -if test -n "$UDEV_LIBS"; then - pkg_cv_UDEV_LIBS="$UDEV_LIBS" - elif test -n "$PKG_CONFIG"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev\""; } >&5 - ($PKG_CONFIG --exists --print-errors "libudev") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - pkg_cv_UDEV_LIBS=`$PKG_CONFIG --libs "libudev" 2>/dev/null` - test "x$?" != "x0" && pkg_failed=yes -else - pkg_failed=yes -fi - else - pkg_failed=untried -fi - - - -if test $pkg_failed = yes; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - -if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then - _pkg_short_errors_supported=yes -else - _pkg_short_errors_supported=no +ibmad_api_version=`grep LIBVERSION $srcdir/libibmad/libibmad.ver | sed 's/LIBVERSION=//'` +if test -z $ibmad_api_version; then + ibmad_api_version=1:0:0 fi - if test $_pkg_short_errors_supported = yes; then - UDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "libudev" 2>&1` - else - UDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "libudev" 2>&1` - fi - # Put the nasty error message in config.log where it belongs - echo "$UDEV_PKG_ERRORS" >&5 - - as_fn_error $? "Package requirements (libudev) were not met: -$UDEV_PKG_ERRORS -Consider adjusting the PKG_CONFIG_PATH environment variable if you -installed software in a non-standard prefix. - -Alternatively, you may set the environment variables UDEV_CFLAGS -and UDEV_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details." "$LINENO" 5 -elif test $pkg_failed = untried; then - { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 -$as_echo "no" >&6; } - { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 -$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} -as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it -is in your PATH or set the PKG_CONFIG environment variable to the full -path to pkg-config. - -Alternatively, you may set the environment variables UDEV_CFLAGS -and UDEV_LIBS to avoid the need to call pkg-config. -See the pkg-config man page for more details. - -To get pkg-config, see . -See \`config.log' for more details" "$LINENO" 5; } -else - UDEV_CFLAGS=$pkg_cv_UDEV_CFLAGS - UDEV_LIBS=$pkg_cv_UDEV_LIBS - { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 -$as_echo "yes" >&6; } - -fi - ac_config_files="$ac_config_files doc/man/rdma-ndd.8 etc/rdma-ndd.init etc/rdma-ndd.service" - - - - if test "$with_udev" = "yes"; then - if test -n "$PKG_CONFIG" && \ - { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev >= 218\""; } >&5 - ($PKG_CONFIG --exists --print-errors "libudev >= 218") 2>&5 - ac_status=$? - $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 - test $ac_status = 0; }; then - with_dev_logging=no -else - with_udev_logging=yes -fi - if test "$with_udev_logging" = "yes"; then - -cat >>confdefs.h <<_ACEOF -#define HAVE_UDEV_LOGGING 1 -_ACEOF - - fi - fi - -fi DOC_DATE="`date +%Y-%m-%d`" @@ -12937,7 +12578,7 @@ else fi fi -ac_config_files="$ac_config_files Makefile infiniband-diags.spec include/ibdiag_version.h scripts/ibcheckerrors scripts/ibcheckerrs scripts/ibchecknet scripts/ibchecknode scripts/ibcheckport scripts/ibcheckportstate scripts/ibcheckportwidth scripts/ibcheckstate scripts/ibcheckwidth scripts/ibclearcounters scripts/ibclearerrors scripts/ibdatacounts scripts/ibdatacounters scripts/ibhosts scripts/ibnodes scripts/ibswitches scripts/ibrouters scripts/iblinkinfo.pl scripts/ibqueryerrors.pl scr [...] +ac_config_files="$ac_config_files Makefile infiniband-diags.spec include/ibdiag_version.h scripts/ibcheckerrors scripts/ibcheckerrs scripts/ibchecknet scripts/ibchecknode scripts/ibcheckport scripts/ibcheckportstate scripts/ibcheckportwidth scripts/ibcheckstate scripts/ibcheckwidth scripts/ibclearcounters scripts/ibclearerrors scripts/ibdatacounts scripts/ibdatacounters scripts/ibhosts scripts/ibnodes scripts/ibswitches scripts/ibrouters scripts/iblinkinfo.pl scripts/ibqueryerrors.pl scr [...] cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure @@ -13095,14 +12736,6 @@ if test -z "${HAVE_GLIB_TRUE}" && test -z "${HAVE_GLIB_FALSE}"; then as_fn_error $? "conditional \"HAVE_GLIB\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi -if test -z "${SYSTEMD_SYSTEM_TRUE}" && test -z "${SYSTEMD_SYSTEM_FALSE}"; then - as_fn_error $? "conditional \"SYSTEMD_SYSTEM\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi -if test -z "${ENABLE_RDMA_NDD_TRUE}" && test -z "${ENABLE_RDMA_NDD_FALSE}"; then - as_fn_error $? "conditional \"ENABLE_RDMA_NDD\" was never defined. -Usually this means the macro was only invoked conditionally." "$LINENO" 5 -fi : "${CONFIG_STATUS=./config.status}" ac_write_fail=0 @@ -13500,7 +13133,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by infiniband-diags $as_me 1.6.7, which was +This file was extended by infiniband-diags $as_me 2.0.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -13566,7 +13199,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -infiniband-diags config.status 1.6.7 +infiniband-diags config.status 2.0.0 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" @@ -13975,9 +13608,6 @@ do "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;; "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;; - "doc/man/rdma-ndd.8") CONFIG_FILES="$CONFIG_FILES doc/man/rdma-ndd.8" ;; - "etc/rdma-ndd.init") CONFIG_FILES="$CONFIG_FILES etc/rdma-ndd.init" ;; - "etc/rdma-ndd.service") CONFIG_FILES="$CONFIG_FILES etc/rdma-ndd.service" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "infiniband-diags.spec") CONFIG_FILES="$CONFIG_FILES infiniband-diags.spec" ;; "include/ibdiag_version.h") CONFIG_FILES="$CONFIG_FILES include/ibdiag_version.h" ;; @@ -14032,6 +13662,7 @@ do "doc/man/vendstat.8") CONFIG_FILES="$CONFIG_FILES doc/man/vendstat.8" ;; "doc/man/infiniband-diags.8") CONFIG_FILES="$CONFIG_FILES doc/man/infiniband-diags.8" ;; "libibnetdisc/Makefile") CONFIG_FILES="$CONFIG_FILES libibnetdisc/Makefile" ;; + "libibmad/Makefile") CONFIG_FILES="$CONFIG_FILES libibmad/Makefile" ;; *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac diff --git a/configure.ac b/configure.ac index 623bc4f..e752b2b 100644 --- a/configure.ac +++ b/configure.ac @@ -1,11 +1,11 @@ dnl Process this file with autoconf to produce a configure script. AC_PREREQ(2.57) -AC_INIT(infiniband-diags, 1.6.7, linux-rdma at vger.kernel.org) +AC_INIT(infiniband-diags, 2.0.0, linux-rdma at vger.kernel.org) AC_CONFIG_AUX_DIR(config) AC_CONFIG_MACRO_DIR(config) AM_CONFIG_HEADER(config.h) -AM_INIT_AUTOMAKE([foreign]) +AM_INIT_AUTOMAKE([subdir-objects]) AC_SUBST(RELEASE, ${RELEASE:-unknown}) AC_SUBST(TARBALL, ${TARBALL:-${PACKAGE}-${VERSION}.tar.gz}) @@ -31,11 +31,6 @@ AM_CONDITIONAL(HAVE_DASH, test x$have_dash = xtrue) dnl Checks for libraries AC_CHECK_LIB(ibumad, umad_init, [], AC_MSG_ERROR([umad_init() not found. diags require libibumad.])) -AC_CHECK_LIB(ibmad, mad_dump_mlnx_ext_port_info, [], - AC_MSG_ERROR([mad_dump_mlnx_ext_port_info() not found. - diags require libibmad with mad_dump_mlnx_ext_port_info support.])) -AC_CHECK_LIB(ibmad, mad_dump_classportinfo, [], - AC_MSG_ERROR([mad_dump_classportinfo() not found. diags requires a more recent libibmad.])) AC_CHECK_MEMBER([struct umad_port.link_layer], [ac_have_umad_port_link_layer=yes], [ac_have_umad_port_link_layer=no], @@ -48,13 +43,10 @@ AC_CHECK_LIB(osmcomp, cl_qmap_insert, [], dnl Checks for header files. AC_HEADER_STDC -AC_CHECK_HEADERS([stdlib.h string.h unistd.h fcntl.h inttypes.h netinet/in.h sys/ioctl.h]) +AC_CHECK_HEADERS([stdlib.h string.h unistd.h fcntl.h inttypes.h netinet/in.h sys/ioctl.h sys/time.h]) AC_CHECK_HEADER(infiniband/umad.h, [], AC_MSG_ERROR([ not found. diags require libibumad.]) ) -AC_CHECK_HEADER(infiniband/mad.h, [], - AC_MSG_ERROR([ not found. diags require libibmad.]) -) dnl Checks for library functions AC_FUNC_ERROR_AT_LINE @@ -63,6 +55,7 @@ AC_CHECK_FUNCS([strchr strrchr strtol strtoul memset strtoull]) dnl Checks for typedefs, structures, and compiler characteristics. AC_C_CONST +AC_C_INLINE dnl Define a configure directory IBDIAG_CONFIG_PATH_TMP1="`eval echo ${sysconfdir}`" @@ -180,73 +173,14 @@ fi AC_SUBST(ibnetdisc_api_version) dnl End libibnetdisc stuff -dnl Begin determine the systemd use and location -PKG_CHECK_MODULES([SYSTEMD], [systemd], use_systemd=yes, use_systemd=no) - -specfile_install="%{_sysconfdir}/init.d/rdma-ndd" -if test "x$use_systemd" == xyes; then - dir="" - AC_ARG_WITH([systemdsystemunitdir], AS_HELP_STRING([--with-systemdsystemunitdir=DIR], - [Directory for systemd service files default from pkg-config variable systemdsystemunitdir)]), - [dir=${withval}], - [dir="$($PKG_CONFIG --variable=systemdsystemunitdir systemd)"]) - systemdsystemunitdir=${dir} - AC_SUBST(SYSTEMD_SYSTEM_UNIT_DIR, [$systemdsystemunitdir]) - AC_SUBST(SYSTEMD_BUILD_REQUIRES, "BuildRequires: systemd") - specfile_install="$systemdsystemunitdir/rdma-ndd.service" -fi -AM_CONDITIONAL(SYSTEMD_SYSTEM, test "x$use_systemd" == xyes) -AC_SUBST(SPEC_FILE_RDMA_NDD_INSTALL, $specfile_install) - -dnl End systemd stuff - - -dnl with or with rdma-ndd -AC_MSG_CHECKING(for --enable-rdma-ndd) -AC_ARG_ENABLE(rdma-ndd, -[ --enable-rdma-ndd build rdma-ndd (default=yes)], -[case "${enableval}" in - yes) rdmandd=yes ;; - no) rdmandd=no ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-rdma-ndd) ;; -esac],[rdmandd=yes]) -AM_CONDITIONAL(ENABLE_RDMA_NDD, test x$rdmandd = xyes) -AC_MSG_RESULT(${rdmandd=no}) - -dnl configures for rdma-ndd startup script -default_rdma_service=openibd -AC_ARG_WITH([rdma_service], - AC_HELP_STRING([--with-rdma-service=name], - [name of the RDMA service: "rdma" when using /etc/init.d/rdma to start RDMA services; "openibd" when using /etc/init.d/openibd to start RDMA services [default=${default_rdma_service}]])) -AC_SUBST(RDMA_SERVICE, ${with_rdma_service:-${default_rdma_service}}) - -if { rpm -q sles-release || rpm -q openSUSE-release; } >/dev/null 2>&1; then - default_stop="0 1 4 6" -else - default_stop="0 1 6" +dnl Begin libibmad stuff +ibmad_api_version=`grep LIBVERSION $srcdir/libibmad/libibmad.ver | sed 's/LIBVERSION=//'` +if test -z $ibmad_api_version; then + ibmad_api_version=1:0:0 fi +AC_SUBST(ibmad_api_version) +dnl End libibmad stuff -default_start="null" - -AC_SUBST(DEFAULT_START, $default_start) -AC_SUBST(DEFAULT_STOP, $default_stop) - -AS_IF([test x$rdmandd = xyes], [ - PKG_CHECK_MODULES([UDEV], [libudev]) - AC_CONFIG_FILES([doc/man/rdma-ndd.8 \ - etc/rdma-ndd.init \ - etc/rdma-ndd.service]) - AC_SUBST([UDEV_CFLAGS]) - AC_SUBST([UDEV_LIBS]) - if test "$with_udev" = "yes"; then - PKG_CHECK_EXISTS(libudev >= 218, [with_dev_logging=no], - [with_udev_logging=yes]) - if test "$with_udev_logging" = "yes"; then - AC_DEFINE_UNQUOTED([HAVE_UDEV_LOGGING], 1, - [whether libudev logging can be used]) - fi - fi -]) dnl Generate doc/man/*.in files if possible DOC_DATE="`date +%Y-%m-%d`" @@ -322,5 +256,6 @@ AC_CONFIG_FILES([\ doc/man/vendstat.8 \ doc/man/infiniband-diags.8 \ libibnetdisc/Makefile \ + libibmad/Makefile \ ]) AC_OUTPUT diff --git a/doc/generate b/doc/generate index 816b66f..b1339f8 100755 --- a/doc/generate +++ b/doc/generate @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash docdir=`dirname $0` mode=$1 diff --git a/doc/man/ibhosts.8 b/doc/man/ibhosts.8 index ce64629..b85643b 100644 --- a/doc/man/ibhosts.8 +++ b/doc/man/ibhosts.8 @@ -50,6 +50,14 @@ already saved topology file and extracts the CA nodes. . .sp \fB\-t, \-\-timeout \fP override the default timeout for the solicited mads. +.\" Define the common option -y +. +.INDENT 0.0 +.TP +.B \fB\-y, \-\-m_key \fP +use the specified M_key for requests. If non\-numeric value (like \(aqx\(aq) +is specified then a value will be prompted for. +.UNINDENT .\" Define the common option -h . .sp diff --git a/doc/man/ibhosts.8.in b/doc/man/ibhosts.8.in index 40a46ac..5112502 100644 --- a/doc/man/ibhosts.8.in +++ b/doc/man/ibhosts.8.in @@ -50,6 +50,14 @@ already saved topology file and extracts the CA nodes. . .sp \fB\-t, \-\-timeout \fP override the default timeout for the solicited mads. +.\" Define the common option -y +. +.INDENT 0.0 +.TP +.B \fB\-y, \-\-m_key \fP +use the specified M_key for requests. If non\-numeric value (like \(aqx\(aq) +is specified then a value will be prompted for. +.UNINDENT .\" Define the common option -h . .sp diff --git a/doc/man/iblinkinfo.8 b/doc/man/iblinkinfo.8 index 9b92952..8c61da5 100644 --- a/doc/man/iblinkinfo.8 +++ b/doc/man/iblinkinfo.8 @@ -88,7 +88,7 @@ Examples: .sp \fB\-\-switch, \-S \fP same as "\-G". (provided only for backward compatibility) .sp -How much of the scan to be printed can be controled with the following. +How much of the scan to be printed can be controlled with the following. .sp \fB\-\-all, \-a\fP Print all nodes found in a partial fabric scan. Normally a @@ -133,7 +133,7 @@ Filter downports indicated in a ibnetdiscover cache. If a port was previously indicated as down in the specified cache, and is still down, do not output it in the resulting output. This option may be particularly useful for environments where switches are not fully populated, thus much of the default iblinkinfo -info is considered unuseful. See \fBibnetdiscover\fP for information on caching +info is considered useless. See \fBibnetdiscover\fP for information on caching ibnetdiscover output. .SS Port Selection flags .\" Define the common option -C diff --git a/doc/man/iblinkinfo.8.in b/doc/man/iblinkinfo.8.in index 1621404..105195b 100644 --- a/doc/man/iblinkinfo.8.in +++ b/doc/man/iblinkinfo.8.in @@ -88,7 +88,7 @@ Examples: .sp \fB\-\-switch, \-S \fP same as "\-G". (provided only for backward compatibility) .sp -How much of the scan to be printed can be controled with the following. +How much of the scan to be printed can be controlled with the following. .sp \fB\-\-all, \-a\fP Print all nodes found in a partial fabric scan. Normally a @@ -133,7 +133,7 @@ Filter downports indicated in a ibnetdiscover cache. If a port was previously indicated as down in the specified cache, and is still down, do not output it in the resulting output. This option may be particularly useful for environments where switches are not fully populated, thus much of the default iblinkinfo -info is considered unuseful. See \fBibnetdiscover\fP for information on caching +info is considered useless. See \fBibnetdiscover\fP for information on caching ibnetdiscover output. .SS Port Selection flags .\" Define the common option -C diff --git a/doc/man/ibqueryerrors.8 b/doc/man/ibqueryerrors.8 index 67be6d6..f304a34 100644 --- a/doc/man/ibqueryerrors.8 +++ b/doc/man/ibqueryerrors.8 @@ -77,7 +77,7 @@ using a QoS aware routing engine as it can cause a credit deadlock. .sp \fBCAUTION\fP clearing data or error counters will occur regardless of if they are printed or not. See \fB\-\-counters\fP and \fB\-\-data\fP for details on -controling which counters are printed. +controlling which counters are printed. .sp \fB\-\-details\fP include receive error and transmit discard details .sp diff --git a/doc/man/ibqueryerrors.8.in b/doc/man/ibqueryerrors.8.in index 9a81ce0..5d4d25e 100644 --- a/doc/man/ibqueryerrors.8.in +++ b/doc/man/ibqueryerrors.8.in @@ -77,7 +77,7 @@ using a QoS aware routing engine as it can cause a credit deadlock. .sp \fBCAUTION\fP clearing data or error counters will occur regardless of if they are printed or not. See \fB\-\-counters\fP and \fB\-\-data\fP for details on -controling which counters are printed. +controlling which counters are printed. .sp \fB\-\-details\fP include receive error and transmit discard details .sp diff --git a/doc/man/ibrouters.8 b/doc/man/ibrouters.8 index 10f000d..901e832 100644 --- a/doc/man/ibrouters.8 +++ b/doc/man/ibrouters.8 @@ -50,6 +50,14 @@ already saved topology file and extracts the router nodes. . .sp \fB\-t, \-\-timeout \fP override the default timeout for the solicited mads. +.\" Define the common option -y +. +.INDENT 0.0 +.TP +.B \fB\-y, \-\-m_key \fP +use the specified M_key for requests. If non\-numeric value (like \(aqx\(aq) +is specified then a value will be prompted for. +.UNINDENT .\" Define the common option -h . .sp diff --git a/doc/man/ibrouters.8.in b/doc/man/ibrouters.8.in index f1b8d6e..abd6e7a 100644 --- a/doc/man/ibrouters.8.in +++ b/doc/man/ibrouters.8.in @@ -50,6 +50,14 @@ already saved topology file and extracts the router nodes. . .sp \fB\-t, \-\-timeout \fP override the default timeout for the solicited mads. +.\" Define the common option -y +. +.INDENT 0.0 +.TP +.B \fB\-y, \-\-m_key \fP +use the specified M_key for requests. If non\-numeric value (like \(aqx\(aq) +is specified then a value will be prompted for. +.UNINDENT .\" Define the common option -h . .sp diff --git a/doc/man/ibswitches.8 b/doc/man/ibswitches.8 index bc861c3..df52dac 100644 --- a/doc/man/ibswitches.8 +++ b/doc/man/ibswitches.8 @@ -50,6 +50,14 @@ already saved topology file and extracts the switch nodes. . .sp \fB\-t, \-\-timeout \fP override the default timeout for the solicited mads. +.\" Define the common option -y +. +.INDENT 0.0 +.TP +.B \fB\-y, \-\-m_key \fP +use the specified M_key for requests. If non\-numeric value (like \(aqx\(aq) +is specified then a value will be prompted for. +.UNINDENT .\" Define the common option -h . .sp diff --git a/doc/man/ibswitches.8.in b/doc/man/ibswitches.8.in index 58ce047..235c148 100644 --- a/doc/man/ibswitches.8.in +++ b/doc/man/ibswitches.8.in @@ -50,6 +50,14 @@ already saved topology file and extracts the switch nodes. . .sp \fB\-t, \-\-timeout \fP override the default timeout for the solicited mads. +.\" Define the common option -y +. +.INDENT 0.0 +.TP +.B \fB\-y, \-\-m_key \fP +use the specified M_key for requests. If non\-numeric value (like \(aqx\(aq) +is specified then a value will be prompted for. +.UNINDENT .\" Define the common option -h . .sp diff --git a/doc/man/infiniband-diags.8 b/doc/man/infiniband-diags.8 index 9e09db0..d538cd5 100644 --- a/doc/man/infiniband-diags.8 +++ b/doc/man/infiniband-diags.8 @@ -402,7 +402,7 @@ See: ibportstate, ibaddr See: ibtracert, ibroute, dump_lfts, dump_mfts, check_lft_balance, ibfindnodesusing .UNINDENT .UNINDENT -.SS Peformance counters +.SS Performance counters .INDENT 0.0 .INDENT 3.5 See: ibqueryerrors, perfquery diff --git a/doc/man/infiniband-diags.8.in b/doc/man/infiniband-diags.8.in index da5a775..01e4577 100644 --- a/doc/man/infiniband-diags.8.in +++ b/doc/man/infiniband-diags.8.in @@ -402,7 +402,7 @@ See: ibportstate, ibaddr See: ibtracert, ibroute, dump_lfts, dump_mfts, check_lft_balance, ibfindnodesusing .UNINDENT .UNINDENT -.SS Peformance counters +.SS Performance counters .INDENT 0.0 .INDENT 3.5 See: ibqueryerrors, perfquery diff --git a/doc/man/rdma-ndd.8 b/doc/man/rdma-ndd.8 deleted file mode 100644 index 4906aac..0000000 --- a/doc/man/rdma-ndd.8 +++ /dev/null @@ -1,105 +0,0 @@ -.\" Man page generated from reStructuredText. -. -.TH RDMA-NDD 8 "" "" "OpenIB Diagnostics" -.SH NAME -RDMA-NDD \- RDMA device Node Description update daemon -. -.nr rst2man-indent-level 0 -. -.de1 rstReportMargin -\\$1 \\n[an-margin] -level \\n[rst2man-indent-level] -level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] -- -\\n[rst2man-indent0] -\\n[rst2man-indent1] -\\n[rst2man-indent2] -.. -.de1 INDENT -.\" .rstReportMargin pre: -. RS \\$1 -. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] -. nr rst2man-indent-level +1 -.\" .rstReportMargin post: -.. -.de UNINDENT -. RE -.\" indent \\n[an-margin] -.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] -.nr rst2man-indent-level -1 -.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] -.in \\n[rst2man-indent\\n[rst2man-indent-level]]u -.. -.SH SYNOPSIS -.sp -rdma\-ndd -.SH DESCRIPTION -.sp -rdma\-ndd is a system daemon which watches for rdma device changes and/or -hostname changes and updates the Node Description of the rdma devices based on -those changes. -.SH DETAILS -.sp -Full operation of this deamon requires kernels which support polling of the -procfs hostname file as well as libudev. -.sp -If your system does not support either of these features, the daemon will set -the Node Descriptions at start up and then sleep forever. -.SS Node Description format -.sp -The deamon uses the nd_format configuration option within the ibdiags.conf -file. %h and %d can be used as wildcards in that string to specify the dynamic -use of and respectively. -.sp -NOTE: At startup and on new device detection the Node Description is always -written to ensure the SM and this daemon are in sync. Subsequent events will -only write the Node Description on a device if it has changed. -.SH OPTIONS -.sp -\fB\-\-retry_timer, \-t\fP -Length of time to sleep when system errors occur when attempting to poll and or read the hostname from the system. -.sp -\fB\-\-retry_count, \-r\fP -Number of times to attempt to retry setting of the node description on failure. Default 0 -.sp -\fB\-\-foreground, \-f\fP -Run in the foreground instead of as a daemon -.sp -\fB\-\-pidfile \fP -specify a pid file (daemon mode only) -.SS Configuration flags -.\" Define the common option -z -. -.sp -\fB\-\-config, \-z \fP Specify alternate config file. -.INDENT 0.0 -.INDENT 3.5 -Default: /usr/local/etc/infiniband-diags/ibdiag.conf -.UNINDENT -.UNINDENT -.SS Debugging flags -.\" Define the common option -h -. -.sp -\fB\-h, \-\-help\fP show the usage message -.\" Define the common option -V -. -.sp -\fB\-V, \-\-version\fP show the version info. -.SH FILES -.\" Common text for the config file -. -.SS CONFIG FILE -.sp -/usr/local/etc/infiniband-diags/ibdiag.conf -.sp -A global config file is provided to set some of the common options for all -tools. See supplied config file for details. -.SH AUTHOR -.INDENT 0.0 -.TP -.B Ira Weiny -< \fI\%ira.weiny at intel.com\fP > -.UNINDENT -.\" Generated by docutils manpage writer. -. diff --git a/doc/man/rdma-ndd.8.in b/doc/man/rdma-ndd.8.in deleted file mode 100644 index f0a542d..0000000 --- a/doc/man/rdma-ndd.8.in +++ /dev/null @@ -1,105 +0,0 @@ -.\" Man page generated from reStructuredText. -. -.TH RDMA-NDD 8 "@BUILD_DATE@" "" "OpenIB Diagnostics" -.SH NAME -RDMA-NDD \- RDMA device Node Description update daemon -. -.nr rst2man-indent-level 0 -. -.de1 rstReportMargin -\\$1 \\n[an-margin] -level \\n[rst2man-indent-level] -level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] -- -\\n[rst2man-indent0] -\\n[rst2man-indent1] -\\n[rst2man-indent2] -.. -.de1 INDENT -.\" .rstReportMargin pre: -. RS \\$1 -. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] -. nr rst2man-indent-level +1 -.\" .rstReportMargin post: -.. -.de UNINDENT -. RE -.\" indent \\n[an-margin] -.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] -.nr rst2man-indent-level -1 -.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] -.in \\n[rst2man-indent\\n[rst2man-indent-level]]u -.. -.SH SYNOPSIS -.sp -rdma\-ndd -.SH DESCRIPTION -.sp -rdma\-ndd is a system daemon which watches for rdma device changes and/or -hostname changes and updates the Node Description of the rdma devices based on -those changes. -.SH DETAILS -.sp -Full operation of this deamon requires kernels which support polling of the -procfs hostname file as well as libudev. -.sp -If your system does not support either of these features, the daemon will set -the Node Descriptions at start up and then sleep forever. -.SS Node Description format -.sp -The deamon uses the nd_format configuration option within the ibdiags.conf -file. %h and %d can be used as wildcards in that string to specify the dynamic -use of and respectively. -.sp -NOTE: At startup and on new device detection the Node Description is always -written to ensure the SM and this daemon are in sync. Subsequent events will -only write the Node Description on a device if it has changed. -.SH OPTIONS -.sp -\fB\-\-retry_timer, \-t\fP -Length of time to sleep when system errors occur when attempting to poll and or read the hostname from the system. -.sp -\fB\-\-retry_count, \-r\fP -Number of times to attempt to retry setting of the node description on failure. Default 0 -.sp -\fB\-\-foreground, \-f\fP -Run in the foreground instead of as a daemon -.sp -\fB\-\-pidfile \fP -specify a pid file (daemon mode only) -.SS Configuration flags -.\" Define the common option -z -. -.sp -\fB\-\-config, \-z \fP Specify alternate config file. -.INDENT 0.0 -.INDENT 3.5 -Default: @IBDIAG_CONFIG_PATH@/ibdiag.conf -.UNINDENT -.UNINDENT -.SS Debugging flags -.\" Define the common option -h -. -.sp -\fB\-h, \-\-help\fP show the usage message -.\" Define the common option -V -. -.sp -\fB\-V, \-\-version\fP show the version info. -.SH FILES -.\" Common text for the config file -. -.SS CONFIG FILE -.sp - at IBDIAG_CONFIG_PATH@/ibdiag.conf -.sp -A global config file is provided to set some of the common options for all -tools. See supplied config file for details. -.SH AUTHOR -.INDENT 0.0 -.TP -.B Ira Weiny -< \fI\%ira.weiny at intel.com\fP > -.UNINDENT -.\" Generated by docutils manpage writer. -. diff --git a/doc/rst/ibhosts.8.in.rst b/doc/rst/ibhosts.8.in.rst index 237b89e..749c35a 100644 --- a/doc/rst/ibhosts.8.in.rst +++ b/doc/rst/ibhosts.8.in.rst @@ -28,6 +28,7 @@ OPTIONS .. include:: common/opt_C.rst .. include:: common/opt_P.rst .. include:: common/opt_t.rst +.. include:: common/opt_y.rst .. include:: common/opt_h.rst .. include:: common/opt_z-config.rst diff --git a/doc/rst/iblinkinfo.8.in.rst b/doc/rst/iblinkinfo.8.in.rst index ee2aefb..5f87f37 100644 --- a/doc/rst/iblinkinfo.8.in.rst +++ b/doc/rst/iblinkinfo.8.in.rst @@ -57,7 +57,7 @@ The node to start a partial scan can be specified with the following addresses. **--switch, -S ** same as "-G". (provided only for backward compatibility) -How much of the scan to be printed can be controled with the following. +How much of the scan to be printed can be controlled with the following. **--all, -a** Print all nodes found in a partial fabric scan. Normally a @@ -81,7 +81,7 @@ Filter downports indicated in a ibnetdiscover cache. If a port was previously indicated as down in the specified cache, and is still down, do not output it in the resulting output. This option may be particularly useful for environments where switches are not fully populated, thus much of the default iblinkinfo -info is considered unuseful. See **ibnetdiscover** for information on caching +info is considered useless. See **ibnetdiscover** for information on caching ibnetdiscover output. diff --git a/doc/rst/ibqueryerrors.8.in.rst b/doc/rst/ibqueryerrors.8.in.rst index df2901c..0a7992b 100644 --- a/doc/rst/ibqueryerrors.8.in.rst +++ b/doc/rst/ibqueryerrors.8.in.rst @@ -63,7 +63,7 @@ using a QoS aware routing engine as it can cause a credit deadlock. **CAUTION** clearing data or error counters will occur regardless of if they are printed or not. See **--counters** and **--data** for details on -controling which counters are printed. +controlling which counters are printed. **--details** include receive error and transmit discard details diff --git a/doc/rst/ibrouters.8.in.rst b/doc/rst/ibrouters.8.in.rst index d6c8639..90dbd39 100644 --- a/doc/rst/ibrouters.8.in.rst +++ b/doc/rst/ibrouters.8.in.rst @@ -28,6 +28,7 @@ OPTIONS .. include:: common/opt_C.rst .. include:: common/opt_P.rst .. include:: common/opt_t.rst +.. include:: common/opt_y.rst .. include:: common/opt_h.rst .. include:: common/opt_z-config.rst diff --git a/doc/rst/ibswitches.8.in.rst b/doc/rst/ibswitches.8.in.rst index 3a99337..2aade83 100644 --- a/doc/rst/ibswitches.8.in.rst +++ b/doc/rst/ibswitches.8.in.rst @@ -28,6 +28,7 @@ OPTIONS .. include:: common/opt_C.rst .. include:: common/opt_P.rst .. include:: common/opt_t.rst +.. include:: common/opt_y.rst .. include:: common/opt_h.rst .. include:: common/opt_z-config.rst diff --git a/doc/rst/infiniband-diags.8.in.rst b/doc/rst/infiniband-diags.8.in.rst index 7776a30..be77ce3 100644 --- a/doc/rst/infiniband-diags.8.in.rst +++ b/doc/rst/infiniband-diags.8.in.rst @@ -120,8 +120,8 @@ Switch Forwarding Table info See: ibtracert, ibroute, dump_lfts, dump_mfts, check_lft_balance, ibfindnodesusing -Peformance counters -------------------- +Performance counters +-------------------- See: ibqueryerrors, perfquery diff --git a/doc/rst/rdma-ndd.8.in.rst b/doc/rst/rdma-ndd.8.in.rst deleted file mode 100644 index 708a5ab..0000000 --- a/doc/rst/rdma-ndd.8.in.rst +++ /dev/null @@ -1,88 +0,0 @@ -======== -RDMA-NDD -======== - ------------------------------------------- -RDMA device Node Description update daemon ------------------------------------------- - -:Date: @BUILD_DATE@ -:Manual section: 8 -:Manual group: OpenIB Diagnostics - - -SYNOPSIS -======== - -rdma-ndd - -DESCRIPTION -=========== - -rdma-ndd is a system daemon which watches for rdma device changes and/or -hostname changes and updates the Node Description of the rdma devices based on -those changes. - - -DETAILS -======= - -Full operation of this deamon requires kernels which support polling of the -procfs hostname file as well as libudev. - -If your system does not support either of these features, the daemon will set -the Node Descriptions at start up and then sleep forever. - - -Node Description format ------------------------ - -The deamon uses the nd_format configuration option within the ibdiags.conf -file. %h and %d can be used as wildcards in that string to specify the dynamic -use of and respectively. - -NOTE: At startup and on new device detection the Node Description is always -written to ensure the SM and this daemon are in sync. Subsequent events will -only write the Node Description on a device if it has changed. - - -OPTIONS -======= - -**--retry_timer, -t** -Length of time to sleep when system errors occur when attempting to poll and or read the hostname from the system. - -**--retry_count, -r** -Number of times to attempt to retry setting of the node description on failure. Default 0 - -**--foreground, -f** -Run in the foreground instead of as a daemon - -**--pidfile ** -specify a pid file (daemon mode only) - - -Configuration flags -------------------- - -.. include:: common/opt_z-config.rst - -Debugging flags ---------------- - -.. include:: common/opt_h.rst -.. include:: common/opt_V.rst - - - -FILES -===== - -.. include:: common/sec_config-file.rst - - -AUTHOR -====== - -Ira Weiny - < ira.weiny at intel.com > diff --git a/etc/ibdiag.conf b/etc/ibdiag.conf index 839b373..d09524a 100644 --- a/etc/ibdiag.conf +++ b/etc/ibdiag.conf @@ -21,5 +21,3 @@ # default smkey to be used for SA requests #sa_key=0x00 -# Set the Node Description format to be used by rdma-ndd -#nd_format=%h %d diff --git a/etc/rdma-ndd.init b/etc/rdma-ndd.init index ec8c18d..851f280 100644 --- a/etc/rdma-ndd.init +++ b/etc/rdma-ndd.init @@ -41,8 +41,8 @@ # notice, one of the license notices in the documentation # and/or other materials provided with the distribution. -prefix=/usr/local -exec_prefix=${prefix} +prefix=/nfs/site/home/iweiny/rdma-core/build +exec_prefix=/nfs/site/home/iweiny/rdma-core/build pidfile=${prefix}/var/run/rdma-ndd.pid # Source function library. diff --git a/etc/rdma-ndd.init.in b/etc/rdma-ndd.init.in deleted file mode 100644 index 75e6d37..0000000 --- a/etc/rdma-ndd.init.in +++ /dev/null @@ -1,139 +0,0 @@ -#!/bin/bash -# -# rdma-ndd: Manage RDMA Node Description Daemon -# -# chkconfig: - 09 91 -# description: Manage RDMA Node Description Daemon -# -### BEGIN INIT INFO -# Provides: rdma-ndd -# Required-Start: $syslog @RDMA_SERVICE@ -# Required-Stop: $syslog @RDMA_SERVICE@ -# Default-Start: @DEFAULT_START@ -# Default-Stop: @DEFAULT_STOP@ -# Description: Manage RDMA Node Description Daemon -### END INIT INFO -# -# Copyright (c) 2014 Intel Corporation. All Rights Reserved -# Copyright (c) 2008 Voltaire, Inc. All rights reserved. -# Copyright 2006 PathScale, Inc. All Rights Reserved. -# -# This Software is licensed under one of the following licenses: -# -# 1) under the terms of the "Common Public License 1.0" a copy of which is -# available from the Open Source Initiative, see -# http://www.opensource.org/licenses/cpl.php. -# -# 2) under the terms of the "The BSD License" a copy of which is -# available from the Open Source Initiative, see -# http://www.opensource.org/licenses/bsd-license.php. -# -# 3) under the terms of the "GNU General Public License (GPL) Version 2" a -# copy of which is available from the Open Source Initiative, see -# http://www.opensource.org/licenses/gpl-license.php. -# -# Licensee has the right to choose one of the above licenses. -# -# Redistributions of source code must retain the above copyright -# notice and one of the license notices. -# -# Redistributions in binary form must reproduce both the above copyright -# notice, one of the license notices in the documentation -# and/or other materials provided with the distribution. - -prefix=@prefix@ -exec_prefix=@exec_prefix@ -pidfile=@localstatedir@/run/rdma-ndd.pid - -# Source function library. -if [[ -s /etc/init.d/functions ]]; then - # RHEL / CentOS / SL / Fedora. - . /etc/init.d/functions - rc_status() { :; } - rc_exit() { exit $RETVAL; } -elif [[ -s /lib/lsb/init-functions ]]; then - # SLES / openSuSE / Debian. - . /lib/lsb/init-functions - rc_exit() { exit $RETVAL; } - success() { log_success_msg; } - failure() { log_failure_msg; } -elif [[ -s /etc/rc.status ]]; then - # Older SuSE systems. - . /etc/rc.status - failure() { rc_status -v; } - success() { rc_status -v; } -fi - -running () { - [ -e $pidfile ] && - [ "$(readlink "/proc/$(<$pidfile)/exe")" = "@sbindir@/rdma-ndd" ] -} - -start () { - if running; then - echo Already started - return 1 - fi - echo -n "Starting RDMA Node Description Daemon: " - @sbindir@/rdma-ndd --pidfile $pidfile > /dev/null - RETVAL=$? - if [[ $RETVAL -eq 0 ]]; then - success - else - failure - fi - echo -} - -stop () { - echo -n "Shutting down RDMA Node Description Daemon (rdma-ndd): " - killproc rdma-ndd - RETVAL=$? - if [[ $RETVAL -eq 0 ]]; then - success - else - failure - fi - echo -} - -Xstatus () { - pid="`pidof rdma-ndd`" - ret=$? - if [ $ret -eq 0 ] ; then - echo "RDMA Node Description Daemon (rdma-ndd) is running... pid=$pid" - else - echo "RDMA Node Description Daemon (rdma-ndd) is not running." - fi -} - -restart() { - stop - start -} - -# See how we were called. -case "$1" in - start) - start - ;; - stop) - stop - ;; - status) - Xstatus - ;; - restart | force-reload | reload) - restart - ;; - try-restart | condrestart) - [ -e $pidfile ] && restart - ;; - *) - echo $"Usage: $0 {start|stop|status|restart|reload|condrestart}" - RETVAL=1 - ;; -esac - -_rc_status_all=$RETVAL -rc_exit diff --git a/etc/rdma-ndd.service b/etc/rdma-ndd.service index e6bf2ce..fc69017 100644 --- a/etc/rdma-ndd.service +++ b/etc/rdma-ndd.service @@ -4,8 +4,8 @@ After=rdma.service [Service] Type=forking -EnvironmentFile=/usr/local/etc/infiniband-diags/ibdiag.conf -ExecStart=${prefix}/sbin/rdma-ndd +EnvironmentFile=/nfs/site/home/iweiny/rdma-core/build/etc/infiniband-diags/ibdiag.conf +ExecStart=/nfs/site/home/iweiny/rdma-core/build/sbin/rdma-ndd [Install] WantedBy=multi-user.target diff --git a/etc/rdma-ndd.service.in b/etc/rdma-ndd.service.in deleted file mode 100644 index ef0962b..0000000 --- a/etc/rdma-ndd.service.in +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=RDMA Node Description Daemon -After=rdma.service - -[Service] -Type=forking -EnvironmentFile=@IBDIAG_CONFIG_PATH@/ibdiag.conf -ExecStart=@exec_prefix@/sbin/rdma-ndd - -[Install] -WantedBy=multi-user.target - diff --git a/include/ibdiag_common.h b/include/ibdiag_common.h index 21b0522..b8c5987 100644 --- a/include/ibdiag_common.h +++ b/include/ibdiag_common.h @@ -39,6 +39,8 @@ #ifndef _IBDIAG_COMMON_H_ #define _IBDIAG_COMMON_H_ +#include + #include #include #include @@ -81,6 +83,15 @@ extern char *ibd_nd_format; #define IS_PM_RSFEC_COUNTERS_SUP (CL_HTON16(((uint16_t)1)<<14)) #endif +#ifndef IB_PM_IS_QP1_DROP_SUP +#define IB_PM_IS_QP1_DROP_SUP (CL_HTON16(((uint16_t)1)<<15)) +#endif + +/* PM ClassPortInfo CapabilityMask2 Bits */ +#ifndef IB_PM_IS_ADDL_PORT_CTRS_EXT_SUP +#define IB_PM_IS_ADDL_PORT_CTRS_EXT_SUP (CL_HTON32(((uint32_t)1)<<1)) +#endif + /* SM PortInfo CapabilityMask2 Bits */ #ifndef IB_PORT_CAP2_IS_PORT_INFO_EXT_SUPPORTED #define IB_PORT_CAP2_IS_PORT_INFO_EXT_SUPPORTED (CL_HTON16(0x0002)) @@ -133,7 +144,7 @@ extern void ibexit(const char *fn, char *msg, ...); */ extern char *conv_cnt_human_readable(uint64_t val64, float *val, int data); -int is_mlnx_ext_port_info_supported(uint32_t devid); +int is_mlnx_ext_port_info_supported(uint32_t vendorid, uint16_t devid); int is_port_info_extended_supported(ib_portid_t * dest, int port, struct ibmad_port *srcport); diff --git a/include/ibdiag_version.h b/include/ibdiag_version.h index 142d718..2a1dbb5 100644 --- a/include/ibdiag_version.h +++ b/include/ibdiag_version.h @@ -34,6 +34,6 @@ #ifndef _IBDIAG_VERSION_H_ #define _IBDIAG_VERSION_H_ -#define IBDIAG_VERSION "1.6.7" +#define IBDIAG_VERSION "2.0.0" #endif /* _IBDIAG_VERSION_H_ */ diff --git a/infiniband-diags.spec b/infiniband-diags.spec index b440c22..6ee1b91 100644 --- a/infiniband-diags.spec +++ b/infiniband-diags.spec @@ -4,34 +4,50 @@ Summary: OpenFabrics Alliance InfiniBand Diagnostic Tools Name: infiniband-diags -Version: 1.6.7 +Version: 2.0.0 Release: %rel%{?dist} License: GPLv2 or BSD Group: System Environment/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) -Source: http://www.openfabrics.org/downloads/management/infiniband-diags-1.6.7.tar.gz +Source: http://www.openfabrics.org/downloads/management/infiniband-diags-2.0.0.tar.gz Url: http://openfabrics.org/ -BuildRequires: libibmad-devel, opensm-devel, libibumad-devel, glib2-devel, libudev-devel -BuildRequires: systemd -Requires: libibmad, opensm-libs, libibumad, glib2 +BuildRequires: opensm-devel, libibumad-devel, glib2-devel +Requires: opensm-libs, libibumad, glib2 Provides: perl(IBswcountlimits) Obsoletes: openib-diags +Provides: libibmad = %{version}-%{release} +Obsoletes: libibmad < %{version}-%{release} +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig %description -This package provides IB diagnostic programs and scripts needed to -diagnose an IB subnet. +This package provides IB diagnostic programs and scripts needed to diagnose an +IB subnet. infiniband-diags now also provides libibmad. libibmad provides low +layer IB functions for use by the IB diagnostic and management programs. These +include MAD, SA, SMP, and other basic IB functions. %package compat Summary: OpenFabrics Alliance InfiniBand Diagnostic Tools Group: System Environment/Libraries -BuildRequires: libibmad-devel, opensm-devel, libibumad-devel -Requires: libibmad, opensm-libs, libibumad +BuildRequires: opensm-devel, libibumad-devel +Requires: opensm-libs, libibumad %description compat Deprecated scripts and utilities which provide duplicated functionality, most often at a reduced performance. These are maintained for the time being for compatibility reasons. +%package devel +Summary: OpenFabrics Alliance InfiniBand Diagnostic Tools +Group: System Environment/Libraries +BuildRequires: opensm-devel, libibumad-devel +Requires: opensm-libs, libibumad +Provides: libibmad-devel = %{version}-%{release} +Obsoletes: libibmad-devel < %{version}-%{release} + +%description devel +Headers and development files for internal libraries. + %prep %setup -q @@ -130,8 +146,6 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man8/ibccconfig.8.gz %{_sbindir}/dump_fts %{_mandir}/man8/dump_fts.8.gz -%{_sbindir}/rdma-ndd -%{_mandir}/man8/rdma-ndd.8.gz # scripts here %{_sbindir}/ibhosts @@ -161,44 +175,25 @@ rm -rf $RPM_BUILD_ROOT # and the rest %{_mandir}/man8/infiniband-diags.8.gz -%{_libdir}/*.a -%{_libdir}/*.so* +%{_libdir}/*.so.* %{_mandir}/man3/* -%{_includedir}/infiniband/*.h %define _perldir %(perl -e 'use Config; $T=$Config{installvendorlib}; print $T;') %{_perldir}/* -%{_sysconfdir}/infiniband-diags/* -/usr/lib/systemd/system/rdma-ndd.service +%config(noreplace) %{_sysconfdir}/infiniband-diags/error_thresholds +%config(noreplace) %{_sysconfdir}/infiniband-diags/ibdiag.conf %doc README COPYING ChangeLog +%files devel +%{_libdir}/*.a +%{_libdir}/*.so +%{_includedir}/infiniband/*.h + %post -if [ $1 = 1 ]; then - if [ -e /etc/init.d/rdma-ndd ] && [ -e /sbin/chkconfig ]; then - /sbin/chkconfig --add rdma-ndd - fi - if type systemctl >/dev/null 2>&1; then - systemctl daemon-reload - fi -fi - -%preun -if [ $1 = 0 ]; then - if [ -e /etc/init.d/rdma-ndd ] && [ -e /sbin/chkconfig ]; then - /etc/init.d/rdma-ndd stop - /sbin/chkconfig --del rdma-ndd - fi - if type systemctl >/dev/null 2>&1; then - systemctl stop rdma-ndd - fi -fi +/sbin/ldconfig %postun -if [ $1 = 0 ]; then - if type systemctl >/dev/null 2>&1; then - systemctl daemon-reload - fi -fi +/sbin/ldconfig %changelog diff --git a/infiniband-diags.spec.in b/infiniband-diags.spec.in index 3ff8c7b..54c964d 100644 --- a/infiniband-diags.spec.in +++ b/infiniband-diags.spec.in @@ -11,27 +11,43 @@ Group: System Environment/Libraries BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source: http://www.openfabrics.org/downloads/management/@TARBALL@ Url: http://openfabrics.org/ -BuildRequires: libibmad-devel, opensm-devel, libibumad-devel, glib2-devel, libudev-devel - at SYSTEMD_BUILD_REQUIRES@ -Requires: libibmad, opensm-libs, libibumad, glib2 +BuildRequires: opensm-devel, libibumad-devel, glib2-devel +Requires: opensm-libs, libibumad, glib2 Provides: perl(IBswcountlimits) Obsoletes: openib-diags +Provides: libibmad = %{version}-%{release} +Obsoletes: libibmad < %{version}-%{release} +Requires(post): /sbin/ldconfig +Requires(postun): /sbin/ldconfig %description -This package provides IB diagnostic programs and scripts needed to -diagnose an IB subnet. +This package provides IB diagnostic programs and scripts needed to diagnose an +IB subnet. infiniband-diags now also provides libibmad. libibmad provides low +layer IB functions for use by the IB diagnostic and management programs. These +include MAD, SA, SMP, and other basic IB functions. %package compat Summary: OpenFabrics Alliance InfiniBand Diagnostic Tools Group: System Environment/Libraries -BuildRequires: libibmad-devel, opensm-devel, libibumad-devel -Requires: libibmad, opensm-libs, libibumad +BuildRequires: opensm-devel, libibumad-devel +Requires: opensm-libs, libibumad %description compat Deprecated scripts and utilities which provide duplicated functionality, most often at a reduced performance. These are maintained for the time being for compatibility reasons. +%package devel +Summary: OpenFabrics Alliance InfiniBand Diagnostic Tools +Group: System Environment/Libraries +BuildRequires: opensm-devel, libibumad-devel +Requires: opensm-libs, libibumad +Provides: libibmad-devel = %{version}-%{release} +Obsoletes: libibmad-devel < %{version}-%{release} + +%description devel +Headers and development files for internal libraries. + %prep %setup -q @@ -130,8 +146,6 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man8/ibccconfig.8.gz %{_sbindir}/dump_fts %{_mandir}/man8/dump_fts.8.gz -%{_sbindir}/rdma-ndd -%{_mandir}/man8/rdma-ndd.8.gz # scripts here %{_sbindir}/ibhosts @@ -161,44 +175,25 @@ rm -rf $RPM_BUILD_ROOT # and the rest %{_mandir}/man8/infiniband-diags.8.gz -%{_libdir}/*.a -%{_libdir}/*.so* +%{_libdir}/*.so.* %{_mandir}/man3/* -%{_includedir}/infiniband/*.h %define _perldir %(perl -e 'use Config; $T=$Config{installvendorlib}; print $T;') %{_perldir}/* -%{_sysconfdir}/infiniband-diags/* - at SPEC_FILE_RDMA_NDD_INSTALL@ +%config(noreplace) %{_sysconfdir}/infiniband-diags/error_thresholds +%config(noreplace) %{_sysconfdir}/infiniband-diags/ibdiag.conf %doc README COPYING ChangeLog +%files devel +%{_libdir}/*.a +%{_libdir}/*.so +%{_includedir}/infiniband/*.h + %post -if [ $1 = 1 ]; then - if [ -e /etc/init.d/rdma-ndd ] && [ -e /sbin/chkconfig ]; then - /sbin/chkconfig --add rdma-ndd - fi - if type systemctl >/dev/null 2>&1; then - systemctl daemon-reload - fi -fi - -%preun -if [ $1 = 0 ]; then - if [ -e /etc/init.d/rdma-ndd ] && [ -e /sbin/chkconfig ]; then - /etc/init.d/rdma-ndd stop - /sbin/chkconfig --del rdma-ndd - fi - if type systemctl >/dev/null 2>&1; then - systemctl stop rdma-ndd - fi -fi +/sbin/ldconfig %postun -if [ $1 = 0 ]; then - if type systemctl >/dev/null 2>&1; then - systemctl daemon-reload - fi -fi +/sbin/ldconfig %changelog diff --git a/libibmad/ChangeLog b/libibmad/ChangeLog new file mode 100644 index 0000000..0c4c337 --- /dev/null +++ b/libibmad/ChangeLog @@ -0,0 +1,88 @@ +2008-06-15 Max Matveev + * Add extra entry points for most functions to allow explicit + selection of HCA for MAD rpc. + * Constify MAD port pointer for mad_rpc, mad_rpc_rmpp, and sa_rpc_call + +2007-07-10 Hal Rosenstock + + * Release version 1.1.1. + +2007-06-26 Hal Rosenstock + + * src/dump.c, src/fields.c, src/gs.c, src/rpc.c, src/sa.c, + src/smp.c: Change uint to unsigned for strict ANSI + +2007-06-26 Michael S. Tsirkin + + * include/infiniband/mad.h: Change uint to unsigned + for strict ANSI + +2007-06-18 Hal Rosenstock + + * include/infiniband/mad.h, src/fields.c: Change IB_PORT_MTRU_CAP_F + to IB_PORT_MTU_CAP_F + +2007-06-05 Sasha Khapyorsky + + * include/infiniband/mad.h, src/fields.c: Add Notice DataDetails + fields for DataDetails, and trap 144 LID and CapabilityMask + +2007-05-21 Hal Rosenstock + + * src/fields.c: Changed PortMulticastPkts to PortMulticastRcvPkts + +2007-03-29 Hal Rosenstock + + * src/fields.c: Changed Xmt/RcvBytes to Xmt/RcvData + +2007-03-29 Hal Rosenstock + + * Release version 1.1.0. + +2007-03-22 Hal Rosenstock + + * src/mad.c: Implement GRH support in mad_build_pkt + + * include/infiniband/mad.h: In ib_portid_set, ensure + grh_present is 0 + + * src/portid.c: In portid2str, fix endian of dispay of GID + +2007-03-14 Hal Rosenstock + + * include/infiniband/mad.h, src/fields.c: Add encode/decode + support for GUID0 in SM GUIDInfo attribute + +2007-03-14 Dotan Barak + + * include/infiniband/mad.h: Add GUIDInfo as SM attribute ID + +2007-02-08 Ira Weiny + + * src/portid.c: Change DR path output to be comma separated + decimal values like OpenSM + +2007-01-25 Hal Rosenstock + + * Release version 1.0.2. + +2006-12-11 Hal Rosenstock + + * src/(sa serv smp vendor).c: Change some debug parameters + to hex from decimal + +2006-11-20 Sasha Khapyorsky + + * src/rpc.c: Fix various uses of printf() style functions + +2006-10-20 Hal Rosenstock + + * include/infiniband/mad.h, src/resolve.c (ib_resolve_portid_str), + src/smp.c (smp_set), src/mad.c (mad_build_pkt), + src/portid.c (portid2str): Add and handle IB_DEST_DRSLID. + +2006-10-09 Hal Rosenstock + + * src/resolve.c (ib_resolve_portid_str): Use strtoull rather than + strtoll for IB_DEST_GUID + diff --git a/libibmad/Makefile.am b/libibmad/Makefile.am new file mode 100644 index 0000000..6654490 --- /dev/null +++ b/libibmad/Makefile.am @@ -0,0 +1,34 @@ + +AM_CPPFLAGS = -I$(srcdir)/include -I$(includedir) -I$(includedir)/infiniband + +lib_LTLIBRARIES = libibmad.la + +if DEBUG +DBGFLAGS = -ggdb -D_DEBUG_ +else +DBGFLAGS = +endif + +libibmad_la_CFLAGS = -Wall + +if HAVE_LD_VERSION_SCRIPT +libibmad_version_script = -Wl,--version-script=$(srcdir)/src/libibmad.map +else +libibmad_version_script = +endif + +libibmad_la_SOURCES = src/dump.c src/fields.c src/mad.c src/portid.c \ + src/resolve.c src/rpc.c src/sa.c src/smp.c src/gs.c \ + src/serv.c src/register.c src/vendor.c src/bm.c \ + src/mad_internal.h src/cc.c + +libibmad_la_LDFLAGS = -version-info $(ibmad_api_version) \ + -export-dynamic $(libibmad_version_script) +libibmad_la_DEPENDENCIES = $(srcdir)/src/libibmad.map + +libibmadincludedir = $(includedir)/infiniband + +libibmadinclude_HEADERS = $(srcdir)/include/infiniband/mad.h $(srcdir)/include/infiniband/mad_osd.h + +EXTRA_DIST = $(srcdir)/src/libibmad.map libibmad.ver + diff --git a/libibnetdisc/Makefile.in b/libibmad/Makefile.in similarity index 51% copy from libibnetdisc/Makefile.in copy to libibmad/Makefile.in index 6520b7e..f3aab53 100644 --- a/libibnetdisc/Makefile.in +++ b/libibmad/Makefile.in @@ -14,9 +14,6 @@ @SET_MAKE@ -#SUBDIRS = . - - VPATH = @srcdir@ am__is_gnu_make = test -n '$(MAKEFILE_LIST)' && test -n '$(MAKELEVEL)' @@ -82,11 +79,10 @@ PRE_UNINSTALL = : POST_UNINSTALL = : build_triplet = @build@ host_triplet = @host@ -sbin_PROGRAMS = $(am__EXEEXT_1) - at ENABLE_TEST_UTILS_TRUE@am__append_1 = test/testleaks -subdir = libibnetdisc +subdir = libibmad DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ - $(top_srcdir)/config/depcomp $(libibnetdiscinclude_HEADERS) + $(top_srcdir)/config/depcomp $(libibmadinclude_HEADERS) \ + ChangeLog README ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 am__aclocal_m4_deps = $(top_srcdir)/config/libtool.m4 \ $(top_srcdir)/config/ltoptions.m4 \ @@ -126,32 +122,27 @@ am__uninstall_files_from_dir = { \ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ } -am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(sbindir)" \ - "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(libibnetdiscincludedir)" +am__installdirs = "$(DESTDIR)$(libdir)" \ + "$(DESTDIR)$(libibmadincludedir)" LTLIBRARIES = $(lib_LTLIBRARIES) -libibnetdisc_la_LIBADD = -am_libibnetdisc_la_OBJECTS = libibnetdisc_la-ibnetdisc.lo \ - libibnetdisc_la-ibnetdisc_cache.lo libibnetdisc_la-chassis.lo \ - libibnetdisc_la-query_smp.lo -libibnetdisc_la_OBJECTS = $(am_libibnetdisc_la_OBJECTS) +libibmad_la_LIBADD = +am__dirstamp = $(am__leading_dot)dirstamp +am_libibmad_la_OBJECTS = src/libibmad_la-dump.lo \ + src/libibmad_la-fields.lo src/libibmad_la-mad.lo \ + src/libibmad_la-portid.lo src/libibmad_la-resolve.lo \ + src/libibmad_la-rpc.lo src/libibmad_la-sa.lo \ + src/libibmad_la-smp.lo src/libibmad_la-gs.lo \ + src/libibmad_la-serv.lo src/libibmad_la-register.lo \ + src/libibmad_la-vendor.lo src/libibmad_la-bm.lo \ + src/libibmad_la-cc.lo +libibmad_la_OBJECTS = $(am_libibmad_la_OBJECTS) AM_V_lt = $(am__v_lt_ at AM_V@) am__v_lt_ = $(am__v_lt_ at AM_DEFAULT_V@) am__v_lt_0 = --silent am__v_lt_1 = -libibnetdisc_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ - $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ - $(libibnetdisc_la_CFLAGS) $(CFLAGS) $(libibnetdisc_la_LDFLAGS) \ - $(LDFLAGS) -o $@ - at ENABLE_TEST_UTILS_TRUE@am__EXEEXT_1 = test/testleaks$(EXEEXT) -PROGRAMS = $(sbin_PROGRAMS) -am_test_testleaks_OBJECTS = test_testleaks-testleaks.$(OBJEXT) -test_testleaks_OBJECTS = $(am_test_testleaks_OBJECTS) -test_testleaks_LDADD = $(LDADD) -test_testleaks_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ - $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ - $(test_testleaks_CFLAGS) $(CFLAGS) $(test_testleaks_LDFLAGS) \ - $(LDFLAGS) -o $@ -am__dirstamp = $(am__leading_dot)dirstamp +libibmad_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ + $(LIBTOOLFLAGS) --mode=link $(CCLD) $(libibmad_la_CFLAGS) \ + $(CFLAGS) $(libibmad_la_LDFLAGS) $(LDFLAGS) -o $@ AM_V_P = $(am__v_P_ at AM_V@) am__v_P_ = $(am__v_P_ at AM_DEFAULT_V@) am__v_P_0 = false @@ -186,17 +177,14 @@ AM_V_CCLD = $(am__v_CCLD_ at AM_V@) am__v_CCLD_ = $(am__v_CCLD_ at AM_DEFAULT_V@) am__v_CCLD_0 = @echo " CCLD " $@; am__v_CCLD_1 = -SOURCES = $(libibnetdisc_la_SOURCES) $(test_testleaks_SOURCES) -DIST_SOURCES = $(libibnetdisc_la_SOURCES) $(test_testleaks_SOURCES) +SOURCES = $(libibmad_la_SOURCES) +DIST_SOURCES = $(libibmad_la_SOURCES) am__can_run_installinfo = \ case $$AM_UPDATE_INFO_DIR in \ n|no|NO) false;; \ *) (install-info --version) >/dev/null 2>&1;; \ esac -man3dir = $(mandir)/man3 -NROFF = nroff -MANS = $(man_MANS) -HEADERS = $(libibnetdiscinclude_HEADERS) +HEADERS = $(libibmadinclude_HEADERS) am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) # Read a list of newline-separated strings from the standard input, # and print each of them once, without duplicates. Input order is @@ -232,8 +220,6 @@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ -DEFAULT_START = @DEFAULT_START@ -DEFAULT_STOP = @DEFAULT_STOP@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ @@ -286,20 +272,12 @@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ RANLIB = @RANLIB@ -RDMA_SERVICE = @RDMA_SERVICE@ RELEASE = @RELEASE@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ -SPEC_FILE_RDMA_NDD_INSTALL = @SPEC_FILE_RDMA_NDD_INSTALL@ STRIP = @STRIP@ -SYSTEMD_BUILD_REQUIRES = @SYSTEMD_BUILD_REQUIRES@ -SYSTEMD_CFLAGS = @SYSTEMD_CFLAGS@ -SYSTEMD_LIBS = @SYSTEMD_LIBS@ -SYSTEMD_SYSTEM_UNIT_DIR = @SYSTEMD_SYSTEM_UNIT_DIR@ TARBALL = @TARBALL@ -UDEV_CFLAGS = @UDEV_CFLAGS@ -UDEV_LIBS = @UDEV_LIBS@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -333,6 +311,7 @@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ +ibmad_api_version = @ibmad_api_version@ ibnetdisc_api_version = @ibnetdisc_api_version@ includedir = @includedir@ infodir = @infodir@ @@ -356,39 +335,25 @@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -INCLUDES = -I$(srcdir)/include -I$(includedir) -I$(includedir)/infiniband -lib_LTLIBRARIES = libibnetdisc.la +AM_CPPFLAGS = -I$(srcdir)/include -I$(includedir) -I$(includedir)/infiniband +lib_LTLIBRARIES = libibmad.la @DEBUG_FALSE at DBGFLAGS = @DEBUG_TRUE at DBGFLAGS = -ggdb -D_DEBUG_ - at HAVE_LD_VERSION_SCRIPT_FALSE@libibnetdisc_version_script = - at HAVE_LD_VERSION_SCRIPT_TRUE@libibnetdisc_version_script = -Wl,--version-script=$(srcdir)/src/libibnetdisc.map -libibnetdisc_la_SOURCES = src/ibnetdisc.c src/ibnetdisc_cache.c src/chassis.c \ - src/chassis.h src/internal.h src/query_smp.c - -libibnetdisc_la_CFLAGS = -Wall $(DBGFLAGS) $(GLIB_CFLAGS) -libibnetdisc_la_LDFLAGS = -version-info $(ibnetdisc_api_version) \ - -export-dynamic $(libibnetdisc_version_script) \ - -libmad $(GLIB_LIBS) - -libibnetdisc_la_DEPENDENCIES = $(srcdir)/src/libibnetdisc.map -libibnetdiscincludedir = $(includedir)/infiniband -test_testleaks_SOURCES = test/testleaks.c -test_testleaks_CFLAGS = -Wall $(DBGFLAGS) -test_testleaks_LDFLAGS = -libnetdisc -test_testleaks_DEPENDENCIES = libibnetdisc.la -libibnetdiscinclude_HEADERS = $(srcdir)/include/infiniband/ibnetdisc.h \ - $(srcdir)/include/infiniband/ibnetdisc_osd.h - -man_MANS = man/ibnd_debug.3 \ - man/ibnd_destroy_fabric.3 \ - man/ibnd_discover_fabric.3 \ - man/ibnd_find_node_dr.3 \ - man/ibnd_find_node_guid.3 \ - man/ibnd_iter_nodes.3 \ - man/ibnd_iter_nodes_type.3 \ - man/ibnd_show_progress.3 - -EXTRA_DIST = $(srcdir)/src/libibnetdisc.map libibnetdisc.ver $(man_MANS) +libibmad_la_CFLAGS = -Wall + at HAVE_LD_VERSION_SCRIPT_FALSE@libibmad_version_script = + at HAVE_LD_VERSION_SCRIPT_TRUE@libibmad_version_script = -Wl,--version-script=$(srcdir)/src/libibmad.map +libibmad_la_SOURCES = src/dump.c src/fields.c src/mad.c src/portid.c \ + src/resolve.c src/rpc.c src/sa.c src/smp.c src/gs.c \ + src/serv.c src/register.c src/vendor.c src/bm.c \ + src/mad_internal.h src/cc.c + +libibmad_la_LDFLAGS = -version-info $(ibmad_api_version) \ + -export-dynamic $(libibmad_version_script) + +libibmad_la_DEPENDENCIES = $(srcdir)/src/libibmad.map +libibmadincludedir = $(includedir)/infiniband +libibmadinclude_HEADERS = $(srcdir)/include/infiniband/mad.h $(srcdir)/include/infiniband/mad_osd.h +EXTRA_DIST = $(srcdir)/src/libibmad.map libibmad.ver all: all-am .SUFFIXES: @@ -402,9 +367,9 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign libibnetdisc/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libibmad/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign libibnetdisc/Makefile + $(AUTOMAKE) --gnu libibmad/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ @@ -458,211 +423,216 @@ clean-libLTLIBRARIES: echo rm -f $${locs}; \ rm -f $${locs}; \ } - -libibnetdisc.la: $(libibnetdisc_la_OBJECTS) $(libibnetdisc_la_DEPENDENCIES) $(EXTRA_libibnetdisc_la_DEPENDENCIES) - $(AM_V_CCLD)$(libibnetdisc_la_LINK) -rpath $(libdir) $(libibnetdisc_la_OBJECTS) $(libibnetdisc_la_LIBADD) $(LIBS) -install-sbinPROGRAMS: $(sbin_PROGRAMS) - @$(NORMAL_INSTALL) - @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ - if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(sbindir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(sbindir)" || exit 1; \ - fi; \ - for p in $$list; do echo "$$p $$p"; done | \ - sed 's/$(EXEEXT)$$//' | \ - while read p p1; do if test -f $$p \ - || test -f $$p1 \ - ; then echo "$$p"; echo "$$p"; else :; fi; \ - done | \ - sed -e 'p;s,.*/,,;n;h' \ - -e 's|.*|.|' \ - -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \ - sed 'N;N;N;s,\n, ,g' | \ - $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \ - { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \ - if ($$2 == $$4) files[d] = files[d] " " $$1; \ - else { print "f", $$3 "/" $$4, $$1; } } \ - END { for (d in files) print "f", d, files[d] }' | \ - while read type dir files; do \ - if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \ - test -z "$$files" || { \ - echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(sbindir)$$dir'"; \ - $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \ - } \ - ; done - -uninstall-sbinPROGRAMS: - @$(NORMAL_UNINSTALL) - @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \ - files=`for p in $$list; do echo "$$p"; done | \ - sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \ - -e 's/$$/$(EXEEXT)/' \ - `; \ - test -n "$$list" || exit 0; \ - echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \ - cd "$(DESTDIR)$(sbindir)" && rm -f $$files - -clean-sbinPROGRAMS: - @list='$(sbin_PROGRAMS)'; test -n "$$list" || exit 0; \ - echo " rm -f" $$list; \ - rm -f $$list || exit $$?; \ - test -n "$(EXEEXT)" || exit 0; \ - list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \ - echo " rm -f" $$list; \ - rm -f $$list -test/$(am__dirstamp): - @$(MKDIR_P) test - @: > test/$(am__dirstamp) - -test/testleaks$(EXEEXT): $(test_testleaks_OBJECTS) $(test_testleaks_DEPENDENCIES) $(EXTRA_test_testleaks_DEPENDENCIES) test/$(am__dirstamp) - @rm -f test/testleaks$(EXEEXT) - $(AM_V_CCLD)$(test_testleaks_LINK) $(test_testleaks_OBJECTS) $(test_testleaks_LDADD) $(LIBS) +src/$(am__dirstamp): + @$(MKDIR_P) src + @: > src/$(am__dirstamp) +src/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) src/$(DEPDIR) + @: > src/$(DEPDIR)/$(am__dirstamp) +src/libibmad_la-dump.lo: src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/libibmad_la-fields.lo: src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/libibmad_la-mad.lo: src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/libibmad_la-portid.lo: src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/libibmad_la-resolve.lo: src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/libibmad_la-rpc.lo: src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/libibmad_la-sa.lo: src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/libibmad_la-smp.lo: src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/libibmad_la-gs.lo: src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/libibmad_la-serv.lo: src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/libibmad_la-register.lo: src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/libibmad_la-vendor.lo: src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/libibmad_la-bm.lo: src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/libibmad_la-cc.lo: src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) + +libibmad.la: $(libibmad_la_OBJECTS) $(libibmad_la_DEPENDENCIES) $(EXTRA_libibmad_la_DEPENDENCIES) + $(AM_V_CCLD)$(libibmad_la_LINK) -rpath $(libdir) $(libibmad_la_OBJECTS) $(libibmad_la_LIBADD) $(LIBS) mostlyclean-compile: -rm -f *.$(OBJEXT) + -rm -f src/*.$(OBJEXT) + -rm -f src/*.lo distclean-compile: -rm -f *.tab.c - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libibnetdisc_la-chassis.Plo at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libibnetdisc_la-ibnetdisc.Plo at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libibnetdisc_la-ibnetdisc_cache.Plo at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libibnetdisc_la-query_smp.Plo at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/test_testleaks-testleaks.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/libibmad_la-bm.Plo at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/libibmad_la-cc.Plo at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/libibmad_la-dump.Plo at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/libibmad_la-fields.Plo at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/libibmad_la-gs.Plo at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/libibmad_la-mad.Plo at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/libibmad_la-portid.Plo at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/libibmad_la-register.Plo at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/libibmad_la-resolve.Plo at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/libibmad_la-rpc.Plo at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/libibmad_la-sa.Plo at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/libibmad_la-serv.Plo at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/libibmad_la-smp.Plo at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/libibmad_la-vendor.Plo at am__quote@ .c.o: - at am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + at am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ + at am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + at am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(COMPILE) -c $< + at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: - at am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + at am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ + at am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ + at am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` + at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: - at am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo + at am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ + at am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + at am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LTCOMPILE) -c -o $@ $< -libibnetdisc_la-ibnetdisc.lo: src/ibnetdisc.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibnetdisc_la_CFLAGS) $(CFLAGS) -MT libibnetdisc_la-ibnetdisc.lo -MD -MP -MF $(DEPDIR)/libibnetdisc_la-ibnetdisc.Tpo -c -o libibnetdisc_la-ibnetdisc.lo `test -f 'src/ibnetdisc.c' || echo '$(srcdir)/'`src/ibnetdisc.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libibnetdisc_la-ibnetdisc.Tpo $(DEPDIR)/libibnetdisc_la-ibnetdisc.Plo - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibnetdisc.c' object='libibnetdisc_la-ibnetdisc.lo' libtool=yes @AMDEPBACKSLASH@ +src/libibmad_la-dump.lo: src/dump.c + at am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibmad_la_CFLAGS) $(CFLAGS) -MT src/libibmad_la-dump.lo -MD -MP -MF src/$(DEPDIR)/libibmad_la-dump.Tpo -c -o src/libibmad_la-dump.lo `test -f 'src/dump.c' || echo '$(srcdir)/'`src/dump.c + at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libibmad_la-dump.Tpo src/$(DEPDIR)/libibmad_la-dump.Plo + at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/dump.c' object='src/libibmad_la-dump.lo' libtool=yes @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibmad_la_CFLAGS) $(CFLAGS) -c -o src/libibmad_la-dump.lo `test -f 'src/dump.c' || echo '$(srcdir)/'`src/dump.c + +src/libibmad_la-fields.lo: src/fields.c + at am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibmad_la_CFLAGS) $(CFLAGS) -MT src/libibmad_la-fields.lo -MD -MP -MF src/$(DEPDIR)/libibmad_la-fields.Tpo -c -o src/libibmad_la-fields.lo `test -f 'src/fields.c' || echo '$(srcdir)/'`src/fields.c + at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libibmad_la-fields.Tpo src/$(DEPDIR)/libibmad_la-fields.Plo + at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/fields.c' object='src/libibmad_la-fields.lo' libtool=yes @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibmad_la_CFLAGS) $(CFLAGS) -c -o src/libibmad_la-fields.lo `test -f 'src/fields.c' || echo '$(srcdir)/'`src/fields.c + +src/libibmad_la-mad.lo: src/mad.c + at am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibmad_la_CFLAGS) $(CFLAGS) -MT src/libibmad_la-mad.lo -MD -MP -MF src/$(DEPDIR)/libibmad_la-mad.Tpo -c -o src/libibmad_la-mad.lo `test -f 'src/mad.c' || echo '$(srcdir)/'`src/mad.c + at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libibmad_la-mad.Tpo src/$(DEPDIR)/libibmad_la-mad.Plo + at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/mad.c' object='src/libibmad_la-mad.lo' libtool=yes @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibmad_la_CFLAGS) $(CFLAGS) -c -o src/libibmad_la-mad.lo `test -f 'src/mad.c' || echo '$(srcdir)/'`src/mad.c + +src/libibmad_la-portid.lo: src/portid.c + at am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibmad_la_CFLAGS) $(CFLAGS) -MT src/libibmad_la-portid.lo -MD -MP -MF src/$(DEPDIR)/libibmad_la-portid.Tpo -c -o src/libibmad_la-portid.lo `test -f 'src/portid.c' || echo '$(srcdir)/'`src/portid.c + at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libibmad_la-portid.Tpo src/$(DEPDIR)/libibmad_la-portid.Plo + at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/portid.c' object='src/libibmad_la-portid.lo' libtool=yes @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibmad_la_CFLAGS) $(CFLAGS) -c -o src/libibmad_la-portid.lo `test -f 'src/portid.c' || echo '$(srcdir)/'`src/portid.c + +src/libibmad_la-resolve.lo: src/resolve.c + at am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibmad_la_CFLAGS) $(CFLAGS) -MT src/libibmad_la-resolve.lo -MD -MP -MF src/$(DEPDIR)/libibmad_la-resolve.Tpo -c -o src/libibmad_la-resolve.lo `test -f 'src/resolve.c' || echo '$(srcdir)/'`src/resolve.c + at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libibmad_la-resolve.Tpo src/$(DEPDIR)/libibmad_la-resolve.Plo + at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/resolve.c' object='src/libibmad_la-resolve.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibnetdisc_la_CFLAGS) $(CFLAGS) -c -o libibnetdisc_la-ibnetdisc.lo `test -f 'src/ibnetdisc.c' || echo '$(srcdir)/'`src/ibnetdisc.c + at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibmad_la_CFLAGS) $(CFLAGS) -c -o src/libibmad_la-resolve.lo `test -f 'src/resolve.c' || echo '$(srcdir)/'`src/resolve.c -libibnetdisc_la-ibnetdisc_cache.lo: src/ibnetdisc_cache.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibnetdisc_la_CFLAGS) $(CFLAGS) -MT libibnetdisc_la-ibnetdisc_cache.lo -MD -MP -MF $(DEPDIR)/libibnetdisc_la-ibnetdisc_cache.Tpo -c -o libibnetdisc_la-ibnetdisc_cache.lo `test -f 'src/ibnetdisc_cache.c' || echo '$(srcdir)/'`src/ibnetdisc_cache.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libibnetdisc_la-ibnetdisc_cache.Tpo $(DEPDIR)/libibnetdisc_la-ibnetdisc_cache.Plo - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibnetdisc_cache.c' object='libibnetdisc_la-ibnetdisc_cache.lo' libtool=yes @AMDEPBACKSLASH@ +src/libibmad_la-rpc.lo: src/rpc.c + at am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibmad_la_CFLAGS) $(CFLAGS) -MT src/libibmad_la-rpc.lo -MD -MP -MF src/$(DEPDIR)/libibmad_la-rpc.Tpo -c -o src/libibmad_la-rpc.lo `test -f 'src/rpc.c' || echo '$(srcdir)/'`src/rpc.c + at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libibmad_la-rpc.Tpo src/$(DEPDIR)/libibmad_la-rpc.Plo + at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/rpc.c' object='src/libibmad_la-rpc.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibnetdisc_la_CFLAGS) $(CFLAGS) -c -o libibnetdisc_la-ibnetdisc_cache.lo `test -f 'src/ibnetdisc_cache.c' || echo '$(srcdir)/'`src/ibnetdisc_cache.c + at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibmad_la_CFLAGS) $(CFLAGS) -c -o src/libibmad_la-rpc.lo `test -f 'src/rpc.c' || echo '$(srcdir)/'`src/rpc.c -libibnetdisc_la-chassis.lo: src/chassis.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibnetdisc_la_CFLAGS) $(CFLAGS) -MT libibnetdisc_la-chassis.lo -MD -MP -MF $(DEPDIR)/libibnetdisc_la-chassis.Tpo -c -o libibnetdisc_la-chassis.lo `test -f 'src/chassis.c' || echo '$(srcdir)/'`src/chassis.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libibnetdisc_la-chassis.Tpo $(DEPDIR)/libibnetdisc_la-chassis.Plo - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/chassis.c' object='libibnetdisc_la-chassis.lo' libtool=yes @AMDEPBACKSLASH@ +src/libibmad_la-sa.lo: src/sa.c + at am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibmad_la_CFLAGS) $(CFLAGS) -MT src/libibmad_la-sa.lo -MD -MP -MF src/$(DEPDIR)/libibmad_la-sa.Tpo -c -o src/libibmad_la-sa.lo `test -f 'src/sa.c' || echo '$(srcdir)/'`src/sa.c + at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libibmad_la-sa.Tpo src/$(DEPDIR)/libibmad_la-sa.Plo + at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/sa.c' object='src/libibmad_la-sa.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibnetdisc_la_CFLAGS) $(CFLAGS) -c -o libibnetdisc_la-chassis.lo `test -f 'src/chassis.c' || echo '$(srcdir)/'`src/chassis.c + at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibmad_la_CFLAGS) $(CFLAGS) -c -o src/libibmad_la-sa.lo `test -f 'src/sa.c' || echo '$(srcdir)/'`src/sa.c -libibnetdisc_la-query_smp.lo: src/query_smp.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibnetdisc_la_CFLAGS) $(CFLAGS) -MT libibnetdisc_la-query_smp.lo -MD -MP -MF $(DEPDIR)/libibnetdisc_la-query_smp.Tpo -c -o libibnetdisc_la-query_smp.lo `test -f 'src/query_smp.c' || echo '$(srcdir)/'`src/query_smp.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libibnetdisc_la-query_smp.Tpo $(DEPDIR)/libibnetdisc_la-query_smp.Plo - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/query_smp.c' object='libibnetdisc_la-query_smp.lo' libtool=yes @AMDEPBACKSLASH@ +src/libibmad_la-smp.lo: src/smp.c + at am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibmad_la_CFLAGS) $(CFLAGS) -MT src/libibmad_la-smp.lo -MD -MP -MF src/$(DEPDIR)/libibmad_la-smp.Tpo -c -o src/libibmad_la-smp.lo `test -f 'src/smp.c' || echo '$(srcdir)/'`src/smp.c + at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libibmad_la-smp.Tpo src/$(DEPDIR)/libibmad_la-smp.Plo + at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/smp.c' object='src/libibmad_la-smp.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibnetdisc_la_CFLAGS) $(CFLAGS) -c -o libibnetdisc_la-query_smp.lo `test -f 'src/query_smp.c' || echo '$(srcdir)/'`src/query_smp.c + at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibmad_la_CFLAGS) $(CFLAGS) -c -o src/libibmad_la-smp.lo `test -f 'src/smp.c' || echo '$(srcdir)/'`src/smp.c -test_testleaks-testleaks.o: test/testleaks.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_testleaks_CFLAGS) $(CFLAGS) -MT test_testleaks-testleaks.o -MD -MP -MF $(DEPDIR)/test_testleaks-testleaks.Tpo -c -o test_testleaks-testleaks.o `test -f 'test/testleaks.c' || echo '$(srcdir)/'`test/testleaks.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_testleaks-testleaks.Tpo $(DEPDIR)/test_testleaks-testleaks.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='test/testleaks.c' object='test_testleaks-testleaks.o' libtool=no @AMDEPBACKSLASH@ +src/libibmad_la-gs.lo: src/gs.c + at am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibmad_la_CFLAGS) $(CFLAGS) -MT src/libibmad_la-gs.lo -MD -MP -MF src/$(DEPDIR)/libibmad_la-gs.Tpo -c -o src/libibmad_la-gs.lo `test -f 'src/gs.c' || echo '$(srcdir)/'`src/gs.c + at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libibmad_la-gs.Tpo src/$(DEPDIR)/libibmad_la-gs.Plo + at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/gs.c' object='src/libibmad_la-gs.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_testleaks_CFLAGS) $(CFLAGS) -c -o test_testleaks-testleaks.o `test -f 'test/testleaks.c' || echo '$(srcdir)/'`test/testleaks.c + at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibmad_la_CFLAGS) $(CFLAGS) -c -o src/libibmad_la-gs.lo `test -f 'src/gs.c' || echo '$(srcdir)/'`src/gs.c -test_testleaks-testleaks.obj: test/testleaks.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_testleaks_CFLAGS) $(CFLAGS) -MT test_testleaks-testleaks.obj -MD -MP -MF $(DEPDIR)/test_testleaks-testleaks.Tpo -c -o test_testleaks-testleaks.obj `if test -f 'test/testleaks.c'; then $(CYGPATH_W) 'test/testleaks.c'; else $(CYGPATH_W) '$(srcdir)/test/testleaks.c'; fi` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_testleaks-testleaks.Tpo $(DEPDIR)/test_testleaks-testleaks.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='test/testleaks.c' object='test_testleaks-testleaks.obj' libtool=no @AMDEPBACKSLASH@ +src/libibmad_la-serv.lo: src/serv.c + at am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibmad_la_CFLAGS) $(CFLAGS) -MT src/libibmad_la-serv.lo -MD -MP -MF src/$(DEPDIR)/libibmad_la-serv.Tpo -c -o src/libibmad_la-serv.lo `test -f 'src/serv.c' || echo '$(srcdir)/'`src/serv.c + at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libibmad_la-serv.Tpo src/$(DEPDIR)/libibmad_la-serv.Plo + at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/serv.c' object='src/libibmad_la-serv.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_testleaks_CFLAGS) $(CFLAGS) -c -o test_testleaks-testleaks.obj `if test -f 'test/testleaks.c'; then $(CYGPATH_W) 'test/testleaks.c'; else $(CYGPATH_W) '$(srcdir)/test/testleaks.c'; fi` + at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibmad_la_CFLAGS) $(CFLAGS) -c -o src/libibmad_la-serv.lo `test -f 'src/serv.c' || echo '$(srcdir)/'`src/serv.c + +src/libibmad_la-register.lo: src/register.c + at am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibmad_la_CFLAGS) $(CFLAGS) -MT src/libibmad_la-register.lo -MD -MP -MF src/$(DEPDIR)/libibmad_la-register.Tpo -c -o src/libibmad_la-register.lo `test -f 'src/register.c' || echo '$(srcdir)/'`src/register.c + at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libibmad_la-register.Tpo src/$(DEPDIR)/libibmad_la-register.Plo + at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/register.c' object='src/libibmad_la-register.lo' libtool=yes @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibmad_la_CFLAGS) $(CFLAGS) -c -o src/libibmad_la-register.lo `test -f 'src/register.c' || echo '$(srcdir)/'`src/register.c + +src/libibmad_la-vendor.lo: src/vendor.c + at am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibmad_la_CFLAGS) $(CFLAGS) -MT src/libibmad_la-vendor.lo -MD -MP -MF src/$(DEPDIR)/libibmad_la-vendor.Tpo -c -o src/libibmad_la-vendor.lo `test -f 'src/vendor.c' || echo '$(srcdir)/'`src/vendor.c + at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libibmad_la-vendor.Tpo src/$(DEPDIR)/libibmad_la-vendor.Plo + at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/vendor.c' object='src/libibmad_la-vendor.lo' libtool=yes @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibmad_la_CFLAGS) $(CFLAGS) -c -o src/libibmad_la-vendor.lo `test -f 'src/vendor.c' || echo '$(srcdir)/'`src/vendor.c + +src/libibmad_la-bm.lo: src/bm.c + at am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibmad_la_CFLAGS) $(CFLAGS) -MT src/libibmad_la-bm.lo -MD -MP -MF src/$(DEPDIR)/libibmad_la-bm.Tpo -c -o src/libibmad_la-bm.lo `test -f 'src/bm.c' || echo '$(srcdir)/'`src/bm.c + at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libibmad_la-bm.Tpo src/$(DEPDIR)/libibmad_la-bm.Plo + at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/bm.c' object='src/libibmad_la-bm.lo' libtool=yes @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibmad_la_CFLAGS) $(CFLAGS) -c -o src/libibmad_la-bm.lo `test -f 'src/bm.c' || echo '$(srcdir)/'`src/bm.c + +src/libibmad_la-cc.lo: src/cc.c + at am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibmad_la_CFLAGS) $(CFLAGS) -MT src/libibmad_la-cc.lo -MD -MP -MF src/$(DEPDIR)/libibmad_la-cc.Tpo -c -o src/libibmad_la-cc.lo `test -f 'src/cc.c' || echo '$(srcdir)/'`src/cc.c + at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libibmad_la-cc.Tpo src/$(DEPDIR)/libibmad_la-cc.Plo + at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/cc.c' object='src/libibmad_la-cc.lo' libtool=yes @AMDEPBACKSLASH@ + at AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ + at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibmad_la_CFLAGS) $(CFLAGS) -c -o src/libibmad_la-cc.lo `test -f 'src/cc.c' || echo '$(srcdir)/'`src/cc.c mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs - -rm -rf test/.libs test/_libs -install-man3: $(man_MANS) + -rm -rf src/.libs src/_libs +install-libibmadincludeHEADERS: $(libibmadinclude_HEADERS) @$(NORMAL_INSTALL) - @list1=''; \ - list2='$(man_MANS)'; \ - test -n "$(man3dir)" \ - && test -n "`echo $$list1$$list2`" \ - || exit 0; \ - echo " $(MKDIR_P) '$(DESTDIR)$(man3dir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(man3dir)" || exit 1; \ - { for i in $$list1; do echo "$$i"; done; \ - if test -n "$$list2"; then \ - for i in $$list2; do echo "$$i"; done \ - | sed -n '/\.3[a-z]*$$/p'; \ - fi; \ - } | while read p; do \ - if test -f $$p; then d=; else d="$(srcdir)/"; fi; \ - echo "$$d$$p"; echo "$$p"; \ - done | \ - sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \ - -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \ - sed 'N;N;s,\n, ,g' | { \ - list=; while read file base inst; do \ - if test "$$base" = "$$inst"; then list="$$list $$file"; else \ - echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man3dir)/$$inst'"; \ - $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man3dir)/$$inst" || exit $$?; \ - fi; \ - done; \ - for i in $$list; do echo "$$i"; done | $(am__base_list) | \ - while read files; do \ - test -z "$$files" || { \ - echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man3dir)'"; \ - $(INSTALL_DATA) $$files "$(DESTDIR)$(man3dir)" || exit $$?; }; \ - done; } - -uninstall-man3: - @$(NORMAL_UNINSTALL) - @list=''; test -n "$(man3dir)" || exit 0; \ - files=`{ for i in $$list; do echo "$$i"; done; \ - l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \ - sed -n '/\.3[a-z]*$$/p'; \ - } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^3][0-9a-z]*$$,3,;x' \ - -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \ - dir='$(DESTDIR)$(man3dir)'; $(am__uninstall_files_from_dir) -install-libibnetdiscincludeHEADERS: $(libibnetdiscinclude_HEADERS) - @$(NORMAL_INSTALL) - @list='$(libibnetdiscinclude_HEADERS)'; test -n "$(libibnetdiscincludedir)" || list=; \ + @list='$(libibmadinclude_HEADERS)'; test -n "$(libibmadincludedir)" || list=; \ if test -n "$$list"; then \ - echo " $(MKDIR_P) '$(DESTDIR)$(libibnetdiscincludedir)'"; \ - $(MKDIR_P) "$(DESTDIR)$(libibnetdiscincludedir)" || exit 1; \ + echo " $(MKDIR_P) '$(DESTDIR)$(libibmadincludedir)'"; \ + $(MKDIR_P) "$(DESTDIR)$(libibmadincludedir)" || exit 1; \ fi; \ for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ echo "$$d$$p"; \ done | $(am__base_list) | \ while read files; do \ - echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libibnetdiscincludedir)'"; \ - $(INSTALL_HEADER) $$files "$(DESTDIR)$(libibnetdiscincludedir)" || exit $$?; \ + echo " $(INSTALL_HEADER) $$files '$(DESTDIR)$(libibmadincludedir)'"; \ + $(INSTALL_HEADER) $$files "$(DESTDIR)$(libibmadincludedir)" || exit $$?; \ done -uninstall-libibnetdiscincludeHEADERS: +uninstall-libibmadincludeHEADERS: @$(NORMAL_UNINSTALL) - @list='$(libibnetdiscinclude_HEADERS)'; test -n "$(libibnetdiscincludedir)" || list=; \ + @list='$(libibmadinclude_HEADERS)'; test -n "$(libibmadincludedir)" || list=; \ files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \ - dir='$(DESTDIR)$(libibnetdiscincludedir)'; $(am__uninstall_files_from_dir) + dir='$(DESTDIR)$(libibmadincludedir)'; $(am__uninstall_files_from_dir) ID: $(am__tagged_files) $(am__define_uniq_tagged_files); mkid -fID $$unique @@ -748,9 +718,9 @@ distdir: $(DISTFILES) done check-am: all-am check: check-am -all-am: Makefile $(LTLIBRARIES) $(PROGRAMS) $(MANS) $(HEADERS) +all-am: Makefile $(LTLIBRARIES) $(HEADERS) installdirs: - for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(libibnetdiscincludedir)"; do \ + for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(libibmadincludedir)"; do \ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am @@ -779,7 +749,8 @@ clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) - -rm -f test/$(am__dirstamp) + -rm -f src/$(DEPDIR)/$(am__dirstamp) + -rm -f src/$(am__dirstamp) maintainer-clean-generic: @echo "This command is intended for maintainers to use" @@ -787,10 +758,10 @@ maintainer-clean-generic: clean: clean-am clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ - clean-sbinPROGRAMS mostlyclean-am + mostlyclean-am distclean: distclean-am - -rm -rf ./$(DEPDIR) + -rm -rf src/$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags @@ -807,13 +778,13 @@ info: info-am info-am: -install-data-am: install-libibnetdiscincludeHEADERS install-man +install-data-am: install-libibmadincludeHEADERS install-dvi: install-dvi-am install-dvi-am: -install-exec-am: install-libLTLIBRARIES install-sbinPROGRAMS +install-exec-am: install-libLTLIBRARIES install-html: install-html-am @@ -823,7 +794,7 @@ install-info: install-info-am install-info-am: -install-man: install-man3 +install-man: install-pdf: install-pdf-am @@ -836,7 +807,7 @@ install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) + -rm -rf src/$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic @@ -854,30 +825,25 @@ ps: ps-am ps-am: uninstall-am: uninstall-libLTLIBRARIES \ - uninstall-libibnetdiscincludeHEADERS uninstall-man \ - uninstall-sbinPROGRAMS - -uninstall-man: uninstall-man3 + uninstall-libibmadincludeHEADERS .MAKE: install-am install-strip .PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \ - clean-libLTLIBRARIES clean-libtool clean-sbinPROGRAMS \ - cscopelist-am ctags ctags-am distclean distclean-compile \ - distclean-generic distclean-libtool distclean-tags distdir dvi \ - dvi-am html html-am info info-am install install-am \ - install-data install-data-am install-dvi install-dvi-am \ - install-exec install-exec-am install-html install-html-am \ - install-info install-info-am install-libLTLIBRARIES \ - install-libibnetdiscincludeHEADERS install-man install-man3 \ - install-pdf install-pdf-am install-ps install-ps-am \ - install-sbinPROGRAMS install-strip installcheck \ - installcheck-am installdirs maintainer-clean \ + clean-libLTLIBRARIES clean-libtool cscopelist-am ctags \ + ctags-am distclean distclean-compile distclean-generic \ + distclean-libtool distclean-tags distdir dvi dvi-am html \ + html-am info info-am install install-am install-data \ + install-data-am install-dvi install-dvi-am install-exec \ + install-exec-am install-html install-html-am install-info \ + install-info-am install-libLTLIBRARIES \ + install-libibmadincludeHEADERS install-man install-pdf \ + install-pdf-am install-ps install-ps-am install-strip \ + installcheck installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-compile \ mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \ tags tags-am uninstall uninstall-am uninstall-libLTLIBRARIES \ - uninstall-libibnetdiscincludeHEADERS uninstall-man \ - uninstall-man3 uninstall-sbinPROGRAMS + uninstall-libibmadincludeHEADERS # Tell versions [3.59,3.63) of GNU make to not export all variables. diff --git a/libibmad/README b/libibmad/README new file mode 100644 index 0000000..768201c --- /dev/null +++ b/libibmad/README @@ -0,0 +1,7 @@ +libibmad is a convenience library to encode, decode, and dump IB MAD packets. It +is implemented on top of libibumad. + +The main consumer of this library is the infiniband-diags package and it is +therefore provided as part of that package. The last independent release of +libibmad was version 1.3.13. + diff --git a/libibmad/include/infiniband/mad.h b/libibmad/include/infiniband/mad.h new file mode 100644 index 0000000..9bd6e20 --- /dev/null +++ b/libibmad/include/infiniband/mad.h @@ -0,0 +1,1722 @@ +/* + * Copyright (c) 2004-2009 Voltaire Inc. All rights reserved. + * Copyright (c) 2009 HNR Consulting. All rights reserved. + * Copyright (c) 2009-2011 Mellanox Technologies LTD. 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 + * General Public License (GPL) Version 2, available from the file + * COPYING in the main directory of this source tree, or the + * OpenIB.org BSD license below: + * + * Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: + * + * - Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * + * - Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + */ +#ifndef _MAD_H_ +#define _MAD_H_ + +#include + +#ifdef __cplusplus +# define BEGIN_C_DECLS extern "C" { +# define END_C_DECLS } +#else /* !__cplusplus */ +# define BEGIN_C_DECLS +# define END_C_DECLS +#endif /* __cplusplus */ + +BEGIN_C_DECLS +#define IB_MAD_RPC_VERSION_MASK 0x0f00 +#define IB_MAD_RPC_VERSION1 (1<<8) + +#define IB_SUBNET_PATH_HOPS_MAX 64 +#define IB_DEFAULT_SUBN_PREFIX 0xfe80000000000000ULL +#define IB_DEFAULT_QP1_QKEY 0x80010000 +#define IB_MAD_SIZE 256 +#define IB_SMP_DATA_OFFS 64 +#define IB_SMP_DATA_SIZE 64 +#define IB_VENDOR_RANGE1_DATA_OFFS 24 +#define IB_VENDOR_RANGE1_DATA_SIZE (IB_MAD_SIZE - IB_VENDOR_RANGE1_DATA_OFFS) +#define IB_VENDOR_RANGE2_DATA_OFFS 40 +#define IB_VENDOR_RANGE2_DATA_SIZE (IB_MAD_SIZE - IB_VENDOR_RANGE2_DATA_OFFS) +#define IB_SA_DATA_SIZE 200 +#define IB_SA_DATA_OFFS 56 +#define IB_PC_DATA_OFFS 64 +#define IB_PC_DATA_SZ (IB_MAD_SIZE - IB_PC_DATA_OFFS) +#define IB_SA_MCM_RECSZ 53 +#define IB_SA_PR_RECSZ 64 +#define IB_SA_NR_RECSZ 108 +#define IB_SA_GIR_RECSZ 72 +#define IB_BM_DATA_OFFS 64 +#define IB_BM_DATA_SZ (IB_MAD_SIZE - IB_BM_DATA_OFFS) +#define IB_BM_BKEY_OFFS 24 +#define IB_BM_BKEY_AND_DATA_SZ (IB_MAD_SIZE - IB_BM_BKEY_OFFS) +#define IB_CC_DATA_OFFS 64 +#define IB_CC_DATA_SZ (IB_MAD_SIZE - IB_CC_DATA_OFFS) +#define IB_CC_LOG_DATA_OFFS 32 +#define IB_CC_LOG_DATA_SZ (IB_MAD_SIZE - IB_CC_LOG_DATA_OFFS) + +enum MAD_CLASSES { + IB_SMI_CLASS = 0x1, + IB_SMI_DIRECT_CLASS = 0x81, + IB_SA_CLASS = 0x3, + IB_PERFORMANCE_CLASS = 0x4, + IB_BOARD_MGMT_CLASS = 0x5, + IB_DEVICE_MGMT_CLASS = 0x6, + IB_CM_CLASS = 0x7, + IB_SNMP_CLASS = 0x8, + IB_VENDOR_RANGE1_START_CLASS = 0x9, + IB_VENDOR_RANGE1_END_CLASS = 0x0f, + IB_CC_CLASS = 0x21, + IB_VENDOR_RANGE2_START_CLASS = 0x30, + IB_VENDOR_RANGE2_END_CLASS = 0x4f, +}; + +enum MAD_METHODS { + IB_MAD_METHOD_GET = 0x1, + IB_MAD_METHOD_SET = 0x2, + IB_MAD_METHOD_GET_RESPONSE = 0x81, + + IB_MAD_METHOD_SEND = 0x3, + IB_MAD_METHOD_TRAP = 0x5, + IB_MAD_METHOD_TRAP_REPRESS = 0x7, + + IB_MAD_METHOD_REPORT = 0x6, + IB_MAD_METHOD_REPORT_RESPONSE = 0x86, + IB_MAD_METHOD_GET_TABLE = 0x12, + IB_MAD_METHOD_GET_TABLE_RESPONSE = 0x92, + IB_MAD_METHOD_GET_TRACE_TABLE = 0x13, + IB_MAD_METHOD_GET_TRACE_TABLE_RESPONSE = 0x93, + IB_MAD_METHOD_GETMULTI = 0x14, + IB_MAD_METHOD_GETMULTI_RESPONSE = 0x94, + IB_MAD_METHOD_DELETE = 0x15, + IB_MAD_METHOD_DELETE_RESPONSE = 0x95, + + IB_MAD_RESPONSE = 0x80, +}; + +enum MAD_ATTR_ID { + CLASS_PORT_INFO = 0x1, + NOTICE = 0x2, + INFORM_INFO = 0x3, +}; + +enum MAD_STATUS { + IB_MAD_STS_OK = (0 << 2), + IB_MAD_STS_BUSY = (1 << 0), + IB_MAD_STS_REDIRECT = (1 << 1), + IB_MAD_STS_BAD_BASE_VER_OR_CLASS = (1 << 2), + IB_MAD_STS_METHOD_NOT_SUPPORTED = (2 << 2), + IB_MAD_STS_METHOD_ATTR_NOT_SUPPORTED = (3 << 2), + IB_MAD_STS_INV_ATTR_VALUE = (7 << 2), +}; + +enum SMI_ATTR_ID { + IB_ATTR_NODE_DESC = 0x10, + IB_ATTR_NODE_INFO = 0x11, + IB_ATTR_SWITCH_INFO = 0x12, + IB_ATTR_GUID_INFO = 0x14, + IB_ATTR_PORT_INFO = 0x15, + IB_ATTR_PKEY_TBL = 0x16, + IB_ATTR_SLVL_TABLE = 0x17, + IB_ATTR_VL_ARBITRATION = 0x18, + IB_ATTR_LINEARFORWTBL = 0x19, + IB_ATTR_MULTICASTFORWTBL = 0x1b, + IB_ATTR_LINKSPEEDWIDTHPAIRSTBL = 0x1c, + IB_ATTR_VENDORMADSTBL = 0x1d, + IB_ATTR_SMINFO = 0x20, + IB_ATTR_PORT_INFO_EXT = 0x33, + IB_ATTR_LAST, + + IB_ATTR_MLNX_EXT_PORT_INFO = 0xff90, +}; + +enum SA_ATTR_ID { + IB_SA_ATTR_NOTICE = 0x02, + IB_SA_ATTR_INFORMINFO = 0x03, + IB_SA_ATTR_NODERECORD = 0x11, + IB_SA_ATTR_PORTINFORECORD = 0x12, + IB_SA_ATTR_SL2VLTABLERECORD = 0x13, + IB_SA_ATTR_SWITCHINFORECORD = 0x14, + IB_SA_ATTR_LFTRECORD = 0x15, + IB_SA_ATTR_RFTRECORD = 0x16, + IB_SA_ATTR_MFTRECORD = 0x17, + IB_SA_ATTR_SMINFORECORD = 0x18, + IB_SA_ATTR_LINKRECORD = 0x20, + IB_SA_ATTR_GUIDINFORECORD = 0x30, + IB_SA_ATTR_SERVICERECORD = 0x31, + IB_SA_ATTR_PKEYTABLERECORD = 0x33, + IB_SA_ATTR_PATHRECORD = 0x35, + IB_SA_ATTR_VLARBTABLERECORD = 0x36, + IB_SA_ATTR_MCRECORD = 0x38, + IB_SA_ATTR_MULTIPATH = 0x3a, + IB_SA_ATTR_INFORMINFORECORD = 0xf3, + + IB_SA_ATTR_LAST +}; + +enum GSI_ATTR_ID { + IB_GSI_PORT_SAMPLES_CONTROL = 0x10, + IB_GSI_PORT_SAMPLES_RESULT = 0x11, + IB_GSI_PORT_COUNTERS = 0x12, + IB_GSI_PORT_RCV_ERROR_DETAILS = 0x15, + IB_GSI_PORT_XMIT_DISCARD_DETAILS = 0x16, + IB_GSI_PORT_PORT_OP_RCV_COUNTERS = 0x17, + IB_GSI_PORT_PORT_FLOW_CTL_COUNTERS = 0x18, + IB_GSI_PORT_PORT_VL_OP_PACKETS = 0x19, + IB_GSI_PORT_PORT_VL_OP_DATA = 0x1A, + IB_GSI_PORT_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS = 0x1B, + IB_GSI_PORT_PORT_VL_XMIT_WAIT_COUNTERS = 0x1C, + IB_GSI_PORT_COUNTERS_EXT = 0x1D, + IB_GSI_PORT_EXT_SPEEDS_COUNTERS = 0x1F, + IB_GSI_SW_PORT_VL_CONGESTION = 0x30, + IB_GSI_PORT_RCV_CON_CTRL = 0x31, + IB_GSI_PORT_SL_RCV_FECN = 0x32, + IB_GSI_PORT_SL_RCV_BECN = 0x33, + IB_GSI_PORT_XMIT_CON_CTRL = 0x34, + IB_GSI_PORT_VL_XMIT_TIME_CONG = 0x35, + IB_GSI_PORT_XMIT_DATA_SL = 0x36, + IB_GSI_PORT_RCV_DATA_SL = 0x37, + IB_GSI_ATTR_LAST +}; + +enum BM_ATTR_ID { + IB_BM_ATTR_BKEYINFO = 0x10, + IB_BM_ATTR_WRITE_VPD = 0x20, + IB_BM_ATTR_READ_VPD = 0x21, + IB_BM_ATTR_RESET_IBML = 0x22, + IB_BM_ATTR_SET_MODULE_PM_CONTROL = 0x23, + IB_BM_ATTR_GET_MODULE_PM_CONTROL = 0x24, + IB_BM_ATTR_SET_UNIT_PM_CONTROL = 0x25, + IB_BM_ATTR_GET_UNIT_PM_CONTROL = 0x26, + IB_BM_ATTR_SET_IOC_PM_CONTROL = 0x27, + IB_BM_ATTR_GET_IOC_PM_CONTROL = 0x28, + IB_BM_ATTR_SET_MODULE_STATE = 0x29, + IB_BM_ATTR_SET_MODULE_ATTENTION = 0x2A, + IB_BM_ATTR_GET_MODULE_STATUS = 0x2B, + IB_BM_ATTR_IB2IBML = 0x2C, + IB_BM_ATTR_IB2CME = 0x2D, + IB_BM_ATTR_IB2MME = 0x2E, + IB_BM_ATTR_OEM = 0x2F, + + IB_BM_ATTR_LAST +}; + +enum CC_ATTRI_ID { + IB_CC_ATTR_CONGESTION_INFO = 0x11, + IB_CC_ATTR_CONGESTION_KEY_INFO = 0x12, + IB_CC_ATTR_CONGESTION_LOG = 0x13, + IB_CC_ATTR_SWITCH_CONGESTION_SETTING = 0x14, + IB_CC_ATTR_SWITCH_PORT_CONGESTION_SETTING = 0x15, + IB_CC_ATTR_CA_CONGESTION_SETTING = 0x16, + IB_CC_ATTR_CONGESTION_CONTROL_TABLE = 0x17, + IB_CC_ATTR_TIMESTAMP = 0x18, +}; + +#define IB_VENDOR_OPENIB_PING_CLASS (IB_VENDOR_RANGE2_START_CLASS + 2) +#define IB_VENDOR_OPENIB_SYSSTAT_CLASS (IB_VENDOR_RANGE2_START_CLASS + 3) +#define IB_OPENIB_OUI (0x001405) + +typedef uint8_t ibmad_gid_t[16]; +#ifdef USE_DEPRECATED_IB_GID_T +typedef ibmad_gid_t ib_gid_t __attribute__ ((deprecated)); +#endif + +typedef struct { + int cnt; + uint8_t p[IB_SUBNET_PATH_HOPS_MAX]; + uint16_t drslid; + uint16_t drdlid; +} ib_dr_path_t; + +typedef struct { + unsigned id; + unsigned mod; +} ib_attr_t; + +typedef struct { + int mgtclass; + int method; + ib_attr_t attr; + uint32_t rstatus; /* return status */ + int dataoffs; + int datasz; + uint64_t mkey; + uint64_t trid; /* used for out mad if nonzero, return real val */ + uint64_t mask; /* for sa mads */ + unsigned recsz; /* for sa mads (attribute offset) */ + int timeout; + uint32_t oui; /* for vendor range 2 mads */ +} ib_rpc_t; + +typedef struct { + int mgtclass; + int method; + ib_attr_t attr; + uint32_t rstatus; /* return status */ + int dataoffs; + int datasz; + uint64_t mkey; + uint64_t trid; /* used for out mad if nonzero, return real val */ + uint64_t mask; /* for sa mads */ + unsigned recsz; /* for sa mads (attribute offset) */ + int timeout; + uint32_t oui; /* for vendor range 2 mads */ + int error; /* errno */ +} ib_rpc_v1_t; + +typedef struct { + int mgtclass; + int method; + ib_attr_t attr; + uint32_t rstatus; /* return status */ + int dataoffs; + int datasz; + uint64_t mkey; + uint64_t trid; /* used for out mad if nonzero, return real val */ + uint64_t mask; /* for sa mads */ + unsigned recsz; /* for sa mads (attribute offset) */ + int timeout; + uint32_t oui; /* for vendor range 2 mads */ + int error; /* errno */ + uint64_t cckey; +} ib_rpc_cc_t; + +typedef struct portid { + int lid; /* lid or 0 if directed route */ + ib_dr_path_t drpath; + int grh_present; /* flag */ + ibmad_gid_t gid; + uint32_t qp; + uint32_t qkey; + uint8_t sl; + unsigned pkey_idx; +} ib_portid_t; + +typedef void (ib_mad_dump_fn) (char *buf, int bufsz, void *val, int valsz); + +#define IB_FIELD_NAME_LEN 32 + +typedef struct ib_field { + int bitoffs; + int bitlen; + char name[IB_FIELD_NAME_LEN]; + ib_mad_dump_fn *def_dump_fn; +} ib_field_t; + +enum MAD_FIELDS { + IB_NO_FIELD, + + IB_GID_PREFIX_F, + IB_GID_GUID_F, + + /* first MAD word (0-3 bytes) */ + IB_MAD_METHOD_F, + IB_MAD_RESPONSE_F, + IB_MAD_CLASSVER_F, + IB_MAD_MGMTCLASS_F, + IB_MAD_BASEVER_F, + + /* second MAD word (4-7 bytes) */ + IB_MAD_STATUS_F, + + /* DRSMP only */ + IB_DRSMP_HOPCNT_F, + IB_DRSMP_HOPPTR_F, + IB_DRSMP_STATUS_F, + IB_DRSMP_DIRECTION_F, + + /* words 3,4,5,6 (8-23 bytes) */ + IB_MAD_TRID_F, + IB_MAD_ATTRID_F, + IB_MAD_ATTRMOD_F, + + /* word 7,8 (24-31 bytes) */ + IB_MAD_MKEY_F, + + /* word 9 (32-37 bytes) */ + IB_DRSMP_DRDLID_F, + IB_DRSMP_DRSLID_F, + + /* word 10,11 (36-43 bytes) */ + IB_SA_MKEY_F, + + /* word 12 (44-47 bytes) */ + IB_SA_ATTROFFS_F, + + /* word 13,14 (48-55 bytes) */ + IB_SA_COMPMASK_F, + + /* word 13,14 (56-255 bytes) */ + IB_SA_DATA_F, + + /* bytes 64 - 127 */ + IB_SM_DATA_F, + + /* bytes 64 - 256 */ + IB_GS_DATA_F, + + /* bytes 128 - 191 */ + IB_DRSMP_PATH_F, + + /* bytes 192 - 255 */ + IB_DRSMP_RPATH_F, + + /* + * PortInfo fields + */ + IB_PORT_FIRST_F, + IB_PORT_MKEY_F = IB_PORT_FIRST_F, + IB_PORT_GID_PREFIX_F, + IB_PORT_LID_F, + IB_PORT_SMLID_F, + IB_PORT_CAPMASK_F, + IB_PORT_DIAG_F, + IB_PORT_MKEY_LEASE_F, + IB_PORT_LOCAL_PORT_F, + IB_PORT_LINK_WIDTH_ENABLED_F, + IB_PORT_LINK_WIDTH_SUPPORTED_F, + IB_PORT_LINK_WIDTH_ACTIVE_F, + IB_PORT_LINK_SPEED_SUPPORTED_F, + IB_PORT_STATE_F, + IB_PORT_PHYS_STATE_F, + IB_PORT_LINK_DOWN_DEF_F, + IB_PORT_MKEY_PROT_BITS_F, + IB_PORT_LMC_F, + IB_PORT_LINK_SPEED_ACTIVE_F, + IB_PORT_LINK_SPEED_ENABLED_F, + IB_PORT_NEIGHBOR_MTU_F, + IB_PORT_SMSL_F, + IB_PORT_VL_CAP_F, + IB_PORT_INIT_TYPE_F, + IB_PORT_VL_HIGH_LIMIT_F, + IB_PORT_VL_ARBITRATION_HIGH_CAP_F, + IB_PORT_VL_ARBITRATION_LOW_CAP_F, + IB_PORT_INIT_TYPE_REPLY_F, + IB_PORT_MTU_CAP_F, + IB_PORT_VL_STALL_COUNT_F, + IB_PORT_HOQ_LIFE_F, + IB_PORT_OPER_VLS_F, + IB_PORT_PART_EN_INB_F, + IB_PORT_PART_EN_OUTB_F, + IB_PORT_FILTER_RAW_INB_F, + IB_PORT_FILTER_RAW_OUTB_F, + IB_PORT_MKEY_VIOL_F, + IB_PORT_PKEY_VIOL_F, + IB_PORT_QKEY_VIOL_F, + IB_PORT_GUID_CAP_F, + IB_PORT_CLIENT_REREG_F, + IB_PORT_MCAST_PKEY_SUPR_ENAB_F, + IB_PORT_SUBN_TIMEOUT_F, + IB_PORT_RESP_TIME_VAL_F, + IB_PORT_LOCAL_PHYS_ERR_F, + IB_PORT_OVERRUN_ERR_F, + IB_PORT_MAX_CREDIT_HINT_F, + IB_PORT_LINK_ROUND_TRIP_F, + IB_PORT_LAST_F, + + /* + * NodeInfo fields + */ + IB_NODE_FIRST_F, + IB_NODE_BASE_VERS_F = IB_NODE_FIRST_F, + IB_NODE_CLASS_VERS_F, + IB_NODE_TYPE_F, + IB_NODE_NPORTS_F, + IB_NODE_SYSTEM_GUID_F, + IB_NODE_GUID_F, + IB_NODE_PORT_GUID_F, + IB_NODE_PARTITION_CAP_F, + IB_NODE_DEVID_F, + IB_NODE_REVISION_F, + IB_NODE_LOCAL_PORT_F, + IB_NODE_VENDORID_F, + IB_NODE_LAST_F, + + /* + * SwitchInfo fields + */ + IB_SW_FIRST_F, + IB_SW_LINEAR_FDB_CAP_F = IB_SW_FIRST_F, + IB_SW_RANDOM_FDB_CAP_F, + IB_SW_MCAST_FDB_CAP_F, + IB_SW_LINEAR_FDB_TOP_F, + IB_SW_DEF_PORT_F, + IB_SW_DEF_MCAST_PRIM_F, + IB_SW_DEF_MCAST_NOT_PRIM_F, + IB_SW_LIFE_TIME_F, + IB_SW_STATE_CHANGE_F, + IB_SW_OPT_SLTOVL_MAPPING_F, + IB_SW_LIDS_PER_PORT_F, + IB_SW_PARTITION_ENFORCE_CAP_F, + IB_SW_PARTITION_ENF_INB_F, + IB_SW_PARTITION_ENF_OUTB_F, + IB_SW_FILTER_RAW_INB_F, + IB_SW_FILTER_RAW_OUTB_F, + IB_SW_ENHANCED_PORT0_F, + IB_SW_MCAST_FDB_TOP_F, + IB_SW_LAST_F, + + /* + * SwitchLinearForwardingTable fields + */ + IB_LINEAR_FORW_TBL_F, + + /* + * SwitchMulticastForwardingTable fields + */ + IB_MULTICAST_FORW_TBL_F, + + /* + * NodeDescription fields + */ + IB_NODE_DESC_F, + + /* + * Notice/Trap fields + */ + IB_NOTICE_IS_GENERIC_F, + IB_NOTICE_TYPE_F, + IB_NOTICE_PRODUCER_F, + IB_NOTICE_TRAP_NUMBER_F, + IB_NOTICE_ISSUER_LID_F, + IB_NOTICE_TOGGLE_F, + IB_NOTICE_COUNT_F, + IB_NOTICE_DATA_DETAILS_F, + IB_NOTICE_DATA_LID_F, + IB_NOTICE_DATA_144_LID_F, + IB_NOTICE_DATA_144_CAPMASK_F, + + /* + * GS Performance + */ + IB_PC_FIRST_F, + IB_PC_PORT_SELECT_F = IB_PC_FIRST_F, + IB_PC_COUNTER_SELECT_F, + IB_PC_ERR_SYM_F, + IB_PC_LINK_RECOVERS_F, + IB_PC_LINK_DOWNED_F, + IB_PC_ERR_RCV_F, + IB_PC_ERR_PHYSRCV_F, + IB_PC_ERR_SWITCH_REL_F, + IB_PC_XMT_DISCARDS_F, + IB_PC_ERR_XMTCONSTR_F, + IB_PC_ERR_RCVCONSTR_F, + IB_PC_COUNTER_SELECT2_F, + IB_PC_ERR_LOCALINTEG_F, + IB_PC_ERR_EXCESS_OVR_F, + IB_PC_VL15_DROPPED_F, + IB_PC_XMT_BYTES_F, + IB_PC_RCV_BYTES_F, + IB_PC_XMT_PKTS_F, + IB_PC_RCV_PKTS_F, + IB_PC_XMT_WAIT_F, + IB_PC_LAST_F, + + /* + * SMInfo + */ + IB_SMINFO_GUID_F, + IB_SMINFO_KEY_F, + IB_SMINFO_ACT_F, + IB_SMINFO_PRIO_F, + IB_SMINFO_STATE_F, + + /* + * SA RMPP + */ + IB_SA_RMPP_VERS_F, + IB_SA_RMPP_TYPE_F, + IB_SA_RMPP_RESP_F, + IB_SA_RMPP_FLAGS_F, + IB_SA_RMPP_STATUS_F, + + /* data1 */ + IB_SA_RMPP_D1_F, + IB_SA_RMPP_SEGNUM_F, + /* data2 */ + IB_SA_RMPP_D2_F, + IB_SA_RMPP_LEN_F, /* DATA: Payload len */ + IB_SA_RMPP_NEWWIN_F, /* ACK: new window last */ + + /* + * SA Multi Path rec + */ + IB_SA_MP_NPATH_F, + IB_SA_MP_NSRC_F, + IB_SA_MP_NDEST_F, + IB_SA_MP_GID0_F, + + /* + * SA Path rec + */ + IB_SA_PR_DGID_F, + IB_SA_PR_SGID_F, + IB_SA_PR_DLID_F, + IB_SA_PR_SLID_F, + IB_SA_PR_NPATH_F, + IB_SA_PR_SL_F, + + /* + * MC Member rec + */ + IB_SA_MCM_MGID_F, + IB_SA_MCM_PORTGID_F, + IB_SA_MCM_QKEY_F, + IB_SA_MCM_MLID_F, + IB_SA_MCM_SL_F, + IB_SA_MCM_MTU_F, + IB_SA_MCM_RATE_F, + IB_SA_MCM_TCLASS_F, + IB_SA_MCM_PKEY_F, + IB_SA_MCM_FLOW_LABEL_F, + IB_SA_MCM_JOIN_STATE_F, + IB_SA_MCM_PROXY_JOIN_F, + + /* + * Service record + */ + IB_SA_SR_ID_F, + IB_SA_SR_GID_F, + IB_SA_SR_PKEY_F, + IB_SA_SR_LEASE_F, + IB_SA_SR_KEY_F, + IB_SA_SR_NAME_F, + IB_SA_SR_DATA_F, + + /* + * ATS SM record - within SA_SR_DATA + */ + IB_ATS_SM_NODE_ADDR_F, + IB_ATS_SM_MAGIC_KEY_F, + IB_ATS_SM_NODE_TYPE_F, + IB_ATS_SM_NODE_NAME_F, + + /* + * SLTOVL MAPPING TABLE + */ + IB_SLTOVL_MAPPING_TABLE_F, + + /* + * VL ARBITRATION TABLE + */ + IB_VL_ARBITRATION_TABLE_F, + + /* + * IB vendor class range 2 + */ + IB_VEND2_OUI_F, + IB_VEND2_DATA_F, + + /* + * PortCountersExtended + */ + IB_PC_EXT_FIRST_F, + IB_PC_EXT_PORT_SELECT_F = IB_PC_EXT_FIRST_F, + IB_PC_EXT_COUNTER_SELECT_F, + IB_PC_EXT_XMT_BYTES_F, + IB_PC_EXT_RCV_BYTES_F, + IB_PC_EXT_XMT_PKTS_F, + IB_PC_EXT_RCV_PKTS_F, + IB_PC_EXT_XMT_UPKTS_F, + IB_PC_EXT_RCV_UPKTS_F, + IB_PC_EXT_XMT_MPKTS_F, + IB_PC_EXT_RCV_MPKTS_F, + IB_PC_EXT_LAST_F, + + /* + * GUIDInfo fields + */ + IB_GUID_GUID0_F, /* Obsolete, kept for compatibility + Use IB_GI_GUID0_F going forward */ + + /* + * ClassPortInfo fields + */ + IB_CPI_BASEVER_F, + IB_CPI_CLASSVER_F, + IB_CPI_CAPMASK_F, + IB_CPI_CAPMASK2_F, + IB_CPI_RESP_TIME_VALUE_F, + IB_CPI_REDIRECT_GID_F, + IB_CPI_REDIRECT_TC_F, + IB_CPI_REDIRECT_SL_F, + IB_CPI_REDIRECT_FL_F, + IB_CPI_REDIRECT_LID_F, + IB_CPI_REDIRECT_PKEY_F, + IB_CPI_REDIRECT_QP_F, + IB_CPI_REDIRECT_QKEY_F, + IB_CPI_TRAP_GID_F, + IB_CPI_TRAP_TC_F, + IB_CPI_TRAP_SL_F, + IB_CPI_TRAP_FL_F, + IB_CPI_TRAP_LID_F, + IB_CPI_TRAP_PKEY_F, + IB_CPI_TRAP_HL_F, + IB_CPI_TRAP_QP_F, + IB_CPI_TRAP_QKEY_F, + + /* + * PortXmitDataSL fields + */ + IB_PC_XMT_DATA_SL_FIRST_F, /* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */ + IB_PC_XMT_DATA_SL0_F = IB_PC_XMT_DATA_SL_FIRST_F, + IB_PC_XMT_DATA_SL1_F, + IB_PC_XMT_DATA_SL2_F, + IB_PC_XMT_DATA_SL3_F, + IB_PC_XMT_DATA_SL4_F, + IB_PC_XMT_DATA_SL5_F, + IB_PC_XMT_DATA_SL6_F, + IB_PC_XMT_DATA_SL7_F, + IB_PC_XMT_DATA_SL8_F, + IB_PC_XMT_DATA_SL9_F, + IB_PC_XMT_DATA_SL10_F, + IB_PC_XMT_DATA_SL11_F, + IB_PC_XMT_DATA_SL12_F, + IB_PC_XMT_DATA_SL13_F, + IB_PC_XMT_DATA_SL14_F, + IB_PC_XMT_DATA_SL15_F, + IB_PC_XMT_DATA_SL_LAST_F, + + /* + * PortRcvDataSL fields + */ + IB_PC_RCV_DATA_SL_FIRST_F, /* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */ + IB_PC_RCV_DATA_SL0_F = IB_PC_RCV_DATA_SL_FIRST_F, + IB_PC_RCV_DATA_SL1_F, + IB_PC_RCV_DATA_SL2_F, + IB_PC_RCV_DATA_SL3_F, + IB_PC_RCV_DATA_SL4_F, + IB_PC_RCV_DATA_SL5_F, + IB_PC_RCV_DATA_SL6_F, + IB_PC_RCV_DATA_SL7_F, + IB_PC_RCV_DATA_SL8_F, + IB_PC_RCV_DATA_SL9_F, + IB_PC_RCV_DATA_SL10_F, + IB_PC_RCV_DATA_SL11_F, + IB_PC_RCV_DATA_SL12_F, + IB_PC_RCV_DATA_SL13_F, + IB_PC_RCV_DATA_SL14_F, + IB_PC_RCV_DATA_SL15_F, + IB_PC_RCV_DATA_SL_LAST_F, + + /* + * PortXmitDiscardDetails fields + */ + /* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */ + IB_PC_XMT_INACT_DISC_F, + IB_PC_XMT_NEIGH_MTU_DISC_F, + IB_PC_XMT_SW_LIFE_DISC_F, + IB_PC_XMT_SW_HOL_DISC_F, + IB_PC_XMT_DISC_LAST_F, + + /* + * PortRcvErrorDetails fields + */ + /* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */ + IB_PC_RCV_LOCAL_PHY_ERR_F, + IB_PC_RCV_MALFORMED_PKT_ERR_F, + IB_PC_RCV_BUF_OVR_ERR_F, + IB_PC_RCV_DLID_MAP_ERR_F, + IB_PC_RCV_VL_MAP_ERR_F, + IB_PC_RCV_LOOPING_ERR_F, + IB_PC_RCV_ERR_LAST_F, + + /* + * PortSamplesControl fields + */ + IB_PSC_OPCODE_F, + IB_PSC_PORT_SELECT_F, + IB_PSC_TICK_F, + IB_PSC_COUNTER_WIDTH_F, + IB_PSC_COUNTER_MASK0_F, + IB_PSC_COUNTER_MASKS1TO9_F, + IB_PSC_COUNTER_MASKS10TO14_F, + IB_PSC_SAMPLE_MECHS_F, + IB_PSC_SAMPLE_STATUS_F, + IB_PSC_OPTION_MASK_F, + IB_PSC_VENDOR_MASK_F, + IB_PSC_SAMPLE_START_F, + IB_PSC_SAMPLE_INTVL_F, + IB_PSC_TAG_F, + IB_PSC_COUNTER_SEL0_F, + IB_PSC_COUNTER_SEL1_F, + IB_PSC_COUNTER_SEL2_F, + IB_PSC_COUNTER_SEL3_F, + IB_PSC_COUNTER_SEL4_F, + IB_PSC_COUNTER_SEL5_F, + IB_PSC_COUNTER_SEL6_F, + IB_PSC_COUNTER_SEL7_F, + IB_PSC_COUNTER_SEL8_F, + IB_PSC_COUNTER_SEL9_F, + IB_PSC_COUNTER_SEL10_F, + IB_PSC_COUNTER_SEL11_F, + IB_PSC_COUNTER_SEL12_F, + IB_PSC_COUNTER_SEL13_F, + IB_PSC_COUNTER_SEL14_F, + IB_PSC_SAMPLES_ONLY_OPT_MASK_F, + IB_PSC_LAST_F, + + /* + * GUIDInfo fields + */ + IB_GI_GUID0_F, /* a duplicate of IB_GUID_GUID0_F for backwards + compatibility */ + IB_GI_GUID1_F, + IB_GI_GUID2_F, + IB_GI_GUID3_F, + IB_GI_GUID4_F, + IB_GI_GUID5_F, + IB_GI_GUID6_F, + IB_GI_GUID7_F, + + /* + * GUID Info Record + */ + IB_SA_GIR_LID_F, + IB_SA_GIR_BLOCKNUM_F, + IB_SA_GIR_GUID0_F, + IB_SA_GIR_GUID1_F, + IB_SA_GIR_GUID2_F, + IB_SA_GIR_GUID3_F, + IB_SA_GIR_GUID4_F, + IB_SA_GIR_GUID5_F, + IB_SA_GIR_GUID6_F, + IB_SA_GIR_GUID7_F, + + /* + * More PortInfo fields + */ + IB_PORT_CAPMASK2_F, + IB_PORT_LINK_SPEED_EXT_ACTIVE_F, + IB_PORT_LINK_SPEED_EXT_SUPPORTED_F, + IB_PORT_LINK_SPEED_EXT_ENABLED_F, + IB_PORT_LINK_SPEED_EXT_LAST_F, + + /* + * PortExtendedSpeedsCounters fields + */ + IB_PESC_PORT_SELECT_F, + IB_PESC_COUNTER_SELECT_F, + IB_PESC_SYNC_HDR_ERR_CTR_F, + IB_PESC_UNK_BLOCK_CTR_F, + IB_PESC_ERR_DET_CTR_LANE0_F, + IB_PESC_ERR_DET_CTR_LANE1_F, + IB_PESC_ERR_DET_CTR_LANE2_F, + IB_PESC_ERR_DET_CTR_LANE3_F, + IB_PESC_ERR_DET_CTR_LANE4_F, + IB_PESC_ERR_DET_CTR_LANE5_F, + IB_PESC_ERR_DET_CTR_LANE6_F, + IB_PESC_ERR_DET_CTR_LANE7_F, + IB_PESC_ERR_DET_CTR_LANE8_F, + IB_PESC_ERR_DET_CTR_LANE9_F, + IB_PESC_ERR_DET_CTR_LANE10_F, + IB_PESC_ERR_DET_CTR_LANE11_F, + IB_PESC_FEC_CORR_BLOCK_CTR_LANE0_F, + IB_PESC_FEC_CORR_BLOCK_CTR_LANE1_F, + IB_PESC_FEC_CORR_BLOCK_CTR_LANE2_F, + IB_PESC_FEC_CORR_BLOCK_CTR_LANE3_F, + IB_PESC_FEC_CORR_BLOCK_CTR_LANE4_F, + IB_PESC_FEC_CORR_BLOCK_CTR_LANE5_F, + IB_PESC_FEC_CORR_BLOCK_CTR_LANE6_F, + IB_PESC_FEC_CORR_BLOCK_CTR_LANE7_F, + IB_PESC_FEC_CORR_BLOCK_CTR_LANE8_F, + IB_PESC_FEC_CORR_BLOCK_CTR_LANE9_F, + IB_PESC_FEC_CORR_BLOCK_CTR_LANE10_F, + IB_PESC_FEC_CORR_BLOCK_CTR_LANE11_F, + IB_PESC_FEC_UNCORR_BLOCK_CTR_LANE0_F, + IB_PESC_FEC_UNCORR_BLOCK_CTR_LANE1_F, + IB_PESC_FEC_UNCORR_BLOCK_CTR_LANE2_F, + IB_PESC_FEC_UNCORR_BLOCK_CTR_LANE3_F, + IB_PESC_FEC_UNCORR_BLOCK_CTR_LANE4_F, + IB_PESC_FEC_UNCORR_BLOCK_CTR_LANE5_F, + IB_PESC_FEC_UNCORR_BLOCK_CTR_LANE6_F, + IB_PESC_FEC_UNCORR_BLOCK_CTR_LANE7_F, + IB_PESC_FEC_UNCORR_BLOCK_CTR_LANE8_F, + IB_PESC_FEC_UNCORR_BLOCK_CTR_LANE9_F, + IB_PESC_FEC_UNCORR_BLOCK_CTR_LANE10_F, + IB_PESC_FEC_UNCORR_BLOCK_CTR_LANE11_F, + IB_PESC_LAST_F, + + /* + * PortOpRcvCounters fields + */ + IB_PC_PORT_OP_RCV_COUNTERS_FIRST_F, /* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */ + IB_PC_PORT_OP_RCV_PKTS_F = IB_PC_PORT_OP_RCV_COUNTERS_FIRST_F, + IB_PC_PORT_OP_RCV_DATA_F, + IB_PC_PORT_OP_RCV_COUNTERS_LAST_F, + + /* + * PortFlowCtlCounters fields + */ + IB_PC_PORT_FLOW_CTL_COUNTERS_FIRST_F, /* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */ + IB_PC_PORT_XMIT_FLOW_PKTS_F = IB_PC_PORT_FLOW_CTL_COUNTERS_FIRST_F, + IB_PC_PORT_RCV_FLOW_PKTS_F, + IB_PC_PORT_FLOW_CTL_COUNTERS_LAST_F, + + /* + * PortVLOpPackets fields + */ + IB_PC_PORT_VL_OP_PACKETS_FIRST_F, /* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */ + IB_PC_PORT_VL_OP_PACKETS0_F = IB_PC_PORT_VL_OP_PACKETS_FIRST_F, + IB_PC_PORT_VL_OP_PACKETS1_F, + IB_PC_PORT_VL_OP_PACKETS2_F, + IB_PC_PORT_VL_OP_PACKETS3_F, + IB_PC_PORT_VL_OP_PACKETS4_F, + IB_PC_PORT_VL_OP_PACKETS5_F, + IB_PC_PORT_VL_OP_PACKETS6_F, + IB_PC_PORT_VL_OP_PACKETS7_F, + IB_PC_PORT_VL_OP_PACKETS8_F, + IB_PC_PORT_VL_OP_PACKETS9_F, + IB_PC_PORT_VL_OP_PACKETS10_F, + IB_PC_PORT_VL_OP_PACKETS11_F, + IB_PC_PORT_VL_OP_PACKETS12_F, + IB_PC_PORT_VL_OP_PACKETS13_F, + IB_PC_PORT_VL_OP_PACKETS14_F, + IB_PC_PORT_VL_OP_PACKETS15_F, + IB_PC_PORT_VL_OP_PACKETS_LAST_F, + + /* + * PortVLOpData fields + */ + IB_PC_PORT_VL_OP_DATA_FIRST_F, /* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */ + IB_PC_PORT_VL_OP_DATA0_F = IB_PC_PORT_VL_OP_DATA_FIRST_F, + IB_PC_PORT_VL_OP_DATA1_F, + IB_PC_PORT_VL_OP_DATA2_F, + IB_PC_PORT_VL_OP_DATA3_F, + IB_PC_PORT_VL_OP_DATA4_F, + IB_PC_PORT_VL_OP_DATA5_F, + IB_PC_PORT_VL_OP_DATA6_F, + IB_PC_PORT_VL_OP_DATA7_F, + IB_PC_PORT_VL_OP_DATA8_F, + IB_PC_PORT_VL_OP_DATA9_F, + IB_PC_PORT_VL_OP_DATA10_F, + IB_PC_PORT_VL_OP_DATA11_F, + IB_PC_PORT_VL_OP_DATA12_F, + IB_PC_PORT_VL_OP_DATA13_F, + IB_PC_PORT_VL_OP_DATA14_F, + IB_PC_PORT_VL_OP_DATA15_F, + IB_PC_PORT_VL_OP_DATA_LAST_F, + + /* + * PortVLXmitFlowCtlUpdateErrors fields + */ + IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS_FIRST_F, /* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */ + IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS0_F = IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS_FIRST_F, + IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS1_F, + IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS2_F, + IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS3_F, + IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS4_F, + IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS5_F, + IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS6_F, + IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS7_F, + IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS8_F, + IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS9_F, + IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS10_F, + IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS11_F, + IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS12_F, + IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS13_F, + IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS14_F, + IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS15_F, + IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS_LAST_F, + + /* + * PortVLXmitWaitCounters fields + */ + IB_PC_PORT_VL_XMIT_WAIT_COUNTERS_FIRST_F, /* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */ + IB_PC_PORT_VL_XMIT_WAIT0_F = IB_PC_PORT_VL_XMIT_WAIT_COUNTERS_FIRST_F, + IB_PC_PORT_VL_XMIT_WAIT1_F, + IB_PC_PORT_VL_XMIT_WAIT2_F, + IB_PC_PORT_VL_XMIT_WAIT3_F, + IB_PC_PORT_VL_XMIT_WAIT4_F, + IB_PC_PORT_VL_XMIT_WAIT5_F, + IB_PC_PORT_VL_XMIT_WAIT6_F, + IB_PC_PORT_VL_XMIT_WAIT7_F, + IB_PC_PORT_VL_XMIT_WAIT8_F, + IB_PC_PORT_VL_XMIT_WAIT9_F, + IB_PC_PORT_VL_XMIT_WAIT10_F, + IB_PC_PORT_VL_XMIT_WAIT11_F, + IB_PC_PORT_VL_XMIT_WAIT12_F, + IB_PC_PORT_VL_XMIT_WAIT13_F, + IB_PC_PORT_VL_XMIT_WAIT14_F, + IB_PC_PORT_VL_XMIT_WAIT15_F, + IB_PC_PORT_VL_XMIT_WAIT_COUNTERS_LAST_F, + + /* + * SwPortVLCongestion fields + */ + IB_PC_SW_PORT_VL_CONGESTION_FIRST_F, /* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */ + IB_PC_SW_PORT_VL_CONGESTION0_F = IB_PC_SW_PORT_VL_CONGESTION_FIRST_F, + IB_PC_SW_PORT_VL_CONGESTION1_F, + IB_PC_SW_PORT_VL_CONGESTION2_F, + IB_PC_SW_PORT_VL_CONGESTION3_F, + IB_PC_SW_PORT_VL_CONGESTION4_F, + IB_PC_SW_PORT_VL_CONGESTION5_F, + IB_PC_SW_PORT_VL_CONGESTION6_F, + IB_PC_SW_PORT_VL_CONGESTION7_F, + IB_PC_SW_PORT_VL_CONGESTION8_F, + IB_PC_SW_PORT_VL_CONGESTION9_F, + IB_PC_SW_PORT_VL_CONGESTION10_F, + IB_PC_SW_PORT_VL_CONGESTION11_F, + IB_PC_SW_PORT_VL_CONGESTION12_F, + IB_PC_SW_PORT_VL_CONGESTION13_F, + IB_PC_SW_PORT_VL_CONGESTION14_F, + IB_PC_SW_PORT_VL_CONGESTION15_F, + IB_PC_SW_PORT_VL_CONGESTION_LAST_F, + + /* + * PortRcvConCtrl fields + */ + IB_PC_RCV_CON_CTRL_FIRST_F, /* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */ + IB_PC_RCV_CON_CTRL_PKT_RCV_FECN_F = IB_PC_RCV_CON_CTRL_FIRST_F, + IB_PC_RCV_CON_CTRL_PKT_RCV_BECN_F, + IB_PC_RCV_CON_CTRL_LAST_F, + + /* + * PortSLRcvFECN fields + */ + IB_PC_SL_RCV_FECN_FIRST_F, /* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */ + IB_PC_SL_RCV_FECN0_F = IB_PC_SL_RCV_FECN_FIRST_F, + IB_PC_SL_RCV_FECN1_F, + IB_PC_SL_RCV_FECN2_F, + IB_PC_SL_RCV_FECN3_F, + IB_PC_SL_RCV_FECN4_F, + IB_PC_SL_RCV_FECN5_F, + IB_PC_SL_RCV_FECN6_F, + IB_PC_SL_RCV_FECN7_F, + IB_PC_SL_RCV_FECN8_F, + IB_PC_SL_RCV_FECN9_F, + IB_PC_SL_RCV_FECN10_F, + IB_PC_SL_RCV_FECN11_F, + IB_PC_SL_RCV_FECN12_F, + IB_PC_SL_RCV_FECN13_F, + IB_PC_SL_RCV_FECN14_F, + IB_PC_SL_RCV_FECN15_F, + IB_PC_SL_RCV_FECN_LAST_F, + + /* + * PortSLRcvBECN fields + */ + IB_PC_SL_RCV_BECN_FIRST_F, /* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */ + IB_PC_SL_RCV_BECN0_F = IB_PC_SL_RCV_BECN_FIRST_F, + IB_PC_SL_RCV_BECN1_F, + IB_PC_SL_RCV_BECN2_F, + IB_PC_SL_RCV_BECN3_F, + IB_PC_SL_RCV_BECN4_F, + IB_PC_SL_RCV_BECN5_F, + IB_PC_SL_RCV_BECN6_F, + IB_PC_SL_RCV_BECN7_F, + IB_PC_SL_RCV_BECN8_F, + IB_PC_SL_RCV_BECN9_F, + IB_PC_SL_RCV_BECN10_F, + IB_PC_SL_RCV_BECN11_F, + IB_PC_SL_RCV_BECN12_F, + IB_PC_SL_RCV_BECN13_F, + IB_PC_SL_RCV_BECN14_F, + IB_PC_SL_RCV_BECN15_F, + IB_PC_SL_RCV_BECN_LAST_F, + + /* + * PortXmitConCtrl fields + */ + IB_PC_XMIT_CON_CTRL_FIRST_F, /* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */ + IB_PC_XMIT_CON_CTRL_TIME_CONG_F = IB_PC_XMIT_CON_CTRL_FIRST_F, + IB_PC_XMIT_CON_CTRL_LAST_F, + + /* + * PortVLXmitTimeCong fields + */ + IB_PC_VL_XMIT_TIME_CONG_FIRST_F, /* for PortSelect and CounterSelect, use IB_PC_PORT_SELECT_F and IB_PC_COUNTER_SELECT_F */ + IB_PC_VL_XMIT_TIME_CONG0_F = IB_PC_VL_XMIT_TIME_CONG_FIRST_F, + IB_PC_VL_XMIT_TIME_CONG1_F, + IB_PC_VL_XMIT_TIME_CONG2_F, + IB_PC_VL_XMIT_TIME_CONG3_F, + IB_PC_VL_XMIT_TIME_CONG4_F, + IB_PC_VL_XMIT_TIME_CONG5_F, + IB_PC_VL_XMIT_TIME_CONG6_F, + IB_PC_VL_XMIT_TIME_CONG7_F, + IB_PC_VL_XMIT_TIME_CONG8_F, + IB_PC_VL_XMIT_TIME_CONG9_F, + IB_PC_VL_XMIT_TIME_CONG10_F, + IB_PC_VL_XMIT_TIME_CONG11_F, + IB_PC_VL_XMIT_TIME_CONG12_F, + IB_PC_VL_XMIT_TIME_CONG13_F, + IB_PC_VL_XMIT_TIME_CONG14_F, + IB_PC_VL_XMIT_TIME_CONG_LAST_F, + + /* + * Mellanox ExtendedPortInfo fields + */ + IB_MLNX_EXT_PORT_STATE_CHG_ENABLE_F, + IB_MLNX_EXT_PORT_LINK_SPEED_SUPPORTED_F, + IB_MLNX_EXT_PORT_LINK_SPEED_ENABLED_F, + IB_MLNX_EXT_PORT_LINK_SPEED_ACTIVE_F, + IB_MLNX_EXT_PORT_LAST_F, + + /* + * Congestion Control Mad fields + * bytes 24-31 of congestion control mad + */ + IB_CC_CCKEY_F, + + /* + * CongestionInfo fields + */ + IB_CC_CONGESTION_INFO_FIRST_F, + IB_CC_CONGESTION_INFO_F = IB_CC_CONGESTION_INFO_FIRST_F, + IB_CC_CONGESTION_INFO_CONTROL_TABLE_CAP_F, + IB_CC_CONGESTION_INFO_LAST_F, + + /* + * CongestionKeyInfo fields + */ + IB_CC_CONGESTION_KEY_INFO_FIRST_F, + IB_CC_CONGESTION_KEY_INFO_CC_KEY_F = IB_CC_CONGESTION_KEY_INFO_FIRST_F, + IB_CC_CONGESTION_KEY_INFO_CC_KEY_PROTECT_BIT_F, + IB_CC_CONGESTION_KEY_INFO_CC_KEY_LEASE_PERIOD_F, + IB_CC_CONGESTION_KEY_INFO_CC_KEY_VIOLATIONS_F, + IB_CC_CONGESTION_KEY_INFO_LAST_F, + + /* + * CongestionLog (common) fields + */ + IB_CC_CONGESTION_LOG_FIRST_F, + IB_CC_CONGESTION_LOG_LOGTYPE_F = IB_CC_CONGESTION_LOG_FIRST_F, + IB_CC_CONGESTION_LOG_CONGESTION_FLAGS_F, + IB_CC_CONGESTION_LOG_LAST_F, + + /* + * CongestionLog (Switch) fields + */ + IB_CC_CONGESTION_LOG_SWITCH_FIRST_F, + IB_CC_CONGESTION_LOG_SWITCH_LOG_EVENTS_COUNTER_F = IB_CC_CONGESTION_LOG_SWITCH_FIRST_F, + IB_CC_CONGESTION_LOG_SWITCH_CURRENT_TIME_STAMP_F, + IB_CC_CONGESTION_LOG_SWITCH_PORTMAP_F, + IB_CC_CONGESTION_LOG_SWITCH_LAST_F, + + /* + * CongestionLogEvent (Switch) fields + */ + IB_CC_CONGESTION_LOG_ENTRY_SWITCH_FIRST_F, + IB_CC_CONGESTION_LOG_ENTRY_SWITCH_SLID_F = IB_CC_CONGESTION_LOG_ENTRY_SWITCH_FIRST_F, + IB_CC_CONGESTION_LOG_ENTRY_SWITCH_DLID_F, + IB_CC_CONGESTION_LOG_ENTRY_SWITCH_SL_F, + IB_CC_CONGESTION_LOG_ENTRY_SWITCH_TIMESTAMP_F, + IB_CC_CONGESTION_LOG_ENTRY_SWITCH_LAST_F, + + /* + * CongestionLog (CA) fields + */ + IB_CC_CONGESTION_LOG_CA_FIRST_F, + IB_CC_CONGESTION_LOG_CA_THRESHOLD_EVENT_COUNTER_F = IB_CC_CONGESTION_LOG_CA_FIRST_F, + IB_CC_CONGESTION_LOG_CA_THRESHOLD_CONGESTION_EVENT_MAP_F, + IB_CC_CONGESTION_LOG_CA_CURRENT_TIMESTAMP_F, + IB_CC_CONGESTION_LOG_CA_LAST_F, + + /* + * CongestionLogEvent (CA) fields + */ + IB_CC_CONGESTION_LOG_ENTRY_CA_FIRST_F, + IB_CC_CONGESTION_LOG_ENTRY_CA_LOCAL_QP_CN_ENTRY_F = IB_CC_CONGESTION_LOG_ENTRY_CA_FIRST_F, + IB_CC_CONGESTION_LOG_ENTRY_CA_SL_CN_ENTRY_F, + IB_CC_CONGESTION_LOG_ENTRY_CA_SERVICE_TYPE_CN_ENTRY_F, + IB_CC_CONGESTION_LOG_ENTRY_CA_REMOTE_QP_NUMBER_CN_ENTRY_F, + IB_CC_CONGESTION_LOG_ENTRY_CA_LOCAL_LID_CN_F, + IB_CC_CONGESTION_LOG_ENTRY_CA_REMOTE_LID_CN_ENTRY_F, + IB_CC_CONGESTION_LOG_ENTRY_CA_TIMESTAMP_CN_ENTRY_F, + IB_CC_CONGESTION_LOG_ENTRY_CA_LAST_F, + + /* + * SwitchCongestionSetting fields + */ + IB_CC_SWITCH_CONGESTION_SETTING_FIRST_F, + IB_CC_SWITCH_CONGESTION_SETTING_CONTROL_MAP_F = IB_CC_SWITCH_CONGESTION_SETTING_FIRST_F, + IB_CC_SWITCH_CONGESTION_SETTING_VICTIM_MASK_F, + IB_CC_SWITCH_CONGESTION_SETTING_CREDIT_MASK_F, + IB_CC_SWITCH_CONGESTION_SETTING_THRESHOLD_F, + IB_CC_SWITCH_CONGESTION_SETTING_PACKET_SIZE_F, + IB_CC_SWITCH_CONGESTION_SETTING_CS_THRESHOLD_F, + IB_CC_SWITCH_CONGESTION_SETTING_CS_RETURN_DELAY_F, + IB_CC_SWITCH_CONGESTION_SETTING_MARKING_RATE_F, + IB_CC_SWITCH_CONGESTION_SETTING_LAST_F, + + /* + * SwitchPortCongestionSettingElement fields + */ + IB_CC_SWITCH_PORT_CONGESTION_SETTING_ELEMENT_FIRST_F, + IB_CC_SWITCH_PORT_CONGESTION_SETTING_ELEMENT_VALID_F = IB_CC_SWITCH_PORT_CONGESTION_SETTING_ELEMENT_FIRST_F, + IB_CC_SWITCH_PORT_CONGESTION_SETTING_ELEMENT_CONTROL_TYPE_F, + IB_CC_SWITCH_PORT_CONGESTION_SETTING_ELEMENT_THRESHOLD_F, + IB_CC_SWITCH_PORT_CONGESTION_SETTING_ELEMENT_PACKET_SIZE_F, + IB_CC_SWITCH_PORT_CONGESTION_SETTING_ELEMENT_CONG_PARM_MARKING_RATE_F, + IB_CC_SWITCH_PORT_CONGESTION_SETTING_ELEMENT_LAST_F, + + /* + * CACongestionSetting fields + */ + IB_CC_CA_CONGESTION_SETTING_FIRST_F, + IB_CC_CA_CONGESTION_SETTING_PORT_CONTROL_F = IB_CC_CA_CONGESTION_SETTING_FIRST_F, + IB_CC_CA_CONGESTION_SETTING_CONTROL_MAP_F, + IB_CC_CA_CONGESTION_SETTING_LAST_F, + + /* + * CACongestionEntry fields + */ + IB_CC_CA_CONGESTION_ENTRY_FIRST_F, + IB_CC_CA_CONGESTION_ENTRY_CCTI_TIMER_F = IB_CC_CA_CONGESTION_ENTRY_FIRST_F, + IB_CC_CA_CONGESTION_ENTRY_CCTI_INCREASE_F, + IB_CC_CA_CONGESTION_ENTRY_TRIGGER_THRESHOLD_F, + IB_CC_CA_CONGESTION_ENTRY_CCTI_MIN_F, + IB_CC_CA_CONGESTION_ENTRY_LAST_F, + + /* + * CongestionControlTable fields + */ + IB_CC_CONGESTION_CONTROL_TABLE_FIRST_F, + IB_CC_CONGESTION_CONTROL_TABLE_CCTI_LIMIT_F = IB_CC_CONGESTION_CONTROL_TABLE_FIRST_F, + IB_CC_CONGESTION_CONTROL_TABLE_LAST_F, + + /* + * CongestionControlTableEntry fields + */ + IB_CC_CONGESTION_CONTROL_TABLE_ENTRY_FIRST_F, + IB_CC_CONGESTION_CONTROL_TABLE_ENTRY_CCT_SHIFT_F = IB_CC_CONGESTION_CONTROL_TABLE_ENTRY_FIRST_F, + IB_CC_CONGESTION_CONTROL_TABLE_ENTRY_CCT_MULTIPLIER_F, + IB_CC_CONGESTION_CONTROL_TABLE_ENTRY_LAST_F, + + /* + * Timestamp fields + */ + IB_CC_TIMESTAMP_FIRST_F, + IB_CC_TIMESTAMP_F = IB_CC_TIMESTAMP_FIRST_F, + IB_CC_TIMESTAMP_LAST_F, + + /* + * Node Record + */ + IB_SA_NR_FIRST_F, + IB_SA_NR_LID_F = IB_SA_NR_FIRST_F, + IB_SA_NR_BASEVER_F, + IB_SA_NR_CLASSVER_F, + IB_SA_NR_TYPE_F, + IB_SA_NR_NPORTS_F, + IB_SA_NR_SYSTEM_GUID_F, + IB_SA_NR_GUID_F, + IB_SA_NR_PORT_GUID_F, + IB_SA_NR_PARTITION_CAP_F, + IB_SA_NR_DEVID_F, + IB_SA_NR_REVISION_F, + IB_SA_NR_LOCAL_PORT_F, + IB_SA_NR_VENDORID_F, + IB_SA_NR_NODEDESC_F, + IB_SA_NR_LAST_F, + + /* + * PortSamplesResult fields + */ + IB_PSR_TAG_F, + IB_PSR_SAMPLE_STATUS_F, + IB_PSR_COUNTER0_F, + IB_PSR_COUNTER1_F, + IB_PSR_COUNTER2_F, + IB_PSR_COUNTER3_F, + IB_PSR_COUNTER4_F, + IB_PSR_COUNTER5_F, + IB_PSR_COUNTER6_F, + IB_PSR_COUNTER7_F, + IB_PSR_COUNTER8_F, + IB_PSR_COUNTER9_F, + IB_PSR_COUNTER10_F, + IB_PSR_COUNTER11_F, + IB_PSR_COUNTER12_F, + IB_PSR_COUNTER13_F, + IB_PSR_COUNTER14_F, + IB_PSR_LAST_F, + + /* + * PortInfoExtended fields + */ + IB_PORT_EXT_FIRST_F, + IB_PORT_EXT_CAPMASK_F = IB_PORT_EXT_FIRST_F, + IB_PORT_EXT_FEC_MODE_ACTIVE_F, + IB_PORT_EXT_FDR_FEC_MODE_SUPPORTED_F, + IB_PORT_EXT_FDR_FEC_MODE_ENABLED_F, + IB_PORT_EXT_EDR_FEC_MODE_SUPPORTED_F, + IB_PORT_EXT_EDR_FEC_MODE_ENABLED_F, + IB_PORT_EXT_LAST_F, + + /* + * PortExtendedSpeedsCounters RSFEC active fields + */ + IB_PESC_RSFEC_FIRST_F, + IB_PESC_RSFEC_PORT_SELECT_F = IB_PESC_RSFEC_FIRST_F, + IB_PESC_RSFEC_COUNTER_SELECT_F, + IB_PESC_RSFEC_SYNC_HDR_ERR_CTR_F, + IB_PESC_RSFEC_UNK_BLOCK_CTR_F, + IB_PESC_RSFEC_FEC_CORR_SYMBOL_CTR_LANE0_F, + IB_PESC_RSFEC_FEC_CORR_SYMBOL_CTR_LANE1_F, + IB_PESC_RSFEC_FEC_CORR_SYMBOL_CTR_LANE2_F, + IB_PESC_RSFEC_FEC_CORR_SYMBOL_CTR_LANE3_F, + IB_PESC_RSFEC_FEC_CORR_SYMBOL_CTR_LANE4_F, + IB_PESC_RSFEC_FEC_CORR_SYMBOL_CTR_LANE5_F, + IB_PESC_RSFEC_FEC_CORR_SYMBOL_CTR_LANE6_F, + IB_PESC_RSFEC_FEC_CORR_SYMBOL_CTR_LANE7_F, + IB_PESC_RSFEC_FEC_CORR_SYMBOL_CTR_LANE8_F, + IB_PESC_RSFEC_FEC_CORR_SYMBOL_CTR_LANE9_F, + IB_PESC_RSFEC_FEC_CORR_SYMBOL_CTR_LANE10_F, + IB_PESC_RSFEC_FEC_CORR_SYMBOL_CTR_LANE11_F, + IB_PESC_PORT_FEC_CORR_BLOCK_CTR_F, + IB_PESC_PORT_FEC_UNCORR_BLOCK_CTR_F, + IB_PESC_PORT_FEC_CORR_SYMBOL_CTR_F, + IB_PESC_RSFEC_LAST_F, + + /* + * More PortCountersExtended fields + */ + IB_PC_EXT_COUNTER_SELECT2_F, + IB_PC_EXT_ERR_SYM_F, + IB_PC_EXT_LINK_RECOVERS_F, + IB_PC_EXT_LINK_DOWNED_F, + IB_PC_EXT_ERR_RCV_F, + IB_PC_EXT_ERR_PHYSRCV_F, + IB_PC_EXT_ERR_SWITCH_REL_F, + IB_PC_EXT_XMT_DISCARDS_F, + IB_PC_EXT_ERR_XMTCONSTR_F, + IB_PC_EXT_ERR_RCVCONSTR_F, + IB_PC_EXT_ERR_LOCALINTEG_F, + IB_PC_EXT_ERR_EXCESS_OVR_F, + IB_PC_EXT_VL15_DROPPED_F, + IB_PC_EXT_XMT_WAIT_F, + IB_PC_EXT_QP1_DROP_F, + IB_PC_EXT_ERR_LAST_F, + + IB_FIELD_LAST_ /* must be last */ +}; + +/* + * SA RMPP section + */ +enum RMPP_TYPE_ENUM { + IB_RMPP_TYPE_NONE, + IB_RMPP_TYPE_DATA, + IB_RMPP_TYPE_ACK, + IB_RMPP_TYPE_STOP, + IB_RMPP_TYPE_ABORT, +}; + +enum RMPP_FLAGS_ENUM { + IB_RMPP_FLAG_ACTIVE = 1 << 0, + IB_RMPP_FLAG_FIRST = 1 << 1, + IB_RMPP_FLAG_LAST = 1 << 2, +}; + +typedef struct { + int type; + int flags; + int status; + union { + uint32_t u; + uint32_t segnum; + } d1; + union { + uint32_t u; + uint32_t len; + uint32_t newwin; + } d2; +} ib_rmpp_hdr_t; + +enum SA_SIZES_ENUM { + SA_HEADER_SZ = 20, +}; + +typedef struct ib_sa_call { + unsigned attrid; + unsigned mod; + uint64_t mask; + unsigned method; + + uint64_t trid; /* used for out mad if nonzero, return real val */ + unsigned recsz; /* return field */ + ib_rmpp_hdr_t rmpp; +} ib_sa_call_t; + +typedef struct ib_vendor_call { + unsigned method; + unsigned mgmt_class; + unsigned attrid; + unsigned mod; + uint32_t oui; + unsigned timeout; + ib_rmpp_hdr_t rmpp; +} ib_vendor_call_t; + +typedef struct ib_bm_call { + unsigned method; + unsigned attrid; + unsigned mod; + unsigned timeout; + uint64_t bkey; +} ib_bm_call_t; + +#define IB_MIN_UCAST_LID 1 +#define IB_MAX_UCAST_LID (0xc000-1) +#define IB_MIN_MCAST_LID 0xc000 +#define IB_MAX_MCAST_LID (0xffff-1) + +#define IB_LID_VALID(lid) ((lid) >= IB_MIN_UCAST_LID && lid <= IB_MAX_UCAST_LID) +#define IB_MLID_VALID(lid) ((lid) >= IB_MIN_MCAST_LID && lid <= IB_MAX_MCAST_LID) + +#define MAD_DEF_RETRIES 3 +#define MAD_DEF_TIMEOUT_MS 1000 + +enum MAD_DEST { + IB_DEST_LID, + IB_DEST_DRPATH, + IB_DEST_GUID, + IB_DEST_DRSLID, + IB_DEST_GID +}; + +enum MAD_NODE_TYPE { + IB_NODE_CA = 1, + IB_NODE_SWITCH, + IB_NODE_ROUTER, + NODE_RNIC, + + IB_NODE_MAX = NODE_RNIC +}; + +/******************************************************************************/ + +/* portid.c */ +MAD_EXPORT char *portid2str(ib_portid_t * portid); +MAD_EXPORT int portid2portnum(ib_portid_t * portid); +MAD_EXPORT int str2drpath(ib_dr_path_t * path, char *routepath, int drslid, + int drdlid); +MAD_EXPORT char *drpath2str(ib_dr_path_t * path, char *dstr, size_t dstr_size); + +static inline int ib_portid_set(ib_portid_t * portid, int lid, int qp, int qkey) +{ + portid->lid = lid; + portid->qp = qp; + portid->qkey = qkey; + portid->grh_present = 0; + + return 0; +} + +/* fields.c */ +MAD_EXPORT uint32_t mad_get_field(void *buf, int base_offs, + enum MAD_FIELDS field); +MAD_EXPORT void mad_set_field(void *buf, int base_offs, enum MAD_FIELDS field, + uint32_t val); +/* field must be byte aligned */ +MAD_EXPORT uint64_t mad_get_field64(void *buf, int base_offs, + enum MAD_FIELDS field); +MAD_EXPORT void mad_set_field64(void *buf, int base_offs, enum MAD_FIELDS field, + uint64_t val); +MAD_EXPORT void mad_set_array(void *buf, int base_offs, enum MAD_FIELDS field, + void *val); +MAD_EXPORT void mad_get_array(void *buf, int base_offs, enum MAD_FIELDS field, + void *val); +MAD_EXPORT void mad_decode_field(uint8_t * buf, enum MAD_FIELDS field, + void *val); +MAD_EXPORT void mad_encode_field(uint8_t * buf, enum MAD_FIELDS field, + void *val); +MAD_EXPORT int mad_print_field(enum MAD_FIELDS field, const char *name, + void *val); +MAD_EXPORT char *mad_dump_field(enum MAD_FIELDS field, char *buf, int bufsz, + void *val); +MAD_EXPORT char *mad_dump_val(enum MAD_FIELDS field, char *buf, int bufsz, + void *val); +MAD_EXPORT const char *mad_field_name(enum MAD_FIELDS field); + +/* mad.c */ +MAD_EXPORT void *mad_encode(void *buf, ib_rpc_t * rpc, ib_dr_path_t * drpath, + void *data); +MAD_EXPORT uint64_t mad_trid(void); +MAD_EXPORT int mad_build_pkt(void *umad, ib_rpc_t * rpc, ib_portid_t * dport, + ib_rmpp_hdr_t * rmpp, void *data); + +/* New interface */ +MAD_EXPORT void madrpc_show_errors(int set); +MAD_EXPORT int madrpc_set_retries(int retries); +MAD_EXPORT int madrpc_set_timeout(int timeout); +MAD_EXPORT struct ibmad_port *mad_rpc_open_port(char *dev_name, int dev_port, + int *mgmt_classes, + int num_classes); +MAD_EXPORT void mad_rpc_close_port(struct ibmad_port *srcport); + +/* + * On redirection, the dport argument is updated with the redirection target, + * so subsequent MADs will not go through the redirection process again but + * reach the target directly. + */ +MAD_EXPORT void *mad_rpc(const struct ibmad_port *srcport, ib_rpc_t * rpc, + ib_portid_t * dport, void *payload, void *rcvdata); + +MAD_EXPORT void *mad_rpc_rmpp(const struct ibmad_port *srcport, ib_rpc_t * rpc, + ib_portid_t * dport, ib_rmpp_hdr_t * rmpp, + void *data); +MAD_EXPORT int mad_rpc_portid(struct ibmad_port *srcport); +MAD_EXPORT void mad_rpc_set_retries(struct ibmad_port *port, int retries); +MAD_EXPORT void mad_rpc_set_timeout(struct ibmad_port *port, int timeout); +MAD_EXPORT int mad_rpc_class_agent(struct ibmad_port *srcport, int cls); + +MAD_EXPORT int mad_get_timeout(const struct ibmad_port *srcport, + int override_ms); +MAD_EXPORT int mad_get_retries(const struct ibmad_port *srcport); + +/* register.c */ +MAD_EXPORT int mad_register_port_client(int port_id, int mgmt, + uint8_t rmpp_version); +MAD_EXPORT int mad_register_client(int mgmt, uint8_t rmpp_version) DEPRECATED; +MAD_EXPORT int mad_register_server(int mgmt, uint8_t rmpp_version, + long method_mask[16 / sizeof(long)], + uint32_t class_oui) DEPRECATED; +/* register.c new interface */ +MAD_EXPORT int mad_register_client_via(int mgmt, uint8_t rmpp_version, + struct ibmad_port *srcport); +MAD_EXPORT int mad_register_server_via(int mgmt, uint8_t rmpp_version, + long method_mask[16 / sizeof(long)], + uint32_t class_oui, + struct ibmad_port *srcport); +MAD_EXPORT int mad_class_agent(int mgmt) DEPRECATED; + +/* serv.c */ +MAD_EXPORT int mad_send(ib_rpc_t * rpc, ib_portid_t * dport, + ib_rmpp_hdr_t * rmpp, void *data) DEPRECATED; +MAD_EXPORT void *mad_receive(void *umad, int timeout) DEPRECATED; +MAD_EXPORT int mad_respond(void *umad, ib_portid_t * portid, uint32_t rstatus) + DEPRECATED; + +/* serv.c new interface */ +MAD_EXPORT int mad_send_via(ib_rpc_t * rpc, ib_portid_t * dport, + ib_rmpp_hdr_t * rmpp, void *data, + struct ibmad_port *srcport); +MAD_EXPORT void *mad_receive_via(void *umad, int timeout, + struct ibmad_port *srcport); +MAD_EXPORT int mad_respond_via(void *umad, ib_portid_t * portid, + uint32_t rstatus, struct ibmad_port *srcport); +MAD_EXPORT void *mad_alloc(void); +MAD_EXPORT void mad_free(void *umad); + +/* vendor.c */ +MAD_EXPORT uint8_t *ib_vendor_call(void *data, ib_portid_t * portid, + ib_vendor_call_t * call) DEPRECATED; + +/* vendor.c new interface */ +MAD_EXPORT uint8_t *ib_vendor_call_via(void *data, ib_portid_t * portid, + ib_vendor_call_t * call, + struct ibmad_port *srcport); + +static inline int mad_is_vendor_range1(int mgmt) +{ + return mgmt >= 0x9 && mgmt <= 0xf; +} + +static inline int mad_is_vendor_range2(int mgmt) +{ + return mgmt >= 0x30 && mgmt <= 0x4f; +} + +/* rpc.c */ +MAD_EXPORT int madrpc_portid(void) DEPRECATED; +void *madrpc(ib_rpc_t * rpc, ib_portid_t * dport, void *payload, void *rcvdata) + DEPRECATED; +void *madrpc_rmpp(ib_rpc_t * rpc, ib_portid_t * dport, ib_rmpp_hdr_t * rmpp, + void *data) DEPRECATED; +MAD_EXPORT void madrpc_init(char *dev_name, int dev_port, int *mgmt_classes, + int num_classes) DEPRECATED; +void madrpc_save_mad(void *madbuf, int len) DEPRECATED; + +/* smp.c */ +MAD_EXPORT uint8_t *smp_query(void *buf, ib_portid_t * id, unsigned attrid, + unsigned mod, unsigned timeout) DEPRECATED; +MAD_EXPORT uint8_t *smp_set(void *buf, ib_portid_t * id, unsigned attrid, + unsigned mod, unsigned timeout) DEPRECATED; + +/* smp.c new interface */ +MAD_EXPORT uint8_t *smp_query_via(void *buf, ib_portid_t * id, unsigned attrid, + unsigned mod, unsigned timeout, + const struct ibmad_port *srcport); +MAD_EXPORT uint8_t *smp_set_via(void *buf, ib_portid_t * id, unsigned attrid, + unsigned mod, unsigned timeout, + const struct ibmad_port *srcport); +MAD_EXPORT uint8_t *smp_query_status_via(void *rcvbuf, ib_portid_t * portid, + unsigned attrid, unsigned mod, + unsigned timeout, int *rstatus, + const struct ibmad_port *srcport); +MAD_EXPORT uint8_t *smp_set_status_via(void *data, ib_portid_t * portid, + unsigned attrid, unsigned mod, + unsigned timeout, int *rstatus, + const struct ibmad_port *srcport); +MAD_EXPORT void smp_mkey_set(struct ibmad_port *srcport, uint64_t mkey); +MAD_EXPORT uint64_t smp_mkey_get(const struct ibmad_port *srcport); + +/* cc.c */ +MAD_EXPORT void *cc_query_status_via(void *rcvbuf, ib_portid_t * portid, + unsigned attrid, unsigned mod, unsigned timeout, + int *rstatus, const struct ibmad_port * srcport, + uint64_t cckey); + +MAD_EXPORT void *cc_config_status_via(void *payload, void *rcvbuf, ib_portid_t * portid, + unsigned attrid, unsigned mod, unsigned timeout, + int *rstatus, const struct ibmad_port * srcport, + uint64_t cckey); + +/* sa.c */ +uint8_t *sa_call(void *rcvbuf, ib_portid_t * portid, ib_sa_call_t * sa, + unsigned timeout) DEPRECATED; +MAD_EXPORT int ib_path_query(ibmad_gid_t srcgid, ibmad_gid_t destgid, + ib_portid_t * sm_id, void *buf) DEPRECATED; + +/* sa.c new interface */ +MAD_EXPORT uint8_t *sa_rpc_call(const struct ibmad_port *srcport, void *rcvbuf, + ib_portid_t * portid, ib_sa_call_t * sa, + unsigned timeout); +MAD_EXPORT int ib_path_query_via(const struct ibmad_port *srcport, + ibmad_gid_t srcgid, ibmad_gid_t destgid, + ib_portid_t * sm_id, void *buf); + /* returns lid */ +MAD_EXPORT int ib_node_query_via(const struct ibmad_port *srcport, + uint64_t guid, ib_portid_t * sm_id, + void *buf); + +/* resolve.c */ +MAD_EXPORT int ib_resolve_smlid(ib_portid_t * sm_id, int timeout) DEPRECATED; +MAD_EXPORT int ib_resolve_portid_str(ib_portid_t * portid, char *addr_str, + enum MAD_DEST dest, ib_portid_t * sm_id) + DEPRECATED; +MAD_EXPORT int ib_resolve_self(ib_portid_t * portid, int *portnum, + ibmad_gid_t * gid) DEPRECATED; + +/* resolve.c new interface */ +MAD_EXPORT int ib_resolve_smlid_via(ib_portid_t * sm_id, int timeout, + const struct ibmad_port *srcport); +MAD_EXPORT int ib_resolve_guid_via(ib_portid_t * portid, uint64_t * guid, + ib_portid_t * sm_id, int timeout, + const struct ibmad_port *srcport); +MAD_EXPORT int ib_resolve_gid_via(ib_portid_t * portid, ibmad_gid_t gid, + ib_portid_t * sm_id, int timeout, + const struct ibmad_port *srcport); +MAD_EXPORT int ib_resolve_portid_str_via(ib_portid_t * portid, char *addr_str, + enum MAD_DEST dest, + ib_portid_t * sm_id, + const struct ibmad_port *srcport); +MAD_EXPORT int ib_resolve_self_via(ib_portid_t * portid, int *portnum, + ibmad_gid_t * gid, + const struct ibmad_port *srcport); + +/* gs.c new interface */ +MAD_EXPORT uint8_t *pma_query_via(void *rcvbuf, ib_portid_t * dest, int port, + unsigned timeout, unsigned id, + const struct ibmad_port *srcport); +MAD_EXPORT uint8_t *performance_reset_via(void *rcvbuf, ib_portid_t * dest, + int port, unsigned mask, + unsigned timeout, unsigned id, + const struct ibmad_port *srcport); + +/* bm.c */ +MAD_EXPORT uint8_t *bm_call_via(void *data, ib_portid_t * portid, + ib_bm_call_t * call, + struct ibmad_port *srcport); + +/* dump.c */ +MAD_EXPORT ib_mad_dump_fn + mad_dump_int, mad_dump_uint, mad_dump_hex, mad_dump_rhex, + mad_dump_bitfield, mad_dump_array, mad_dump_string, + mad_dump_linkwidth, mad_dump_linkwidthsup, mad_dump_linkwidthen, + mad_dump_linkdowndefstate, + mad_dump_linkspeed, mad_dump_linkspeedsup, mad_dump_linkspeeden, + mad_dump_linkspeedext, mad_dump_linkspeedextsup, mad_dump_linkspeedexten, + mad_dump_portstate, mad_dump_portstates, + mad_dump_physportstate, mad_dump_portcapmask, + mad_dump_mtu, mad_dump_vlcap, mad_dump_opervls, + mad_dump_node_type, mad_dump_sltovl, mad_dump_vlarbitration, + mad_dump_nodedesc, mad_dump_nodeinfo, mad_dump_portinfo, + mad_dump_switchinfo, mad_dump_perfcounters, mad_dump_perfcounters_ext, + mad_dump_perfcounters_xmt_sl, mad_dump_perfcounters_rcv_sl, + mad_dump_perfcounters_xmt_disc, mad_dump_perfcounters_rcv_err, + mad_dump_portsamples_control, mad_dump_port_ext_speeds_counters, + mad_dump_perfcounters_port_op_rcv_counters, mad_dump_perfcounters_port_flow_ctl_counters, + mad_dump_perfcounters_port_vl_op_packet, mad_dump_perfcounters_port_vl_op_data, + mad_dump_perfcounters_port_vl_xmit_flow_ctl_update_errors, mad_dump_perfcounters_port_vl_xmit_wait_counters, + mad_dump_perfcounters_sw_port_vl_congestion, mad_dump_perfcounters_rcv_con_ctrl, + mad_dump_perfcounters_sl_rcv_fecn, mad_dump_perfcounters_sl_rcv_becn, + mad_dump_perfcounters_xmit_con_ctrl, mad_dump_perfcounters_vl_xmit_time_cong, + mad_dump_mlnx_ext_port_info, mad_dump_cc_congestioninfo, mad_dump_cc_congestionkeyinfo, + mad_dump_cc_congestionlog, mad_dump_cc_congestionlogswitch, + mad_dump_cc_congestionlogentryswitch, mad_dump_cc_congestionlogca, + mad_dump_cc_congestionlogentryca, mad_dump_cc_switchcongestionsetting, + mad_dump_cc_switchportcongestionsettingelement, mad_dump_cc_cacongestionsetting, + mad_dump_cc_cacongestionentry, mad_dump_cc_congestioncontroltable, + mad_dump_cc_congestioncontroltableentry, mad_dump_cc_timestamp, + mad_dump_classportinfo, mad_dump_portsamples_result, + mad_dump_portinfo_ext, mad_dump_port_ext_speeds_counters_rsfec_active; + +MAD_EXPORT void mad_dump_fields(char *buf, int bufsz, void *val, int valsz, + int start, int end); + +extern MAD_EXPORT int ibdebug; + +#if __BYTE_ORDER == __LITTLE_ENDIAN +#ifndef ntohll +#define ntohll bswap_64 +#endif +#ifndef htonll +#define htonll bswap_64 +#endif +#elif __BYTE_ORDER == __BIG_ENDIAN +#ifndef ntohll +#define ntohll(x) (x) +#endif +#ifndef htonll +#define htonll(x) (x) +#endif +#endif /* __BYTE_ORDER == __BIG_ENDIAN */ + +/* Misc. macros: */ +/** align value \a l to \a size (ceil) */ +#define ALIGN(l, size) (((l) + ((size) - 1)) / (size) * (size)) + +/** printf style warning MACRO, includes name of function and pid */ +#define IBWARN(fmt, ...) fprintf(stderr, "ibwarn: [%d] %s: " fmt "\n", \ +(int)getpid(), __func__, ## __VA_ARGS__) + +#define IBDEBUG(fmt, ...) fprintf(stdout, "ibdebug: [%d] %s: " fmt "\n", \ +(int)getpid(), __func__, ## __VA_ARGS__) + +#define IBVERBOSE(fmt, ...) fprintf(stdout, "[%d] %s: " fmt "\n", \ +(int)getpid(), __func__, ## __VA_ARGS__) + +#define IBPANIC(fmt, ...) do { \ + fprintf(stderr, "ibpanic: [%d] %s: " fmt ": %m\n", \ + (int)getpid(), __func__, ## __VA_ARGS__); \ + exit(-1); \ +} while(0) + +MAD_EXPORT void xdump(FILE * file, char *msg, void *p, int size); + +END_C_DECLS +#endif /* _MAD_H_ */ diff --git a/include/ibdiag_version.h b/libibmad/include/infiniband/mad_osd.h similarity index 78% copy from include/ibdiag_version.h copy to libibmad/include/infiniband/mad_osd.h index 142d718..923be55 100644 --- a/include/ibdiag_version.h +++ b/libibmad/include/infiniband/mad_osd.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008 Voltaire Inc. All rights reserved. + * Copyright (c) 2004-2009 Voltaire 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 @@ -30,10 +30,20 @@ * SOFTWARE. * */ +#ifndef _MAD_OSD_H_ +#define _MAD_OSD_H_ -#ifndef _IBDIAG_VERSION_H_ -#define _IBDIAG_VERSION_H_ +#include +#include +#include +#include +#include +#include +#include +#include +#include -#define IBDIAG_VERSION "1.6.7" +#define MAD_EXPORT +#define DEPRECATED __attribute__ ((deprecated)) -#endif /* _IBDIAG_VERSION_H_ */ +#endif /* _MAD_OSD_H_ */ diff --git a/libibmad/libibmad.ver b/libibmad/libibmad.ver new file mode 100644 index 0000000..4578eaf --- /dev/null +++ b/libibmad/libibmad.ver @@ -0,0 +1,9 @@ +# In this file we track the current API version +# of the IB mad interface (and libraries) +# The version is built of the following +# tree numbers: +# API_REV:RUNNING_REV:AGE +# API_REV - advance on any added API +# RUNNING_REV - advance any change to the vendor files +# AGE - number of backward versions the API still supports +LIBVERSION=10:0:5 diff --git a/libibmad/src/bm.c b/libibmad/src/bm.c new file mode 100644 index 0000000..3181451 --- /dev/null +++ b/libibmad/src/bm.c @@ -0,0 +1,107 @@ +/* + * Copyright (c) 2004-2009 Voltaire 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 + * General Public License (GPL) Version 2, available from the file + * COPYING in the main directory of this source tree, or the + * OpenIB.org BSD license below: + * + * Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: + * + * - Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * + * - Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + */ + +#if HAVE_CONFIG_H +# include +#endif /* HAVE_CONFIG_H */ + +#include + +#include + +#undef DEBUG +#define DEBUG if (ibdebug) IBWARN + +static inline int response_expected(int method) +{ + return method == IB_MAD_METHOD_GET || + method == IB_MAD_METHOD_SET || method == IB_MAD_METHOD_TRAP; +} + +uint8_t *bm_call_via(void *data, ib_portid_t * portid, ib_bm_call_t * call, + struct ibmad_port * srcport) +{ + ib_rpc_t rpc = { 0 }; + int resp_expected; + struct { + uint64_t bkey; + uint8_t reserved[32]; + uint8_t data[IB_BM_DATA_SZ]; + } bm_data; + + DEBUG("route %s data %p", portid2str(portid), data); + if (portid->lid <= 0) { + IBWARN("only lid routes are supported"); + return NULL; + } + + resp_expected = response_expected(call->method); + + rpc.mgtclass = IB_BOARD_MGMT_CLASS; + + rpc.method = call->method; + rpc.attr.id = call->attrid; + rpc.attr.mod = call->mod; + rpc.timeout = resp_expected ? call->timeout : 0; + // send data and bkey + rpc.datasz = IB_BM_BKEY_AND_DATA_SZ; + rpc.dataoffs = IB_BM_BKEY_OFFS; + + // copy data to a buffer which also includes the bkey + bm_data.bkey = htonll(call->bkey); + memset(bm_data.reserved, 0, sizeof(bm_data.reserved)); + memcpy(bm_data.data, data, IB_BM_DATA_SZ); + + DEBUG + ("method 0x%x attr 0x%x mod 0x%x datasz %d off %d res_ex %d bkey 0x%08x%08x", + rpc.method, rpc.attr.id, rpc.attr.mod, rpc.datasz, rpc.dataoffs, + resp_expected, (int)(call->bkey >> 32), (int)call->bkey); + + portid->qp = 1; + if (!portid->qkey) + portid->qkey = IB_DEFAULT_QP1_QKEY; + + if (resp_expected) { + /* FIXME: no RMPP for now */ + if (mad_rpc(srcport, &rpc, portid, &bm_data, &bm_data)) + goto return_ok; + return NULL; + } + + if (mad_send_via(&rpc, portid, 0, &bm_data, srcport) < 0) + return NULL; + +return_ok: + memcpy(data, bm_data.data, IB_BM_DATA_SZ); + return data; +} diff --git a/libibmad/src/cc.c b/libibmad/src/cc.c new file mode 100644 index 0000000..cae174e --- /dev/null +++ b/libibmad/src/cc.c @@ -0,0 +1,118 @@ +/* + * Copyright (c) 2011 Lawrence Livermore National Lab. 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 + * General Public License (GPL) Version 2, available from the file + * COPYING in the main directory of this source tree, or the + * OpenIB.org BSD license below: + * + * Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: + * + * - Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * + * - Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + */ + +#if HAVE_CONFIG_H +# include +#endif /* HAVE_CONFIG_H */ + +#include +#include +#include + +#include +#include "mad_internal.h" + +#undef DEBUG +#define DEBUG if (ibdebug) IBWARN + +void *cc_query_status_via(void *rcvbuf, ib_portid_t * portid, + unsigned attrid, unsigned mod, unsigned timeout, + int *rstatus, const struct ibmad_port * srcport, + uint64_t cckey) +{ + ib_rpc_cc_t rpc = { 0 }; + void *res; + + DEBUG("attr 0x%x mod 0x%x route %s", attrid, mod, portid2str(portid)); + rpc.method = IB_MAD_METHOD_GET; + rpc.attr.id = attrid; + rpc.attr.mod = mod; + rpc.timeout = timeout; + if (attrid == IB_CC_ATTR_CONGESTION_LOG) { + rpc.datasz = IB_CC_LOG_DATA_SZ; + rpc.dataoffs = IB_CC_LOG_DATA_OFFS; + } + else { + rpc.datasz = IB_CC_DATA_SZ; + rpc.dataoffs = IB_CC_DATA_OFFS; + } + rpc.mgtclass = IB_CC_CLASS; + rpc.cckey = cckey; + + portid->qp = 1; + if (!portid->qkey) + portid->qkey = IB_DEFAULT_QP1_QKEY; + + res = mad_rpc(srcport, (ib_rpc_t *)&rpc, portid, rcvbuf, rcvbuf); + if (rstatus) + *rstatus = rpc.rstatus; + + return res; +} + +void *cc_config_status_via(void *payload, void *rcvbuf, ib_portid_t * portid, + unsigned attrid, unsigned mod, unsigned timeout, + int *rstatus, const struct ibmad_port * srcport, + uint64_t cckey) +{ + ib_rpc_cc_t rpc = { 0 }; + void *res; + + DEBUG("attr 0x%x mod 0x%x route %s", attrid, mod, portid2str(portid)); + rpc.method = IB_MAD_METHOD_SET; + rpc.attr.id = attrid; + rpc.attr.mod = mod; + rpc.timeout = timeout; + if (attrid == IB_CC_ATTR_CONGESTION_LOG) { + rpc.datasz = IB_CC_LOG_DATA_SZ; + rpc.dataoffs = IB_CC_LOG_DATA_OFFS; + } + else { + rpc.datasz = IB_CC_DATA_SZ; + rpc.dataoffs = IB_CC_DATA_OFFS; + } + rpc.mgtclass = IB_CC_CLASS; + rpc.cckey = cckey; + + portid->qp = 1; + if (!portid->qkey) + portid->qkey = IB_DEFAULT_QP1_QKEY; + + res = mad_rpc(srcport, (ib_rpc_t *)&rpc, portid, payload, rcvbuf); + if (rstatus) + *rstatus = rpc.rstatus; + + return res; +} + + diff --git a/libibmad/src/dump.c b/libibmad/src/dump.c new file mode 100644 index 0000000..b491bc2 --- /dev/null +++ b/libibmad/src/dump.c @@ -0,0 +1,1162 @@ +/* + * Copyright (c) 2004-2009 Voltaire Inc. All rights reserved. + * Copyright (c) 2007 Xsigo Systems Inc. All rights reserved. + * Copyright (c) 2009-2011 Mellanox Technologies LTD. All rights reserved. + * Copyright (c) 2009 HNR Consulting. 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 + * General Public License (GPL) Version 2, available from the file + * COPYING in the main directory of this source tree, or the + * OpenIB.org BSD license below: + * + * Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: + * + * - Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * + * - Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + */ + +#if HAVE_CONFIG_H +# include +#endif /* HAVE_CONFIG_H */ + +#include +#include +#include + +#include + +void mad_dump_int(char *buf, int bufsz, void *val, int valsz) +{ + switch (valsz) { + case 1: + snprintf(buf, bufsz, "%d", *(uint32_t *) val & 0xff); + break; + case 2: + snprintf(buf, bufsz, "%d", *(uint32_t *) val & 0xffff); + break; + case 3: + case 4: + snprintf(buf, bufsz, "%d", *(uint32_t *) val); + break; + case 5: + case 6: + case 7: + case 8: + snprintf(buf, bufsz, "%" PRIu64, *(uint64_t *) val); + break; + default: + IBWARN("bad int sz %d", valsz); + buf[0] = 0; + } +} + +void mad_dump_uint(char *buf, int bufsz, void *val, int valsz) +{ + switch (valsz) { + case 1: + snprintf(buf, bufsz, "%u", *(uint32_t *) val & 0xff); + break; + case 2: + snprintf(buf, bufsz, "%u", *(uint32_t *) val & 0xffff); + break; + case 3: + case 4: + snprintf(buf, bufsz, "%u", *(uint32_t *) val); + break; + case 5: + case 6: + case 7: + case 8: + snprintf(buf, bufsz, "%" PRIu64, *(uint64_t *) val); + break; + default: + IBWARN("bad int sz %u", valsz); + buf[0] = 0; + } +} + +void mad_dump_hex(char *buf, int bufsz, void *val, int valsz) +{ + switch (valsz) { + case 1: + snprintf(buf, bufsz, "0x%02x", *(uint32_t *) val & 0xff); + break; + case 2: + snprintf(buf, bufsz, "0x%04x", *(uint32_t *) val & 0xffff); + break; + case 3: + snprintf(buf, bufsz, "0x%06x", *(uint32_t *) val & 0xffffff); + break; + case 4: + snprintf(buf, bufsz, "0x%08x", *(uint32_t *) val); + break; + case 5: + snprintf(buf, bufsz, "0x%010" PRIx64, + *(uint64_t *) val & (uint64_t) 0xffffffffffULL); + break; + case 6: + snprintf(buf, bufsz, "0x%012" PRIx64, + *(uint64_t *) val & (uint64_t) 0xffffffffffffULL); + break; + case 7: + snprintf(buf, bufsz, "0x%014" PRIx64, + *(uint64_t *) val & (uint64_t) 0xffffffffffffffULL); + break; + case 8: + snprintf(buf, bufsz, "0x%016" PRIx64, *(uint64_t *) val); + break; + default: + IBWARN("bad int sz %d", valsz); + buf[0] = 0; + } +} + +void mad_dump_rhex(char *buf, int bufsz, void *val, int valsz) +{ + switch (valsz) { + case 1: + snprintf(buf, bufsz, "%02x", *(uint32_t *) val & 0xff); + break; + case 2: + snprintf(buf, bufsz, "%04x", *(uint32_t *) val & 0xffff); + break; + case 3: + snprintf(buf, bufsz, "%06x", *(uint32_t *) val & 0xffffff); + break; + case 4: + snprintf(buf, bufsz, "%08x", *(uint32_t *) val); + break; + case 5: + snprintf(buf, bufsz, "%010" PRIx64, + *(uint64_t *) val & (uint64_t) 0xffffffffffULL); + break; + case 6: + snprintf(buf, bufsz, "%012" PRIx64, + *(uint64_t *) val & (uint64_t) 0xffffffffffffULL); + break; + case 7: + snprintf(buf, bufsz, "%014" PRIx64, + *(uint64_t *) val & (uint64_t) 0xffffffffffffffULL); + break; + case 8: + snprintf(buf, bufsz, "%016" PRIx64, *(uint64_t *) val); + break; + default: + IBWARN("bad int sz %d", valsz); + buf[0] = 0; + } +} + +void mad_dump_linkwidth(char *buf, int bufsz, void *val, int valsz) +{ + int width = *(int *)val; + + switch (width) { + case 1: + snprintf(buf, bufsz, "1X"); + break; + case 2: + snprintf(buf, bufsz, "4X"); + break; + case 4: + snprintf(buf, bufsz, "8X"); + break; + case 8: + snprintf(buf, bufsz, "12X"); + break; + default: + IBWARN("bad width %d", width); + snprintf(buf, bufsz, "undefined (%d)", width); + break; + } +} + +static void dump_linkwidth(char *buf, int bufsz, int width) +{ + int n = 0; + + if (width & 0x1) + n += snprintf(buf + n, bufsz - n, "1X or "); + if (n < bufsz && (width & 0x2)) + n += snprintf(buf + n, bufsz - n, "4X or "); + if (n < bufsz && (width & 0x4)) + n += snprintf(buf + n, bufsz - n, "8X or "); + if (n < bufsz && (width & 0x8)) + n += snprintf(buf + n, bufsz - n, "12X or "); + + if (n >= bufsz) + return; + else if (width == 0 || (width >> 4)) + snprintf(buf + n, bufsz - n, "undefined (%d)", width); + else if (bufsz > 3) + buf[n - 4] = '\0'; +} + +void mad_dump_linkwidthsup(char *buf, int bufsz, void *val, int valsz) +{ + int width = *(int *)val; + + dump_linkwidth(buf, bufsz, width); + + switch (width) { + case 1: + case 3: + case 7: + case 11: + case 15: + break; + + default: + if (!(width >> 4)) + snprintf(buf + strlen(buf), bufsz - strlen(buf), + " (IBA extension)"); + break; + } +} + +void mad_dump_linkwidthen(char *buf, int bufsz, void *val, int valsz) +{ + int width = *(int *)val; + + dump_linkwidth(buf, bufsz, width); +} + +void mad_dump_linkspeed(char *buf, int bufsz, void *val, int valsz) +{ + int speed = *(int *)val; + + switch (speed) { + case 0: + snprintf(buf, bufsz, "Extended speed"); + break; + case 1: + snprintf(buf, bufsz, "2.5 Gbps"); + break; + case 2: + snprintf(buf, bufsz, "5.0 Gbps"); + break; + case 4: + snprintf(buf, bufsz, "10.0 Gbps"); + break; + default: + snprintf(buf, bufsz, "undefined (%d)", speed); + break; + } +} + +static void dump_linkspeed(char *buf, int bufsz, int speed) +{ + int n = 0; + + if (speed & 0x1) + n += snprintf(buf + n, bufsz - n, "2.5 Gbps or "); + if (n < bufsz && (speed & 0x2)) + n += snprintf(buf + n, bufsz - n, "5.0 Gbps or "); + if (n < bufsz && (speed & 0x4)) + n += snprintf(buf + n, bufsz - n, "10.0 Gbps or "); + + if (n >= bufsz) + return; + else if (speed == 0 || (speed >> 3)) { + n += snprintf(buf + n, bufsz - n, "undefined (%d)", speed); + if (n >= bufsz) + return; + } else if (bufsz > 3) { + buf[n - 4] = '\0'; + n -= 4; + } + + switch (speed) { + case 1: + case 3: + case 5: + case 7: + break; + default: + if (!(speed >> 3)) + snprintf(buf + n, bufsz - n, " (IBA extension)"); + break; + } +} + +void mad_dump_linkspeedsup(char *buf, int bufsz, void *val, int valsz) +{ + int speed = *(int *)val; + + dump_linkspeed(buf, bufsz, speed); +} + +void mad_dump_linkspeeden(char *buf, int bufsz, void *val, int valsz) +{ + int speed = *(int *)val; + + dump_linkspeed(buf, bufsz, speed); +} + +void mad_dump_linkspeedext(char *buf, int bufsz, void *val, int valsz) +{ + int speed = *(int *)val; + + switch (speed) { + case 0: + snprintf(buf, bufsz, "No Extended Speed"); + break; + case 1: + snprintf(buf, bufsz, "14.0625 Gbps"); + break; + case 2: + snprintf(buf, bufsz, "25.78125 Gbps"); + break; + default: + snprintf(buf, bufsz, "undefined (%d)", speed); + break; + } +} + +static void dump_linkspeedext(char *buf, int bufsz, int speed) +{ + int n = 0; + + if (speed == 0) { + sprintf(buf, "%d", speed); + return; + } + + if (speed & 0x1) + n += snprintf(buf + n, bufsz - n, "14.0625 Gbps or "); + if (n < bufsz && speed & 0x2) + n += snprintf(buf + n, bufsz - n, "25.78125 Gbps or "); + if (n >= bufsz) { + if (bufsz > 3) + buf[n - 4] = '\0'; + return; + } + + if (speed >> 2) { + n += snprintf(buf + n, bufsz - n, "undefined (%d)", speed); + return; + } else if (bufsz > 3) + buf[n - 4] = '\0'; +} + +void mad_dump_linkspeedextsup(char *buf, int bufsz, void *val, int valsz) +{ + int speed = *(int *)val; + + dump_linkspeedext(buf, bufsz, speed); +} + +void mad_dump_linkspeedexten(char *buf, int bufsz, void *val, int valsz) +{ + int speed = *(int *)val; + + if (speed == 30) { + sprintf(buf, "%s", "Extended link speeds disabled"); + return; + } + dump_linkspeedext(buf, bufsz, speed); +} + +void mad_dump_portstate(char *buf, int bufsz, void *val, int valsz) +{ + int state = *(int *)val; + + switch (state) { + case 0: + snprintf(buf, bufsz, "NoChange"); + break; + case 1: + snprintf(buf, bufsz, "Down"); + break; + case 2: + snprintf(buf, bufsz, "Initialize"); + break; + case 3: + snprintf(buf, bufsz, "Armed"); + break; + case 4: + snprintf(buf, bufsz, "Active"); + break; + default: + snprintf(buf, bufsz, "?(%d)", state); + } +} + +void mad_dump_linkdowndefstate(char *buf, int bufsz, void *val, int valsz) +{ + int state = *(int *)val; + + switch (state) { + case 0: + snprintf(buf, bufsz, "NoChange"); + break; + case 1: + snprintf(buf, bufsz, "Sleep"); + break; + case 2: + snprintf(buf, bufsz, "Polling"); + break; + default: + snprintf(buf, bufsz, "?(%d)", state); + break; + } +} + +void mad_dump_physportstate(char *buf, int bufsz, void *val, int valsz) +{ + int state = *(int *)val; + + switch (state) { + case 0: + snprintf(buf, bufsz, "NoChange"); + break; + case 1: + snprintf(buf, bufsz, "Sleep"); + break; + case 2: + snprintf(buf, bufsz, "Polling"); + break; + case 3: + snprintf(buf, bufsz, "Disabled"); + break; + case 4: + snprintf(buf, bufsz, "PortConfigurationTraining"); + break; + case 5: + snprintf(buf, bufsz, "LinkUp"); + break; + case 6: + snprintf(buf, bufsz, "LinkErrorRecovery"); + break; + case 7: + snprintf(buf, bufsz, "PhyTest"); + break; + default: + snprintf(buf, bufsz, "?(%d)", state); + } +} + +void mad_dump_mtu(char *buf, int bufsz, void *val, int valsz) +{ + int mtu = *(int *)val; + + switch (mtu) { + case 1: + snprintf(buf, bufsz, "256"); + break; + case 2: + snprintf(buf, bufsz, "512"); + break; + case 3: + snprintf(buf, bufsz, "1024"); + break; + case 4: + snprintf(buf, bufsz, "2048"); + break; + case 5: + snprintf(buf, bufsz, "4096"); + break; + default: + snprintf(buf, bufsz, "?(%d)", mtu); + } +} + +void mad_dump_vlcap(char *buf, int bufsz, void *val, int valsz) +{ + int vlcap = *(int *)val; + + switch (vlcap) { + case 1: + snprintf(buf, bufsz, "VL0"); + break; + case 2: + snprintf(buf, bufsz, "VL0-1"); + break; + case 3: + snprintf(buf, bufsz, "VL0-3"); + break; + case 4: + snprintf(buf, bufsz, "VL0-7"); + break; + case 5: + snprintf(buf, bufsz, "VL0-14"); + break; + default: + snprintf(buf, bufsz, "?(%d)", vlcap); + } +} + +void mad_dump_opervls(char *buf, int bufsz, void *val, int valsz) +{ + int opervls = *(int *)val; + + switch (opervls) { + case 0: + snprintf(buf, bufsz, "No change"); + break; + case 1: + snprintf(buf, bufsz, "VL0"); + break; + case 2: + snprintf(buf, bufsz, "VL0-1"); + break; + case 3: + snprintf(buf, bufsz, "VL0-3"); + break; + case 4: + snprintf(buf, bufsz, "VL0-7"); + break; + case 5: + snprintf(buf, bufsz, "VL0-14"); + break; + default: + snprintf(buf, bufsz, "?(%d)", opervls); + } +} + +void mad_dump_portcapmask(char *buf, int bufsz, void *val, int valsz) +{ + unsigned mask = *(unsigned *)val; + char *s = buf; + + s += sprintf(s, "0x%x\n", mask); + if (mask & (1 << 1)) + s += sprintf(s, "\t\t\t\tIsSM\n"); + if (mask & (1 << 2)) + s += sprintf(s, "\t\t\t\tIsNoticeSupported\n"); + if (mask & (1 << 3)) + s += sprintf(s, "\t\t\t\tIsTrapSupported\n"); + if (mask & (1 << 4)) + s += sprintf(s, "\t\t\t\tIsOptionalIPDSupported\n"); + if (mask & (1 << 5)) + s += sprintf(s, "\t\t\t\tIsAutomaticMigrationSupported\n"); + if (mask & (1 << 6)) + s += sprintf(s, "\t\t\t\tIsSLMappingSupported\n"); + if (mask & (1 << 7)) + s += sprintf(s, "\t\t\t\tIsMKeyNVRAM\n"); + if (mask & (1 << 8)) + s += sprintf(s, "\t\t\t\tIsPKeyNVRAM\n"); + if (mask & (1 << 9)) + s += sprintf(s, "\t\t\t\tIsLedInfoSupported\n"); + if (mask & (1 << 10)) + s += sprintf(s, "\t\t\t\tIsSMdisabled\n"); + if (mask & (1 << 11)) + s += sprintf(s, "\t\t\t\tIsSystemImageGUIDsupported\n"); + if (mask & (1 << 12)) + s += sprintf(s, + "\t\t\t\tIsPkeySwitchExternalPortTrapSupported\n"); + if (mask & (1 << 14)) + s += sprintf(s, "\t\t\t\tIsExtendedSpeedsSupported\n"); + if (mask & (1 << 15)) + s += sprintf(s, "\t\t\t\tIsCapabilityMask2Supported\n"); + if (mask & (1 << 16)) + s += sprintf(s, "\t\t\t\tIsCommunicatonManagementSupported\n"); + if (mask & (1 << 17)) + s += sprintf(s, "\t\t\t\tIsSNMPTunnelingSupported\n"); + if (mask & (1 << 18)) + s += sprintf(s, "\t\t\t\tIsReinitSupported\n"); + if (mask & (1 << 19)) + s += sprintf(s, "\t\t\t\tIsDeviceManagementSupported\n"); + if (mask & (1 << 20)) + s += sprintf(s, "\t\t\t\tIsVendorClassSupported\n"); + if (mask & (1 << 21)) + s += sprintf(s, "\t\t\t\tIsDRNoticeSupported\n"); + if (mask & (1 << 22)) + s += sprintf(s, "\t\t\t\tIsCapabilityMaskNoticeSupported\n"); + if (mask & (1 << 23)) + s += sprintf(s, "\t\t\t\tIsBootManagementSupported\n"); + if (mask & (1 << 24)) + s += sprintf(s, "\t\t\t\tIsLinkRoundTripLatencySupported\n"); + if (mask & (1 << 25)) + s += sprintf(s, "\t\t\t\tIsClientRegistrationSupported\n"); + if (mask & (1 << 26)) + s += sprintf(s, "\t\t\t\tIsOtherLocalChangesNoticeSupported\n"); + if (mask & (1 << 27)) + s += sprintf(s, + "\t\t\t\tIsLinkSpeedWidthPairsTableSupported\n"); + if (mask & (1 << 28)) + s += sprintf(s, "\t\t\t\tIsVendorSpecificMadsTableSupported\n"); + if (mask & (1 << 29)) + s += sprintf(s, "\t\t\t\tIsMcastPkeyTrapSuppressionSupported\n"); + if (mask & (1 << 30)) + s += sprintf(s, "\t\t\t\tIsMulticastFDBTopSupported\n"); + if (mask & (1 << 31)) + s += sprintf(s, "\t\t\t\tIsHierarchyInfoSupported\n"); + + if (s != buf) + *(--s) = 0; +} + +void mad_dump_bitfield(char *buf, int bufsz, void *val, int valsz) +{ + snprintf(buf, bufsz, "0x%x", *(uint32_t *) val); +} + +void mad_dump_array(char *buf, int bufsz, void *val, int valsz) +{ + uint8_t *p = val, *e; + char *s = buf; + + if (bufsz < valsz * 2) + valsz = bufsz / 2; + + for (p = val, e = p + valsz; p < e; p++, s += 2) + sprintf(s, "%02x", *p); +} + +void mad_dump_string(char *buf, int bufsz, void *val, int valsz) +{ + if (bufsz < valsz) + valsz = bufsz; + + snprintf(buf, valsz, "'%s'", (char *)val); +} + +void mad_dump_node_type(char *buf, int bufsz, void *val, int valsz) +{ + int nodetype = *(int *)val; + + switch (nodetype) { + case 1: + snprintf(buf, bufsz, "Channel Adapter"); + break; + case 2: + snprintf(buf, bufsz, "Switch"); + break; + case 3: + snprintf(buf, bufsz, "Router"); + break; + default: + snprintf(buf, bufsz, "?(%d)?", nodetype); + break; + } +} + +#define IB_MAX_NUM_VLS 16 +#define IB_MAX_NUM_VLS_TO_U8 ((IB_MAX_NUM_VLS)/2) + +typedef struct _ib_slvl_table { + uint8_t vl_by_sl_num[IB_MAX_NUM_VLS_TO_U8]; +} ib_slvl_table_t; + +static inline void ib_slvl_get_i(ib_slvl_table_t * tbl, int i, uint8_t * vl) +{ + *vl = (tbl->vl_by_sl_num[i >> 1] >> ((!(i & 1)) << 2)) & 0xf; +} + +#define IB_NUM_VL_ARB_ELEMENTS_IN_BLOCK 32 + +typedef struct _ib_vl_arb_table { + struct { + uint8_t res_vl; + uint8_t weight; + } vl_entry[IB_NUM_VL_ARB_ELEMENTS_IN_BLOCK]; +} ib_vl_arb_table_t; + +static inline void ib_vl_arb_get_vl(uint8_t res_vl, uint8_t * const vl) +{ + *vl = res_vl & 0x0F; +} + +void mad_dump_sltovl(char *buf, int bufsz, void *val, int valsz) +{ + ib_slvl_table_t *p_slvl_tbl = val; + uint8_t vl; + int i, n = 0; + n = snprintf(buf, bufsz, "|"); + for (i = 0; i < 16; i++) { + ib_slvl_get_i(p_slvl_tbl, i, &vl); + n += snprintf(buf + n, bufsz - n, "%2u|", vl); + if (n >= bufsz) + break; + } + snprintf(buf + n, bufsz - n, "\n"); +} + +void mad_dump_vlarbitration(char *buf, int bufsz, void *val, int num) +{ + ib_vl_arb_table_t *p_vla_tbl = val; + int i, n; + uint8_t vl; + + num /= sizeof(p_vla_tbl->vl_entry[0]); + + n = snprintf(buf, bufsz, "\nVL : |"); + if (n >= bufsz) + return; + for (i = 0; i < num; i++) { + ib_vl_arb_get_vl(p_vla_tbl->vl_entry[i].res_vl, &vl); + n += snprintf(buf + n, bufsz - n, "0x%-2X|", vl); + if (n >= bufsz) + return; + } + + n += snprintf(buf + n, bufsz - n, "\nWEIGHT: |"); + if (n >= bufsz) + return; + for (i = 0; i < num; i++) { + n += snprintf(buf + n, bufsz - n, "0x%-2X|", + p_vla_tbl->vl_entry[i].weight); + if (n >= bufsz) + return; + } + + snprintf(buf + n, bufsz - n, "\n"); +} + +static int _dump_fields(char *buf, int bufsz, void *data, int start, int end) +{ + char val[64]; + char *s = buf; + int n, field; + + for (field = start; field < end && bufsz > 0; field++) { + mad_decode_field(data, field, val); + if (!mad_dump_field(field, s, bufsz-1, val)) + return -1; + n = strlen(s); + s += n; + *s++ = '\n'; + *s = 0; + n++; + bufsz -= n; + } + + return (int)(s - buf); +} + +void mad_dump_fields(char *buf, int bufsz, void *val, int valsz, int start, + int end) +{ + _dump_fields(buf, bufsz, val, start, end); +} + +void mad_dump_nodedesc(char *buf, int bufsz, void *val, int valsz) +{ + strncpy(buf, val, bufsz); + + if (valsz < bufsz) + buf[valsz] = 0; +} + +void mad_dump_nodeinfo(char *buf, int bufsz, void *val, int valsz) +{ + _dump_fields(buf, bufsz, val, IB_NODE_FIRST_F, IB_NODE_LAST_F); +} + +void mad_dump_portinfo(char *buf, int bufsz, void *val, int valsz) +{ + int cnt; + + cnt = _dump_fields(buf, bufsz, val, IB_PORT_FIRST_F, IB_PORT_LAST_F); + if (cnt < 0) + return; + + _dump_fields(buf + cnt, bufsz - cnt, val, + IB_PORT_CAPMASK2_F, IB_PORT_LINK_SPEED_EXT_LAST_F); +} + +void mad_dump_portstates(char *buf, int bufsz, void *val, int valsz) +{ + _dump_fields(buf, bufsz, val, IB_PORT_STATE_F, IB_PORT_LINK_DOWN_DEF_F); +} + +void mad_dump_switchinfo(char *buf, int bufsz, void *val, int valsz) +{ + _dump_fields(buf, bufsz, val, IB_SW_FIRST_F, IB_SW_LAST_F); +} + +void mad_dump_perfcounters(char *buf, int bufsz, void *val, int valsz) +{ + _dump_fields(buf, bufsz, val, IB_PC_FIRST_F, IB_PC_LAST_F); +} + +void mad_dump_perfcounters_ext(char *buf, int bufsz, void *val, int valsz) +{ + int cnt; + + cnt = _dump_fields(buf, bufsz, val, IB_PC_EXT_FIRST_F, IB_PC_EXT_LAST_F); + if (cnt < 0) + return; + + _dump_fields(buf + cnt, bufsz - cnt, val, + IB_PC_EXT_COUNTER_SELECT2_F, IB_PC_EXT_ERR_LAST_F); +} + +void mad_dump_perfcounters_xmt_sl(char *buf, int bufsz, void *val, int valsz) +{ + int cnt; + + cnt = _dump_fields(buf, bufsz, val, IB_PC_EXT_PORT_SELECT_F, + IB_PC_EXT_XMT_BYTES_F); + if (cnt < 0) + return; + + _dump_fields(buf + cnt, bufsz - cnt, val, IB_PC_XMT_DATA_SL_FIRST_F, + IB_PC_XMT_DATA_SL_LAST_F); +} + +void mad_dump_perfcounters_rcv_sl(char *buf, int bufsz, void *val, int valsz) +{ + int cnt; + + cnt = _dump_fields(buf, bufsz, val, IB_PC_EXT_PORT_SELECT_F, + IB_PC_EXT_XMT_BYTES_F); + if (cnt < 0) + return; + + _dump_fields(buf + cnt, bufsz - cnt, val, IB_PC_RCV_DATA_SL_FIRST_F, + IB_PC_RCV_DATA_SL_LAST_F); +} + +void mad_dump_perfcounters_xmt_disc(char *buf, int bufsz, void *val, int valsz) +{ + int cnt; + + cnt = _dump_fields(buf, bufsz, val, IB_PC_EXT_PORT_SELECT_F, + IB_PC_EXT_XMT_BYTES_F); + if (cnt < 0) + return; + + _dump_fields(buf + cnt, bufsz - cnt, val, IB_PC_XMT_INACT_DISC_F, + IB_PC_XMT_DISC_LAST_F); +} + +void mad_dump_perfcounters_rcv_err(char *buf, int bufsz, void *val, int valsz) +{ + int cnt; + + cnt = _dump_fields(buf, bufsz, val, IB_PC_EXT_PORT_SELECT_F, + IB_PC_EXT_XMT_BYTES_F); + if (cnt < 0) + return; + + _dump_fields(buf + cnt, bufsz - cnt, val, IB_PC_RCV_LOCAL_PHY_ERR_F, + IB_PC_RCV_ERR_LAST_F); +} + +void mad_dump_portsamples_control(char *buf, int bufsz, void *val, int valsz) +{ + _dump_fields(buf, bufsz, val, IB_PSC_OPCODE_F, IB_PSC_LAST_F); +} + +void mad_dump_portsamples_result(char *buf, int bufsz, void *val, int valsz) +{ + _dump_fields(buf, bufsz, val, IB_PSR_TAG_F, IB_PSR_LAST_F); +} + +void mad_dump_port_ext_speeds_counters_rsfec_active(char *buf, int bufsz, + void *val, int valsz) +{ + _dump_fields(buf, bufsz, val, IB_PESC_RSFEC_FIRST_F, + IB_PESC_RSFEC_LAST_F); +} + +void mad_dump_port_ext_speeds_counters(char *buf, int bufsz, void *val, int valsz) +{ + _dump_fields(buf, bufsz, val, IB_PESC_PORT_SELECT_F, IB_PESC_LAST_F); +} + +void mad_dump_perfcounters_port_op_rcv_counters(char *buf, int bufsz, void *val, int valsz) +{ + int cnt; + + cnt = _dump_fields(buf, bufsz, val, IB_PC_EXT_PORT_SELECT_F, + IB_PC_EXT_XMT_BYTES_F); + if (cnt < 0) + return; + + _dump_fields(buf + cnt, bufsz - cnt, val, IB_PC_PORT_OP_RCV_COUNTERS_FIRST_F, + IB_PC_PORT_OP_RCV_COUNTERS_LAST_F); +} + +void mad_dump_perfcounters_port_flow_ctl_counters(char *buf, int bufsz, void *val, int valsz) +{ + int cnt; + + cnt = _dump_fields(buf, bufsz, val, IB_PC_EXT_PORT_SELECT_F, + IB_PC_EXT_XMT_BYTES_F); + if (cnt < 0) + return; + + _dump_fields(buf + cnt, bufsz - cnt, val, IB_PC_PORT_FLOW_CTL_COUNTERS_FIRST_F, + IB_PC_PORT_FLOW_CTL_COUNTERS_LAST_F); +} + +void mad_dump_perfcounters_port_vl_op_packet(char *buf, int bufsz, void *val, int valsz) +{ + int cnt; + + cnt = _dump_fields(buf, bufsz, val, IB_PC_EXT_PORT_SELECT_F, + IB_PC_EXT_XMT_BYTES_F); + if (cnt < 0) + return; + + _dump_fields(buf + cnt, bufsz - cnt, val, IB_PC_PORT_VL_OP_PACKETS_FIRST_F, + IB_PC_PORT_VL_OP_PACKETS_LAST_F); +} + +void mad_dump_perfcounters_port_vl_op_data(char *buf, int bufsz, void *val, int valsz) +{ + int cnt; + + cnt = _dump_fields(buf, bufsz, val, IB_PC_EXT_PORT_SELECT_F, + IB_PC_EXT_XMT_BYTES_F); + if (cnt < 0) + return; + + _dump_fields(buf + cnt, bufsz - cnt, val, IB_PC_PORT_VL_OP_DATA_FIRST_F, + IB_PC_PORT_VL_OP_DATA_LAST_F); +} + +void mad_dump_perfcounters_port_vl_xmit_flow_ctl_update_errors(char *buf, int bufsz, void *val, int valsz) +{ + int cnt; + + cnt = _dump_fields(buf, bufsz, val, IB_PC_EXT_PORT_SELECT_F, + IB_PC_EXT_XMT_BYTES_F); + if (cnt < 0) + return; + + _dump_fields(buf + cnt, bufsz - cnt, val, IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS_FIRST_F, + IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS_LAST_F); +} + +void mad_dump_perfcounters_port_vl_xmit_wait_counters(char *buf, int bufsz, void *val, int valsz) +{ + int cnt; + + cnt = _dump_fields(buf, bufsz, val, IB_PC_EXT_PORT_SELECT_F, + IB_PC_EXT_XMT_BYTES_F); + if (cnt < 0) + return; + + _dump_fields(buf + cnt, bufsz - cnt, val, IB_PC_PORT_VL_XMIT_WAIT_COUNTERS_FIRST_F, + IB_PC_PORT_VL_XMIT_WAIT_COUNTERS_LAST_F); +} + +void mad_dump_perfcounters_sw_port_vl_congestion(char *buf, int bufsz, void *val, int valsz) +{ + int cnt; + + cnt = _dump_fields(buf, bufsz, val, IB_PC_EXT_PORT_SELECT_F, + IB_PC_EXT_XMT_BYTES_F); + if (cnt < 0) + return; + + _dump_fields(buf + cnt, bufsz - cnt, val, IB_PC_SW_PORT_VL_CONGESTION_FIRST_F, + IB_PC_SW_PORT_VL_CONGESTION_LAST_F); +} + +void mad_dump_perfcounters_rcv_con_ctrl(char *buf, int bufsz, void *val, int valsz) +{ + int cnt; + + cnt = _dump_fields(buf, bufsz, val, IB_PC_EXT_PORT_SELECT_F, + IB_PC_EXT_XMT_BYTES_F); + if (cnt < 0) + return; + + _dump_fields(buf + cnt, bufsz - cnt, val, IB_PC_RCV_CON_CTRL_FIRST_F, + IB_PC_RCV_CON_CTRL_LAST_F); +} + + +void mad_dump_perfcounters_sl_rcv_fecn(char *buf, int bufsz, void *val, int valsz) +{ + int cnt; + + cnt = _dump_fields(buf, bufsz, val, IB_PC_EXT_PORT_SELECT_F, + IB_PC_EXT_XMT_BYTES_F); + if (cnt < 0) + return; + + _dump_fields(buf + cnt, bufsz - cnt, val, IB_PC_SL_RCV_FECN_FIRST_F, + IB_PC_SL_RCV_FECN_LAST_F); +} + +void mad_dump_perfcounters_sl_rcv_becn(char *buf, int bufsz, void *val, int valsz) +{ + int cnt; + + cnt = _dump_fields(buf, bufsz, val, IB_PC_EXT_PORT_SELECT_F, + IB_PC_EXT_XMT_BYTES_F); + if (cnt < 0) + return; + + _dump_fields(buf + cnt, bufsz - cnt, val, IB_PC_SL_RCV_BECN_FIRST_F, + IB_PC_SL_RCV_BECN_LAST_F); +} + +void mad_dump_perfcounters_xmit_con_ctrl(char *buf, int bufsz, void *val, int valsz) +{ + int cnt; + + cnt = _dump_fields(buf, bufsz, val, IB_PC_EXT_PORT_SELECT_F, + IB_PC_EXT_XMT_BYTES_F); + if (cnt < 0) + return; + + _dump_fields(buf + cnt, bufsz - cnt, val, IB_PC_XMIT_CON_CTRL_FIRST_F, + IB_PC_XMIT_CON_CTRL_LAST_F); +} + +void mad_dump_perfcounters_vl_xmit_time_cong(char *buf, int bufsz, void *val, int valsz) +{ + int cnt; + + cnt = _dump_fields(buf, bufsz, val, IB_PC_EXT_PORT_SELECT_F, + IB_PC_EXT_XMT_BYTES_F); + if (cnt < 0) + return; + + _dump_fields(buf + cnt, bufsz - cnt, val, IB_PC_VL_XMIT_TIME_CONG_FIRST_F, + IB_PC_VL_XMIT_TIME_CONG_LAST_F); +} + +void mad_dump_mlnx_ext_port_info(char *buf, int bufsz, void *val, int valsz) +{ + _dump_fields(buf, bufsz, val, IB_MLNX_EXT_PORT_STATE_CHG_ENABLE_F, + IB_MLNX_EXT_PORT_LAST_F); +} + +void mad_dump_cc_congestioninfo(char *buf, int bufsz, void *val, int valsz) +{ + _dump_fields(buf, bufsz, val, IB_CC_CONGESTION_INFO_FIRST_F, + IB_CC_CONGESTION_INFO_LAST_F); +} + +void mad_dump_cc_congestionkeyinfo(char *buf, int bufsz, void *val, int valsz) +{ + _dump_fields(buf, bufsz, val, IB_CC_CONGESTION_KEY_INFO_FIRST_F, + IB_CC_CONGESTION_KEY_INFO_LAST_F); +} + +void mad_dump_cc_congestionlog(char *buf, int bufsz, void *val, int valsz) +{ + _dump_fields(buf, bufsz, val, IB_CC_CONGESTION_LOG_FIRST_F, + IB_CC_CONGESTION_LOG_LAST_F); +} + +void mad_dump_cc_congestionlogswitch(char *buf, int bufsz, void *val, int valsz) +{ + _dump_fields(buf, bufsz, val, IB_CC_CONGESTION_LOG_SWITCH_FIRST_F, + IB_CC_CONGESTION_LOG_SWITCH_LAST_F); +} + +void mad_dump_cc_congestionlogentryswitch(char *buf, int bufsz, void *val, int valsz) +{ + _dump_fields(buf, bufsz, val, IB_CC_CONGESTION_LOG_ENTRY_SWITCH_FIRST_F, + IB_CC_CONGESTION_LOG_ENTRY_SWITCH_LAST_F); +} + +void mad_dump_cc_congestionlogca(char *buf, int bufsz, void *val, int valsz) +{ + _dump_fields(buf, bufsz, val, IB_CC_CONGESTION_LOG_CA_FIRST_F, + IB_CC_CONGESTION_LOG_CA_LAST_F); +} + +void mad_dump_cc_congestionlogentryca(char *buf, int bufsz, void *val, int valsz) +{ + _dump_fields(buf, bufsz, val, IB_CC_CONGESTION_LOG_ENTRY_CA_FIRST_F, + IB_CC_CONGESTION_LOG_ENTRY_CA_LAST_F); +} + +void mad_dump_cc_switchcongestionsetting(char *buf, int bufsz, void *val, int valsz) +{ + _dump_fields(buf, bufsz, val, IB_CC_SWITCH_CONGESTION_SETTING_FIRST_F, + IB_CC_SWITCH_CONGESTION_SETTING_LAST_F); +} + +void mad_dump_cc_switchportcongestionsettingelement(char *buf, int bufsz, void *val, int valsz) +{ + _dump_fields(buf, bufsz, val, IB_CC_SWITCH_PORT_CONGESTION_SETTING_ELEMENT_FIRST_F, + IB_CC_SWITCH_PORT_CONGESTION_SETTING_ELEMENT_LAST_F); +} + +void mad_dump_cc_cacongestionsetting(char *buf, int bufsz, void *val, int valsz) +{ + _dump_fields(buf, bufsz, val, IB_CC_CA_CONGESTION_SETTING_FIRST_F, + IB_CC_CA_CONGESTION_SETTING_LAST_F); +} + +void mad_dump_cc_cacongestionentry(char *buf, int bufsz, void *val, int valsz) +{ + _dump_fields(buf, bufsz, val, IB_CC_CA_CONGESTION_ENTRY_FIRST_F, + IB_CC_CA_CONGESTION_ENTRY_LAST_F); +} + +void mad_dump_cc_congestioncontroltable(char *buf, int bufsz, void *val, int valsz) +{ + _dump_fields(buf, bufsz, val, IB_CC_CONGESTION_CONTROL_TABLE_FIRST_F, + IB_CC_CONGESTION_CONTROL_TABLE_LAST_F); +} + +void mad_dump_cc_congestioncontroltableentry(char *buf, int bufsz, void *val, int valsz) +{ + _dump_fields(buf, bufsz, val, IB_CC_CONGESTION_CONTROL_TABLE_ENTRY_FIRST_F, + IB_CC_CONGESTION_CONTROL_TABLE_ENTRY_LAST_F); +} + +void mad_dump_cc_timestamp(char *buf, int bufsz, void *val, int valsz) +{ + _dump_fields(buf, bufsz, val, IB_CC_TIMESTAMP_FIRST_F, + IB_CC_TIMESTAMP_LAST_F); +} + +void mad_dump_classportinfo(char *buf, int bufsz, void *val, int valsz) +{ + /* no FIRST_F and LAST_F for CPI field enums, must do a hack */ + _dump_fields(buf, bufsz, val, IB_CPI_BASEVER_F, IB_CPI_TRAP_QKEY_F + 1); +} + +void mad_dump_portinfo_ext(char *buf, int bufsz, void *val, int valsz) +{ + _dump_fields(buf, bufsz, val, IB_PORT_EXT_FIRST_F, + IB_PORT_EXT_LAST_F); +} + +void xdump(FILE * file, char *msg, void *p, int size) +{ +#define HEX(x) ((x) < 10 ? '0' + (x) : 'a' + ((x) -10)) + uint8_t *cp = p; + int i; + + if (msg) + fputs(msg, file); + + for (i = 0; i < size;) { + fputc(HEX(*cp >> 4), file); + fputc(HEX(*cp & 0xf), file); + if (++i >= size) + break; + fputc(HEX(cp[1] >> 4), file); + fputc(HEX(cp[1] & 0xf), file); + if ((++i) % 16) + fputc(' ', file); + else + fputc('\n', file); + cp += 2; + } + if (i % 16) + fputc('\n', file); +} diff --git a/libibmad/src/fields.c b/libibmad/src/fields.c new file mode 100644 index 0000000..8273f97 --- /dev/null +++ b/libibmad/src/fields.c @@ -0,0 +1,1260 @@ +/* + * Copyright (c) 2004-2009 Voltaire Inc. All rights reserved. + * Copyright (c) 2009 HNR Consulting. All rights reserved. + * Copyright (c) 2009-2011 Mellanox Technologies LTD. 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 + * General Public License (GPL) Version 2, available from the file + * COPYING in the main directory of this source tree, or the + * OpenIB.org BSD license below: + * + * Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: + * + * - Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * + * - Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + */ + +#if HAVE_CONFIG_H +# include +#endif /* HAVE_CONFIG_H */ + +#include +#include +#include + +#include + +/* + * BITSOFFS and BE_OFFS are required due the fact that the bit offsets are inconsistently + * encoded in the IB spec - IB headers are encoded such that the bit offsets + * are in big endian convention (BE_OFFS), while the SMI/GSI queries data fields bit + * offsets are specified using real bit offset (?!) + * The following macros normalize everything to big endian offsets. + */ +#define BITSOFFS(o, w) (((o) & ~31) | ((32 - ((o) & 31) - (w)))), (w) +#define BE_OFFS(o, w) (o), (w) +#define BE_TO_BITSOFFS(o, w) (((o) & ~31) | ((32 - ((o) & 31) - (w)))) + +static const ib_field_t ib_mad_f[] = { + {0, 0}, /* IB_NO_FIELD - reserved as invalid */ + + {0, 64, "GidPrefix", mad_dump_rhex}, + {64, 64, "GidGuid", mad_dump_rhex}, + + /* + * MAD: common MAD fields (IB spec 13.4.2) + * SMP: Subnet Management packets - lid routed (IB spec 14.2.1.1) + * DSMP: Subnet Management packets - direct route (IB spec 14.2.1.2) + * SA: Subnet Administration packets (IB spec 15.2.1.1) + */ + + /* first MAD word (0-3 bytes) */ + {BE_OFFS(0, 7), "MadMethod", mad_dump_hex}, /* TODO: add dumper */ + {BE_OFFS(7, 1), "MadIsResponse", mad_dump_uint}, /* TODO: add dumper */ + {BE_OFFS(8, 8), "MadClassVersion", mad_dump_uint}, + {BE_OFFS(16, 8), "MadMgmtClass", mad_dump_uint}, /* TODO: add dumper */ + {BE_OFFS(24, 8), "MadBaseVersion", mad_dump_uint}, + + /* second MAD word (4-7 bytes) */ + {BE_OFFS(48, 16), "MadStatus", mad_dump_hex}, /* TODO: add dumper */ + + /* DR SMP only */ + {BE_OFFS(32, 8), "DrSmpHopCnt", mad_dump_uint}, + {BE_OFFS(40, 8), "DrSmpHopPtr", mad_dump_uint}, + {BE_OFFS(48, 15), "DrSmpStatus", mad_dump_hex}, /* TODO: add dumper */ + {BE_OFFS(63, 1), "DrSmpDirection", mad_dump_uint}, /* TODO: add dumper */ + + /* words 3,4,5,6 (8-23 bytes) */ + {64, 64, "MadTRID", mad_dump_hex}, + {BE_OFFS(144, 16), "MadAttr", mad_dump_hex}, /* TODO: add dumper */ + {160, 32, "MadModifier", mad_dump_hex}, /* TODO: add dumper */ + + /* word 7,8 (24-31 bytes) */ + {192, 64, "MadMkey", mad_dump_hex}, + + /* word 9 (32-37 bytes) */ + {BE_OFFS(256, 16), "DrSmpDLID", mad_dump_uint}, + {BE_OFFS(272, 16), "DrSmpSLID", mad_dump_uint}, + + /* word 10,11 (36-43 bytes) */ + {288, 64, "SaSMkey", mad_dump_hex}, + + /* word 12 (44-47 bytes) */ + {BE_OFFS(46 * 8, 16), "SaAttrOffs", mad_dump_uint}, + + /* word 13,14 (48-55 bytes) */ + {48 * 8, 64, "SaCompMask", mad_dump_hex}, + + /* word 13,14 (56-255 bytes) */ + {56 * 8, (256 - 56) * 8, "SaData", mad_dump_hex}, + + /* bytes 64 - 127 */ + {0, 0}, /* IB_SM_DATA_F - reserved as invalid */ + + /* bytes 64 - 256 */ + {64 * 8, (256 - 64) * 8, "GsData", mad_dump_hex}, + + /* bytes 128 - 191 */ + {1024, 512, "DrSmpPath", mad_dump_hex}, + + /* bytes 192 - 255 */ + {1536, 512, "DrSmpRetPath", mad_dump_hex}, + + /* + * PortInfo fields + */ + {0, 64, "Mkey", mad_dump_hex}, + {64, 64, "GidPrefix", mad_dump_hex}, + {BITSOFFS(128, 16), "Lid", mad_dump_uint}, + {BITSOFFS(144, 16), "SMLid", mad_dump_uint}, + {160, 32, "CapMask", mad_dump_portcapmask}, + {BITSOFFS(192, 16), "DiagCode", mad_dump_hex}, + {BITSOFFS(208, 16), "MkeyLeasePeriod", mad_dump_uint}, + {BITSOFFS(224, 8), "LocalPort", mad_dump_uint}, + {BITSOFFS(232, 8), "LinkWidthEnabled", mad_dump_linkwidthen}, + {BITSOFFS(240, 8), "LinkWidthSupported", mad_dump_linkwidthsup}, + {BITSOFFS(248, 8), "LinkWidthActive", mad_dump_linkwidth}, + {BITSOFFS(256, 4), "LinkSpeedSupported", mad_dump_linkspeedsup}, + {BITSOFFS(260, 4), "LinkState", mad_dump_portstate}, + {BITSOFFS(264, 4), "PhysLinkState", mad_dump_physportstate}, + {BITSOFFS(268, 4), "LinkDownDefState", mad_dump_linkdowndefstate}, + {BITSOFFS(272, 2), "ProtectBits", mad_dump_uint}, + {BITSOFFS(277, 3), "LMC", mad_dump_uint}, + {BITSOFFS(280, 4), "LinkSpeedActive", mad_dump_linkspeed}, + {BITSOFFS(284, 4), "LinkSpeedEnabled", mad_dump_linkspeeden}, + {BITSOFFS(288, 4), "NeighborMTU", mad_dump_mtu}, + {BITSOFFS(292, 4), "SMSL", mad_dump_uint}, + {BITSOFFS(296, 4), "VLCap", mad_dump_vlcap}, + {BITSOFFS(300, 4), "InitType", mad_dump_hex}, + {BITSOFFS(304, 8), "VLHighLimit", mad_dump_uint}, + {BITSOFFS(312, 8), "VLArbHighCap", mad_dump_uint}, + {BITSOFFS(320, 8), "VLArbLowCap", mad_dump_uint}, + {BITSOFFS(328, 4), "InitReply", mad_dump_hex}, + {BITSOFFS(332, 4), "MtuCap", mad_dump_mtu}, + {BITSOFFS(336, 3), "VLStallCount", mad_dump_uint}, + {BITSOFFS(339, 5), "HoqLife", mad_dump_uint}, + {BITSOFFS(344, 4), "OperVLs", mad_dump_opervls}, + {BITSOFFS(348, 1), "PartEnforceInb", mad_dump_uint}, + {BITSOFFS(349, 1), "PartEnforceOutb", mad_dump_uint}, + {BITSOFFS(350, 1), "FilterRawInb", mad_dump_uint}, + {BITSOFFS(351, 1), "FilterRawOutb", mad_dump_uint}, + {BITSOFFS(352, 16), "MkeyViolations", mad_dump_uint}, + {BITSOFFS(368, 16), "PkeyViolations", mad_dump_uint}, + {BITSOFFS(384, 16), "QkeyViolations", mad_dump_uint}, + {BITSOFFS(400, 8), "GuidCap", mad_dump_uint}, + {BITSOFFS(408, 1), "ClientReregister", mad_dump_uint}, + {BITSOFFS(409, 1), "McastPkeyTrapSuppressionEnabled", mad_dump_uint}, + {BITSOFFS(411, 5), "SubnetTimeout", mad_dump_uint}, + {BITSOFFS(419, 5), "RespTimeVal", mad_dump_uint}, + {BITSOFFS(424, 4), "LocalPhysErr", mad_dump_uint}, + {BITSOFFS(428, 4), "OverrunErr", mad_dump_uint}, + {BITSOFFS(432, 16), "MaxCreditHint", mad_dump_uint}, + {BITSOFFS(456, 24), "RoundTrip", mad_dump_uint}, + {0, 0}, /* IB_PORT_LAST_F */ + + /* + * NodeInfo fields + */ + {BITSOFFS(0, 8), "BaseVers", mad_dump_uint}, + {BITSOFFS(8, 8), "ClassVers", mad_dump_uint}, + {BITSOFFS(16, 8), "NodeType", mad_dump_node_type}, + {BITSOFFS(24, 8), "NumPorts", mad_dump_uint}, + {32, 64, "SystemGuid", mad_dump_hex}, + {96, 64, "Guid", mad_dump_hex}, + {160, 64, "PortGuid", mad_dump_hex}, + {BITSOFFS(224, 16), "PartCap", mad_dump_uint}, + {BITSOFFS(240, 16), "DevId", mad_dump_hex}, + {256, 32, "Revision", mad_dump_hex}, + {BITSOFFS(288, 8), "LocalPort", mad_dump_uint}, + {BITSOFFS(296, 24), "VendorId", mad_dump_hex}, + {0, 0}, /* IB_NODE_LAST_F */ + + /* + * SwitchInfo fields + */ + {BITSOFFS(0, 16), "LinearFdbCap", mad_dump_uint}, + {BITSOFFS(16, 16), "RandomFdbCap", mad_dump_uint}, + {BITSOFFS(32, 16), "McastFdbCap", mad_dump_uint}, + {BITSOFFS(48, 16), "LinearFdbTop", mad_dump_uint}, + {BITSOFFS(64, 8), "DefPort", mad_dump_uint}, + {BITSOFFS(72, 8), "DefMcastPrimPort", mad_dump_uint}, + {BITSOFFS(80, 8), "DefMcastNotPrimPort", mad_dump_uint}, + {BITSOFFS(88, 5), "LifeTime", mad_dump_uint}, + {BITSOFFS(93, 1), "StateChange", mad_dump_uint}, + {BITSOFFS(94, 2), "OptSLtoVLMapping", mad_dump_uint}, + {BITSOFFS(96, 16), "LidsPerPort", mad_dump_uint}, + {BITSOFFS(112, 16), "PartEnforceCap", mad_dump_uint}, + {BITSOFFS(128, 1), "InboundPartEnf", mad_dump_uint}, + {BITSOFFS(129, 1), "OutboundPartEnf", mad_dump_uint}, + {BITSOFFS(130, 1), "FilterRawInbound", mad_dump_uint}, + {BITSOFFS(131, 1), "FilterRawOutbound", mad_dump_uint}, + {BITSOFFS(132, 1), "EnhancedPort0", mad_dump_uint}, + {BITSOFFS(144, 16), "MulticastFDBTop", mad_dump_hex}, + {0, 0}, /* IB_SW_LAST_F */ + + /* + * SwitchLinearForwardingTable fields + */ + {0, 512, "LinearForwTbl", mad_dump_array}, + + /* + * SwitchMulticastForwardingTable fields + */ + {0, 512, "MulticastForwTbl", mad_dump_array}, + + /* + * NodeDescription fields + */ + {0, 64 * 8, "NodeDesc", mad_dump_string}, + + /* + * Notice/Trap fields + */ + {BITSOFFS(0, 1), "NoticeIsGeneric", mad_dump_uint}, + {BITSOFFS(1, 7), "NoticeType", mad_dump_uint}, + {BITSOFFS(8, 24), "NoticeProducerType", mad_dump_node_type}, + {BITSOFFS(32, 16), "NoticeTrapNumber", mad_dump_uint}, + {BITSOFFS(48, 16), "NoticeIssuerLID", mad_dump_uint}, + {BITSOFFS(64, 1), "NoticeToggle", mad_dump_uint}, + {BITSOFFS(65, 15), "NoticeCount", mad_dump_uint}, + {80, 432, "NoticeDataDetails", mad_dump_array}, + {BITSOFFS(80, 16), "NoticeDataLID", mad_dump_uint}, + {BITSOFFS(96, 16), "NoticeDataTrap144LID", mad_dump_uint}, + {BITSOFFS(128, 32), "NoticeDataTrap144CapMask", mad_dump_uint}, + + /* + * Port counters + */ + {BITSOFFS(8, 8), "PortSelect", mad_dump_uint}, + {BITSOFFS(16, 16), "CounterSelect", mad_dump_hex}, + {BITSOFFS(32, 16), "SymbolErrorCounter", mad_dump_uint}, + {BITSOFFS(48, 8), "LinkErrorRecoveryCounter", mad_dump_uint}, + {BITSOFFS(56, 8), "LinkDownedCounter", mad_dump_uint}, + {BITSOFFS(64, 16), "PortRcvErrors", mad_dump_uint}, + {BITSOFFS(80, 16), "PortRcvRemotePhysicalErrors", mad_dump_uint}, + {BITSOFFS(96, 16), "PortRcvSwitchRelayErrors", mad_dump_uint}, + {BITSOFFS(112, 16), "PortXmitDiscards", mad_dump_uint}, + {BITSOFFS(128, 8), "PortXmitConstraintErrors", mad_dump_uint}, + {BITSOFFS(136, 8), "PortRcvConstraintErrors", mad_dump_uint}, + {BITSOFFS(144, 8), "CounterSelect2", mad_dump_hex}, + {BITSOFFS(152, 4), "LocalLinkIntegrityErrors", mad_dump_uint}, + {BITSOFFS(156, 4), "ExcessiveBufferOverrunErrors", mad_dump_uint}, + {BITSOFFS(176, 16), "VL15Dropped", mad_dump_uint}, + {192, 32, "PortXmitData", mad_dump_uint}, + {224, 32, "PortRcvData", mad_dump_uint}, + {256, 32, "PortXmitPkts", mad_dump_uint}, + {288, 32, "PortRcvPkts", mad_dump_uint}, + {320, 32, "PortXmitWait", mad_dump_uint}, + {0, 0}, /* IB_PC_LAST_F */ + + /* + * SMInfo + */ + {0, 64, "SmInfoGuid", mad_dump_hex}, + {64, 64, "SmInfoKey", mad_dump_hex}, + {128, 32, "SmActivity", mad_dump_uint}, + {BITSOFFS(160, 4), "SmPriority", mad_dump_uint}, + {BITSOFFS(164, 4), "SmState", mad_dump_uint}, + + /* + * SA RMPP + */ + {BE_OFFS(24 * 8 + 24, 8), "RmppVers", mad_dump_uint}, + {BE_OFFS(24 * 8 + 16, 8), "RmppType", mad_dump_uint}, + {BE_OFFS(24 * 8 + 11, 5), "RmppResp", mad_dump_uint}, + {BE_OFFS(24 * 8 + 8, 3), "RmppFlags", mad_dump_hex}, + {BE_OFFS(24 * 8 + 0, 8), "RmppStatus", mad_dump_hex}, + + /* data1 */ + {28 * 8, 32, "RmppData1", mad_dump_hex}, + {28 * 8, 32, "RmppSegNum", mad_dump_uint}, + /* data2 */ + {32 * 8, 32, "RmppData2", mad_dump_hex}, + {32 * 8, 32, "RmppPayload", mad_dump_uint}, + {32 * 8, 32, "RmppNewWin", mad_dump_uint}, + + /* + * SA Get Multi Path + */ + {BITSOFFS(41, 7), "MultiPathNumPath", mad_dump_uint}, + {BITSOFFS(120, 8), "MultiPathNumSrc", mad_dump_uint}, + {BITSOFFS(128, 8), "MultiPathNumDest", mad_dump_uint}, + {192, 128, "MultiPathGid", mad_dump_array}, + + /* + * SA Path rec + */ + {64, 128, "PathRecDGid", mad_dump_array}, + {192, 128, "PathRecSGid", mad_dump_array}, + {BITSOFFS(320, 16), "PathRecDLid", mad_dump_uint}, + {BITSOFFS(336, 16), "PathRecSLid", mad_dump_uint}, + {BITSOFFS(393, 7), "PathRecNumPath", mad_dump_uint}, + {BITSOFFS(428, 4), "PathRecSL", mad_dump_uint}, + + /* + * MC Member rec + */ + {0, 128, "McastMemMGid", mad_dump_array}, + {128, 128, "McastMemPortGid", mad_dump_array}, + {256, 32, "McastMemQkey", mad_dump_hex}, + {BITSOFFS(288, 16), "McastMemMLid", mad_dump_hex}, + {BITSOFFS(352, 4), "McastMemSL", mad_dump_uint}, + {BITSOFFS(306, 6), "McastMemMTU", mad_dump_uint}, + {BITSOFFS(338, 6), "McastMemRate", mad_dump_uint}, + {BITSOFFS(312, 8), "McastMemTClass", mad_dump_uint}, + {BITSOFFS(320, 16), "McastMemPkey", mad_dump_uint}, + {BITSOFFS(356, 20), "McastMemFlowLbl", mad_dump_uint}, + {BITSOFFS(388, 4), "McastMemJoinState", mad_dump_uint}, + {BITSOFFS(392, 1), "McastMemProxyJoin", mad_dump_uint}, + + /* + * Service record + */ + {0, 64, "ServRecID", mad_dump_hex}, + {64, 128, "ServRecGid", mad_dump_array}, + {BITSOFFS(192, 16), "ServRecPkey", mad_dump_hex}, + {224, 32, "ServRecLease", mad_dump_hex}, + {256, 128, "ServRecKey", mad_dump_hex}, + {384, 512, "ServRecName", mad_dump_string}, + {896, 512, "ServRecData", mad_dump_array}, /* ATS for example */ + + /* + * ATS SM record - within SA_SR_DATA + */ + {12 * 8, 32, "ATSNodeAddr", mad_dump_hex}, + {BITSOFFS(16 * 8, 16), "ATSMagicKey", mad_dump_hex}, + {BITSOFFS(18 * 8, 16), "ATSNodeType", mad_dump_hex}, + {32 * 8, 32 * 8, "ATSNodeName", mad_dump_string}, + + /* + * SLTOVL MAPPING TABLE + */ + {0, 64, "SLToVLMap", mad_dump_hex}, + + /* + * VL ARBITRATION TABLE + */ + {0, 512, "VLArbTbl", mad_dump_array}, + + /* + * IB vendor classes range 2 + */ + {BE_OFFS(36 * 8, 24), "OUI", mad_dump_array}, + {40 * 8, (256 - 40) * 8, "Vendor2Data", mad_dump_array}, + + /* + * Extended port counters + */ + {BITSOFFS(8, 8), "PortSelect", mad_dump_uint}, + {BITSOFFS(16, 16), "CounterSelect", mad_dump_hex}, + {64, 64, "PortXmitData", mad_dump_uint}, + {128, 64, "PortRcvData", mad_dump_uint}, + {192, 64, "PortXmitPkts", mad_dump_uint}, + {256, 64, "PortRcvPkts", mad_dump_uint}, + {320, 64, "PortUnicastXmitPkts", mad_dump_uint}, + {384, 64, "PortUnicastRcvPkts", mad_dump_uint}, + {448, 64, "PortMulticastXmitPkts", mad_dump_uint}, + {512, 64, "PortMulticastRcvPkts", mad_dump_uint}, + {0, 0}, /* IB_PC_EXT_LAST_F */ + + /* + * GUIDInfo fields + */ + {0, 64, "GUID0", mad_dump_hex}, + + /* + * ClassPortInfo fields + */ + {BITSOFFS(0, 8), "BaseVersion", mad_dump_uint}, + {BITSOFFS(8, 8), "ClassVersion", mad_dump_uint}, + {BITSOFFS(16, 16), "CapabilityMask", mad_dump_hex}, + {BITSOFFS(32, 27), "CapabilityMask2", mad_dump_hex}, + {BITSOFFS(59, 5), "RespTimeVal", mad_dump_uint}, + {64, 128, "RedirectGID", mad_dump_array}, + {BITSOFFS(192, 8), "RedirectTC", mad_dump_hex}, + {BITSOFFS(200, 4), "RedirectSL", mad_dump_uint}, + {BITSOFFS(204, 20), "RedirectFL", mad_dump_hex}, + {BITSOFFS(224, 16), "RedirectLID", mad_dump_uint}, + {BITSOFFS(240, 16), "RedirectPKey", mad_dump_hex}, + {BITSOFFS(264, 24), "RedirectQP", mad_dump_hex}, + {288, 32, "RedirectQKey", mad_dump_hex}, + {320, 128, "TrapGID", mad_dump_array}, + {BITSOFFS(448, 8), "TrapTC", mad_dump_hex}, + {BITSOFFS(456, 4), "TrapSL", mad_dump_uint}, + {BITSOFFS(460, 20), "TrapFL", mad_dump_hex}, + {BITSOFFS(480, 16), "TrapLID", mad_dump_uint}, + {BITSOFFS(496, 16), "TrapPKey", mad_dump_hex}, + {BITSOFFS(512, 8), "TrapHL", mad_dump_uint}, + {BITSOFFS(520, 24), "TrapQP", mad_dump_hex}, + {544, 32, "TrapQKey", mad_dump_hex}, + + /* + * PortXmitDataSL fields + */ + {32, 32, "XmtDataSL0", mad_dump_uint}, + {64, 32, "XmtDataSL1", mad_dump_uint}, + {96, 32, "XmtDataSL2", mad_dump_uint}, + {128, 32, "XmtDataSL3", mad_dump_uint}, + {160, 32, "XmtDataSL4", mad_dump_uint}, + {192, 32, "XmtDataSL5", mad_dump_uint}, + {224, 32, "XmtDataSL6", mad_dump_uint}, + {256, 32, "XmtDataSL7", mad_dump_uint}, + {288, 32, "XmtDataSL8", mad_dump_uint}, + {320, 32, "XmtDataSL9", mad_dump_uint}, + {352, 32, "XmtDataSL10", mad_dump_uint}, + {384, 32, "XmtDataSL11", mad_dump_uint}, + {416, 32, "XmtDataSL12", mad_dump_uint}, + {448, 32, "XmtDataSL13", mad_dump_uint}, + {480, 32, "XmtDataSL14", mad_dump_uint}, + {512, 32, "XmtDataSL15", mad_dump_uint}, + {0, 0}, /* IB_PC_XMT_DATA_SL_LAST_F */ + + /* + * PortRcvDataSL fields + */ + {32, 32, "RcvDataSL0", mad_dump_uint}, + {64, 32, "RcvDataSL1", mad_dump_uint}, + {96, 32, "RcvDataSL2", mad_dump_uint}, + {128, 32, "RcvDataSL3", mad_dump_uint}, + {160, 32, "RcvDataSL4", mad_dump_uint}, + {192, 32, "RcvDataSL5", mad_dump_uint}, + {224, 32, "RcvDataSL6", mad_dump_uint}, + {256, 32, "RcvDataSL7", mad_dump_uint}, + {288, 32, "RcvDataSL8", mad_dump_uint}, + {320, 32, "RcvDataSL9", mad_dump_uint}, + {352, 32, "RcvDataSL10", mad_dump_uint}, + {384, 32, "RcvDataSL11", mad_dump_uint}, + {416, 32, "RcvDataSL12", mad_dump_uint}, + {448, 32, "RcvDataSL13", mad_dump_uint}, + {480, 32, "RcvDataSL14", mad_dump_uint}, + {512, 32, "RcvDataSL15", mad_dump_uint}, + {0, 0}, /* IB_PC_RCV_DATA_SL_LAST_F */ + + /* + * PortXmitDiscardDetails fields + */ + {BITSOFFS(32, 16), "PortInactiveDiscards", mad_dump_uint}, + {BITSOFFS(48, 16), "PortNeighborMTUDiscards", mad_dump_uint}, + {BITSOFFS(64, 16), "PortSwLifetimeLimitDiscards", mad_dump_uint}, + {BITSOFFS(80, 16), "PortSwHOQLifetimeLimitDiscards", mad_dump_uint}, + {0, 0}, /* IB_PC_XMT_DISC_LAST_F */ + + /* + * PortRcvErrorDetails fields + */ + {BITSOFFS(32, 16), "PortLocalPhysicalErrors", mad_dump_uint}, + {BITSOFFS(48, 16), "PortMalformedPktErrors", mad_dump_uint}, + {BITSOFFS(64, 16), "PortBufferOverrunErrors", mad_dump_uint}, + {BITSOFFS(80, 16), "PortDLIDMappingErrors", mad_dump_uint}, + {BITSOFFS(96, 16), "PortVLMappingErrors", mad_dump_uint}, + {BITSOFFS(112, 16), "PortLoopingErrors", mad_dump_uint}, + {0, 0}, /* IB_PC_RCV_ERR_LAST_F */ + + /* + * PortSamplesControl fields + */ + {BITSOFFS(0, 8), "OpCode", mad_dump_hex}, + {BITSOFFS(8, 8), "PortSelect", mad_dump_uint}, + {BITSOFFS(16, 8), "Tick", mad_dump_hex}, + {BITSOFFS(29, 3), "CounterWidth", mad_dump_uint}, + {BITSOFFS(34, 3), "CounterMask0", mad_dump_hex}, + {BITSOFFS(37, 27), "CounterMasks1to9", mad_dump_hex}, + {BITSOFFS(65, 15), "CounterMasks10to14", mad_dump_hex}, + {BITSOFFS(80, 8), "SampleMechanisms", mad_dump_uint}, + {BITSOFFS(94, 2), "SampleStatus", mad_dump_uint}, + {96, 64, "OptionMask", mad_dump_hex}, + {160, 64, "VendorMask", mad_dump_hex}, + {224, 32, "SampleStart", mad_dump_uint}, + {256, 32, "SampleInterval", mad_dump_uint}, + {BITSOFFS(288, 16), "Tag", mad_dump_hex}, + {BITSOFFS(304, 16), "CounterSelect0", mad_dump_hex}, + {BITSOFFS(320, 16), "CounterSelect1", mad_dump_hex}, + {BITSOFFS(336, 16), "CounterSelect2", mad_dump_hex}, + {BITSOFFS(352, 16), "CounterSelect3", mad_dump_hex}, + {BITSOFFS(368, 16), "CounterSelect4", mad_dump_hex}, + {BITSOFFS(384, 16), "CounterSelect5", mad_dump_hex}, + {BITSOFFS(400, 16), "CounterSelect6", mad_dump_hex}, + {BITSOFFS(416, 16), "CounterSelect7", mad_dump_hex}, + {BITSOFFS(432, 16), "CounterSelect8", mad_dump_hex}, + {BITSOFFS(448, 16), "CounterSelect9", mad_dump_hex}, + {BITSOFFS(464, 16), "CounterSelect10", mad_dump_hex}, + {BITSOFFS(480, 16), "CounterSelect11", mad_dump_hex}, + {BITSOFFS(496, 16), "CounterSelect12", mad_dump_hex}, + {BITSOFFS(512, 16), "CounterSelect13", mad_dump_hex}, + {BITSOFFS(528, 16), "CounterSelect14", mad_dump_hex}, + {576, 64, "SamplesOnlyOptionMask", mad_dump_hex}, + {0, 0}, /* IB_PSC_LAST_F */ + + /* GUIDInfo fields */ + {0, 64, "GUID0", mad_dump_hex}, + {64, 64, "GUID1", mad_dump_hex}, + {128, 64, "GUID2", mad_dump_hex}, + {192, 64, "GUID3", mad_dump_hex}, + {256, 64, "GUID4", mad_dump_hex}, + {320, 64, "GUID5", mad_dump_hex}, + {384, 64, "GUID6", mad_dump_hex}, + {448, 64, "GUID7", mad_dump_hex}, + + /* GUID Info Record */ + {BITSOFFS(0, 16), "Lid", mad_dump_uint}, + {BITSOFFS(16, 8), "BlockNum", mad_dump_uint}, + {64, 64, "Guid0", mad_dump_hex}, + {128, 64, "Guid1", mad_dump_hex}, + {192, 64, "Guid2", mad_dump_hex}, + {256, 64, "Guid3", mad_dump_hex}, + {320, 64, "Guid4", mad_dump_hex}, + {384, 64, "Guid5", mad_dump_hex}, + {448, 64, "Guid6", mad_dump_hex}, + {512, 64, "Guid7", mad_dump_hex}, + + /* + * More PortInfo fields + */ + {BITSOFFS(480, 16), "CapabilityMask2", mad_dump_hex}, + {BITSOFFS(496, 4), "LinkSpeedExtActive", mad_dump_linkspeedext}, + {BITSOFFS(500, 4), "LinkSpeedExtSupported", mad_dump_linkspeedextsup}, + {BITSOFFS(507, 5), "LinkSpeedExtEnabled", mad_dump_linkspeedexten}, + {0, 0}, /* IB_PORT_LINK_SPEED_EXT_LAST_F */ + + /* + * PortExtendedSpeedsCounters fields + */ + {BITSOFFS(8, 8), "PortSelect", mad_dump_uint}, + {64, 64, "CounterSelect", mad_dump_hex}, + {BITSOFFS(128, 16), "SyncHeaderErrorCounter", mad_dump_uint}, + {BITSOFFS(144, 16), "UnknownBlockCounter", mad_dump_uint}, + {BITSOFFS(160, 16), "ErrorDetectionCounterLane0", mad_dump_uint}, + {BITSOFFS(176, 16), "ErrorDetectionCounterLane1", mad_dump_uint}, + {BITSOFFS(192, 16), "ErrorDetectionCounterLane2", mad_dump_uint}, + {BITSOFFS(208, 16), "ErrorDetectionCounterLane3", mad_dump_uint}, + {BITSOFFS(224, 16), "ErrorDetectionCounterLane4", mad_dump_uint}, + {BITSOFFS(240, 16), "ErrorDetectionCounterLane5", mad_dump_uint}, + {BITSOFFS(256, 16), "ErrorDetectionCounterLane6", mad_dump_uint}, + {BITSOFFS(272, 16), "ErrorDetectionCounterLane7", mad_dump_uint}, + {BITSOFFS(288, 16), "ErrorDetectionCounterLane8", mad_dump_uint}, + {BITSOFFS(304, 16), "ErrorDetectionCounterLane9", mad_dump_uint}, + {BITSOFFS(320, 16), "ErrorDetectionCounterLane10", mad_dump_uint}, + {BITSOFFS(336, 16), "ErrorDetectionCounterLane11", mad_dump_uint}, + {352, 32, "FECCorrectableBlockCtrLane0", mad_dump_uint}, + {384, 32, "FECCorrectableBlockCtrLane1", mad_dump_uint}, + {416, 32, "FECCorrectableBlockCtrLane2", mad_dump_uint}, + {448, 32, "FECCorrectableBlockCtrLane3", mad_dump_uint}, + {480, 32, "FECCorrectableBlockCtrLane4", mad_dump_uint}, + {512, 32, "FECCorrectableBlockCtrLane5", mad_dump_uint}, + {544, 32, "FECCorrectableBlockCtrLane6", mad_dump_uint}, + {576, 32, "FECCorrectableBlockCtrLane7", mad_dump_uint}, + {608, 32, "FECCorrectableBlockCtrLane8", mad_dump_uint}, + {640, 32, "FECCorrectableBlockCtrLane9", mad_dump_uint}, + {672, 32, "FECCorrectableBlockCtrLane10", mad_dump_uint}, + {704, 32, "FECCorrectableBlockCtrLane11", mad_dump_uint}, + {736, 32, "FECUncorrectableBlockCtrLane0", mad_dump_uint}, + {768, 32, "FECUncorrectableBlockCtrLane1", mad_dump_uint}, + {800, 32, "FECUncorrectableBlockCtrLane2", mad_dump_uint}, + {832, 32, "FECUncorrectableBlockCtrLane3", mad_dump_uint}, + {864, 32, "FECUncorrectableBlockCtrLane4", mad_dump_uint}, + {896, 32, "FECUncorrectableBlockCtrLane5", mad_dump_uint}, + {928, 32, "FECUncorrectableBlockCtrLane6", mad_dump_uint}, + {960, 32, "FECUncorrectableBlockCtrLane7", mad_dump_uint}, + {992, 32, "FECUncorrectableBlockCtrLane8", mad_dump_uint}, + {1024, 32, "FECUncorrectableBlockCtrLane9", mad_dump_uint}, + {1056, 32, "FECUncorrectableBlockCtrLane10", mad_dump_uint}, + {1088, 32, "FECUncorrectableBlockCtrLane11", mad_dump_uint}, + {0, 0}, /* IB_PESC_LAST_F */ + + /* + * PortOpRcvCounters fields + */ + {32, 32, "PortOpRcvPkts", mad_dump_uint}, + {64, 32, "PortOpRcvData", mad_dump_uint}, + {0, 0}, /* IB_PC_PORT_OP_RCV_COUNTERS_LAST_F */ + + /* + * PortFlowCtlCounters fields + */ + {32, 32, "PortXmitFlowPkts", mad_dump_uint}, + {64, 32, "PortRcvFlowPkts", mad_dump_uint}, + {0, 0}, /* IB_PC_PORT_FLOW_CTL_COUNTERS_LAST_F */ + + /* + * PortVLOpPackets fields + */ + {BITSOFFS(32, 16), "PortVLOpPackets0", mad_dump_uint}, + {BITSOFFS(48, 16), "PortVLOpPackets1", mad_dump_uint}, + {BITSOFFS(64, 16), "PortVLOpPackets2", mad_dump_uint}, + {BITSOFFS(80, 16), "PortVLOpPackets3", mad_dump_uint}, + {BITSOFFS(96, 16), "PortVLOpPackets4", mad_dump_uint}, + {BITSOFFS(112, 16), "PortVLOpPackets5", mad_dump_uint}, + {BITSOFFS(128, 16), "PortVLOpPackets6", mad_dump_uint}, + {BITSOFFS(144, 16), "PortVLOpPackets7", mad_dump_uint}, + {BITSOFFS(160, 16), "PortVLOpPackets8", mad_dump_uint}, + {BITSOFFS(176, 16), "PortVLOpPackets9", mad_dump_uint}, + {BITSOFFS(192, 16), "PortVLOpPackets10", mad_dump_uint}, + {BITSOFFS(208, 16), "PortVLOpPackets11", mad_dump_uint}, + {BITSOFFS(224, 16), "PortVLOpPackets12", mad_dump_uint}, + {BITSOFFS(240, 16), "PortVLOpPackets13", mad_dump_uint}, + {BITSOFFS(256, 16), "PortVLOpPackets14", mad_dump_uint}, + {BITSOFFS(272, 16), "PortVLOpPackets15", mad_dump_uint}, + {0, 0}, /* IB_PC_PORT_VL_OP_PACKETS_LAST_F */ + + /* + * PortVLOpData fields + */ + {32, 32, "PortVLOpData0", mad_dump_uint}, + {64, 32, "PortVLOpData1", mad_dump_uint}, + {96, 32, "PortVLOpData2", mad_dump_uint}, + {128, 32, "PortVLOpData3", mad_dump_uint}, + {160, 32, "PortVLOpData4", mad_dump_uint}, + {192, 32, "PortVLOpData5", mad_dump_uint}, + {224, 32, "PortVLOpData6", mad_dump_uint}, + {256, 32, "PortVLOpData7", mad_dump_uint}, + {288, 32, "PortVLOpData8", mad_dump_uint}, + {320, 32, "PortVLOpData9", mad_dump_uint}, + {352, 32, "PortVLOpData10", mad_dump_uint}, + {384, 32, "PortVLOpData11", mad_dump_uint}, + {416, 32, "PortVLOpData12", mad_dump_uint}, + {448, 32, "PortVLOpData13", mad_dump_uint}, + {480, 32, "PortVLOpData14", mad_dump_uint}, + {512, 32, "PortVLOpData15", mad_dump_uint}, + {0, 0}, /* IB_PC_PORT_VL_OP_DATA_LAST_F */ + + /* + * PortVLXmitFlowCtlUpdateErrors fields + */ + {BITSOFFS(32, 2), "PortVLXmitFlowCtlUpdateErrors0", mad_dump_uint}, + {BITSOFFS(34, 2), "PortVLXmitFlowCtlUpdateErrors1", mad_dump_uint}, + {BITSOFFS(36, 2), "PortVLXmitFlowCtlUpdateErrors2", mad_dump_uint}, + {BITSOFFS(38, 2), "PortVLXmitFlowCtlUpdateErrors3", mad_dump_uint}, + {BITSOFFS(40, 2), "PortVLXmitFlowCtlUpdateErrors4", mad_dump_uint}, + {BITSOFFS(42, 2), "PortVLXmitFlowCtlUpdateErrors5", mad_dump_uint}, + {BITSOFFS(44, 2), "PortVLXmitFlowCtlUpdateErrors6", mad_dump_uint}, + {BITSOFFS(46, 2), "PortVLXmitFlowCtlUpdateErrors7", mad_dump_uint}, + {BITSOFFS(48, 2), "PortVLXmitFlowCtlUpdateErrors8", mad_dump_uint}, + {BITSOFFS(50, 2), "PortVLXmitFlowCtlUpdateErrors9", mad_dump_uint}, + {BITSOFFS(52, 2), "PortVLXmitFlowCtlUpdateErrors10", mad_dump_uint}, + {BITSOFFS(54, 2), "PortVLXmitFlowCtlUpdateErrors11", mad_dump_uint}, + {BITSOFFS(56, 2), "PortVLXmitFlowCtlUpdateErrors12", mad_dump_uint}, + {BITSOFFS(58, 2), "PortVLXmitFlowCtlUpdateErrors13", mad_dump_uint}, + {BITSOFFS(60, 2), "PortVLXmitFlowCtlUpdateErrors14", mad_dump_uint}, + {BITSOFFS(62, 2), "PortVLXmitFlowCtlUpdateErrors15", mad_dump_uint}, + {0, 0}, /* IB_PC_PORT_VL_XMIT_FLOW_CTL_UPDATE_ERRORS_LAST_F */ + + /* + * PortVLXmitWaitCounters fields + */ + {BITSOFFS(32, 16), "PortVLXmitWait0", mad_dump_uint}, + {BITSOFFS(48, 16), "PortVLXmitWait1", mad_dump_uint}, + {BITSOFFS(64, 16), "PortVLXmitWait2", mad_dump_uint}, + {BITSOFFS(80, 16), "PortVLXmitWait3", mad_dump_uint}, + {BITSOFFS(96, 16), "PortVLXmitWait4", mad_dump_uint}, + {BITSOFFS(112, 16), "PortVLXmitWait5", mad_dump_uint}, + {BITSOFFS(128, 16), "PortVLXmitWait6", mad_dump_uint}, + {BITSOFFS(144, 16), "PortVLXmitWait7", mad_dump_uint}, + {BITSOFFS(160, 16), "PortVLXmitWait8", mad_dump_uint}, + {BITSOFFS(176, 16), "PortVLXmitWait9", mad_dump_uint}, + {BITSOFFS(192, 16), "PortVLXmitWait10", mad_dump_uint}, + {BITSOFFS(208, 16), "PortVLXmitWait11", mad_dump_uint}, + {BITSOFFS(224, 16), "PortVLXmitWait12", mad_dump_uint}, + {BITSOFFS(240, 16), "PortVLXmitWait13", mad_dump_uint}, + {BITSOFFS(256, 16), "PortVLXmitWait14", mad_dump_uint}, + {BITSOFFS(272, 16), "PortVLXmitWait15", mad_dump_uint}, + {0, 0}, /* IB_PC_PORT_VL_XMIT_WAIT_COUNTERS_LAST_F */ + + /* + * SwPortVLCongestion fields + */ + {BITSOFFS(32, 16), "SWPortVLCongestion0", mad_dump_uint}, + {BITSOFFS(48, 16), "SWPortVLCongestion1", mad_dump_uint}, + {BITSOFFS(64, 16), "SWPortVLCongestion2", mad_dump_uint}, + {BITSOFFS(80, 16), "SWPortVLCongestion3", mad_dump_uint}, + {BITSOFFS(96, 16), "SWPortVLCongestion4", mad_dump_uint}, + {BITSOFFS(112, 16), "SWPortVLCongestion5", mad_dump_uint}, + {BITSOFFS(128, 16), "SWPortVLCongestion6", mad_dump_uint}, + {BITSOFFS(144, 16), "SWPortVLCongestion7", mad_dump_uint}, + {BITSOFFS(160, 16), "SWPortVLCongestion8", mad_dump_uint}, + {BITSOFFS(176, 16), "SWPortVLCongestion9", mad_dump_uint}, + {BITSOFFS(192, 16), "SWPortVLCongestion10", mad_dump_uint}, + {BITSOFFS(208, 16), "SWPortVLCongestion11", mad_dump_uint}, + {BITSOFFS(224, 16), "SWPortVLCongestion12", mad_dump_uint}, + {BITSOFFS(240, 16), "SWPortVLCongestion13", mad_dump_uint}, + {BITSOFFS(256, 16), "SWPortVLCongestion14", mad_dump_uint}, + {BITSOFFS(272, 16), "SWPortVLCongestion15", mad_dump_uint}, + {0, 0}, /* IB_PC_SW_PORT_VL_CONGESTION_LAST_F */ + + /* + * PortRcvConCtrl fields + */ + {32, 32, "PortPktRcvFECN", mad_dump_uint}, + {64, 32, "PortPktRcvBECN", mad_dump_uint}, + {0, 0}, /* IB_PC_RCV_CON_CTRL_LAST_F */ + + /* + * PortSLRcvFECN fields + */ + {32, 32, "PortSLRcvFECN0", mad_dump_uint}, + {64, 32, "PortSLRcvFECN1", mad_dump_uint}, + {96, 32, "PortSLRcvFECN2", mad_dump_uint}, + {128, 32, "PortSLRcvFECN3", mad_dump_uint}, + {160, 32, "PortSLRcvFECN4", mad_dump_uint}, + {192, 32, "PortSLRcvFECN5", mad_dump_uint}, + {224, 32, "PortSLRcvFECN6", mad_dump_uint}, + {256, 32, "PortSLRcvFECN7", mad_dump_uint}, + {288, 32, "PortSLRcvFECN8", mad_dump_uint}, + {320, 32, "PortSLRcvFECN9", mad_dump_uint}, + {352, 32, "PortSLRcvFECN10", mad_dump_uint}, + {384, 32, "PortSLRcvFECN11", mad_dump_uint}, + {416, 32, "PortSLRcvFECN12", mad_dump_uint}, + {448, 32, "PortSLRcvFECN13", mad_dump_uint}, + {480, 32, "PortSLRcvFECN14", mad_dump_uint}, + {512, 32, "PortSLRcvFECN15", mad_dump_uint}, + {0, 0}, /* IB_PC_SL_RCV_FECN_LAST_F */ + + /* + * PortSLRcvBECN fields + */ + {32, 32, "PortSLRcvBECN0", mad_dump_uint}, + {64, 32, "PortSLRcvBECN1", mad_dump_uint}, + {96, 32, "PortSLRcvBECN2", mad_dump_uint}, + {128, 32, "PortSLRcvBECN3", mad_dump_uint}, + {160, 32, "PortSLRcvBECN4", mad_dump_uint}, + {192, 32, "PortSLRcvBECN5", mad_dump_uint}, + {224, 32, "PortSLRcvBECN6", mad_dump_uint}, + {256, 32, "PortSLRcvBECN7", mad_dump_uint}, + {288, 32, "PortSLRcvBECN8", mad_dump_uint}, + {320, 32, "PortSLRcvBECN9", mad_dump_uint}, + {352, 32, "PortSLRcvBECN10", mad_dump_uint}, + {384, 32, "PortSLRcvBECN11", mad_dump_uint}, + {416, 32, "PortSLRcvBECN12", mad_dump_uint}, + {448, 32, "PortSLRcvBECN13", mad_dump_uint}, + {480, 32, "PortSLRcvBECN14", mad_dump_uint}, + {512, 32, "PortSLRcvBECN15", mad_dump_uint}, + {0, 0}, /* IB_PC_SL_RCV_BECN_LAST_F */ + + /* + * PortXmitConCtrl fields + */ + {32, 32, "PortXmitTimeCong", mad_dump_uint}, + {0, 0}, /* IB_PC_XMIT_CON_CTRL_LAST_F */ + + /* + * PortVLXmitTimeCong fields + */ + {32, 32, "PortVLXmitTimeCong0", mad_dump_uint}, + {64, 32, "PortVLXmitTimeCong1", mad_dump_uint}, + {96, 32, "PortVLXmitTimeCong2", mad_dump_uint}, + {128, 32, "PortVLXmitTimeCong3", mad_dump_uint}, + {160, 32, "PortVLXmitTimeCong4", mad_dump_uint}, + {192, 32, "PortVLXmitTimeCong5", mad_dump_uint}, + {224, 32, "PortVLXmitTimeCong6", mad_dump_uint}, + {256, 32, "PortVLXmitTimeCong7", mad_dump_uint}, + {288, 32, "PortVLXmitTimeCong8", mad_dump_uint}, + {320, 32, "PortVLXmitTimeCong9", mad_dump_uint}, + {352, 32, "PortVLXmitTimeCong10", mad_dump_uint}, + {384, 32, "PortVLXmitTimeCong11", mad_dump_uint}, + {416, 32, "PortVLXmitTimeCong12", mad_dump_uint}, + {448, 32, "PortVLXmitTimeCong13", mad_dump_uint}, + {480, 32, "PortVLXmitTimeCong14", mad_dump_uint}, + {0, 0}, /* IB_PC_VL_XMIT_TIME_CONG_LAST_F */ + + /* + * Mellanox ExtendedPortInfo fields + */ + {BITSOFFS(24, 8), "StateChangeEnable", mad_dump_hex}, + {BITSOFFS(56, 8), "LinkSpeedSupported", mad_dump_hex}, + {BITSOFFS(88, 8), "LinkSpeedEnabled", mad_dump_hex}, + {BITSOFFS(120, 8), "LinkSpeedActive", mad_dump_hex}, + {0, 0}, /* IB_MLNX_EXT_PORT_LAST_F */ + + /* + * Congestion Control Mad fields + * bytes 24-31 of congestion control mad + */ + {192, 64, "CC_Key", mad_dump_hex}, /* IB_CC_CCKEY_F */ + + /* + * CongestionInfo fields + */ + {BITSOFFS(0, 16), "CongestionInfo", mad_dump_hex}, + {BITSOFFS(16, 8), "ControlTableCap", mad_dump_uint}, + {0, 0}, /* IB_CC_CONGESTION_INFO_LAST_F */ + + /* + * CongestionKeyInfo fields + */ + {0, 64, "CC_Key", mad_dump_hex}, + {BITSOFFS(64, 1), "CC_KeyProtectBit", mad_dump_uint}, + {BITSOFFS(80, 16), "CC_KeyLeasePeriod", mad_dump_uint}, + {BITSOFFS(96, 16), "CC_KeyViolations", mad_dump_uint}, + {0, 0}, /* IB_CC_CONGESTION_KEY_INFO_LAST_F */ + + /* + * CongestionLog (common) fields + */ + {BITSOFFS(0, 8), "LogType", mad_dump_uint}, + {BITSOFFS(8, 8), "CongestionFlags", mad_dump_hex}, + {0, 0}, /* IB_CC_CONGESTION_LOG_LAST_F */ + + /* + * CongestionLog (Switch) fields + */ + {BITSOFFS(16, 16), "LogEventsCounter", mad_dump_uint}, + {32, 32, "CurrentTimeStamp", mad_dump_uint}, + {64, 256, "PortMap", mad_dump_array}, + {0, 0}, /* IB_CC_CONGESTION_LOG_SWITCH_LAST_F */ + + /* + * CongestionLogEvent (Switch) fields + */ + {BITSOFFS(0, 16), "SLID", mad_dump_uint}, + {BITSOFFS(16, 16), "DLID", mad_dump_uint}, + {BITSOFFS(32, 4), "SL", mad_dump_uint}, + {64, 32, "Timestamp", mad_dump_uint}, + {0, 0}, /* IB_CC_CONGESTION_LOG_ENTRY_SWITCH_LAST_F */ + + /* + * CongestionLog (CA) fields + */ + {BITSOFFS(16, 16), "ThresholdEventCounter", mad_dump_uint}, + {BITSOFFS(32, 16), "ThresholdCongestionEventMap", mad_dump_hex}, + /* XXX: Q3/2010 errata lists offset 48, but that means field is not + * word aligned. Assume will be aligned to offset 64 later. + */ + {BITSOFFS(64, 32), "CurrentTimeStamp", mad_dump_uint}, + {0, 0}, /* IB_CC_CONGESTION_LOG_CA_LAST_F */ + + /* + * CongestionLogEvent (CA) fields + */ + {BITSOFFS(0, 24), "Local_QP_CN_Entry", mad_dump_uint}, + {BITSOFFS(24, 4), "SL_CN_Entry", mad_dump_uint}, + {BITSOFFS(28, 4), "Service_Type_CN_Entry", mad_dump_hex}, + {BITSOFFS(32, 24), "Remote_QP_Number_CN_Entry", mad_dump_uint}, + {BITSOFFS(64, 16), "Local_LID_CN", mad_dump_uint}, + {BITSOFFS(80, 16), "Remote_LID_CN_Entry", mad_dump_uint}, + {BITSOFFS(96, 32), "Timestamp_CN_Entry", mad_dump_uint}, + {0, 0}, /* IB_CC_CONGESTION_LOG_ENTRY_CA_LAST_F */ + + /* + * SwitchCongestionSetting fields + */ + {0, 32, "Control_Map", mad_dump_hex}, + {32, 256, "Victim_Mask", mad_dump_array}, + {288, 256, "Credit_Mask", mad_dump_array}, + {BITSOFFS(544, 4), "Threshold", mad_dump_hex}, + {BITSOFFS(552, 8), "Packet_Size", mad_dump_uint}, + {BITSOFFS(560, 4), "CS_Threshold", mad_dump_hex}, + {BITSOFFS(576, 16), "CS_ReturnDelay", mad_dump_hex}, /* TODO: CCT dump */ + {BITSOFFS(592, 16), "Marking_Rate", mad_dump_uint}, + {0, 0}, /* IB_CC_SWITCH_CONGESTION_SETTING_LAST_F */ + + /* + * SwitchPortCongestionSettingElement fields + */ + {BITSOFFS(0, 1), "Valid", mad_dump_uint}, + {BITSOFFS(1, 1), "Control_Type", mad_dump_uint}, + {BITSOFFS(4, 4), "Threshold", mad_dump_hex}, + {BITSOFFS(8, 8), "Packet_Size", mad_dump_uint}, + {BITSOFFS(16, 16), "Cong_Parm_Marking_Rate", mad_dump_uint}, + {0, 0}, /* IB_CC_SWITCH_PORT_CONGESTION_SETTING_ELEMENT_LAST_F */ + + /* + * CACongestionSetting fields + */ + {BITSOFFS(0, 16), "Port_Control", mad_dump_hex}, + {BITSOFFS(16, 16), "Control_Map", mad_dump_hex}, + {0, 0}, /* IB_CC_CA_CONGESTION_SETTING_LAST_F */ + + /* + * CACongestionEntry fields + */ + {BITSOFFS(0, 16), "CCTI_Timer", mad_dump_uint}, + {BITSOFFS(16, 8), "CCTI_Increase", mad_dump_uint}, + {BITSOFFS(24, 8), "Trigger_Threshold", mad_dump_uint}, + {BITSOFFS(32, 8), "CCTI_Min", mad_dump_uint}, + {0, 0}, /* IB_CC_CA_CONGESTION_SETTING_ENTRY_LAST_F */ + + /* + * CongestionControlTable fields + */ + {BITSOFFS(0, 16), "CCTI_Limit", mad_dump_uint}, + {0, 0}, /* IB_CC_CONGESTION_CONTROL_TABLE_LAST_F */ + + /* + * CongestionControlTableEntry fields + */ + {BITSOFFS(0, 2), "CCT_Shift", mad_dump_uint}, + {BITSOFFS(2, 14), "CCT_Multiplier", mad_dump_uint}, + {0, 0}, /* IB_CC_CONGESTION_CONTROL_TABLE_ENTRY_LAST_F */ + + /* + * Timestamp fields + */ + {0, 32, "Timestamp", mad_dump_uint}, + {0, 0}, /* IB_CC_TIMESTAMP_LAST_F */ + + /* Node Record */ + {BITSOFFS(0, 16), "Lid", mad_dump_uint}, + {BITSOFFS(32, 8), "BaseVers", mad_dump_uint}, + {BITSOFFS(40, 8), "ClassVers", mad_dump_uint}, + {BITSOFFS(48, 8), "NodeType", mad_dump_node_type}, + {BITSOFFS(56, 8), "NumPorts", mad_dump_uint}, + {64, 64, "SystemGuid", mad_dump_hex}, + {128, 64, "Guid", mad_dump_hex}, + {192, 64, "PortGuid", mad_dump_hex}, + {BITSOFFS(256, 16), "PartCap", mad_dump_uint}, + {BITSOFFS(272, 16), "DevId", mad_dump_hex}, + {288, 32, "Revision", mad_dump_hex}, + {BITSOFFS(320, 8), "LocalPort", mad_dump_uint}, + {BITSOFFS(328, 24), "VendorId", mad_dump_hex}, + {352, 64 * 8, "NodeDesc", mad_dump_string}, + {0, 0}, /* IB_SA_NR_LAST_F */ + + /* + * PortSamplesResult fields + */ + {BITSOFFS(0, 16), "Tag", mad_dump_hex}, + {BITSOFFS(30, 2), "SampleStatus", mad_dump_hex}, + {32, 32, "Counter0", mad_dump_uint}, + {64, 32, "Counter1", mad_dump_uint}, + {96, 32, "Counter2", mad_dump_uint}, + {128, 32, "Counter3", mad_dump_uint}, + {160, 32, "Counter4", mad_dump_uint}, + {192, 32, "Counter5", mad_dump_uint}, + {224, 32, "Counter6", mad_dump_uint}, + {256, 32, "Counter7", mad_dump_uint}, + {288, 32, "Counter8", mad_dump_uint}, + {320, 32, "Counter9", mad_dump_uint}, + {352, 32, "Counter10", mad_dump_uint}, + {384, 32, "Counter11", mad_dump_uint}, + {416, 32, "Counter12", mad_dump_uint}, + {448, 32, "Counter13", mad_dump_uint}, + {480, 32, "Counter14", mad_dump_uint}, + {0, 0}, /* IB_PSR_LAST_F */ + + /* + * PortInfoExtended fields + */ + {0, 32, "CapMask", mad_dump_hex}, + {BITSOFFS(32, 16), "FECModeActive", mad_dump_uint}, + {BITSOFFS(48, 16), "FDRFECModeSupported", mad_dump_hex}, + {BITSOFFS(64, 16), "FDRFECModeEnabled", mad_dump_hex}, + {BITSOFFS(80, 16), "EDRFECModeSupported", mad_dump_hex}, + {BITSOFFS(96, 16), "EDRFECModeEnabled", mad_dump_hex}, + {0, 0}, /* IB_PORT_EXT_LAST_F */ + + /* + * PortExtendedSpeedsCounters RSFEC Active fields + */ + {BITSOFFS(8, 8), "PortSelect", mad_dump_uint}, + {64, 64, "CounterSelect", mad_dump_hex}, + {BITSOFFS(128, 16), "SyncHeaderErrorCounter", mad_dump_uint}, + {BITSOFFS(144, 16), "UnknownBlockCounter", mad_dump_uint}, + {352, 32, "FECCorrectableSymbolCtrLane0", mad_dump_uint}, + {384, 32, "FECCorrectableSymbolCtrLane1", mad_dump_uint}, + {416, 32, "FECCorrectableSymbolCtrLane2", mad_dump_uint}, + {448, 32, "FECCorrectableSymbolCtrLane3", mad_dump_uint}, + {480, 32, "FECCorrectableSymbolCtrLane4", mad_dump_uint}, + {512, 32, "FECCorrectableSymbolCtrLane5", mad_dump_uint}, + {544, 32, "FECCorrectableSymbolCtrLane6", mad_dump_uint}, + {576, 32, "FECCorrectableSymbolCtrLane7", mad_dump_uint}, + {608, 32, "FECCorrectableSymbolCtrLane8", mad_dump_uint}, + {640, 32, "FECCorrectableSymbolCtrLane9", mad_dump_uint}, + {672, 32, "FECCorrectableSymbolCtrLane10", mad_dump_uint}, + {704, 32, "FECCorrectableSymbolCtrLane11", mad_dump_uint}, + {1120, 32, "PortFECCorrectableBlockCtr", mad_dump_uint}, + {1152, 32, "PortFECUncorrectableBlockCtr", mad_dump_uint}, + {1184, 32, "PortFECCorrectedSymbolCtr", mad_dump_uint}, + {0, 0}, /* IB_PESC_RSFEC_LAST_F */ + + /* + * More PortCountersExtended fields + */ + {32, 32, "CounterSelect2", mad_dump_hex}, + {576, 64, "SymbolErrorCounter", mad_dump_uint}, + {640, 64, "LinkErrorRecoveryCounter", mad_dump_uint}, + {704, 64, "LinkDownedCounter", mad_dump_uint}, + {768, 64, "PortRcvErrors", mad_dump_uint}, + {832, 64, "PortRcvRemotePhysicalErrors", mad_dump_uint}, + {896, 64, "PortRcvSwitchRelayErrors", mad_dump_uint}, + {960, 64, "PortXmitDiscards", mad_dump_uint}, + {1024, 64, "PortXmitConstraintErrors", mad_dump_uint}, + {1088, 64, "PortRcvConstraintErrors", mad_dump_uint}, + {1152, 64, "LocalLinkIntegrityErrors", mad_dump_uint}, + {1216, 64, "ExcessiveBufferOverrunErrors", mad_dump_uint}, + {1280, 64, "VL15Dropped", mad_dump_uint}, + {1344, 64, "PortXmitWait", mad_dump_uint}, + {1408, 64, "QP1Dropped", mad_dump_uint}, + {0, 0}, /* IB_PC_EXT_ERR_LAST_F */ + + {0, 0} /* IB_FIELD_LAST_ */ +}; + +static void _set_field64(void *buf, int base_offs, const ib_field_t * f, + uint64_t val) +{ + uint64_t nval; + + nval = htonll(val); + memcpy(((void *)(char *)buf + base_offs + f->bitoffs / 8), + (void *)&nval, sizeof(uint64_t)); +} + +static uint64_t _get_field64(void *buf, int base_offs, const ib_field_t * f) +{ + uint64_t val; + memcpy((void *)&val, (void *)((char *)buf + base_offs + f->bitoffs / 8), + sizeof(uint64_t)); + return ntohll(val); +} + +static void _set_field(void *buf, int base_offs, const ib_field_t * f, + uint32_t val) +{ + int prebits = (8 - (f->bitoffs & 7)) & 7; + int postbits = (f->bitoffs + f->bitlen) & 7; + int bytelen = f->bitlen / 8; + unsigned idx = base_offs + f->bitoffs / 8; + char *p = (char *)buf; + + if (!bytelen && (f->bitoffs & 7) + f->bitlen < 8) { + p[3 ^ idx] &= ~((((1 << f->bitlen) - 1)) << (f->bitoffs & 7)); + p[3 ^ idx] |= + (val & ((1 << f->bitlen) - 1)) << (f->bitoffs & 7); + return; + } + + if (prebits) { /* val lsb in byte msb */ + p[3 ^ idx] &= (1 << (8 - prebits)) - 1; + p[3 ^ idx++] |= (val & ((1 << prebits) - 1)) << (8 - prebits); + val >>= prebits; + } + + /* BIG endian byte order */ + for (; bytelen--; val >>= 8) + p[3 ^ idx++] = val & 0xff; + + if (postbits) { /* val msb in byte lsb */ + p[3 ^ idx] &= ~((1 << postbits) - 1); + p[3 ^ idx] |= val; + } +} + +static uint32_t _get_field(void *buf, int base_offs, const ib_field_t * f) +{ + int prebits = (8 - (f->bitoffs & 7)) & 7; + int postbits = (f->bitoffs + f->bitlen) & 7; + int bytelen = f->bitlen / 8; + unsigned idx = base_offs + f->bitoffs / 8; + uint8_t *p = (uint8_t *) buf; + uint32_t val = 0, v = 0, i; + + if (!bytelen && (f->bitoffs & 7) + f->bitlen < 8) + return (p[3 ^ idx] >> (f->bitoffs & 7)) & ((1 << f->bitlen) - + 1); + + if (prebits) /* val lsb from byte msb */ + v = p[3 ^ idx++] >> (8 - prebits); + + if (postbits) { /* val msb from byte lsb */ + i = base_offs + (f->bitoffs + f->bitlen) / 8; + val = (p[3 ^ i] & ((1 << postbits) - 1)); + } + + /* BIG endian byte order */ + for (idx += bytelen - 1; bytelen--; idx--) + val = (val << 8) | p[3 ^ idx]; + + return (val << prebits) | v; +} + +/* field must be byte aligned */ +static void _set_array(void *buf, int base_offs, const ib_field_t * f, + void *val) +{ + int bitoffs = f->bitoffs; + + if (f->bitlen < 32) + bitoffs = BE_TO_BITSOFFS(bitoffs, f->bitlen); + + memcpy((uint8_t *) buf + base_offs + bitoffs / 8, val, f->bitlen / 8); +} + +static void _get_array(void *buf, int base_offs, const ib_field_t * f, + void *val) +{ + int bitoffs = f->bitoffs; + + if (f->bitlen < 32) + bitoffs = BE_TO_BITSOFFS(bitoffs, f->bitlen); + + memcpy(val, (uint8_t *) buf + base_offs + bitoffs / 8, f->bitlen / 8); +} + +uint32_t mad_get_field(void *buf, int base_offs, enum MAD_FIELDS field) +{ + return _get_field(buf, base_offs, ib_mad_f + field); +} + +void mad_set_field(void *buf, int base_offs, enum MAD_FIELDS field, + uint32_t val) +{ + _set_field(buf, base_offs, ib_mad_f + field, val); +} + +uint64_t mad_get_field64(void *buf, int base_offs, enum MAD_FIELDS field) +{ + return _get_field64(buf, base_offs, ib_mad_f + field); +} + +void mad_set_field64(void *buf, int base_offs, enum MAD_FIELDS field, + uint64_t val) +{ + _set_field64(buf, base_offs, ib_mad_f + field, val); +} + +void mad_set_array(void *buf, int base_offs, enum MAD_FIELDS field, void *val) +{ + _set_array(buf, base_offs, ib_mad_f + field, val); +} + +void mad_get_array(void *buf, int base_offs, enum MAD_FIELDS field, void *val) +{ + _get_array(buf, base_offs, ib_mad_f + field, val); +} + +void mad_decode_field(uint8_t * buf, enum MAD_FIELDS field, void *val) +{ + const ib_field_t *f = ib_mad_f + field; + + if (!field) { + *(int *)val = *(int *)buf; + return; + } + if (f->bitlen <= 32) { + *(uint32_t *) val = _get_field(buf, 0, f); + return; + } + if (f->bitlen == 64) { + *(uint64_t *) val = _get_field64(buf, 0, f); + return; + } + _get_array(buf, 0, f, val); +} + +void mad_encode_field(uint8_t * buf, enum MAD_FIELDS field, void *val) +{ + const ib_field_t *f = ib_mad_f + field; + + if (!field) { + *(int *)buf = *(int *)val; + return; + } + if (f->bitlen <= 32) { + _set_field(buf, 0, f, *(uint32_t *) val); + return; + } + if (f->bitlen == 64) { + _set_field64(buf, 0, f, *(uint64_t *) val); + return; + } + _set_array(buf, 0, f, val); +} + +/************************/ + +static char *_mad_dump_val(const ib_field_t * f, char *buf, int bufsz, + void *val) +{ + f->def_dump_fn(buf, bufsz, val, ALIGN(f->bitlen, 8) / 8); + buf[bufsz - 1] = 0; + + return buf; +} + +static char *_mad_dump_field(const ib_field_t * f, const char *name, char *buf, + int bufsz, void *val) +{ + char dots[128]; + int l, n; + + if (bufsz <= 32) + return NULL; /* buf too small */ + + if (!name) + name = f->name; + + l = strlen(name); + if (l < 32) { + memset(dots, '.', 32 - l); + dots[32 - l] = 0; + } + + n = snprintf(buf, bufsz, "%s:%s", name, dots); + _mad_dump_val(f, buf + n, bufsz - n, val); + buf[bufsz - 1] = 0; + + return buf; +} + +static int _mad_dump(ib_mad_dump_fn * fn, const char *name, void *val, + int valsz) +{ + ib_field_t f; + char buf[512]; + + f.def_dump_fn = fn; + f.bitlen = valsz * 8; + + return printf("%s\n", _mad_dump_field(&f, name, buf, sizeof buf, val)); +} + +static int _mad_print_field(const ib_field_t * f, const char *name, void *val, + int valsz) +{ + return _mad_dump(f->def_dump_fn, name ? name : f->name, val, + valsz ? valsz : ALIGN(f->bitlen, 8) / 8); +} + +int mad_print_field(enum MAD_FIELDS field, const char *name, void *val) +{ + if (field <= IB_NO_FIELD || field >= IB_FIELD_LAST_) + return -1; + return _mad_print_field(ib_mad_f + field, name, val, 0); +} + +char *mad_dump_field(enum MAD_FIELDS field, char *buf, int bufsz, void *val) +{ + if (field <= IB_NO_FIELD || field >= IB_FIELD_LAST_) + return NULL; + return _mad_dump_field(ib_mad_f + field, 0, buf, bufsz, val); +} + +char *mad_dump_val(enum MAD_FIELDS field, char *buf, int bufsz, void *val) +{ + if (field <= IB_NO_FIELD || field >= IB_FIELD_LAST_) + return NULL; + return _mad_dump_val(ib_mad_f + field, buf, bufsz, val); +} + +const char *mad_field_name(enum MAD_FIELDS field) +{ + return (ib_mad_f[field].name); +} diff --git a/libibmad/src/gs.c b/libibmad/src/gs.c new file mode 100644 index 0000000..90db7e2 --- /dev/null +++ b/libibmad/src/gs.c @@ -0,0 +1,133 @@ +/* + * Copyright (c) 2004-2009 Voltaire Inc. All rights reserved. + * Copyright (c) 2011 Mellanox Technologies LTD. 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 + * General Public License (GPL) Version 2, available from the file + * COPYING in the main directory of this source tree, or the + * OpenIB.org BSD license below: + * + * Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: + * + * - Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * + * - Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + */ + +#if HAVE_CONFIG_H +# include +#endif /* HAVE_CONFIG_H */ + +#include +#include +#include +#include + +#include +#include + +#undef DEBUG +#define DEBUG if (ibdebug) IBWARN + +uint8_t *pma_query_via(void *rcvbuf, ib_portid_t * dest, int port, + unsigned timeout, unsigned id, + const struct ibmad_port * srcport) +{ + ib_rpc_v1_t rpc = { 0 }; + ib_rpc_t *rpcold = (ib_rpc_t *)(void *)&rpc; + int lid = dest->lid; + void *p_ret; + + DEBUG("lid %u port %d", lid, port); + + if (lid == -1) { + IBWARN("only lid routed is supported"); + return NULL; + } + + rpc.mgtclass = IB_PERFORMANCE_CLASS | IB_MAD_RPC_VERSION1; + rpc.method = IB_MAD_METHOD_GET; + rpc.attr.id = id; + + /* Same for attribute IDs */ + mad_set_field(rcvbuf, 0, IB_PC_PORT_SELECT_F, port); + rpc.attr.mod = 0; + rpc.timeout = timeout; + rpc.datasz = IB_PC_DATA_SZ; + rpc.dataoffs = IB_PC_DATA_OFFS; + + if (!dest->qp) + dest->qp = 1; + if (!dest->qkey) + dest->qkey = IB_DEFAULT_QP1_QKEY; + + p_ret = mad_rpc(srcport, rpcold, dest, rcvbuf, rcvbuf); + errno = rpc.error; + return p_ret; +} + +uint8_t *performance_reset_via(void *rcvbuf, ib_portid_t * dest, + int port, unsigned mask, unsigned timeout, + unsigned id, const struct ibmad_port * srcport) +{ + ib_rpc_v1_t rpc = { 0 }; + ib_rpc_t *rpcold = (ib_rpc_t *)(void *)&rpc; + + int lid = dest->lid; + void *p_ret; + + DEBUG("lid %u port %d mask 0x%x", lid, port, mask); + + if (lid == -1) { + IBWARN("only lid routed is supported"); + return NULL; + } + + if (!mask) + mask = ~0; + + rpc.mgtclass = IB_PERFORMANCE_CLASS | IB_MAD_RPC_VERSION1; + rpc.method = IB_MAD_METHOD_SET; + rpc.attr.id = id; + + memset(rcvbuf, 0, IB_MAD_SIZE); + + /* Next 2 lines - same for attribute IDs */ + mad_set_field(rcvbuf, 0, IB_PC_PORT_SELECT_F, port); + mad_set_field(rcvbuf, 0, IB_PC_COUNTER_SELECT_F, mask); + mask = mask >> 16; + if (id == IB_GSI_PORT_COUNTERS_EXT) + mad_set_field(rcvbuf, 0, IB_PC_EXT_COUNTER_SELECT2_F, mask); + else + mad_set_field(rcvbuf, 0, IB_PC_COUNTER_SELECT2_F, mask); + rpc.attr.mod = 0; + rpc.timeout = timeout; + rpc.datasz = IB_PC_DATA_SZ; + rpc.dataoffs = IB_PC_DATA_OFFS; + if (!dest->qp) + dest->qp = 1; + if (!dest->qkey) + dest->qkey = IB_DEFAULT_QP1_QKEY; + + p_ret = mad_rpc(srcport, rpcold, dest, rcvbuf, rcvbuf); + errno = rpc.error; + return p_ret; +} diff --git a/libibmad/src/libibmad.map b/libibmad/src/libibmad.map new file mode 100644 index 0000000..3240a7b --- /dev/null +++ b/libibmad/src/libibmad.map @@ -0,0 +1,156 @@ +IBMAD_1.3 { + global: + xdump; + mad_dump_field; + mad_dump_val; + mad_print_field; + mad_dump_array; + mad_dump_bitfield; + mad_dump_hex; + mad_dump_int; + mad_dump_linkdowndefstate; + mad_dump_linkspeed; + mad_dump_linkspeeden; + mad_dump_linkspeedsup; + mad_dump_linkspeedext; + mad_dump_linkspeedexten; + mad_dump_linkspeedextsup; + mad_dump_linkwidth; + mad_dump_linkwidthen; + mad_dump_linkwidthsup; + mad_dump_mlnx_ext_port_info; + mad_dump_portinfo_ext; + mad_dump_mtu; + mad_dump_node_type; + mad_dump_nodedesc; + mad_dump_nodeinfo; + mad_dump_opervls; + mad_dump_fields; + mad_dump_perfcounters; + mad_dump_perfcounters_ext; + mad_dump_perfcounters_xmt_sl; + mad_dump_perfcounters_rcv_sl; + mad_dump_perfcounters_xmt_disc; + mad_dump_perfcounters_rcv_err; + mad_dump_physportstate; + mad_dump_portcapmask; + mad_dump_portinfo; + mad_dump_portsamples_control; + mad_dump_portsamples_result; + mad_dump_perfcounters_port_op_rcv_counters; + mad_dump_perfcounters_port_flow_ctl_counters; + mad_dump_perfcounters_port_vl_op_packet; + mad_dump_perfcounters_port_vl_op_data; + mad_dump_perfcounters_port_vl_xmit_flow_ctl_update_errors; + mad_dump_perfcounters_port_vl_xmit_wait_counters; + mad_dump_perfcounters_sw_port_vl_congestion; + mad_dump_perfcounters_rcv_con_ctrl; + mad_dump_perfcounters_sl_rcv_fecn; + mad_dump_perfcounters_sl_rcv_becn; + mad_dump_perfcounters_xmit_con_ctrl; + mad_dump_perfcounters_vl_xmit_time_cong; + mad_dump_cc_congestioninfo; + mad_dump_cc_congestionkeyinfo; + mad_dump_cc_congestionlog; + mad_dump_cc_congestionlogswitch; + mad_dump_cc_congestionlogentryswitch; + mad_dump_cc_congestionlogca; + mad_dump_cc_congestionlogentryca; + mad_dump_cc_switchcongestionsetting; + mad_dump_cc_switchportcongestionsettingelement; + mad_dump_cc_cacongestionsetting; + mad_dump_cc_cacongestionentry; + mad_dump_cc_congestioncontroltable; + mad_dump_cc_congestioncontroltableentry; + mad_dump_cc_timestamp; + mad_dump_classportinfo; + mad_dump_portstates; + mad_dump_portstate; + mad_dump_rhex; + mad_dump_sltovl; + mad_dump_string; + mad_dump_switchinfo; + mad_dump_uint; + mad_dump_vlarbitration; + mad_dump_vlcap; + mad_get_field; + mad_set_field; + mad_get_field64; + mad_set_field64; + mad_get_array; + mad_set_array; + pma_query_via; + performance_reset_via; + mad_build_pkt; + mad_decode_field; + mad_encode; + mad_encode_field; + mad_trid; + portid2portnum; + portid2str; + str2drpath; + drpath2str; + mad_class_agent; + mad_register_client; + mad_register_server; + mad_register_client_via; + mad_register_server_via; + ib_resolve_portid_str; + ib_resolve_self; + ib_resolve_smlid; + ibdebug; + mad_rpc_open_port; + mad_rpc_close_port; + mad_rpc; + mad_rpc_rmpp; + mad_rpc_portid; + mad_rpc_class_agent; + mad_rpc_set_retries; + mad_rpc_set_timeout; + mad_get_timeout; + mad_get_retries; + madrpc; + madrpc_def_timeout; + madrpc_init; + madrpc_portid; + madrpc_rmpp; + madrpc_save_mad; + madrpc_set_retries; + madrpc_set_timeout; + madrpc_show_errors; + ib_path_query; + sa_call; + sa_rpc_call; + mad_alloc; + mad_free; + mad_receive; + mad_respond; + mad_receive_via; + mad_respond_via; + mad_send; + mad_send_via; + smp_query; + smp_set; + ib_vendor_call; + ib_vendor_call_via; + smp_query_via; + smp_query_status_via; + smp_set_via; + smp_set_status_via; + ib_path_query_via; + ib_resolve_smlid_via; + ib_resolve_guid_via; + ib_resolve_gid_via; + ib_resolve_portid_str_via; + ib_resolve_self_via; + mad_field_name; + bm_call_via; + mad_dump_port_ext_speeds_counters; + mad_dump_port_ext_speeds_counters_rsfec_active; + cc_query_status_via; + cc_config_status_via; + smp_mkey_get; + smp_mkey_set; + ib_node_query_via; + local: *; +}; diff --git a/libibmad/src/mad.c b/libibmad/src/mad.c new file mode 100644 index 0000000..5deefa2 --- /dev/null +++ b/libibmad/src/mad.c @@ -0,0 +1,211 @@ +/* + * Copyright (c) 2004-2009 Voltaire Inc. All rights reserved. + * Copyright (c) 2009 HNR Consulting. All rights reserved. + * Copyright (c) 2011 Mellanox Technologies LTD. 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 + * General Public License (GPL) Version 2, available from the file + * COPYING in the main directory of this source tree, or the + * OpenIB.org BSD license below: + * + * Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: + * + * - Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * + * - Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + */ + +#if HAVE_CONFIG_H +# include +#endif /* HAVE_CONFIG_H */ + +#include +#include +#include +#include +#include + +#include +#include + +#include "mad_internal.h" + +#undef DEBUG +#define DEBUG if (ibdebug) IBWARN + +#define GET_IB_USERLAND_TID(tid) (tid & 0x00000000ffffffff) +/* + * Generate the 64 bit MAD transaction ID. The upper 32 bits are reserved for + * use by the kernel. We clear the upper 32 bits here, but MADs received from + * the kernel may contain kernel specific data in these bits, consequently + * userland TID matching should only be done on the lower 32 bits. + */ +uint64_t mad_trid(void) +{ + static uint64_t trid; + uint64_t next; + + if (!trid) { + srandom((int)time(0) * getpid()); + trid = random(); + } + next = ++trid; + next = GET_IB_USERLAND_TID(next); + return next; +} + +int mad_get_timeout(const struct ibmad_port *srcport, int override_ms) +{ + return (override_ms ? override_ms : + srcport->timeout ? srcport->timeout : madrpc_timeout); +} + +int mad_get_retries(const struct ibmad_port *srcport) +{ + return (srcport->retries ? srcport->retries : madrpc_retries); +} + +void *mad_encode(void *buf, ib_rpc_t * rpc, ib_dr_path_t * drpath, void *data) +{ + int is_resp = rpc->method & IB_MAD_RESPONSE; + int mgtclass; + + /* first word */ + mad_set_field(buf, 0, IB_MAD_METHOD_F, rpc->method); + mad_set_field(buf, 0, IB_MAD_RESPONSE_F, is_resp ? 1 : 0); + mgtclass = rpc->mgtclass & 0xff; + if (mgtclass == IB_SA_CLASS || mgtclass == IB_CC_CLASS) + mad_set_field(buf, 0, IB_MAD_CLASSVER_F, 2); + else + mad_set_field(buf, 0, IB_MAD_CLASSVER_F, 1); + mad_set_field(buf, 0, IB_MAD_MGMTCLASS_F, rpc->mgtclass & 0xff); + mad_set_field(buf, 0, IB_MAD_BASEVER_F, 1); + + /* second word */ + if ((rpc->mgtclass & 0xff) == IB_SMI_DIRECT_CLASS) { + if (!drpath) { + IBWARN("encoding dr mad without drpath (null)"); + errno = EINVAL; + return NULL; + } + if (drpath->cnt >= IB_SUBNET_PATH_HOPS_MAX) { + IBWARN("dr path with hop count %d", drpath->cnt); + errno = EINVAL; + return NULL; + } + mad_set_field(buf, 0, IB_DRSMP_HOPCNT_F, drpath->cnt); + mad_set_field(buf, 0, IB_DRSMP_HOPPTR_F, + is_resp ? drpath->cnt + 1 : 0x0); + mad_set_field(buf, 0, IB_DRSMP_STATUS_F, rpc->rstatus); + mad_set_field(buf, 0, IB_DRSMP_DIRECTION_F, is_resp ? 1 : 0); /* out */ + } else + mad_set_field(buf, 0, IB_MAD_STATUS_F, rpc->rstatus); + + /* words 3,4,5,6 */ + if (!rpc->trid) + rpc->trid = mad_trid(); + + mad_set_field64(buf, 0, IB_MAD_TRID_F, rpc->trid); + mad_set_field(buf, 0, IB_MAD_ATTRID_F, rpc->attr.id); + mad_set_field(buf, 0, IB_MAD_ATTRMOD_F, rpc->attr.mod); + + /* words 7,8 */ + mad_set_field64(buf, 0, IB_MAD_MKEY_F, rpc->mkey); + + if ((rpc->mgtclass & 0xff) == IB_SMI_DIRECT_CLASS) { + /* word 9 */ + mad_set_field(buf, 0, IB_DRSMP_DRDLID_F, + drpath->drdlid ? drpath->drdlid : 0xffff); + mad_set_field(buf, 0, IB_DRSMP_DRSLID_F, + drpath->drslid ? drpath->drslid : 0xffff); + + /* bytes 128 - 256 - by default should be zero due to memset */ + if (is_resp) + mad_set_array(buf, 0, IB_DRSMP_RPATH_F, drpath->p); + else + mad_set_array(buf, 0, IB_DRSMP_PATH_F, drpath->p); + } + + if ((rpc->mgtclass & 0xff) == IB_SA_CLASS) + mad_set_field64(buf, 0, IB_SA_COMPMASK_F, rpc->mask); + + if ((rpc->mgtclass & 0xff) == IB_CC_CLASS) { + ib_rpc_cc_t *rpccc = (ib_rpc_cc_t *)rpc; + mad_set_field64(buf, 0, IB_CC_CCKEY_F, rpccc->cckey); + } + + if (data) + memcpy((char *)buf + rpc->dataoffs, data, rpc->datasz); + + /* vendor mads range 2 */ + if (mad_is_vendor_range2(rpc->mgtclass & 0xff)) + mad_set_field(buf, 0, IB_VEND2_OUI_F, rpc->oui); + + return (uint8_t *) buf + IB_MAD_SIZE; +} + +int mad_build_pkt(void *umad, ib_rpc_t * rpc, ib_portid_t * dport, + ib_rmpp_hdr_t * rmpp, void *data) +{ + uint8_t *p, *mad; + int lid_routed = (rpc->mgtclass & 0xff) != IB_SMI_DIRECT_CLASS; + int is_smi = ((rpc->mgtclass & 0xff) == IB_SMI_CLASS || + (rpc->mgtclass & 0xff) == IB_SMI_DIRECT_CLASS); + struct ib_mad_addr addr; + + if (!is_smi) + umad_set_addr(umad, dport->lid, dport->qp, dport->sl, + dport->qkey); + else if (lid_routed) + umad_set_addr(umad, dport->lid, dport->qp, 0, 0); + else if ((dport->drpath.drslid != 0xffff) && (dport->lid > 0)) + umad_set_addr(umad, dport->lid, 0, 0, 0); + else + umad_set_addr(umad, 0xffff, 0, 0, 0); + + if (dport->grh_present && !is_smi) { + addr.grh_present = 1; + memcpy(addr.gid, dport->gid, 16); + addr.hop_limit = 0xff; + addr.traffic_class = 0; + addr.flow_label = 0; + umad_set_grh(umad, &addr); + } else + umad_set_grh(umad, 0); + umad_set_pkey(umad, is_smi ? 0 : dport->pkey_idx); + + mad = umad_get_mad(umad); + p = mad_encode(mad, rpc, lid_routed ? 0 : &dport->drpath, data); + if (!p) + return -1; + + if (!is_smi && rmpp) { + mad_set_field(mad, 0, IB_SA_RMPP_VERS_F, 1); + mad_set_field(mad, 0, IB_SA_RMPP_TYPE_F, rmpp->type); + mad_set_field(mad, 0, IB_SA_RMPP_RESP_F, 0x3f); + mad_set_field(mad, 0, IB_SA_RMPP_FLAGS_F, rmpp->flags); + mad_set_field(mad, 0, IB_SA_RMPP_STATUS_F, rmpp->status); + mad_set_field(mad, 0, IB_SA_RMPP_D1_F, rmpp->d1.u); + mad_set_field(mad, 0, IB_SA_RMPP_D2_F, rmpp->d2.u); + } + + return ((int)(p - mad)); +} diff --git a/include/ibdiag_version.h b/libibmad/src/mad_internal.h similarity index 75% copy from include/ibdiag_version.h copy to libibmad/src/mad_internal.h index 142d718..5deac27 100644 --- a/include/ibdiag_version.h +++ b/libibmad/src/mad_internal.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2008 Voltaire Inc. All rights reserved. + * Copyright (c) 2004-2009 Voltaire 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 @@ -31,9 +31,20 @@ * */ -#ifndef _IBDIAG_VERSION_H_ -#define _IBDIAG_VERSION_H_ +#ifndef _MAD_INTERNAL_H_ +#define _MAD_INTERNAL_H_ -#define IBDIAG_VERSION "1.6.7" +#define MAX_CLASS 256 -#endif /* _IBDIAG_VERSION_H_ */ +struct ibmad_port { + int port_id; /* file descriptor returned by umad_open() */ + int class_agents[MAX_CLASS]; /* class2agent mapper */ + int timeout, retries; + uint64_t smp_mkey; +}; + +extern struct ibmad_port *ibmp; +extern int madrpc_timeout; +extern int madrpc_retries; + +#endif /* _MAD_INTERNAL_H_ */ diff --git a/libibmad/src/portid.c b/libibmad/src/portid.c new file mode 100644 index 0000000..40754fe --- /dev/null +++ b/libibmad/src/portid.c @@ -0,0 +1,127 @@ +/* + * Copyright (c) 2004-2009 Voltaire 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 + * General Public License (GPL) Version 2, available from the file + * COPYING in the main directory of this source tree, or the + * OpenIB.org BSD license below: + * + * Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: + * + * - Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * + * - Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + */ + +#if HAVE_CONFIG_H +# include +#endif /* HAVE_CONFIG_H */ + +#include +#include +#include +#include + +#include + +#undef DEBUG +#define DEBUG if (ibdebug) IBWARN + +int portid2portnum(ib_portid_t * portid) +{ + if (portid->lid > 0) + return -1; + + if (portid->drpath.cnt == 0) + return 0; + + return portid->drpath.p[(portid->drpath.cnt - 1)]; +} + +char *portid2str(ib_portid_t * portid) +{ + static char buf[1024] = "local"; + int n = 0; + + if (portid->lid > 0) { + n += sprintf(buf + n, "Lid %d", portid->lid); + if (portid->grh_present) { + char gid[sizeof + "ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff"]; + if (inet_ntop(AF_INET6, portid->gid, gid, sizeof(gid))) + n += sprintf(buf + n, " Gid %s", gid); + } + if (portid->drpath.cnt) + n += sprintf(buf + n, " "); + else + return buf; + } + n += sprintf(buf + n, "DR path "); + drpath2str(&(portid->drpath), buf + n, sizeof(buf) - n); + + return buf; +} + +int str2drpath(ib_dr_path_t * path, char *routepath, int drslid, int drdlid) +{ + char *s, *str; + char *tmp; + + path->cnt = -1; + + if (!routepath || !(tmp = strdup(routepath))) + goto Exit; + + DEBUG("DR str: %s", routepath); + + str = tmp; + + while (str && *str) { + if ((s = strchr(str, ','))) + *s = 0; + path->p[++path->cnt] = (uint8_t) atoi(str); + if (!s) + break; + str = s + 1; + } + free(tmp); + +Exit: + path->drdlid = drdlid ? drdlid : 0xffff; + path->drslid = drslid ? drslid : 0xffff; + + return path->cnt; +} + +char *drpath2str(ib_dr_path_t * path, char *dstr, size_t dstr_size) +{ + int i = 0; + int rc = snprintf(dstr, dstr_size, "slid %u; dlid %u; %d", + path->drslid, path->drdlid, path->p[0]); + if (rc >= (int)dstr_size) + return dstr; + for (i = 1; i <= path->cnt; i++) { + rc += snprintf(dstr + rc, dstr_size - rc, ",%d", path->p[i]); + if (rc >= (int)dstr_size) + break; + } + return (dstr); +} diff --git a/libibmad/src/register.c b/libibmad/src/register.c new file mode 100644 index 0000000..1fdb64a --- /dev/null +++ b/libibmad/src/register.c @@ -0,0 +1,178 @@ +/* + * Copyright (c) 2004-2009 Voltaire 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 + * General Public License (GPL) Version 2, available from the file + * COPYING in the main directory of this source tree, or the + * OpenIB.org BSD license below: + * + * Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: + * + * - Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * + * - Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + */ + +#if HAVE_CONFIG_H +# include +#endif /* HAVE_CONFIG_H */ + +#include +#include +#include +#include + +#include +#include + +#include "mad_internal.h" + +#undef DEBUG +#define DEBUG if (ibdebug) IBWARN + +static int mgmt_class_vers(int mgmt_class) +{ + if ((mgmt_class >= IB_VENDOR_RANGE1_START_CLASS && + mgmt_class <= IB_VENDOR_RANGE1_END_CLASS) || + (mgmt_class >= IB_VENDOR_RANGE2_START_CLASS && + mgmt_class <= IB_VENDOR_RANGE2_END_CLASS)) + return 1; + + switch (mgmt_class) { + case IB_SMI_CLASS: + case IB_SMI_DIRECT_CLASS: + return 1; + case IB_SA_CLASS: + return 2; + case IB_PERFORMANCE_CLASS: + return 1; + case IB_DEVICE_MGMT_CLASS: + return 1; + case IB_CC_CLASS: + return 2; + case IB_BOARD_MGMT_CLASS: + return 1; + } + + return 0; +} + +int mad_class_agent(int mgmt) +{ + if (mgmt < 1 || mgmt >= MAX_CLASS) + return -1; + return ibmp->class_agents[mgmt]; +} + +int mad_register_port_client(int port_id, int mgmt, uint8_t rmpp_version) +{ + int vers, agent; + + if ((vers = mgmt_class_vers(mgmt)) <= 0) { + DEBUG("Unknown class %d mgmt_class", mgmt); + return -1; + } + + agent = umad_register(port_id, mgmt, vers, rmpp_version, 0); + if (agent < 0) + DEBUG("Can't register agent for class %d", mgmt); + + return agent; +} + +int mad_register_client(int mgmt, uint8_t rmpp_version) +{ + return mad_register_client_via(mgmt, rmpp_version, ibmp); +} + +int mad_register_client_via(int mgmt, uint8_t rmpp_version, + struct ibmad_port *srcport) +{ + int agent; + + if (!srcport) + return -1; + + agent = mad_register_port_client(mad_rpc_portid(srcport), mgmt, + rmpp_version); + if (agent < 0) + return agent; + + srcport->class_agents[mgmt] = agent; + return 0; +} + +int mad_register_server(int mgmt, uint8_t rmpp_version, + long method_mask[], uint32_t class_oui) +{ + return mad_register_server_via(mgmt, rmpp_version, method_mask, + class_oui, ibmp); +} + +int mad_register_server_via(int mgmt, uint8_t rmpp_version, + long method_mask[], uint32_t class_oui, + struct ibmad_port *srcport) +{ + long class_method_mask[16 / sizeof(long)]; + uint8_t oui[3]; + int agent, vers; + + if (method_mask) + memcpy(class_method_mask, method_mask, + sizeof class_method_mask); + else + memset(class_method_mask, 0xff, sizeof(class_method_mask)); + + if (!srcport) + return -1; + + if (srcport->class_agents[mgmt] >= 0) { + DEBUG("Class 0x%x already registered %d", + mgmt, srcport->class_agents[mgmt]); + return -1; + } + if ((vers = mgmt_class_vers(mgmt)) <= 0) { + DEBUG("Unknown class 0x%x mgmt_class", mgmt); + return -1; + } + if (mgmt >= IB_VENDOR_RANGE2_START_CLASS && + mgmt <= IB_VENDOR_RANGE2_END_CLASS) { + oui[0] = (class_oui >> 16) & 0xff; + oui[1] = (class_oui >> 8) & 0xff; + oui[2] = class_oui & 0xff; + if ((agent = + umad_register_oui(srcport->port_id, mgmt, rmpp_version, + oui, class_method_mask)) < 0) { + DEBUG("Can't register agent for class %d", mgmt); + return -1; + } + } else + if ((agent = + umad_register(srcport->port_id, mgmt, vers, rmpp_version, + class_method_mask)) < 0) { + DEBUG("Can't register agent for class %d", mgmt); + return -1; + } + + srcport->class_agents[mgmt] = agent; + + return agent; +} diff --git a/libibmad/src/resolve.c b/libibmad/src/resolve.c new file mode 100644 index 0000000..bccd938 --- /dev/null +++ b/libibmad/src/resolve.c @@ -0,0 +1,248 @@ +/* + * Copyright (c) 2004-2009 Voltaire Inc. All rights reserved. + * Copyright (c) 2009 HNR Consulting. 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 + * General Public License (GPL) Version 2, available from the file + * COPYING in the main directory of this source tree, or the + * OpenIB.org BSD license below: + * + * Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: + * + * - Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * + * - Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + */ + +#if HAVE_CONFIG_H +# include +#endif /* HAVE_CONFIG_H */ + +#include +#include +#include +#include +#include + +#include +#include +#include "mad_internal.h" + +#undef DEBUG +#define DEBUG if (ibdebug) IBWARN + +int ib_resolve_smlid_via(ib_portid_t * sm_id, int timeout, + const struct ibmad_port *srcport) +{ + ib_portid_t self = { 0 }; + uint8_t portinfo[64]; + int lid; + + memset(sm_id, 0, sizeof(*sm_id)); + + if (!smp_query_via(portinfo, &self, IB_ATTR_PORT_INFO, 0, 0, srcport)) + return -1; + + mad_decode_field(portinfo, IB_PORT_SMLID_F, &lid); + if (!IB_LID_VALID(lid)) { + errno = ENXIO; + return -1; + } + mad_decode_field(portinfo, IB_PORT_SMSL_F, &sm_id->sl); + + return ib_portid_set(sm_id, lid, 0, 0); +} + +int ib_resolve_smlid(ib_portid_t * sm_id, int timeout) +{ + return ib_resolve_smlid_via(sm_id, timeout, ibmp); +} + +int ib_resolve_gid_via(ib_portid_t * portid, ibmad_gid_t gid, + ib_portid_t * sm_id, int timeout, + const struct ibmad_port *srcport) +{ + ib_portid_t sm_portid = { 0 }; + char buf[IB_SA_DATA_SIZE] = { 0 }; + + if (!sm_id) + sm_id = &sm_portid; + + if (!IB_LID_VALID(sm_id->lid)) { + if (ib_resolve_smlid_via(sm_id, timeout, srcport) < 0) + return -1; + } + + if ((portid->lid = + ib_path_query_via(srcport, gid, gid, sm_id, buf)) < 0) + return -1; + + return 0; +} + +int ib_resolve_guid_via(ib_portid_t * portid, uint64_t * guid, + ib_portid_t * sm_id, int timeout, + const struct ibmad_port *srcport) +{ + ib_portid_t sm_portid = { 0 }; + uint8_t buf[IB_SA_DATA_SIZE] = { 0 }; + ib_portid_t self = { 0 }; + uint64_t selfguid, prefix; + ibmad_gid_t selfgid; + uint8_t nodeinfo[64]; + + if (!sm_id) + sm_id = &sm_portid; + + if (!IB_LID_VALID(sm_id->lid)) { + if (ib_resolve_smlid_via(sm_id, timeout, srcport) < 0) + return -1; + } + + if (!smp_query_via(nodeinfo, &self, IB_ATTR_NODE_INFO, 0, 0, srcport)) + return -1; + mad_decode_field(nodeinfo, IB_NODE_PORT_GUID_F, &selfguid); + mad_set_field64(selfgid, 0, IB_GID_PREFIX_F, IB_DEFAULT_SUBN_PREFIX); + mad_set_field64(selfgid, 0, IB_GID_GUID_F, selfguid); + + memcpy(&prefix, portid->gid, sizeof(prefix)); + if (!prefix) + mad_set_field64(portid->gid, 0, IB_GID_PREFIX_F, + IB_DEFAULT_SUBN_PREFIX); + if (guid) + mad_set_field64(portid->gid, 0, IB_GID_GUID_F, *guid); + + if ((portid->lid = + ib_path_query_via(srcport, selfgid, portid->gid, sm_id, buf)) < 0) + return -1; + + mad_decode_field(buf, IB_SA_PR_SL_F, &portid->sl); + return 0; +} + +int ib_resolve_portid_str_via(ib_portid_t * portid, char *addr_str, + enum MAD_DEST dest_type, ib_portid_t * sm_id, + const struct ibmad_port *srcport) +{ + ibmad_gid_t gid; + uint64_t guid; + int lid; + char *routepath; + ib_portid_t selfportid = { 0 }; + int selfport = 0; + + memset(portid, 0, sizeof *portid); + + switch (dest_type) { + case IB_DEST_LID: + lid = strtol(addr_str, 0, 0); + if (!IB_LID_VALID(lid)) { + errno = EINVAL; + return -1; + } + return ib_portid_set(portid, lid, 0, 0); + + case IB_DEST_DRPATH: + if (str2drpath(&portid->drpath, addr_str, 0, 0) < 0) { + errno = EINVAL; + return -1; + } + return 0; + + case IB_DEST_GUID: + if (!(guid = strtoull(addr_str, 0, 0))) { + errno = EINVAL; + return -1; + } + + /* keep guid in portid? */ + return ib_resolve_guid_via(portid, &guid, sm_id, 0, srcport); + + case IB_DEST_DRSLID: + lid = strtol(addr_str, &routepath, 0); + routepath++; + if (!IB_LID_VALID(lid)) { + errno = EINVAL; + return -1; + } + ib_portid_set(portid, lid, 0, 0); + + /* handle DR parsing and set DrSLID to local lid */ + if (ib_resolve_self_via(&selfportid, &selfport, 0, srcport) < 0) + return -1; + if (str2drpath(&portid->drpath, routepath, selfportid.lid, 0) < + 0) { + errno = EINVAL; + return -1; + } + return 0; + + case IB_DEST_GID: + if (inet_pton(AF_INET6, addr_str, &gid) <= 0) + return -1; + return ib_resolve_gid_via(portid, gid, sm_id, 0, srcport); + default: + IBWARN("bad dest_type %d", dest_type); + errno = EINVAL; + } + + return -1; +} + +int ib_resolve_portid_str(ib_portid_t * portid, char *addr_str, + enum MAD_DEST dest_type, ib_portid_t * sm_id) +{ + return ib_resolve_portid_str_via(portid, addr_str, dest_type, + sm_id, ibmp); +} + +int ib_resolve_self_via(ib_portid_t * portid, int *portnum, ibmad_gid_t * gid, + const struct ibmad_port *srcport) +{ + ib_portid_t self = { 0 }; + uint8_t portinfo[64]; + uint8_t nodeinfo[64]; + uint64_t guid, prefix; + + if (!smp_query_via(nodeinfo, &self, IB_ATTR_NODE_INFO, 0, 0, srcport)) + return -1; + + if (!smp_query_via(portinfo, &self, IB_ATTR_PORT_INFO, 0, 0, srcport)) + return -1; + + mad_decode_field(portinfo, IB_PORT_LID_F, &portid->lid); + mad_decode_field(portinfo, IB_PORT_SMSL_F, &portid->sl); + mad_decode_field(portinfo, IB_PORT_GID_PREFIX_F, &prefix); + mad_decode_field(nodeinfo, IB_NODE_PORT_GUID_F, &guid); + + if (portnum) + mad_decode_field(nodeinfo, IB_NODE_LOCAL_PORT_F, portnum); + if (gid) { + mad_encode_field(*gid, IB_GID_PREFIX_F, &prefix); + mad_encode_field(*gid, IB_GID_GUID_F, &guid); + } + return 0; +} + +int ib_resolve_self(ib_portid_t * portid, int *portnum, ibmad_gid_t * gid) +{ + return ib_resolve_self_via(portid, portnum, gid, ibmp); +} diff --git a/libibmad/src/rpc.c b/libibmad/src/rpc.c new file mode 100644 index 0000000..f286af7 --- /dev/null +++ b/libibmad/src/rpc.c @@ -0,0 +1,441 @@ +/* + * Copyright (c) 2004-2009 Voltaire Inc. All rights reserved. + * Copyright (c) 2009 HNR Consulting. All rights reserved. + * Copyright (c) 2011 Mellanox Technologies LTD. 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 + * General Public License (GPL) Version 2, available from the file + * COPYING in the main directory of this source tree, or the + * OpenIB.org BSD license below: + * + * Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: + * + * - Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * + * - Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + */ + +#if HAVE_CONFIG_H +# include +#endif /* HAVE_CONFIG_H */ + +#include +#include +#include +#include + +#include +#include + +#include "mad_internal.h" + +int ibdebug; + +static struct ibmad_port mad_port; +struct ibmad_port *ibmp = &mad_port; + +static int iberrs; + +int madrpc_retries = MAD_DEF_RETRIES; +int madrpc_timeout = MAD_DEF_TIMEOUT_MS; + +static void *save_mad; +static int save_mad_len = 256; + +#undef DEBUG +#define DEBUG if (ibdebug) IBWARN +#define ERRS(fmt, ...) do { \ + if (iberrs || ibdebug) \ + IBWARN(fmt, ## __VA_ARGS__); \ +} while (0) + +#define MAD_TID(mad) (*((uint64_t *)((char *)(mad) + 8))) + +void madrpc_show_errors(int set) +{ + iberrs = set; +} + +void madrpc_save_mad(void *madbuf, int len) +{ + save_mad = madbuf; + save_mad_len = len; +} + +int madrpc_set_retries(int retries) +{ + if (retries > 0) + madrpc_retries = retries; + return madrpc_retries; +} + +int madrpc_set_timeout(int timeout) +{ + madrpc_timeout = timeout; + return 0; +} + +void mad_rpc_set_retries(struct ibmad_port *port, int retries) +{ + port->retries = retries; +} + +void mad_rpc_set_timeout(struct ibmad_port *port, int timeout) +{ + port->timeout = timeout; +} + +int madrpc_def_timeout(void) +{ + return madrpc_timeout; +} + +int madrpc_portid(void) +{ + return ibmp->port_id; +} + +int mad_rpc_portid(struct ibmad_port *srcport) +{ + return srcport->port_id; +} + +int mad_rpc_class_agent(struct ibmad_port *port, int class) +{ + if (class < 1 || class >= MAX_CLASS) + return -1; + return port->class_agents[class]; +} + +static int +_do_madrpc(int port_id, void *sndbuf, void *rcvbuf, int agentid, int len, + int timeout, int max_retries, int *p_error) +{ + uint32_t trid; /* only low 32 bits - see mad_trid() */ + int retries; + int length, status; + + if (ibdebug > 1) { + IBWARN(">>> sending: len %d pktsz %zu", len, umad_size() + len); + xdump(stderr, "send buf\n", sndbuf, umad_size() + len); + } + + if (save_mad) { + memcpy(save_mad, umad_get_mad(sndbuf), + save_mad_len < len ? save_mad_len : len); + save_mad = 0; + } + + if (max_retries <= 0) { + errno = EINVAL; + *p_error = EINVAL; + ERRS("max_retries %d <= 0", max_retries); + return -1; + } + + trid = + (uint32_t) mad_get_field64(umad_get_mad(sndbuf), 0, IB_MAD_TRID_F); + + for (retries = 0; retries < max_retries; retries++) { + if (retries) + ERRS("retry %d (timeout %d ms)", retries, timeout); + + length = len; + if (umad_send(port_id, agentid, sndbuf, length, timeout, 0) < 0) { + IBWARN("send failed; %s", strerror(errno)); + return -1; + } + + /* Use same timeout on receive side just in case */ + /* send packet is lost somewhere. */ + do { + length = len; + if (umad_recv(port_id, rcvbuf, &length, timeout) < 0) { + IBWARN("recv failed: %s", strerror(errno)); + return -1; + } + + if (ibdebug > 2) + umad_addr_dump(umad_get_mad_addr(rcvbuf)); + if (ibdebug > 1) { + IBWARN("rcv buf:"); + xdump(stderr, "rcv buf\n", umad_get_mad(rcvbuf), + IB_MAD_SIZE); + } + } while ((uint32_t) + mad_get_field64(umad_get_mad(rcvbuf), 0, + IB_MAD_TRID_F) != trid); + + status = umad_status(rcvbuf); + if (!status) + return length; /* done */ + if (status == ENOMEM) + return length; + } + + errno = status; + *p_error = ETIMEDOUT; + ERRS("timeout after %d retries, %d ms", retries, timeout * retries); + return -1; +} + +static int redirect_port(ib_portid_t * port, uint8_t * mad) +{ + port->lid = mad_get_field(mad, 64, IB_CPI_REDIRECT_LID_F); + if (!port->lid) { + IBWARN("GID-based redirection is not supported"); + return -1; + } + + port->qp = mad_get_field(mad, 64, IB_CPI_REDIRECT_QP_F); + port->qkey = mad_get_field(mad, 64, IB_CPI_REDIRECT_QKEY_F); + port->sl = (uint8_t) mad_get_field(mad, 64, IB_CPI_REDIRECT_SL_F); + + /* TODO: Reverse map redirection P_Key to P_Key index */ + + if (ibdebug) + IBWARN("redirected to lid %d, qp 0x%x, qkey 0x%x, sl 0x%x", + port->lid, port->qp, port->qkey, port->sl); + + return 0; +} + +void *mad_rpc(const struct ibmad_port *port, ib_rpc_t * rpc, + ib_portid_t * dport, void *payload, void *rcvdata) +{ + int status, len; + uint8_t sndbuf[1024], rcvbuf[1024], *mad; + ib_rpc_v1_t *rpcv1 = (ib_rpc_v1_t *)rpc; + int error = 0; + + if ((rpc->mgtclass & IB_MAD_RPC_VERSION_MASK) == IB_MAD_RPC_VERSION1) + rpcv1->error = 0; + do { + len = 0; + memset(sndbuf, 0, umad_size() + IB_MAD_SIZE); + + if ((len = mad_build_pkt(sndbuf, rpc, dport, 0, payload)) < 0) + return NULL; + + if ((len = _do_madrpc(port->port_id, sndbuf, rcvbuf, + port->class_agents[rpc->mgtclass & 0xff], + len, mad_get_timeout(port, rpc->timeout), + mad_get_retries(port), &error)) < 0) { + if ((rpc->mgtclass & IB_MAD_RPC_VERSION_MASK) == + IB_MAD_RPC_VERSION1) + rpcv1->error = error; + IBWARN("_do_madrpc failed; dport (%s)", + portid2str(dport)); + return NULL; + } + + mad = umad_get_mad(rcvbuf); + status = mad_get_field(mad, 0, IB_DRSMP_STATUS_F); + + /* check for exact match instead of only the redirect bit; + * that way, weird statuses cause an error, too */ + if (status == IB_MAD_STS_REDIRECT) { + /* update dport for next request and retry */ + /* bail if redirection fails */ + if (redirect_port(dport, mad)) + break; + } else + break; + } while (1); + + if ((rpc->mgtclass & IB_MAD_RPC_VERSION_MASK) == IB_MAD_RPC_VERSION1) + rpcv1->error = error; + rpc->rstatus = status; + + if (status != 0) { + ERRS("MAD completed with error status 0x%x; dport (%s)", + status, portid2str(dport)); + errno = EIO; + return NULL; + } + + if (rcvdata) + memcpy(rcvdata, mad + rpc->dataoffs, rpc->datasz); + + return rcvdata; +} + +void *mad_rpc_rmpp(const struct ibmad_port *port, ib_rpc_t * rpc, + ib_portid_t * dport, ib_rmpp_hdr_t * rmpp, void *data) +{ + int status, len; + uint8_t sndbuf[1024], rcvbuf[1024], *mad; + ib_rpc_v1_t *rpcv1 = (ib_rpc_v1_t *)rpc; + int error = 0; + + memset(sndbuf, 0, umad_size() + IB_MAD_SIZE); + + DEBUG("rmpp %p data %p", rmpp, data); + + if ((rpc->mgtclass & IB_MAD_RPC_VERSION_MASK) == IB_MAD_RPC_VERSION1) + rpcv1->error = 0; + if ((len = mad_build_pkt(sndbuf, rpc, dport, rmpp, data)) < 0) + return NULL; + + if ((len = _do_madrpc(port->port_id, sndbuf, rcvbuf, + port->class_agents[rpc->mgtclass & 0xff], + len, mad_get_timeout(port, rpc->timeout), + mad_get_retries(port), &error)) < 0) { + if ((rpc->mgtclass & IB_MAD_RPC_VERSION_MASK) == IB_MAD_RPC_VERSION1) + rpcv1->error = error; + IBWARN("_do_madrpc failed; dport (%s)", portid2str(dport)); + return NULL; + } + + if ((rpc->mgtclass & IB_MAD_RPC_VERSION_MASK) == IB_MAD_RPC_VERSION1) + rpcv1->error = error; + + mad = umad_get_mad(rcvbuf); + + if ((status = mad_get_field(mad, 0, IB_MAD_STATUS_F)) != 0) { + ERRS("MAD completed with error status 0x%x; dport (%s)", + status, portid2str(dport)); + errno = EIO; + return NULL; + } + + if (rmpp) { + rmpp->flags = mad_get_field(mad, 0, IB_SA_RMPP_FLAGS_F); + if ((rmpp->flags & 0x3) && + mad_get_field(mad, 0, IB_SA_RMPP_VERS_F) != 1) { + IBWARN("bad rmpp version"); + return NULL; + } + rmpp->type = mad_get_field(mad, 0, IB_SA_RMPP_TYPE_F); + rmpp->status = mad_get_field(mad, 0, IB_SA_RMPP_STATUS_F); + DEBUG("rmpp type %d status %d", rmpp->type, rmpp->status); + rmpp->d1.u = mad_get_field(mad, 0, IB_SA_RMPP_D1_F); + rmpp->d2.u = mad_get_field(mad, 0, IB_SA_RMPP_D2_F); + } + + if (data) + memcpy(data, mad + rpc->dataoffs, rpc->datasz); + + rpc->recsz = mad_get_field(mad, 0, IB_SA_ATTROFFS_F); + + return data; +} + +void *madrpc(ib_rpc_t * rpc, ib_portid_t * dport, void *payload, void *rcvdata) +{ + return mad_rpc(ibmp, rpc, dport, payload, rcvdata); +} + +void *madrpc_rmpp(ib_rpc_t * rpc, ib_portid_t * dport, ib_rmpp_hdr_t * rmpp, + void *data) +{ + return mad_rpc_rmpp(ibmp, rpc, dport, rmpp, data); +} + +void +madrpc_init(char *dev_name, int dev_port, int *mgmt_classes, int num_classes) +{ + int fd; + + if (umad_init() < 0) + IBPANIC("can't init UMAD library"); + + if ((fd = umad_open_port(dev_name, dev_port)) < 0) + IBPANIC("can't open UMAD port (%s:%d)", + dev_name ? dev_name : "(nil)", dev_port); + + if (num_classes >= MAX_CLASS) + IBPANIC("too many classes %d requested", num_classes); + + ibmp->port_id = fd; + memset(ibmp->class_agents, 0xff, sizeof ibmp->class_agents); + while (num_classes--) { + uint8_t rmpp_version = 0; + int mgmt = *mgmt_classes++; + + if (mgmt == IB_SA_CLASS) + rmpp_version = 1; + if (mad_register_client_via(mgmt, rmpp_version, ibmp) < 0) + IBPANIC("client_register for mgmt class %d failed", + mgmt); + } +} + +struct ibmad_port *mad_rpc_open_port(char *dev_name, int dev_port, + int *mgmt_classes, int num_classes) +{ + struct ibmad_port *p; + int port_id; + + if (num_classes >= MAX_CLASS) { + IBWARN("too many classes %d requested", num_classes); + errno = EINVAL; + return NULL; + } + + if (umad_init() < 0) { + IBWARN("can't init UMAD library"); + errno = ENODEV; + return NULL; + } + + p = malloc(sizeof(*p)); + if (!p) { + errno = ENOMEM; + return NULL; + } + memset(p, 0, sizeof(*p)); + + if ((port_id = umad_open_port(dev_name, dev_port)) < 0) { + IBWARN("can't open UMAD port (%s:%d)", dev_name, dev_port); + if (!errno) + errno = EIO; + free(p); + return NULL; + } + + p->port_id = port_id; + memset(p->class_agents, 0xff, sizeof p->class_agents); + while (num_classes--) { + uint8_t rmpp_version = 0; + int mgmt = *mgmt_classes++; + + if (mgmt == IB_SA_CLASS) + rmpp_version = 1; + if (mgmt < 0 || mgmt >= MAX_CLASS || + mad_register_client_via(mgmt, rmpp_version, p) < 0) { + IBWARN("client_register for mgmt %d failed", mgmt); + if (!errno) + errno = EINVAL; + umad_close_port(port_id); + free(p); + return NULL; + } + } + + return p; +} + +void mad_rpc_close_port(struct ibmad_port *port) +{ + umad_close_port(port->port_id); + free(port); +} diff --git a/libibmad/src/sa.c b/libibmad/src/sa.c new file mode 100644 index 0000000..352ed9f --- /dev/null +++ b/libibmad/src/sa.c @@ -0,0 +1,191 @@ +/* + * Copyright (c) 2004-2009 Voltaire 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 + * General Public License (GPL) Version 2, available from the file + * COPYING in the main directory of this source tree, or the + * OpenIB.org BSD license below: + * + * Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: + * + * - Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * + * - Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + */ + +#if HAVE_CONFIG_H +# include +#endif /* HAVE_CONFIG_H */ + +#include +#include +#include + +#include +#include "mad_internal.h" + +#undef DEBUG +#define DEBUG if (ibdebug) IBWARN + +uint8_t *sa_rpc_call(const struct ibmad_port *ibmad_port, void *rcvbuf, + ib_portid_t * portid, ib_sa_call_t * sa, unsigned timeout) +{ + ib_rpc_t rpc = { 0 }; + uint8_t *p; + + DEBUG("attr 0x%x mod 0x%x route %s", sa->attrid, sa->mod, + portid2str(portid)); + + if (portid->lid <= 0) { + IBWARN("only lid routes are supported"); + return NULL; + } + + rpc.mgtclass = IB_SA_CLASS; + rpc.method = sa->method; + rpc.attr.id = sa->attrid; + rpc.attr.mod = sa->mod; + rpc.mask = sa->mask; + rpc.timeout = timeout; + rpc.datasz = IB_SA_DATA_SIZE; + rpc.dataoffs = IB_SA_DATA_OFFS; + rpc.trid = sa->trid; + + portid->qp = 1; + if (!portid->qkey) + portid->qkey = IB_DEFAULT_QP1_QKEY; + + p = mad_rpc_rmpp(ibmad_port, &rpc, portid, 0 /*&sa->rmpp */ , rcvbuf); /* TODO: RMPP */ + + sa->recsz = rpc.recsz; + + return p; +} + +uint8_t *sa_call(void *rcvbuf, ib_portid_t * portid, ib_sa_call_t * sa, + unsigned timeout) +{ + return sa_rpc_call(ibmp, rcvbuf, portid, sa, timeout); +} + +/* PathRecord */ +#define IB_PR_COMPMASK_DGID (1ull<<2) +#define IB_PR_COMPMASK_SGID (1ull<<3) +#define IB_PR_COMPMASK_DLID (1ull<<4) +#define IB_PR_COMPMASK_SLID (1ull<<5) +#define IB_PR_COMPMASK_RAWTRAFIC (1ull<<6) +#define IB_PR_COMPMASK_RESV0 (1ull<<7) +#define IB_PR_COMPMASK_FLOWLABEL (1ull<<8) +#define IB_PR_COMPMASK_HOPLIMIT (1ull<<9) +#define IB_PR_COMPMASK_TCLASS (1ull<<10) +#define IB_PR_COMPMASK_REVERSIBLE (1ull<<11) +#define IB_PR_COMPMASK_NUMBPATH (1ull<<12) +#define IB_PR_COMPMASK_PKEY (1ull<<13) +#define IB_PR_COMPMASK_RESV1 (1ull<<14) +#define IB_PR_COMPMASK_SL (1ull<<15) +#define IB_PR_COMPMASK_MTUSELEC (1ull<<16) +#define IB_PR_COMPMASK_MTU (1ull<<17) +#define IB_PR_COMPMASK_RATESELEC (1ull<<18) +#define IB_PR_COMPMASK_RATE (1ull<<19) +#define IB_PR_COMPMASK_PKTLIFETIMESELEC (1ull<<20) +#define IB_PR_COMPMASK_PKTLIFETIME (1ull<<21) +#define IB_PR_COMPMASK_PREFERENCE (1ull<<22) + +#define IB_PR_DEF_MASK (IB_PR_COMPMASK_DGID |\ + IB_PR_COMPMASK_SGID) + +int ib_path_query_via(const struct ibmad_port *srcport, ibmad_gid_t srcgid, + ibmad_gid_t destgid, ib_portid_t * sm_id, void *buf) +{ + ib_sa_call_t sa = { 0 }; + uint8_t *p; + int dlid; + + memset(&sa, 0, sizeof sa); + sa.method = IB_MAD_METHOD_GET; + sa.attrid = IB_SA_ATTR_PATHRECORD; + sa.mask = IB_PR_DEF_MASK; + sa.trid = mad_trid(); + + memset(buf, 0, IB_SA_PR_RECSZ); + + mad_encode_field(buf, IB_SA_PR_DGID_F, destgid); + mad_encode_field(buf, IB_SA_PR_SGID_F, srcgid); + + p = sa_rpc_call(srcport, buf, sm_id, &sa, 0); + if (!p) { + IBWARN("sa call path_query failed"); + return -1; + } + + mad_decode_field(p, IB_SA_PR_DLID_F, &dlid); + return dlid; +} + +int ib_path_query(ibmad_gid_t srcgid, ibmad_gid_t destgid, ib_portid_t * sm_id, + void *buf) +{ + return ib_path_query_via(ibmp, srcgid, destgid, sm_id, buf); +} + +/* NodeRecord */ +#define IB_NR_COMPMASK_LID (1ull<<0) +#define IB_NR_COMPMASK_RESERVED1 (1ull<<1) +#define IB_NR_COMPMASK_BASEVERSION (1ull<<2) +#define IB_NR_COMPMASK_CLASSVERSION (1ull<<3) +#define IB_NR_COMPMASK_NODETYPE (1ull<<4) +#define IB_NR_COMPMASK_NUMPORTS (1ull<<5) +#define IB_NR_COMPMASK_SYSIMAGEGUID (1ull<<6) +#define IB_NR_COMPMASK_NODEGUID (1ull<<7) +#define IB_NR_COMPMASK_PORTGUID (1ull<<8) +#define IB_NR_COMPMASK_PARTCAP (1ull<<9) +#define IB_NR_COMPMASK_DEVID (1ull<<10) +#define IB_NR_COMPMASK_REV (1ull<<11) +#define IB_NR_COMPMASK_PORTNUM (1ull<<12) +#define IB_NR_COMPMASK_VENDID (1ull<<13) +#define IB_NR_COMPMASK_NODEDESC (1ull<<14) + +#define IB_NR_DEF_MASK IB_NR_COMPMASK_PORTGUID + +int ib_node_query_via(const struct ibmad_port *srcport, uint64_t guid, + ib_portid_t * sm_id, void *buf) +{ + ib_sa_call_t sa = { 0 }; + uint8_t *p; + + memset(&sa, 0, sizeof sa); + sa.method = IB_MAD_METHOD_GET; + sa.attrid = IB_SA_ATTR_NODERECORD; + sa.mask = IB_NR_DEF_MASK; + sa.trid = mad_trid(); + + memset(buf, 0, IB_SA_NR_RECSZ); + + mad_encode_field(buf, IB_SA_NR_PORT_GUID_F, &guid); + + p = sa_rpc_call(srcport, buf, sm_id, &sa, 0); + if (!p) { + IBWARN("sa call node_query failed"); + return -1; + } + + return 0; +} diff --git a/libibmad/src/serv.c b/libibmad/src/serv.c new file mode 100644 index 0000000..6da8163 --- /dev/null +++ b/libibmad/src/serv.c @@ -0,0 +1,200 @@ +/* + * Copyright (c) 2004-2009 Voltaire 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 + * General Public License (GPL) Version 2, available from the file + * COPYING in the main directory of this source tree, or the + * OpenIB.org BSD license below: + * + * Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: + * + * - Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * + * - Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + */ + +#if HAVE_CONFIG_H +# include +#endif /* HAVE_CONFIG_H */ + +#include +#include +#include +#include + +#include +#include + +#include "mad_internal.h" + +#undef DEBUG +#define DEBUG if (ibdebug) IBWARN + +int mad_send(ib_rpc_t * rpc, ib_portid_t * dport, ib_rmpp_hdr_t * rmpp, + void *data) +{ + return mad_send_via(rpc, dport, rmpp, data, ibmp); +} + +int mad_send_via(ib_rpc_t * rpc, ib_portid_t * dport, ib_rmpp_hdr_t * rmpp, + void *data, struct ibmad_port *srcport) +{ + uint8_t pktbuf[1024]; + void *umad = pktbuf; + + memset(pktbuf, 0, umad_size() + IB_MAD_SIZE); + + DEBUG("rmpp %p data %p", rmpp, data); + + if (mad_build_pkt(umad, rpc, dport, rmpp, data) < 0) + return -1; + + if (ibdebug) { + IBWARN("data offs %d sz %d", rpc->dataoffs, rpc->datasz); + xdump(stderr, "mad send data\n", + (char *)umad_get_mad(umad) + rpc->dataoffs, rpc->datasz); + } + + if (umad_send(srcport->port_id, srcport->class_agents[rpc->mgtclass & 0xff], + umad, IB_MAD_SIZE, mad_get_timeout(srcport, rpc->timeout), + 0) < 0) { + IBWARN("send failed; %s", strerror(errno)); + return -1; + } + + return 0; +} + +int mad_respond(void *umad, ib_portid_t * portid, uint32_t rstatus) +{ + return mad_respond_via(umad, portid, rstatus, ibmp); +} + +int mad_respond_via(void *umad, ib_portid_t * portid, uint32_t rstatus, + struct ibmad_port *srcport) +{ + uint8_t *mad = umad_get_mad(umad); + ib_mad_addr_t *mad_addr; + ib_rpc_t rpc = { 0 }; + ib_portid_t rport; + int is_smi; + + if (!portid) { + if (!(mad_addr = umad_get_mad_addr(umad))) { + errno = EINVAL; + return -1; + } + + memset(&rport, 0, sizeof(rport)); + + rport.lid = ntohs(mad_addr->lid); + rport.qp = ntohl(mad_addr->qpn); + rport.qkey = ntohl(mad_addr->qkey); + rport.sl = mad_addr->sl; + + portid = &rport; + } + + DEBUG("dest %s", portid2str(portid)); + + rpc.mgtclass = mad_get_field(mad, 0, IB_MAD_MGMTCLASS_F); + + rpc.method = mad_get_field(mad, 0, IB_MAD_METHOD_F); + if (rpc.method == IB_MAD_METHOD_SET) + rpc.method = IB_MAD_METHOD_GET; + if (rpc.method != IB_MAD_METHOD_SEND) + rpc.method |= IB_MAD_RESPONSE; + + rpc.attr.id = mad_get_field(mad, 0, IB_MAD_ATTRID_F); + rpc.attr.mod = mad_get_field(mad, 0, IB_MAD_ATTRMOD_F); + if (rpc.mgtclass == IB_SA_CLASS) + rpc.recsz = mad_get_field(mad, 0, IB_SA_ATTROFFS_F); + if (mad_is_vendor_range2(rpc.mgtclass)) + rpc.oui = mad_get_field(mad, 0, IB_VEND2_OUI_F); + + rpc.trid = mad_get_field64(mad, 0, IB_MAD_TRID_F); + rpc.rstatus = rstatus; + + /* cleared by default: timeout, datasz, dataoffs, mkey, mask */ + + is_smi = rpc.mgtclass == IB_SMI_CLASS || + rpc.mgtclass == IB_SMI_DIRECT_CLASS; + + if (is_smi) + portid->qp = 0; + else if (!portid->qp) + portid->qp = 1; + + if (!portid->qkey && portid->qp == 1) + portid->qkey = IB_DEFAULT_QP1_QKEY; + + DEBUG + ("qp 0x%x class 0x%x method %d attr 0x%x mod 0x%x datasz %d off %d qkey %x", + portid->qp, rpc.mgtclass, rpc.method, rpc.attr.id, rpc.attr.mod, + rpc.datasz, rpc.dataoffs, portid->qkey); + + if (mad_build_pkt(umad, &rpc, portid, 0, 0) < 0) + return -1; + + if (ibdebug > 1) + xdump(stderr, "mad respond pkt\n", mad, IB_MAD_SIZE); + + if (umad_send + (srcport->port_id, srcport->class_agents[rpc.mgtclass], umad, + IB_MAD_SIZE, mad_get_timeout(srcport, rpc.timeout), 0) < 0) { + DEBUG("send failed; %s", strerror(errno)); + return -1; + } + + return 0; +} + +void *mad_receive(void *umad, int timeout) +{ + return mad_receive_via(umad, timeout, ibmp); +} + +void *mad_receive_via(void *umad, int timeout, struct ibmad_port *srcport) +{ + void *mad = umad ? umad : umad_alloc(1, umad_size() + IB_MAD_SIZE); + int agent; + int length = IB_MAD_SIZE; + + if ((agent = umad_recv(srcport->port_id, mad, &length, + mad_get_timeout(srcport, timeout))) < 0) { + if (!umad) + umad_free(mad); + DEBUG("recv failed: %s", strerror(errno)); + return 0; + } + + return mad; +} + +void *mad_alloc(void) +{ + return umad_alloc(1, umad_size() + IB_MAD_SIZE); +} + +void mad_free(void *umad) +{ + umad_free(umad); +} diff --git a/libibmad/src/smp.c b/libibmad/src/smp.c new file mode 100644 index 0000000..14c74ed --- /dev/null +++ b/libibmad/src/smp.c @@ -0,0 +1,149 @@ +/* + * Copyright (c) 2004-2009 Voltaire Inc. All rights reserved. + * Copyright (c) 2011 Mellanox Technologies LTD. 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 + * General Public License (GPL) Version 2, available from the file + * COPYING in the main directory of this source tree, or the + * OpenIB.org BSD license below: + * + * Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: + * + * - Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * + * - Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + */ + +#if HAVE_CONFIG_H +# include +#endif /* HAVE_CONFIG_H */ + +#include +#include +#include + +#include +#include "mad_internal.h" + +#undef DEBUG +#define DEBUG if (ibdebug) IBWARN + +void smp_mkey_set(struct ibmad_port *srcport, uint64_t mkey) +{ + srcport->smp_mkey = mkey; +} + +uint64_t smp_mkey_get(const struct ibmad_port *srcport) +{ + return srcport->smp_mkey; +} + +uint8_t *smp_set_status_via(void *data, ib_portid_t * portid, unsigned attrid, + unsigned mod, unsigned timeout, int *rstatus, + const struct ibmad_port *srcport) +{ + ib_rpc_t rpc = { 0 }; + uint8_t *res; + + DEBUG("attr 0x%x mod 0x%x route %s", attrid, mod, portid2str(portid)); + if ((portid->lid <= 0) || + (portid->drpath.drslid == 0xffff) || + (portid->drpath.drdlid == 0xffff)) + rpc.mgtclass = IB_SMI_DIRECT_CLASS; /* direct SMI */ + else + rpc.mgtclass = IB_SMI_CLASS; /* Lid routed SMI */ + + rpc.method = IB_MAD_METHOD_SET; + rpc.attr.id = attrid; + rpc.attr.mod = mod; + rpc.timeout = timeout; + rpc.datasz = IB_SMP_DATA_SIZE; + rpc.dataoffs = IB_SMP_DATA_OFFS; + rpc.mkey = srcport->smp_mkey; + + portid->sl = 0; + portid->qp = 0; + + res = mad_rpc(srcport, &rpc, portid, data, data); + if (rstatus) + *rstatus = rpc.rstatus; + return res; +} + +uint8_t *smp_set_via(void *data, ib_portid_t * portid, unsigned attrid, + unsigned mod, unsigned timeout, + const struct ibmad_port *srcport) +{ + return smp_set_status_via(data, portid, attrid, mod, timeout, NULL, + srcport); +} + +uint8_t *smp_set(void *data, ib_portid_t * portid, unsigned attrid, + unsigned mod, unsigned timeout) +{ + return smp_set_via(data, portid, attrid, mod, timeout, ibmp); +} + +uint8_t *smp_query_status_via(void *rcvbuf, ib_portid_t * portid, + unsigned attrid, unsigned mod, unsigned timeout, + int *rstatus, const struct ibmad_port * srcport) +{ + ib_rpc_t rpc = { 0 }; + uint8_t *res; + + DEBUG("attr 0x%x mod 0x%x route %s", attrid, mod, portid2str(portid)); + rpc.method = IB_MAD_METHOD_GET; + rpc.attr.id = attrid; + rpc.attr.mod = mod; + rpc.timeout = timeout; + rpc.datasz = IB_SMP_DATA_SIZE; + rpc.dataoffs = IB_SMP_DATA_OFFS; + rpc.mkey = srcport->smp_mkey; + + if ((portid->lid <= 0) || + (portid->drpath.drslid == 0xffff) || + (portid->drpath.drdlid == 0xffff)) + rpc.mgtclass = IB_SMI_DIRECT_CLASS; /* direct SMI */ + else + rpc.mgtclass = IB_SMI_CLASS; /* Lid routed SMI */ + + portid->sl = 0; + portid->qp = 0; + + res = mad_rpc(srcport, &rpc, portid, rcvbuf, rcvbuf); + if (rstatus) + *rstatus = rpc.rstatus; + return res; +} + +uint8_t *smp_query_via(void *rcvbuf, ib_portid_t * portid, unsigned attrid, + unsigned mod, unsigned timeout, + const struct ibmad_port * srcport) +{ + return smp_query_status_via(rcvbuf, portid, attrid, mod, timeout, NULL, + srcport); +} + +uint8_t *smp_query(void *rcvbuf, ib_portid_t * portid, unsigned attrid, + unsigned mod, unsigned timeout) +{ + return smp_query_via(rcvbuf, portid, attrid, mod, timeout, ibmp); +} diff --git a/libibmad/src/vendor.c b/libibmad/src/vendor.c new file mode 100644 index 0000000..22d6843 --- /dev/null +++ b/libibmad/src/vendor.c @@ -0,0 +1,111 @@ +/* + * Copyright (c) 2004-2009 Voltaire Inc. All rights reserved. + * Copyright (c) 2011 Mellanox Technologies LTD. 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 + * General Public License (GPL) Version 2, available from the file + * COPYING in the main directory of this source tree, or the + * OpenIB.org BSD license below: + * + * Redistribution and use in source and binary forms, with or + * without modification, are permitted provided that the following + * conditions are met: + * + * - Redistributions of source code must retain the above + * copyright notice, this list of conditions and the following + * disclaimer. + * + * - Redistributions in binary form must reproduce the above + * copyright notice, this list of conditions and the following + * disclaimer in the documentation and/or other materials + * provided with the distribution. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF + * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS + * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN + * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN + * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + * + */ + +#if HAVE_CONFIG_H +# include +#endif /* HAVE_CONFIG_H */ + +#include +#include +#include +#include + +#include +#include "mad_internal.h" + +#undef DEBUG +#define DEBUG if (ibdebug) IBWARN + +static inline int response_expected(int method) +{ + return method == IB_MAD_METHOD_GET || + method == IB_MAD_METHOD_SET || method == IB_MAD_METHOD_TRAP; +} + +uint8_t *ib_vendor_call(void *data, ib_portid_t * portid, + ib_vendor_call_t * call) +{ + return ib_vendor_call_via(data, portid, call, ibmp); +} + +uint8_t *ib_vendor_call_via(void *data, ib_portid_t * portid, + ib_vendor_call_t * call, + struct ibmad_port * srcport) +{ + ib_rpc_v1_t rpc = { 0 }; + ib_rpc_t *rpcold = (ib_rpc_t *)(void *)&rpc; + int range1 = 0, resp_expected; + void *p_ret; + + DEBUG("route %s data %p", portid2str(portid), data); + if (portid->lid <= 0) + return NULL; /* no direct SMI */ + + if (!(range1 = mad_is_vendor_range1(call->mgmt_class)) && + !(mad_is_vendor_range2(call->mgmt_class))) + return NULL; + + resp_expected = response_expected(call->method); + + rpc.mgtclass = call->mgmt_class | IB_MAD_RPC_VERSION1; + + rpc.method = call->method; + rpc.attr.id = call->attrid; + rpc.attr.mod = call->mod; + rpc.timeout = resp_expected ? call->timeout : 0; + rpc.datasz = + range1 ? IB_VENDOR_RANGE1_DATA_SIZE : IB_VENDOR_RANGE2_DATA_SIZE; + rpc.dataoffs = + range1 ? IB_VENDOR_RANGE1_DATA_OFFS : IB_VENDOR_RANGE2_DATA_OFFS; + + if (!range1) + rpc.oui = call->oui; + + DEBUG + ("class 0x%x method 0x%x attr 0x%x mod 0x%x datasz %d off %d res_ex %d", + rpc.mgtclass, rpc.method, rpc.attr.id, rpc.attr.mod, rpc.datasz, + rpc.dataoffs, resp_expected); + + portid->qp = 1; + if (!portid->qkey) + portid->qkey = IB_DEFAULT_QP1_QKEY; + + if (resp_expected) { + p_ret = mad_rpc_rmpp(srcport, rpcold, portid, 0, data); /* FIXME: no RMPP for now */ + errno = rpc.error; + return p_ret; + } + + return mad_send_via(rpcold, portid, 0, data, srcport) < 0 ? 0 : data; /* FIXME: no RMPP for now */ +} diff --git a/libibnetdisc/Makefile.am b/libibnetdisc/Makefile.am index 2cfcc33..96e80d6 100644 --- a/libibnetdisc/Makefile.am +++ b/libibnetdisc/Makefile.am @@ -1,7 +1,8 @@ #SUBDIRS = . -INCLUDES = -I$(srcdir)/include -I$(includedir) -I$(includedir)/infiniband +AM_CPPFLAGS = -I$(srcdir)/include -I$(includedir) -I$(includedir)/infiniband \ + -I$(top_srcdir)/libibmad/include lib_LTLIBRARIES = libibnetdisc.la sbin_PROGRAMS = @@ -27,7 +28,7 @@ libibnetdisc_la_SOURCES = src/ibnetdisc.c src/ibnetdisc_cache.c src/chassis.c \ libibnetdisc_la_CFLAGS = -Wall $(DBGFLAGS) $(GLIB_CFLAGS) libibnetdisc_la_LDFLAGS = -version-info $(ibnetdisc_api_version) \ -export-dynamic $(libibnetdisc_version_script) \ - -libmad $(GLIB_LIBS) + -L$(top_builddir)/libibmad -libmad $(GLIB_LIBS) libibnetdisc_la_DEPENDENCIES = $(srcdir)/src/libibnetdisc.map libibnetdiscincludedir = $(includedir)/infiniband diff --git a/libibnetdisc/Makefile.in b/libibnetdisc/Makefile.in index 6520b7e..992ec98 100644 --- a/libibnetdisc/Makefile.in +++ b/libibnetdisc/Makefile.in @@ -130,9 +130,11 @@ am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(sbindir)" \ "$(DESTDIR)$(man3dir)" "$(DESTDIR)$(libibnetdiscincludedir)" LTLIBRARIES = $(lib_LTLIBRARIES) libibnetdisc_la_LIBADD = -am_libibnetdisc_la_OBJECTS = libibnetdisc_la-ibnetdisc.lo \ - libibnetdisc_la-ibnetdisc_cache.lo libibnetdisc_la-chassis.lo \ - libibnetdisc_la-query_smp.lo +am__dirstamp = $(am__leading_dot)dirstamp +am_libibnetdisc_la_OBJECTS = src/libibnetdisc_la-ibnetdisc.lo \ + src/libibnetdisc_la-ibnetdisc_cache.lo \ + src/libibnetdisc_la-chassis.lo \ + src/libibnetdisc_la-query_smp.lo libibnetdisc_la_OBJECTS = $(am_libibnetdisc_la_OBJECTS) AM_V_lt = $(am__v_lt_ at AM_V@) am__v_lt_ = $(am__v_lt_ at AM_DEFAULT_V@) @@ -144,14 +146,13 @@ libibnetdisc_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(LDFLAGS) -o $@ @ENABLE_TEST_UTILS_TRUE at am__EXEEXT_1 = test/testleaks$(EXEEXT) PROGRAMS = $(sbin_PROGRAMS) -am_test_testleaks_OBJECTS = test_testleaks-testleaks.$(OBJEXT) +am_test_testleaks_OBJECTS = test/test_testleaks-testleaks.$(OBJEXT) test_testleaks_OBJECTS = $(am_test_testleaks_OBJECTS) test_testleaks_LDADD = $(LDADD) test_testleaks_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC \ $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=link $(CCLD) \ $(test_testleaks_CFLAGS) $(CFLAGS) $(test_testleaks_LDFLAGS) \ $(LDFLAGS) -o $@ -am__dirstamp = $(am__leading_dot)dirstamp AM_V_P = $(am__v_P_ at AM_V@) am__v_P_ = $(am__v_P_ at AM_DEFAULT_V@) am__v_P_0 = false @@ -232,8 +233,6 @@ CFLAGS = @CFLAGS@ CPP = @CPP@ CPPFLAGS = @CPPFLAGS@ CYGPATH_W = @CYGPATH_W@ -DEFAULT_START = @DEFAULT_START@ -DEFAULT_STOP = @DEFAULT_STOP@ DEFS = @DEFS@ DEPDIR = @DEPDIR@ DLLTOOL = @DLLTOOL@ @@ -286,20 +285,12 @@ PKG_CONFIG = @PKG_CONFIG@ PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@ PKG_CONFIG_PATH = @PKG_CONFIG_PATH@ RANLIB = @RANLIB@ -RDMA_SERVICE = @RDMA_SERVICE@ RELEASE = @RELEASE@ SED = @SED@ SET_MAKE = @SET_MAKE@ SHELL = @SHELL@ -SPEC_FILE_RDMA_NDD_INSTALL = @SPEC_FILE_RDMA_NDD_INSTALL@ STRIP = @STRIP@ -SYSTEMD_BUILD_REQUIRES = @SYSTEMD_BUILD_REQUIRES@ -SYSTEMD_CFLAGS = @SYSTEMD_CFLAGS@ -SYSTEMD_LIBS = @SYSTEMD_LIBS@ -SYSTEMD_SYSTEM_UNIT_DIR = @SYSTEMD_SYSTEM_UNIT_DIR@ TARBALL = @TARBALL@ -UDEV_CFLAGS = @UDEV_CFLAGS@ -UDEV_LIBS = @UDEV_LIBS@ VERSION = @VERSION@ abs_builddir = @abs_builddir@ abs_srcdir = @abs_srcdir@ @@ -333,6 +324,7 @@ host_cpu = @host_cpu@ host_os = @host_os@ host_vendor = @host_vendor@ htmldir = @htmldir@ +ibmad_api_version = @ibmad_api_version@ ibnetdisc_api_version = @ibnetdisc_api_version@ includedir = @includedir@ infodir = @infodir@ @@ -356,7 +348,9 @@ target_alias = @target_alias@ top_build_prefix = @top_build_prefix@ top_builddir = @top_builddir@ top_srcdir = @top_srcdir@ -INCLUDES = -I$(srcdir)/include -I$(includedir) -I$(includedir)/infiniband +AM_CPPFLAGS = -I$(srcdir)/include -I$(includedir) -I$(includedir)/infiniband \ + -I$(top_srcdir)/libibmad/include + lib_LTLIBRARIES = libibnetdisc.la @DEBUG_FALSE at DBGFLAGS = @DEBUG_TRUE at DBGFLAGS = -ggdb -D_DEBUG_ @@ -368,7 +362,7 @@ libibnetdisc_la_SOURCES = src/ibnetdisc.c src/ibnetdisc_cache.c src/chassis.c \ libibnetdisc_la_CFLAGS = -Wall $(DBGFLAGS) $(GLIB_CFLAGS) libibnetdisc_la_LDFLAGS = -version-info $(ibnetdisc_api_version) \ -export-dynamic $(libibnetdisc_version_script) \ - -libmad $(GLIB_LIBS) + -L$(top_builddir)/libibmad -libmad $(GLIB_LIBS) libibnetdisc_la_DEPENDENCIES = $(srcdir)/src/libibnetdisc.map libibnetdiscincludedir = $(includedir)/infiniband @@ -402,9 +396,9 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps) exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign libibnetdisc/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu libibnetdisc/Makefile'; \ $(am__cd) $(top_srcdir) && \ - $(AUTOMAKE) --foreign libibnetdisc/Makefile + $(AUTOMAKE) --gnu libibnetdisc/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @case '$?' in \ @@ -458,6 +452,20 @@ clean-libLTLIBRARIES: echo rm -f $${locs}; \ rm -f $${locs}; \ } +src/$(am__dirstamp): + @$(MKDIR_P) src + @: > src/$(am__dirstamp) +src/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) src/$(DEPDIR) + @: > src/$(DEPDIR)/$(am__dirstamp) +src/libibnetdisc_la-ibnetdisc.lo: src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/libibnetdisc_la-ibnetdisc_cache.lo: src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/libibnetdisc_la-chassis.lo: src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) +src/libibnetdisc_la-query_smp.lo: src/$(am__dirstamp) \ + src/$(DEPDIR)/$(am__dirstamp) libibnetdisc.la: $(libibnetdisc_la_OBJECTS) $(libibnetdisc_la_DEPENDENCIES) $(EXTRA_libibnetdisc_la_DEPENDENCIES) $(AM_V_CCLD)$(libibnetdisc_la_LINK) -rpath $(libdir) $(libibnetdisc_la_OBJECTS) $(libibnetdisc_la_LIBADD) $(LIBS) @@ -513,6 +521,11 @@ clean-sbinPROGRAMS: test/$(am__dirstamp): @$(MKDIR_P) test @: > test/$(am__dirstamp) +test/$(DEPDIR)/$(am__dirstamp): + @$(MKDIR_P) test/$(DEPDIR) + @: > test/$(DEPDIR)/$(am__dirstamp) +test/test_testleaks-testleaks.$(OBJEXT): test/$(am__dirstamp) \ + test/$(DEPDIR)/$(am__dirstamp) test/testleaks$(EXEEXT): $(test_testleaks_OBJECTS) $(test_testleaks_DEPENDENCIES) $(EXTRA_test_testleaks_DEPENDENCIES) test/$(am__dirstamp) @rm -f test/testleaks$(EXEEXT) @@ -520,84 +533,91 @@ test/testleaks$(EXEEXT): $(test_testleaks_OBJECTS) $(test_testleaks_DEPENDENCIES mostlyclean-compile: -rm -f *.$(OBJEXT) + -rm -f src/*.$(OBJEXT) + -rm -f src/*.lo + -rm -f test/*.$(OBJEXT) distclean-compile: -rm -f *.tab.c - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libibnetdisc_la-chassis.Plo at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libibnetdisc_la-ibnetdisc.Plo at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libibnetdisc_la-ibnetdisc_cache.Plo at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/libibnetdisc_la-query_smp.Plo at am__quote@ - at AMDEP_TRUE@@am__include@ @am__quote at ./$(DEPDIR)/test_testleaks-testleaks.Po at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/libibnetdisc_la-chassis.Plo at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/libibnetdisc_la-ibnetdisc.Plo at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/libibnetdisc_la-ibnetdisc_cache.Plo at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at src/$(DEPDIR)/libibnetdisc_la-query_smp.Plo at am__quote@ + at AMDEP_TRUE@@am__include@ @am__quote at test/$(DEPDIR)/test_testleaks-testleaks.Po at am__quote@ .c.o: - at am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + at am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ + at am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + at am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(COMPILE) -c $< + at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(COMPILE) -c -o $@ $< .c.obj: - at am__fastdepCC_TRUE@ $(AM_V_CC)$(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po + at am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ + at am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ + at am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(COMPILE) -c `$(CYGPATH_W) '$<'` + at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'` .c.lo: - at am__fastdepCC_TRUE@ $(AM_V_CC)$(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo + at am__fastdepCC_TRUE@ $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ + at am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ + at am__fastdepCC_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Plo @AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LTCOMPILE) -c -o $@ $< -libibnetdisc_la-ibnetdisc.lo: src/ibnetdisc.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibnetdisc_la_CFLAGS) $(CFLAGS) -MT libibnetdisc_la-ibnetdisc.lo -MD -MP -MF $(DEPDIR)/libibnetdisc_la-ibnetdisc.Tpo -c -o libibnetdisc_la-ibnetdisc.lo `test -f 'src/ibnetdisc.c' || echo '$(srcdir)/'`src/ibnetdisc.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libibnetdisc_la-ibnetdisc.Tpo $(DEPDIR)/libibnetdisc_la-ibnetdisc.Plo - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibnetdisc.c' object='libibnetdisc_la-ibnetdisc.lo' libtool=yes @AMDEPBACKSLASH@ +src/libibnetdisc_la-ibnetdisc.lo: src/ibnetdisc.c + at am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibnetdisc_la_CFLAGS) $(CFLAGS) -MT src/libibnetdisc_la-ibnetdisc.lo -MD -MP -MF src/$(DEPDIR)/libibnetdisc_la-ibnetdisc.Tpo -c -o src/libibnetdisc_la-ibnetdisc.lo `test -f 'src/ibnetdisc.c' || echo '$(srcdir)/'`src/ibnetdisc.c + at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libibnetdisc_la-ibnetdisc.Tpo src/$(DEPDIR)/libibnetdisc_la-ibnetdisc.Plo + at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibnetdisc.c' object='src/libibnetdisc_la-ibnetdisc.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibnetdisc_la_CFLAGS) $(CFLAGS) -c -o libibnetdisc_la-ibnetdisc.lo `test -f 'src/ibnetdisc.c' || echo '$(srcdir)/'`src/ibnetdisc.c + at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibnetdisc_la_CFLAGS) $(CFLAGS) -c -o src/libibnetdisc_la-ibnetdisc.lo `test -f 'src/ibnetdisc.c' || echo '$(srcdir)/'`src/ibnetdisc.c -libibnetdisc_la-ibnetdisc_cache.lo: src/ibnetdisc_cache.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibnetdisc_la_CFLAGS) $(CFLAGS) -MT libibnetdisc_la-ibnetdisc_cache.lo -MD -MP -MF $(DEPDIR)/libibnetdisc_la-ibnetdisc_cache.Tpo -c -o libibnetdisc_la-ibnetdisc_cache.lo `test -f 'src/ibnetdisc_cache.c' || echo '$(srcdir)/'`src/ibnetdisc_cache.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libibnetdisc_la-ibnetdisc_cache.Tpo $(DEPDIR)/libibnetdisc_la-ibnetdisc_cache.Plo - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibnetdisc_cache.c' object='libibnetdisc_la-ibnetdisc_cache.lo' libtool=yes @AMDEPBACKSLASH@ +src/libibnetdisc_la-ibnetdisc_cache.lo: src/ibnetdisc_cache.c + at am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibnetdisc_la_CFLAGS) $(CFLAGS) -MT src/libibnetdisc_la-ibnetdisc_cache.lo -MD -MP -MF src/$(DEPDIR)/libibnetdisc_la-ibnetdisc_cache.Tpo -c -o src/libibnetdisc_la-ibnetdisc_cache.lo `test -f 'src/ibnetdisc_cache.c' || echo '$(srcdir)/'`src/ibnetdisc_cache.c + at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libibnetdisc_la-ibnetdisc_cache.Tpo src/$(DEPDIR)/libibnetdisc_la-ibnetdisc_cache.Plo + at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/ibnetdisc_cache.c' object='src/libibnetdisc_la-ibnetdisc_cache.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibnetdisc_la_CFLAGS) $(CFLAGS) -c -o libibnetdisc_la-ibnetdisc_cache.lo `test -f 'src/ibnetdisc_cache.c' || echo '$(srcdir)/'`src/ibnetdisc_cache.c + at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibnetdisc_la_CFLAGS) $(CFLAGS) -c -o src/libibnetdisc_la-ibnetdisc_cache.lo `test -f 'src/ibnetdisc_cache.c' || echo '$(srcdir)/'`src/ibnetdisc_cache.c -libibnetdisc_la-chassis.lo: src/chassis.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibnetdisc_la_CFLAGS) $(CFLAGS) -MT libibnetdisc_la-chassis.lo -MD -MP -MF $(DEPDIR)/libibnetdisc_la-chassis.Tpo -c -o libibnetdisc_la-chassis.lo `test -f 'src/chassis.c' || echo '$(srcdir)/'`src/chassis.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libibnetdisc_la-chassis.Tpo $(DEPDIR)/libibnetdisc_la-chassis.Plo - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/chassis.c' object='libibnetdisc_la-chassis.lo' libtool=yes @AMDEPBACKSLASH@ +src/libibnetdisc_la-chassis.lo: src/chassis.c + at am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibnetdisc_la_CFLAGS) $(CFLAGS) -MT src/libibnetdisc_la-chassis.lo -MD -MP -MF src/$(DEPDIR)/libibnetdisc_la-chassis.Tpo -c -o src/libibnetdisc_la-chassis.lo `test -f 'src/chassis.c' || echo '$(srcdir)/'`src/chassis.c + at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libibnetdisc_la-chassis.Tpo src/$(DEPDIR)/libibnetdisc_la-chassis.Plo + at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/chassis.c' object='src/libibnetdisc_la-chassis.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibnetdisc_la_CFLAGS) $(CFLAGS) -c -o libibnetdisc_la-chassis.lo `test -f 'src/chassis.c' || echo '$(srcdir)/'`src/chassis.c + at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibnetdisc_la_CFLAGS) $(CFLAGS) -c -o src/libibnetdisc_la-chassis.lo `test -f 'src/chassis.c' || echo '$(srcdir)/'`src/chassis.c -libibnetdisc_la-query_smp.lo: src/query_smp.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibnetdisc_la_CFLAGS) $(CFLAGS) -MT libibnetdisc_la-query_smp.lo -MD -MP -MF $(DEPDIR)/libibnetdisc_la-query_smp.Tpo -c -o libibnetdisc_la-query_smp.lo `test -f 'src/query_smp.c' || echo '$(srcdir)/'`src/query_smp.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libibnetdisc_la-query_smp.Tpo $(DEPDIR)/libibnetdisc_la-query_smp.Plo - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/query_smp.c' object='libibnetdisc_la-query_smp.lo' libtool=yes @AMDEPBACKSLASH@ +src/libibnetdisc_la-query_smp.lo: src/query_smp.c + at am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibnetdisc_la_CFLAGS) $(CFLAGS) -MT src/libibnetdisc_la-query_smp.lo -MD -MP -MF src/$(DEPDIR)/libibnetdisc_la-query_smp.Tpo -c -o src/libibnetdisc_la-query_smp.lo `test -f 'src/query_smp.c' || echo '$(srcdir)/'`src/query_smp.c + at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) src/$(DEPDIR)/libibnetdisc_la-query_smp.Tpo src/$(DEPDIR)/libibnetdisc_la-query_smp.Plo + at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='src/query_smp.c' object='src/libibnetdisc_la-query_smp.lo' libtool=yes @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibnetdisc_la_CFLAGS) $(CFLAGS) -c -o libibnetdisc_la-query_smp.lo `test -f 'src/query_smp.c' || echo '$(srcdir)/'`src/query_smp.c + at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libibnetdisc_la_CFLAGS) $(CFLAGS) -c -o src/libibnetdisc_la-query_smp.lo `test -f 'src/query_smp.c' || echo '$(srcdir)/'`src/query_smp.c -test_testleaks-testleaks.o: test/testleaks.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_testleaks_CFLAGS) $(CFLAGS) -MT test_testleaks-testleaks.o -MD -MP -MF $(DEPDIR)/test_testleaks-testleaks.Tpo -c -o test_testleaks-testleaks.o `test -f 'test/testleaks.c' || echo '$(srcdir)/'`test/testleaks.c - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_testleaks-testleaks.Tpo $(DEPDIR)/test_testleaks-testleaks.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='test/testleaks.c' object='test_testleaks-testleaks.o' libtool=no @AMDEPBACKSLASH@ +test/test_testleaks-testleaks.o: test/testleaks.c + at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_testleaks_CFLAGS) $(CFLAGS) -MT test/test_testleaks-testleaks.o -MD -MP -MF test/$(DEPDIR)/test_testleaks-testleaks.Tpo -c -o test/test_testleaks-testleaks.o `test -f 'test/testleaks.c' || echo '$(srcdir)/'`test/testleaks.c + at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) test/$(DEPDIR)/test_testleaks-testleaks.Tpo test/$(DEPDIR)/test_testleaks-testleaks.Po + at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='test/testleaks.c' object='test/test_testleaks-testleaks.o' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_testleaks_CFLAGS) $(CFLAGS) -c -o test_testleaks-testleaks.o `test -f 'test/testleaks.c' || echo '$(srcdir)/'`test/testleaks.c + at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_testleaks_CFLAGS) $(CFLAGS) -c -o test/test_testleaks-testleaks.o `test -f 'test/testleaks.c' || echo '$(srcdir)/'`test/testleaks.c -test_testleaks-testleaks.obj: test/testleaks.c - at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_testleaks_CFLAGS) $(CFLAGS) -MT test_testleaks-testleaks.obj -MD -MP -MF $(DEPDIR)/test_testleaks-testleaks.Tpo -c -o test_testleaks-testleaks.obj `if test -f 'test/testleaks.c'; then $(CYGPATH_W) 'test/testleaks.c'; else $(CYGPATH_W) '$(srcdir)/test/testleaks.c'; fi` - at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/test_testleaks-testleaks.Tpo $(DEPDIR)/test_testleaks-testleaks.Po - at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='test/testleaks.c' object='test_testleaks-testleaks.obj' libtool=no @AMDEPBACKSLASH@ +test/test_testleaks-testleaks.obj: test/testleaks.c + at am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_testleaks_CFLAGS) $(CFLAGS) -MT test/test_testleaks-testleaks.obj -MD -MP -MF test/$(DEPDIR)/test_testleaks-testleaks.Tpo -c -o test/test_testleaks-testleaks.obj `if test -f 'test/testleaks.c'; then $(CYGPATH_W) 'test/testleaks.c'; else $(CYGPATH_W) '$(srcdir)/test/testleaks.c'; fi` + at am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) test/$(DEPDIR)/test_testleaks-testleaks.Tpo test/$(DEPDIR)/test_testleaks-testleaks.Po + at AMDEP_TRUE@@am__fastdepCC_FALSE@ $(AM_V_CC)source='test/testleaks.c' object='test/test_testleaks-testleaks.obj' libtool=no @AMDEPBACKSLASH@ @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ - at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_testleaks_CFLAGS) $(CFLAGS) -c -o test_testleaks-testleaks.obj `if test -f 'test/testleaks.c'; then $(CYGPATH_W) 'test/testleaks.c'; else $(CYGPATH_W) '$(srcdir)/test/testleaks.c'; fi` + at am__fastdepCC_FALSE@ $(AM_V_CC at am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(test_testleaks_CFLAGS) $(CFLAGS) -c -o test/test_testleaks-testleaks.obj `if test -f 'test/testleaks.c'; then $(CYGPATH_W) 'test/testleaks.c'; else $(CYGPATH_W) '$(srcdir)/test/testleaks.c'; fi` mostlyclean-libtool: -rm -f *.lo clean-libtool: -rm -rf .libs _libs + -rm -rf src/.libs src/_libs -rm -rf test/.libs test/_libs install-man3: $(man_MANS) @$(NORMAL_INSTALL) @@ -779,6 +799,9 @@ clean-generic: distclean-generic: -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES) + -rm -f src/$(DEPDIR)/$(am__dirstamp) + -rm -f src/$(am__dirstamp) + -rm -f test/$(DEPDIR)/$(am__dirstamp) -rm -f test/$(am__dirstamp) maintainer-clean-generic: @@ -790,7 +813,7 @@ clean-am: clean-generic clean-libLTLIBRARIES clean-libtool \ clean-sbinPROGRAMS mostlyclean-am distclean: distclean-am - -rm -rf ./$(DEPDIR) + -rm -rf src/$(DEPDIR) test/$(DEPDIR) -rm -f Makefile distclean-am: clean-am distclean-compile distclean-generic \ distclean-tags @@ -836,7 +859,7 @@ install-ps-am: installcheck-am: maintainer-clean: maintainer-clean-am - -rm -rf ./$(DEPDIR) + -rm -rf src/$(DEPDIR) test/$(DEPDIR) -rm -f Makefile maintainer-clean-am: distclean-am maintainer-clean-generic diff --git a/libibnetdisc/src/ibnetdisc.c b/libibnetdisc/src/ibnetdisc.c index 6ef7805..61e30d4 100644 --- a/libibnetdisc/src/ibnetdisc.c +++ b/libibnetdisc/src/ibnetdisc.c @@ -196,10 +196,28 @@ static void debug_port(ib_portid_t * portid, ibnd_port_t * port) static int is_mlnx_ext_port_info_supported(ibnd_port_t * port) { uint16_t devid = (uint16_t) mad_get_field(port->node->info, 0, IB_NODE_DEVID_F); - - if ((devid >= 0xc738 && devid <= 0xc73b) || devid == 0xcb20 || devid == 0xcf08) + uint32_t vendorid = (uint32_t) mad_get_field(port->node->info, 0, IB_NODE_VENDORID_F); + + if ((devid >= 0xc738 && devid <= 0xc73b) || devid == 0xcb20 || devid == 0xcf08 || + ((vendorid == 0x119f) && + /* Bull SwitchX */ + (devid == 0x1b02 || devid == 0x1b50 || + /* Bull SwitchIB and SwitchIB2 */ + devid == 0x1ba0 || + (devid >= 0x1bd0 && devid <= 0x1bd5)))) return 1; - if (devid >= 0x1003 && devid <= 0x1016) + if ((devid >= 0x1003 && devid <= 0x1017) || + ((vendorid == 0x119f) && + /* Bull ConnectX3 */ + (devid == 0x1b33 || devid == 0x1b73 || + devid == 0x1b40 || devid == 0x1b41 || + devid == 0x1b60 || devid == 0x1b61 || + /* Bull ConnectIB */ + devid == 0x1b83 || + devid == 0x1b93 || devid == 0x1b94 || + /* Bull ConnectX4 */ + devid == 0x1bb4 || devid == 0x1bb5 || + devid == 0x1bc4))) return 1; return 0; } diff --git a/libibnetdisc/src/internal.h b/libibnetdisc/src/internal.h index 5a32cd2..997f439 100644 --- a/libibnetdisc/src/internal.h +++ b/libibnetdisc/src/internal.h @@ -109,7 +109,6 @@ void smp_engine_destroy(smp_engine_t * engine); int add_to_nodeguid_hash(ibnd_node_t * node, ibnd_node_t * hash[]); int add_to_portguid_hash(ibnd_port_t * port, ibnd_port_t * hash[]); -void add_to_portlid_hash(ibnd_port_t * port, GHashTable *htable); void add_to_type_list(ibnd_node_t * node, f_internal_t * fabric); diff --git a/scripts/ibhosts b/scripts/ibhosts index 10b3f41..690027d 100644 --- a/scripts/ibhosts +++ b/scripts/ibhosts @@ -3,19 +3,32 @@ IBPATH=${IBPATH:-/usr/local/sbin} usage() { - echo Usage: `basename $0` "[-h] [ | -C ca_name" \ - "-P ca_port -t timeout_ms]" + echo Usage: `basename $0` "[-h] [ | -y mkey" \ + "-C ca_name -P ca_port -t timeout_ms]" exit -1 } topofile="" ca_info="" +mkey="0" while [ "$1" ]; do case $1 in -h | --help) usage ;; + -y | --m_key) + case $2 in + -*) + usage + ;; + esac + if [ x$2 = x ] ; then + usage + fi + shift + mkey="$1" + ;; -P | --Port | -C | --Ca | -t | --timeout) case $2 in -*) @@ -44,7 +57,7 @@ done if [ "$topofile" ]; then netcmd="cat $topofile" else - netcmd="$IBPATH/ibnetdiscover $ca_info" + netcmd="$IBPATH/ibnetdiscover -y $mkey $ca_info" fi text="`eval $netcmd`" diff --git a/scripts/ibhosts.in b/scripts/ibhosts.in index fda0541..c37260c 100644 --- a/scripts/ibhosts.in +++ b/scripts/ibhosts.in @@ -3,19 +3,32 @@ IBPATH=${IBPATH:- at IBSCRIPTPATH@} usage() { - echo Usage: `basename $0` "[-h] [ | -C ca_name" \ - "-P ca_port -t timeout_ms]" + echo Usage: `basename $0` "[-h] [ | -y mkey" \ + "-C ca_name -P ca_port -t timeout_ms]" exit -1 } topofile="" ca_info="" +mkey="0" while [ "$1" ]; do case $1 in -h | --help) usage ;; + -y | --m_key) + case $2 in + -*) + usage + ;; + esac + if [ x$2 = x ] ; then + usage + fi + shift + mkey="$1" + ;; -P | --Port | -C | --Ca | -t | --timeout) case $2 in -*) @@ -44,7 +57,7 @@ done if [ "$topofile" ]; then netcmd="cat $topofile" else - netcmd="$IBPATH/ibnetdiscover $ca_info" + netcmd="$IBPATH/ibnetdiscover -y $mkey $ca_info" fi text="`eval $netcmd`" diff --git a/scripts/ibrouters b/scripts/ibrouters index 054a998..58e1818 100644 --- a/scripts/ibrouters +++ b/scripts/ibrouters @@ -3,19 +3,32 @@ IBPATH=${IBPATH:-/usr/local/sbin} usage() { - echo Usage: `basename $0` "[-h] [ | -C ca_name" \ - "-P ca_port -t timeout_ms]" + echo Usage: `basename $0` "[-h] [ | -y mkey" \ + "-C ca_name -P ca_port -t timeout_ms]" exit -1 } topofile="" ca_info="" +mkey="0" while [ "$1" ]; do case $1 in -h | --help) usage ;; + -y | --m_key) + case $2 in + -*) + usage + ;; + esac + if [ x$2 = x ] ; then + usage + fi + shift + mkey="$1" + ;; -P | --Port | -C | --Ca | -t | --timeout) case $2 in -*) @@ -44,7 +57,7 @@ done if [ "$topofile" ]; then netcmd="cat $topofile" else - netcmd="$IBPATH/ibnetdiscover $ca_info" + netcmd="$IBPATH/ibnetdiscover -y $mkey $ca_info" fi text="`eval $netcmd`" diff --git a/scripts/ibrouters.in b/scripts/ibrouters.in index ae66ca4..b3e5a1d 100644 --- a/scripts/ibrouters.in +++ b/scripts/ibrouters.in @@ -3,19 +3,32 @@ IBPATH=${IBPATH:- at IBSCRIPTPATH@} usage() { - echo Usage: `basename $0` "[-h] [ | -C ca_name" \ - "-P ca_port -t timeout_ms]" + echo Usage: `basename $0` "[-h] [ | -y mkey" \ + "-C ca_name -P ca_port -t timeout_ms]" exit -1 } topofile="" ca_info="" +mkey="0" while [ "$1" ]; do case $1 in -h | --help) usage ;; + -y | --m_key) + case $2 in + -*) + usage + ;; + esac + if [ x$2 = x ] ; then + usage + fi + shift + mkey="$1" + ;; -P | --Port | -C | --Ca | -t | --timeout) case $2 in -*) @@ -44,7 +57,7 @@ done if [ "$topofile" ]; then netcmd="cat $topofile" else - netcmd="$IBPATH/ibnetdiscover $ca_info" + netcmd="$IBPATH/ibnetdiscover -y $mkey $ca_info" fi text="`eval $netcmd`" diff --git a/scripts/ibswitches b/scripts/ibswitches index 179f555..5cc6898 100644 --- a/scripts/ibswitches +++ b/scripts/ibswitches @@ -3,19 +3,32 @@ IBPATH=${IBPATH:-/usr/local/sbin} usage() { - echo Usage: `basename $0` "[-h] [ | -C ca_name" \ - "-P ca_port -t timeout_ms]" + echo Usage: `basename $0` "[-h] [ | -y mkey" \ + "-C ca_name -P ca_port -t timeout_ms]" exit -1 } topofile="" ca_info="" +mkey="0" while [ "$1" ]; do case $1 in -h | --help) usage ;; + -y | --m_key) + case $2 in + -*) + usage + ;; + esac + if [ x$2 = x ] ; then + usage + fi + shift + mkey="$1" + ;; -P | --Port | -C | --Ca | -t | --timeout) case $2 in -*) @@ -44,7 +57,7 @@ done if [ "$topofile" ]; then netcmd="cat $topofile" else - netcmd="$IBPATH/ibnetdiscover $ca_info" + netcmd="$IBPATH/ibnetdiscover -y $mkey $ca_info" fi text="`eval $netcmd`" diff --git a/scripts/ibswitches.in b/scripts/ibswitches.in index 0f3aa91..743f1db 100644 --- a/scripts/ibswitches.in +++ b/scripts/ibswitches.in @@ -3,19 +3,32 @@ IBPATH=${IBPATH:- at IBSCRIPTPATH@} usage() { - echo Usage: `basename $0` "[-h] [ | -C ca_name" \ - "-P ca_port -t timeout_ms]" + echo Usage: `basename $0` "[-h] [ | -y mkey" \ + "-C ca_name -P ca_port -t timeout_ms]" exit -1 } topofile="" ca_info="" +mkey="0" while [ "$1" ]; do case $1 in -h | --help) usage ;; + -y | --m_key) + case $2 in + -*) + usage + ;; + esac + if [ x$2 = x ] ; then + usage + fi + shift + mkey="$1" + ;; -P | --Port | -C | --Ca | -t | --timeout) case $2 in -*) @@ -44,7 +57,7 @@ done if [ "$topofile" ]; then netcmd="cat $topofile" else - netcmd="$IBPATH/ibnetdiscover $ca_info" + netcmd="$IBPATH/ibnetdiscover -y $mkey $ca_info" fi text="`eval $netcmd`" diff --git a/src/ibaddr.c b/src/ibaddr.c index 5845b4e..1a721d0 100644 --- a/src/ibaddr.c +++ b/src/ibaddr.c @@ -83,7 +83,7 @@ static int ib_resolve_addr(ib_portid_t * portid, int portnum, int show_lid, printf("LID start 0x%x end 0x%x", portid->lid, portid->lid + (1 << lmc) - 1); else if (show_lid < 0) - printf("LID start %d end %d", portid->lid, + printf("LID start %u end %u", portid->lid, portid->lid + (1 << lmc) - 1); printf("\n"); return 0; diff --git a/src/ibdiag_common.c b/src/ibdiag_common.c index 2a1e971..1f91269 100644 --- a/src/ibdiag_common.c +++ b/src/ibdiag_common.c @@ -527,14 +527,34 @@ int is_port_info_extended_supported(ib_portid_t * dest, int port, return 1; } -int is_mlnx_ext_port_info_supported(uint32_t devid) +int is_mlnx_ext_port_info_supported(uint32_t vendorid, + uint16_t devid) { if (ibd_ibnetdisc_flags & IBND_CONFIG_MLX_EPI) { - if ((devid >= 0xc738 && devid <= 0xc73b) || devid == 0xcb20 || devid == 0xcf08) + + if ((devid >= 0xc738 && devid <= 0xc73b) || devid == 0xcb20 || devid == 0xcf08 || + ((vendorid == 0x119f) && + /* Bull SwitchX */ + (devid == 0x1b02 || devid == 0x1b50 || + /* Bull SwitchIB and SwitchIB2 */ + devid == 0x1ba0 || + (devid >= 0x1bd0 && devid <= 0x1bd5)))) return 1; - if (devid >= 0x1003 && devid <= 0x1016) + if ((devid >= 0x1003 && devid <= 0x1017) || + ((vendorid == 0x119f) && + /* Bull ConnectX3 */ + (devid == 0x1b33 || devid == 0x1b73 || + devid == 0x1b40 || devid == 0x1b41 || + devid == 0x1b60 || devid == 0x1b61 || + /* Bull ConnectIB */ + devid == 0x1b83 || + devid == 0x1b93 || devid == 0x1b94 || + /* Bull ConnectX4 */ + devid == 0x1bb4 || devid == 0x1bb5 || + devid == 0x1bc4))) return 1; } + return 0; } @@ -588,8 +608,8 @@ int resolve_self(char *ca_name, uint8_t ca_port, ib_portid_t *portid, *portnum = port.portnum; if (gid) { memset(gid, 0, sizeof(*gid)); - prefix = cl_hton64(port.gid_prefix); - guid = cl_hton64(port.port_guid); + prefix = cl_ntoh64(port.gid_prefix); + guid = cl_ntoh64(port.port_guid); mad_encode_field(*gid, IB_GID_PREFIX_F, &prefix); mad_encode_field(*gid, IB_GID_GUID_F, &guid); } @@ -814,8 +834,14 @@ check_ext_speed: check_fdr10_active: if ((mad_get_field(port->ext_info, 0, - IB_MLNX_EXT_PORT_LINK_SPEED_ACTIVE_F) & FDR10) == 0) - snprintf(speed_msg, msg_size, "Could be FDR10"); + IB_MLNX_EXT_PORT_LINK_SPEED_ACTIVE_F) & FDR10) == 0) { + /* Special case QDR to try to avoid confusion with FDR10 */ + if (mad_get_field(port->info, 0, IB_PORT_LINK_SPEED_ACTIVE_F) == 4) /* QDR (10.0 Gbps) */ + snprintf(speed_msg, msg_size, + "Could be FDR10 (Found link at QDR but expected speed is FDR10)"); + else + snprintf(speed_msg, msg_size, "Could be FDR10"); + } } int vsnprint_field(char *buf, size_t n, enum MAD_FIELDS f, int spacing, @@ -824,7 +850,7 @@ int vsnprint_field(char *buf, size_t n, enum MAD_FIELDS f, int spacing, int len, i, ret; len = strlen(mad_field_name(f)); - if (len + 2 > n || spacing + 1 > n) + if (len + 2 > n || spacing + 1 > n) return 0; strncpy(buf, mad_field_name(f), n); diff --git a/src/ibportstate.c b/src/ibportstate.c index cb47aa9..fe8be25 100644 --- a/src/ibportstate.c +++ b/src/ibportstate.c @@ -1,6 +1,7 @@ /* * Copyright (c) 2004-2009 Voltaire Inc. All rights reserved. * Copyright (c) 2010,2011 Mellanox Technologies LTD. All rights reserved. + * Copyright (c) 2011,2016 Oracle and/or its affiliates. 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 @@ -384,6 +385,7 @@ int main(int argc, char **argv) int selfport = 0; int changed = 0; int i; + uint32_t vendorid, rem_vendorid; uint16_t devid, rem_devid; uint64_t val; char *endp; @@ -515,6 +517,7 @@ int main(int argc, char **argv) port_op = QUERY; is_switch = get_node_info(&portid, data); + vendorid = (uint32_t) mad_get_field(data, 0, IB_NODE_VENDORID_F); devid = (uint16_t) mad_get_field(data, 0, IB_NODE_DEVID_F); if ((port_args[MKEY].set || port_args[MKEYLEASE].set || @@ -522,12 +525,12 @@ int main(int argc, char **argv) IBEXIT("Can't set M_Key fields on switch port != 0"); if (port_op != QUERY || changed) - printf("Initial %s PortInfo:\n", is_switch ? "Switch" : "CA"); + printf("Initial %s PortInfo:\n", is_switch ? "Switch" : "CA/RT"); else - printf("%s PortInfo:\n", is_switch ? "Switch" : "CA"); + printf("%s PortInfo:\n", is_switch ? "Switch" : "CA/RT"); espeed_cap = get_port_info(&portid, data, portnum, is_switch); show_port_info(&portid, data, portnum, espeed_cap, is_switch); - if (is_mlnx_ext_port_info_supported(devid)) { + if (is_mlnx_ext_port_info_supported(vendorid, devid)) { get_mlnx_ext_port_info(&portid, data2, portnum); show_mlnx_ext_port_info(&portid, data2, portnum); } @@ -655,18 +658,26 @@ int main(int argc, char **argv) /* Setup portid for peer port */ memcpy(&peerportid, &portid, sizeof(peerportid)); - peerportid.drpath.cnt = 1; - peerportid.drpath.p[1] = (uint8_t) portnum; - - /* Set DrSLID to local lid */ - if (resolve_self(ibd_ca, ibd_ca_port, &selfportid, - &selfport, 0) < 0) - IBEXIT("could not resolve self"); - peerportid.drpath.drslid = (uint16_t) selfportid.lid; - peerportid.drpath.drdlid = 0xffff; + if (portid.lid == 0) { + peerportid.drpath.cnt++; + if (peerportid.drpath.cnt == IB_SUBNET_PATH_HOPS_MAX) { + IBEXIT("Too many hops"); + } + } else { + peerportid.drpath.cnt = 1; + + /* Set DrSLID to local lid */ + if (resolve_self(ibd_ca, ibd_ca_port, &selfportid, + &selfport, 0) < 0) + IBEXIT("could not resolve self"); + peerportid.drpath.drslid = (uint16_t) selfportid.lid; + peerportid.drpath.drdlid = 0xffff; + } + peerportid.drpath.p[peerportid.drpath.cnt] = (uint8_t) portnum; /* Get peer port NodeInfo to obtain peer port number */ is_peer_switch = get_node_info(&peerportid, data); + rem_vendorid = (uint32_t) mad_get_field(data, 0, IB_NODE_VENDORID_F); rem_devid = (uint16_t) mad_get_field(data, 0, IB_NODE_DEVID_F); mad_decode_field(data, IB_NODE_LOCAL_PORT_F, @@ -677,12 +688,12 @@ int main(int argc, char **argv) peer_espeed_cap = get_port_info(&peerportid, data, peerlocalportnum, is_peer_switch); - if (is_mlnx_ext_port_info_supported(rem_devid)) + if (is_mlnx_ext_port_info_supported(rem_vendorid, rem_devid)) get_mlnx_ext_port_info(&peerportid, data2, peerlocalportnum); show_port_info(&peerportid, data, peerlocalportnum, peer_espeed_cap, is_peer_switch); - if (is_mlnx_ext_port_info_supported(rem_devid)) + if (is_mlnx_ext_port_info_supported(rem_vendorid, rem_devid)) show_mlnx_ext_port_info(&peerportid, data2, peerlocalportnum); diff --git a/src/ibsendtrap.c b/src/ibsendtrap.c index 659f2d2..7044deb 100644 --- a/src/ibsendtrap.c +++ b/src/ibsendtrap.c @@ -121,6 +121,64 @@ static void build_trap129(ib_mad_notice_attr_t * n, ib_portid_t * port) n->data_details.ntc_129_131.port_num = (uint8_t) error_port; } +static void build_trap256_local(ib_mad_notice_attr_t * n, ib_portid_t * port) +{ + n->generic_type = 0x80 | IB_NOTICE_TYPE_SECURITY; + n->g_or_v.generic.prod_type_lsb = cl_hton16(get_node_type(port)); + n->g_or_v.generic.trap_num = cl_hton16(256); + n->issuer_lid = cl_hton16((uint16_t) port->lid); + n->data_details.ntc_256.lid = n->issuer_lid; + n->data_details.ntc_256.dr_slid = 0xffff; + n->data_details.ntc_256.method = 1; + n->data_details.ntc_256.attr_id = cl_ntoh16(0x15); + n->data_details.ntc_256.attr_mod = cl_ntoh32(0x12); + n->data_details.ntc_256.mkey = cl_ntoh64(0x1234567812345678); +} + +static void build_trap256_lid(ib_mad_notice_attr_t * n, ib_portid_t * port) +{ + build_trap256_local(n, port); + n->data_details.ntc_256.dr_trunc_hop = 0; +} + +static void build_trap256_dr(ib_mad_notice_attr_t * n, ib_portid_t * port) +{ + build_trap256_local(n, port); + n->data_details.ntc_256.dr_trunc_hop = 0x80 | 0x4; + n->data_details.ntc_256.dr_rtn_path[0] = 5; + n->data_details.ntc_256.dr_rtn_path[1] = 6; + n->data_details.ntc_256.dr_rtn_path[2] = 7; + n->data_details.ntc_256.dr_rtn_path[3] = 8; +} + +static void build_trap257_258(ib_mad_notice_attr_t * n, ib_portid_t * port, + uint16_t trap_num) +{ + n->generic_type = 0x80 | IB_NOTICE_TYPE_SECURITY; + n->g_or_v.generic.prod_type_lsb = cl_hton16(get_node_type(port)); + n->g_or_v.generic.trap_num = cl_hton16(trap_num); + n->issuer_lid = cl_hton16((uint16_t) port->lid); + n->data_details.ntc_257_258.lid1 = cl_hton16(1); + n->data_details.ntc_257_258.lid2 = cl_hton16(2); + n->data_details.ntc_257_258.key = cl_hton32(0x12345678); + n->data_details.ntc_257_258.qp1 = cl_hton32(0x010101); + n->data_details.ntc_257_258.qp2 = cl_hton32(0x020202); + n->data_details.ntc_257_258.gid1.unicast.prefix = cl_ntoh64(0xf8c0000000000001); + n->data_details.ntc_257_258.gid1.unicast.interface_id = cl_ntoh64(0x1111222233334444); + n->data_details.ntc_257_258.gid2.unicast.prefix = cl_ntoh64(0xf8c0000000000001); + n->data_details.ntc_257_258.gid2.unicast.interface_id = cl_ntoh64(0x5678567812341234); +} + +static void build_trap257(ib_mad_notice_attr_t * n, ib_portid_t * port) +{ + build_trap257_258(n, port, 257); +} + +static void build_trap258(ib_mad_notice_attr_t * n, ib_portid_t * port) +{ + build_trap257_258(n, port, 258); +} + static int send_trap(void (*build) (ib_mad_notice_attr_t *, ib_portid_t *)) { ib_portid_t sm_port; @@ -159,6 +217,10 @@ static const trap_def_t traps[] = { {"link_speed_enabled_change", build_trap144_linkspeed}, {"local_link_integrity", build_trap129}, {"sys_image_guid_change", build_trap145}, + {"mkey_lid", build_trap256_lid}, + {"mkey_dr", build_trap256_dr}, + {"pkey", build_trap257}, + {"qkey", build_trap258}, {NULL, NULL} }; diff --git a/src/ibstat.c b/src/ibstat.c index 37f2361..bad4c99 100644 --- a/src/ibstat.c +++ b/src/ibstat.c @@ -48,6 +48,7 @@ #include #include #include +#include /* __be64 */ #include @@ -76,9 +77,9 @@ static void ca_dump(umad_ca_t * ca) printf("\tNumber of ports: %d\n", ca->numports); printf("\tFirmware version: %s\n", ca->fw_ver); printf("\tHardware version: %s\n", ca->hw_ver); - printf("\tNode GUID: 0x%016" PRIx64 "\n", ntohll(ca->node_guid)); + printf("\tNode GUID: 0x%016" PRIx64 "\n", be64toh(ca->node_guid)); printf("\tSystem image GUID: 0x%016" PRIx64 "\n", - ntohll(ca->system_guid)); + be64toh(ca->system_guid)); } static char *port_state_str[] = { @@ -182,13 +183,15 @@ static int port_dump(umad_port_t * port, int alone) 7 ? port_phy_state_str[port->phys_state] : "???"); if (is_fdr10(port)) printf("%sRate: %d (FDR10)\n", pre, port->rate); - else + else if (port->rate != 2) /* 1x SDR */ printf("%sRate: %d\n", pre, port->rate); + else + printf("%sRate: 2.5\n", pre); printf("%sBase lid: %d\n", pre, port->base_lid); printf("%sLMC: %d\n", pre, port->lmc); printf("%sSM lid: %d\n", pre, port->sm_lid); printf("%sCapability mask: 0x%08x\n", pre, ntohl(port->capmask)); - printf("%sPort GUID: 0x%016" PRIx64 "\n", pre, ntohll(port->port_guid)); + printf("%sPort GUID: 0x%016" PRIx64 "\n", pre, be64toh(port->port_guid)); #ifdef HAVE_UMAD_PORT_LINK_LAYER printf("%sLink layer: %s\n", pre, port->link_layer); #endif @@ -236,7 +239,7 @@ static int ca_stat(char *ca_name, int portnum, int no_ports) static int ports_list(char names[][UMAD_CA_NAME_LEN], int n) { - uint64_t guids[64]; + __be64 guids[64]; int found, ports, i; for (i = 0, found = 0; i < n && found < 64; i++) { @@ -249,7 +252,7 @@ static int ports_list(char names[][UMAD_CA_NAME_LEN], int n) for (i = 0; i < found; i++) if (guids[i]) - printf("0x%016" PRIx64 "\n", ntohll(guids[i])); + printf("0x%016" PRIx64 "\n", be64toh(guids[i])); return found; } diff --git a/src/ibtracert.c b/src/ibtracert.c index 9414618..082273c 100644 --- a/src/ibtracert.c +++ b/src/ibtracert.c @@ -804,7 +804,7 @@ int main(int argc, char **argv) NULL, }; - ibdiag_process_opts(argc, argv, NULL, "DKy", opts, process_opt, + ibdiag_process_opts(argc, argv, NULL, "DK", opts, process_opt, usage_args, usage_examples); f = stdout; diff --git a/src/mcm_rereg_test.c b/src/mcm_rereg_test.c index c3b0062..182749e 100644 --- a/src/mcm_rereg_test.c +++ b/src/mcm_rereg_test.c @@ -166,7 +166,7 @@ static int rereg_send_all(int port, int agent, ib_portid_t * dport, rereg_port_gid(port, agent, dport, umad, len, list[i].gid); if (ret < 0) { err("rereg_send_all: rereg_port_gid 0x%016" PRIx64 - " failed\n", ntohll(list[i].guid)); + " failed\n", be64toh(list[i].guid)); continue; } list[i].trid = mad_get_field64(umad_get_mad(umad), 0, @@ -245,7 +245,7 @@ static int rereg_recv_all(int port, int agent, ib_portid_t * dport, } info("guid 0x%016" PRIx64 ": method = %x status = %x. Resending\n", - ntohll(list[i].guid), method, status); + be64toh(list[i].guid), method, status); rereg_port_gid(port, agent, dport, umad, len, list[i].gid); list[i].trid = @@ -298,7 +298,7 @@ static int rereg_query_all(int port, int agent, ib_portid_t * dport, if (status) info("guid 0x%016" PRIx64 ": status %x, method %x\n", - ntohll(list[i].guid), status, method); + be64toh(list[i].guid), status, method); } info("rereg_query_all: %u queried.\n", cnt); @@ -315,8 +315,8 @@ static int rereg_and_test_port(char *guid_file, int port, int agent, char line[256]; FILE *f; ibmad_gid_t port_gid; - uint64_t prefix = htonll(0xfe80000000000000ull); - uint64_t guid = htonll(0x0002c90200223825ull); + uint64_t prefix = htobe64(0xfe80000000000000ull); + uint64_t guid = htobe64(0x0002c90200223825ull); struct guid_trid *list; int i = 0; @@ -335,7 +335,7 @@ static int rereg_and_test_port(char *guid_file, int port, int agent, while (fgets(line, sizeof(line), f)) { guid = strtoull(line, NULL, 0); - guid = htonll(guid); + guid = htobe64(guid); memcpy(&port_gid[0], &prefix, 8); memcpy(&port_gid[8], &guid, 8); diff --git a/src/perfquery.c b/src/perfquery.c index 948ce52..f5d23f2 100644 --- a/src/perfquery.c +++ b/src/perfquery.c @@ -85,13 +85,28 @@ struct perf_count_ext { uint64_t portunicastrcvpkts; uint64_t portmulticastxmitpkits; uint64_t portmulticastrcvpkts; + + uint32_t counterSelect2; + uint64_t symbolErrorCounter; + uint64_t linkErrorRecoveryCounter; + uint64_t linkDownedCounter; + uint64_t portRcvErrors; + uint64_t portRcvRemotePhysicalErrors; + uint64_t portRcvSwitchRelayErrors; + uint64_t portXmitDiscards; + uint64_t portXmitConstraintErrors; + uint64_t portRcvConstraintErrors; + uint64_t localLinkIntegrityErrors; + uint64_t excessiveBufferOverrunErrors; + uint64_t VL15Dropped; + uint64_t portXmitWait; + uint64_t QP1Dropped; }; static uint8_t pc[1024]; -struct perf_count perf_count = - { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; -struct perf_count_ext perf_count_ext = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }; +struct perf_count perf_count = {0}; +struct perf_count_ext perf_count_ext = {0}; #define ALL_PORTS 0xFF #define MAX_PORTS 255 @@ -228,7 +243,7 @@ static void output_aggregate_perfcounters(ib_portid_t * portid, portid2str(portid), ALL_PORTS, ntohs(cap_mask), buf); } -static void aggregate_perfcounters_ext(uint16_t cap_mask) +static void aggregate_perfcounters_ext(uint16_t cap_mask, uint32_t cap_mask2) { uint32_t val; uint64_t val64; @@ -256,15 +271,48 @@ static void aggregate_perfcounters_ext(uint16_t cap_mask) mad_decode_field(pc, IB_PC_EXT_RCV_MPKTS_F, &val64); aggregate_64bit(&perf_count_ext.portmulticastrcvpkts, val64); } + + if (htonl(cap_mask2) & IB_PM_IS_ADDL_PORT_CTRS_EXT_SUP) { + mad_decode_field(pc, IB_PC_EXT_COUNTER_SELECT2_F, &val); + perf_count_ext.counterSelect2 = val; + mad_decode_field(pc, IB_PC_EXT_ERR_SYM_F, &val64); + aggregate_64bit(&perf_count_ext.symbolErrorCounter, val64); + mad_decode_field(pc, IB_PC_EXT_LINK_RECOVERS_F, &val64); + aggregate_64bit(&perf_count_ext.linkErrorRecoveryCounter, val64); + mad_decode_field(pc, IB_PC_EXT_LINK_DOWNED_F, &val64); + aggregate_64bit(&perf_count_ext.linkDownedCounter, val64); + mad_decode_field(pc, IB_PC_EXT_ERR_RCV_F, &val64); + aggregate_64bit(&perf_count_ext.portRcvErrors, val64); + mad_decode_field(pc, IB_PC_EXT_ERR_PHYSRCV_F, &val64); + aggregate_64bit(&perf_count_ext.portRcvRemotePhysicalErrors, val64); + mad_decode_field(pc, IB_PC_EXT_ERR_SWITCH_REL_F, &val64); + aggregate_64bit(&perf_count_ext.portRcvSwitchRelayErrors, val64); + mad_decode_field(pc, IB_PC_EXT_XMT_DISCARDS_F, &val64); + aggregate_64bit(&perf_count_ext.portXmitDiscards, val64); + mad_decode_field(pc, IB_PC_EXT_ERR_XMTCONSTR_F, &val64); + aggregate_64bit(&perf_count_ext.portXmitConstraintErrors, val64); + mad_decode_field(pc, IB_PC_EXT_ERR_RCVCONSTR_F, &val64); + aggregate_64bit(&perf_count_ext.portRcvConstraintErrors, val64); + mad_decode_field(pc, IB_PC_EXT_ERR_LOCALINTEG_F, &val64); + aggregate_64bit(&perf_count_ext.localLinkIntegrityErrors, val64); + mad_decode_field(pc, IB_PC_EXT_ERR_EXCESS_OVR_F, &val64); + aggregate_64bit(&perf_count_ext.excessiveBufferOverrunErrors, val64); + mad_decode_field(pc, IB_PC_EXT_VL15_DROPPED_F, &val64); + aggregate_64bit(&perf_count_ext.VL15Dropped, val64); + mad_decode_field(pc, IB_PC_EXT_XMT_WAIT_F, &val64); + aggregate_64bit(&perf_count_ext.portXmitWait, val64); + mad_decode_field(pc, IB_PC_EXT_QP1_DROP_F, &val64); + aggregate_64bit(&perf_count_ext.QP1Dropped, val64); + } } static void output_aggregate_perfcounters_ext(ib_portid_t * portid, - uint16_t cap_mask) + uint16_t cap_mask, uint32_t cap_mask2) { - char buf[1024]; + char buf[1536]; uint32_t val = ALL_PORTS; - memset(buf, 0, 1024); + memset(buf, 0, sizeof(buf)); /* set port_select to 255 to emulate AllPortSelect */ mad_encode_field(pc, IB_PC_EXT_PORT_SELECT_F, &val); @@ -289,16 +337,50 @@ static void output_aggregate_perfcounters_ext(ib_portid_t * portid, &perf_count_ext.portmulticastrcvpkts); } + if (htonl(cap_mask2) & IB_PM_IS_ADDL_PORT_CTRS_EXT_SUP) { + mad_encode_field(pc, IB_PC_EXT_COUNTER_SELECT2_F, + &perf_count_ext.counterSelect2); + mad_encode_field(pc, IB_PC_EXT_ERR_SYM_F, + &perf_count_ext.symbolErrorCounter); + mad_encode_field(pc, IB_PC_EXT_LINK_RECOVERS_F, + &perf_count_ext.linkErrorRecoveryCounter); + mad_encode_field(pc, IB_PC_EXT_LINK_DOWNED_F, + &perf_count_ext.linkDownedCounter); + mad_encode_field(pc, IB_PC_EXT_ERR_RCV_F, + &perf_count_ext.portRcvErrors); + mad_encode_field(pc, IB_PC_EXT_ERR_PHYSRCV_F, + &perf_count_ext.portRcvRemotePhysicalErrors); + mad_encode_field(pc, IB_PC_EXT_ERR_SWITCH_REL_F, + &perf_count_ext.portRcvSwitchRelayErrors); + mad_encode_field(pc, IB_PC_EXT_XMT_DISCARDS_F, + &perf_count_ext.portXmitDiscards); + mad_encode_field(pc, IB_PC_EXT_ERR_XMTCONSTR_F, + &perf_count_ext.portXmitConstraintErrors); + mad_encode_field(pc, IB_PC_EXT_ERR_RCVCONSTR_F, + &perf_count_ext.portRcvConstraintErrors); + mad_encode_field(pc, IB_PC_EXT_ERR_LOCALINTEG_F, + &perf_count_ext.localLinkIntegrityErrors); + mad_encode_field(pc, IB_PC_EXT_ERR_EXCESS_OVR_F, + &perf_count_ext.excessiveBufferOverrunErrors); + mad_encode_field(pc, IB_PC_EXT_VL15_DROPPED_F, + &perf_count_ext.VL15Dropped); + mad_encode_field(pc, IB_PC_EXT_XMT_WAIT_F, + &perf_count_ext.portXmitWait); + mad_encode_field(pc, IB_PC_EXT_QP1_DROP_F, + &perf_count_ext.QP1Dropped); + } + mad_dump_perfcounters_ext(buf, sizeof buf, pc, sizeof pc); - printf("# Port extended counters: %s port %d (CapMask: 0x%02X)\n%s", - portid2str(portid), ALL_PORTS, ntohs(cap_mask), buf); + printf("# Port extended counters: %s port %d (CapMask: 0x%02X CapMask2: 0x%07X)\n%s", + portid2str(portid), ALL_PORTS, ntohs(cap_mask), cap_mask2, buf); } static void dump_perfcounters(int extended, int timeout, uint16_t cap_mask, - ib_portid_t * portid, int port, int aggregate) + uint32_t cap_mask2, ib_portid_t * portid, + int port, int aggregate) { - char buf[1024]; + char buf[1536]; if (extended != 1) { memset(pc, 0, sizeof(pc)); @@ -335,7 +417,7 @@ static void dump_perfcounters(int extended, int timeout, uint16_t cap_mask, IB_GSI_PORT_COUNTERS_EXT, srcport)) IBEXIT("perfextquery"); if (aggregate) - aggregate_perfcounters_ext(cap_mask); + aggregate_perfcounters_ext(cap_mask, cap_mask2); else mad_dump_perfcounters_ext(buf, sizeof buf, pc, sizeof pc); @@ -344,8 +426,9 @@ static void dump_perfcounters(int extended, int timeout, uint16_t cap_mask, if (!aggregate) { if (extended) printf("# Port extended counters: %s port %d " - "(CapMask: 0x%02X)\n%s", - portid2str(portid), port, ntohs(cap_mask), buf); + "(CapMask: 0x%02X CapMask2: 0x%07X)\n%s", + portid2str(portid), port, ntohs(cap_mask), + cap_mask2, buf); else printf("# Port counters: %s port %d " "(CapMask: 0x%02X)\n%s", @@ -699,6 +782,7 @@ int main(int argc, char **argv) ib_portid_t portid = { 0 }; int mask = 0xffff; uint64_t ext_mask = 0xffffffffffffffffULL; + uint32_t cap_mask2; uint16_t cap_mask; int all_ports_loop = 0; int node_type, num_ports = 0; @@ -816,6 +900,9 @@ int main(int argc, char **argv) IBEXIT("classportinfo query"); /* ClassPortInfo should be supported as part of libibmad */ memcpy(&cap_mask, pc + 2, sizeof(cap_mask)); /* CapabilityMask */ + memcpy(&cap_mask2, pc + 4, sizeof(cap_mask2)); /* CapabilityMask2 */ + cap_mask2 = ntohl(cap_mask2) >> 5; + if (!(cap_mask & IB_PM_ALL_PORT_SELECT)) { /* bit 8 is AllPortSelect */ if (!all_ports && port == ALL_PORTS) IBEXIT("AllPortSelect not supported"); @@ -942,7 +1029,8 @@ int main(int argc, char **argv) if (all_ports_loop || (loop_ports && (all_ports || port == ALL_PORTS))) { for (i = start_port; i <= num_ports; i++) - dump_perfcounters(extended, ibd_timeout, cap_mask, + dump_perfcounters(extended, ibd_timeout, + cap_mask, cap_mask2, &portid, i, (all_ports_loop && !loop_ports)); if (all_ports_loop && !loop_ports) { @@ -951,12 +1039,12 @@ int main(int argc, char **argv) cap_mask); else output_aggregate_perfcounters_ext(&portid, - cap_mask); + cap_mask, cap_mask2); } } else if (ports_count > 1) { for (i = 0; i < ports_count; i++) dump_perfcounters(extended, ibd_timeout, cap_mask, - &portid, ports[i], + cap_mask2, &portid, ports[i], (all_ports && !loop_ports)); if (all_ports && !loop_ports) { if (extended != 1) @@ -964,11 +1052,11 @@ int main(int argc, char **argv) cap_mask); else output_aggregate_perfcounters_ext(&portid, - cap_mask); + cap_mask, cap_mask2); } } else - dump_perfcounters(extended, ibd_timeout, cap_mask, &portid, - port, 0); + dump_perfcounters(extended, ibd_timeout, cap_mask, cap_mask2, + &portid, port, 0); if (!reset) goto done; @@ -977,6 +1065,14 @@ do_reset: if (argc <= 2 && !extended && (cap_mask & IB_PM_PC_XMIT_WAIT_SUP)) mask |= (1 << 16); /* reset portxmitwait */ + if (extended) { + mask |= 0xfff0000; + if (cap_mask & IB_PM_PC_XMIT_WAIT_SUP) + mask |= (1 << 28); + if (cap_mask & IB_PM_IS_QP1_DROP_SUP) + mask |= (1 << 29); + } + if (all_ports_loop || (loop_ports && (all_ports || port == ALL_PORTS))) { for (i = start_port; i <= num_ports; i++) reset_counters(extended, ibd_timeout, mask, &portid, i); diff --git a/src/rdma-ndd.c b/src/rdma-ndd.c deleted file mode 100644 index 9860824..0000000 --- a/src/rdma-ndd.c +++ /dev/null @@ -1,428 +0,0 @@ -/* - * Copyright (c) 2014 Intel Corporation. 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 - * General Public License (GPL) Version 2, available from the file - * COPYING in the main directory of this source tree, or the - * OpenIB.org BSD license below: - * - * Redistribution and use in source and binary forms, with or - * without modification, are permitted provided that the following - * conditions are met: - * - * - Redistributions of source code must retain the above - * copyright notice, this list of conditions and the following - * disclaimer. - * - * - Redistributions in binary form must reproduce the above - * copyright notice, this list of conditions and the following - * disclaimer in the documentation and/or other materials - * provided with the distribution. - * - * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, - * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF - * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND - * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS - * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN - * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN - * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - * SOFTWARE. - * - */ - -#if HAVE_CONFIG_H -# include -#endif /* HAVE_CONFIG_H */ - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#include - -struct udev *udev; -struct udev_monitor *mon; - -#include "ibdiag_common.h" - -#define SYS_HOSTNAME "/proc/sys/kernel/hostname" -#define SYS_INFINIBAND "/sys/class/infiniband" -#define DEFAULT_RETRY_RATE 60 -#define DEFAULT_RETRY_COUNT 0 -#define DEFAULT_ND_FORMAT "%h %d" - -int failure_retry_rate = DEFAULT_RETRY_RATE; -int set_retry_cnt = DEFAULT_RETRY_COUNT; -int foreground = 0; -char *pidfile = NULL; - -static void newline_to_null(char *str) -{ - char *term = index(str, '\n'); - if (term) - *term = '\0'; -} - -static void strip_domain(char *str) -{ - char *term = index(str, '.'); - if (term) - *term = '\0'; -} - -static void build_node_desc(char *dest, size_t len, - const char *device, const char *hostname) -{ - char *end = dest + len-1; - const char *field; - char *src = ibd_nd_format; - - while (*src && (dest < end)) { - if (*src != '%') { - *dest++ = *src++; - } else { - src++; - switch (*src) { - case 'h': - field = hostname; - while (*field && (*field != '.') && (dest < end)) - *dest++ = *field++; - break; - case 'd': - field = device; - while (*field && (dest < end)) - *dest++ = *field++; - break; - } - src++; - } - } - *dest = 0; -} - -static int update_node_desc(const char *device, const char *hostname, int force) -{ - int rc; - char nd[128]; - char new_nd[64]; - char nd_file[PATH_MAX]; - FILE *f; - - snprintf(nd_file, sizeof(nd_file), SYS_INFINIBAND "/%s/node_desc", - device); - nd_file[sizeof(nd_file)-1] = '\0'; - - f = fopen(nd_file, "r+"); - if (!f) { - syslog(LOG_ERR, "Failed to open %s\n", nd_file); - return -EIO; - } - - if (!fgets(nd, sizeof(nd), f)) { - syslog(LOG_ERR, "Failed to read %s\n", nd_file); - rc = -EIO; - goto error; - } - newline_to_null(nd); - - build_node_desc(new_nd, sizeof(new_nd), device, hostname); - - if (!force && strncmp(new_nd, nd, sizeof(new_nd)) == 0) { - syslog(LOG_INFO, "%s: no change (%s)\n", device, new_nd); - } else { - syslog(LOG_INFO, "%s: change (%s) -> (%s)\n", - device, nd, new_nd); - rewind(f); - fprintf(f, "%s", new_nd); - } - - rc = 0; -error: - fclose(f); - return rc; -} - -static int set_rdma_node_desc(const char *hostname, int force) -{ - DIR *class_dir; - struct dirent *dent; - - class_dir = opendir(SYS_INFINIBAND); - if (!class_dir) { - syslog(LOG_INFO, "Failed to open " SYS_INFINIBAND); - return -ENOSYS; - } - - while ((dent = readdir(class_dir))) { - int retry = set_retry_cnt; - if (dent->d_name[0] == '.') - continue; - - while (update_node_desc(dent->d_name, hostname, force) && retry > 0) { - syslog(LOG_ERR, "retrying set Node Description on %s\n", - dent->d_name); - retry--; - } - } - - closedir(class_dir); - return 0; -} - -static int read_hostname(int fd, char *name, size_t len) -{ - int rc; - memset(name, 0, len); - if (read(fd, name, len-1) >= 0) { - newline_to_null(name); - strip_domain(name); - rc = 0; - } else { - syslog(LOG_ERR, "Read %s Failed\n", SYS_HOSTNAME); - rc = -EIO; - } - return rc; -} - -static int process_opts(void *context, int ch, char *optarg) -{ - unsigned long tmp; - switch (ch) { - case 0: - pidfile = optarg; - break; - case 'f': - foreground = 1; - break; - case 't': - tmp = strtoul(optarg, NULL, 0); - if (tmp >= INT_MAX) { - syslog(LOG_ERR, - "Invalid retry rate specified: %lu s\n", - tmp); - } else { - failure_retry_rate = (int)tmp; - } - break; - case 'r': - tmp = strtoul(optarg, NULL, 0); - if (tmp >= INT_MAX) { - syslog(LOG_ERR, - "Invalid retry count specified: %lu\n", - tmp); - } else { - set_retry_cnt = (int)tmp; - } - break; - default: - return -1; - } - return 0; -} - -#if HAVE_UDEV_LOGGING -#define MSG_MAX 2048 -static void udev_log_fn(struct udev *ud, int priority, const char *file, int line, - const char *fn, const char *format, va_list args) -{ - int off = 0; - char msg[MSG_MAX]; - off = snprintf(msg, MSG_MAX, "libudev: %s:%d %s", - file, line, fn); - if (off < MSG_MAX-1) - vsnprintf(msg+off, MSG_MAX-off, format, args); - syslog(LOG_ERR, "%s", msg); -} -#endif - -static void setup_udev(void) -{ - udev = udev_new(); - if (!udev) { - syslog(LOG_ERR, "udev_new failed\n"); - return; - } - -#if HAVE_UDEV_LOGGING - udev_set_log_fn(udev, udev_log_fn); - udev_set_log_priority(udev, LOG_INFO); -#endif -} - -static int get_udev_fd(void) -{ - mon = udev_monitor_new_from_netlink(udev, "udev"); - if (!mon) { - syslog(LOG_ERR, "udev monitoring failed\n"); - return -1; - } - - udev_monitor_filter_add_match_subsystem_devtype(mon, "infiniband", NULL); - udev_monitor_enable_receiving(mon); - return udev_monitor_get_fd(mon); -} - -static void process_udev_event(int ud_fd, const char *hostname) -{ - struct udev_device *dev; - - dev = udev_monitor_receive_device(mon); - if (dev) { - const char *device = udev_device_get_sysname(dev); - const char *action = udev_device_get_action(dev); - - syslog(LOG_INFO, "Device event: %s, %s, %s\n", - udev_device_get_subsystem(dev), - device, action); - - if (device && action - && strncmp(action, "add", sizeof("add")) == 0) - update_node_desc(device, hostname, 1); - - udev_device_unref(dev); - } -} - -static void monitor(void) -{ - char hostname[128]; - int hn_fd; - int rc; - struct pollfd fds[2]; - int numfds = 1; - int ud_fd; - - ud_fd = get_udev_fd(); - if (ud_fd >= 0) - numfds = 2; - - while (1) { - hn_fd = open(SYS_HOSTNAME, O_RDONLY); - if (hn_fd < 0) { - syslog(LOG_ERR, - "Open %s Failed: retry in %d seconds\n", - SYS_HOSTNAME, failure_retry_rate); - sleep(failure_retry_rate); - continue; - } - - fds[0].fd = hn_fd; - fds[0].events = 0; - fds[0].revents = 0; - - fds[1].fd = ud_fd; - fds[1].events = POLLIN; - fds[1].revents = 0; - - rc = poll(fds, numfds, -1); - - if (rc > 0) { - if (read_hostname(hn_fd, hostname, sizeof(hostname)) != 0) - hostname[0] = '\0'; - - if (fds[0].revents != 0) - syslog(LOG_ERR, "Hostname change: %s\n", hostname); - - if (fds[1].revents != 0) - process_udev_event(ud_fd, hostname); - - rc = set_rdma_node_desc((const char *)hostname, 0); - } else { - syslog(LOG_ERR, "Poll %s Failed\n", SYS_HOSTNAME); - rc = -EIO; - } - - close(hn_fd); - - if (rc) - sleep(failure_retry_rate); - } -} - -static void remove_pidfile(void) -{ - if (pidfile) - unlink(pidfile); -} - -static void write_pidfile(void) -{ - FILE *f; - if (pidfile) { - remove_pidfile(); - f = fopen(pidfile, "w"); - if (f) { - fprintf(f, "%d\n", getpid()); - fclose(f); - } else { - syslog(LOG_ERR, "Failed to write pidfile : %s\n", - pidfile); - exit(errno); - } - } -} - -int main(int argc, char *argv[]) -{ - int fd; - char hostname[128]; - - openlog("rdma-ndd", LOG_PID | LOG_PERROR, LOG_DAEMON); - - const struct ibdiag_opt opts[] = { - {"retry_timer", 't', 1, "", - "Length of time to sleep when system errors occur " - "when attempting to poll and or read the hostname " - "from the system.\n"}, - {"retry_count", 'r', 1, "", - "Number of times to attempt to retry setting " - "of the node description on failure\n"}, - {"foreground", 'f', 0, NULL, "run in the foreground instead of as a daemon\n"}, - {"pidfile", 0, 1, "", "specify a pid file (daemon mode only)\n"}, - {0} - }; - - ibdiag_process_opts(argc, argv, NULL, "CPDLGtsKyevd", opts, - process_opts, "", NULL); - - if (!ibd_nd_format) - ibd_nd_format = DEFAULT_ND_FORMAT; - - if (!foreground) { - closelog(); - openlog("rdma-ndd", LOG_PID, LOG_DAEMON); - if (daemon(0, 0) != 0) { - syslog(LOG_ERR, "Failed to daemonize\n"); - exit(errno); - } - write_pidfile(); - } - - setup_udev(); - - syslog(LOG_INFO, "Node Descriptor format (%s)\n", ibd_nd_format); - - fd = open(SYS_HOSTNAME, O_RDONLY); - if (read_hostname(fd, hostname, sizeof(hostname)) != 0) - hostname[0] = '\0'; - set_rdma_node_desc((const char *)hostname, 1); - close(fd); - - monitor(); - - remove_pidfile(); - - return 0; -} diff --git a/src/saquery.c b/src/saquery.c index ea946a1..6b7eb5d 100644 --- a/src/saquery.c +++ b/src/saquery.c @@ -69,7 +69,7 @@ struct query_params { uint64_t service_id; - ib_gid_t sgid, dgid, gid, mgid; + ibmad_gid_t sgid, dgid, gid, mgid; uint16_t slid, dlid, mlid; uint32_t flow_label; int hop_limit; @@ -118,9 +118,9 @@ int requested_lid_flag = 0; uint64_t requested_guid = 0; int requested_guid_flag = 0; -static unsigned valid_gid(ib_gid_t * gid) +static unsigned valid_gid(ibmad_gid_t * gid) { - ib_gid_t zero_gid; + ibmad_gid_t zero_gid; memset(&zero_gid, 0, sizeof zero_gid); return memcmp(&zero_gid, gid, sizeof(*gid)); } diff --git a/src/smpdump.c b/src/smpdump.c index 4d67be7..6105ec8 100644 --- a/src/smpdump.c +++ b/src/smpdump.c @@ -44,6 +44,7 @@ #include #include #include +#include #include #include @@ -92,7 +93,7 @@ void drsmp_get_init(void *umad, DRPath * path, int attr, int mod) smp->method = 1; smp->attr_id = (uint16_t) htons((uint16_t) attr); smp->attr_mod = htonl(mod); - smp->tid = htonll(drmad_tid++); + smp->tid = htobe64(drmad_tid++); smp->dr_slid = 0xffff; smp->dr_dlid = 0xffff; @@ -117,7 +118,7 @@ void smp_get_init(void *umad, int lid, int attr, int mod) smp->method = 1; smp->attr_id = (uint16_t) htons((uint16_t) attr); smp->attr_mod = htonl(mod); - smp->tid = htonll(drmad_tid++); + smp->tid = htobe64(drmad_tid++); umad_set_addr(umad, lid, 0, 0, 0); } @@ -131,7 +132,7 @@ void drsmp_set_init(void *umad, DRPath * path, int attr, int mod, void *data) smp->method = 2; /* SET */ smp->attr_id = (uint16_t) htons((uint16_t) attr); smp->attr_mod = htonl(mod); - smp->tid = htonll(drmad_tid++); + smp->tid = htobe64(drmad_tid++); smp->dr_slid = 0xffff; smp->dr_dlid = 0xffff; diff --git a/src/smpquery.c b/src/smpquery.c index 2bd7132..ba2f58a 100644 --- a/src/smpquery.c +++ b/src/smpquery.c @@ -403,7 +403,7 @@ static char *guid_info(ib_portid_t * dest, char **argv, int argc) p = (uint64_t *) data; for (j = 0; j < k; j += 2, p += 2) { printf("%4u: 0x%016" PRIx64 " 0x%016" PRIx64 "\n", - (i * 8) + j, ntohll(p[0]), ntohll(p[1])); + (i * 8) + j, be64toh(p[0]), be64toh(p[1])); } } printf("%d guids capacity for this port\n", n); diff --git a/src/vendstat.c b/src/vendstat.c index fb42a78..c35c25d 100644 --- a/src/vendstat.c +++ b/src/vendstat.c @@ -148,7 +148,19 @@ static uint16_t ext_fw_info_device[][2] = { {0xcb20, 0xcb20}, /* Switch-IB */ {0xcf08, 0xcf08}, /* Switch-IB2 */ {0x01b3, 0x01b3}, /* IS-4 */ - {0x1003, 0x1016}, /* Connect-X */ + {0x1003, 0x1017}, /* Connect-X */ + {0x1b02, 0x1b02}, /* Bull SwitchX */ + {0x1b50, 0x1b50}, /* Bull SwitchX */ + {0x1ba0, 0x1ba0}, /* Bull SwitchIB */ + {0x1bd0, 0x1bd5}, /* Bull SwitchIB and SwitchIB2 */ + {0x1b33, 0x1b33}, /* Bull ConnectX3 */ + {0x1b73, 0x1b73}, /* Bull ConnectX3 */ + {0x1b40, 0x1b41}, /* Bull ConnectX3 */ + {0x1b60, 0x1b61}, /* Bull ConnectX3 */ + {0x1b83, 0x1b83}, /* Bull ConnectIB */ + {0x1b93, 0x1b94}, /* Bull ConnectIB */ + {0x1bb4, 0x1bb5}, /* Bull ConnectX4 */ + {0x1bc4, 0x1bc4}, /* Bull ConnectX4 */ {0x0000, 0x0000}}; static int is_ext_fw_info_supported(uint16_t device_id) { -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/infiniband-diags.git From bdrung at moszumanska.debian.org Mon Aug 21 16:13:37 2017 From: bdrung at moszumanska.debian.org (Benjamin Drung) Date: Mon, 21 Aug 2017 16:13:37 +0000 Subject: [Pkg-ofed-commits] [infiniband-diags] 03/18: Merge tag 'upstream/2.0.0' In-Reply-To: <20170821161330.19955.62997@moszumanska.debian.org> References: <20170821161330.19955.62997@moszumanska.debian.org> Message-ID: This is an automated email from the git hooks/post-receive script. bdrung pushed a commit to branch master in repository infiniband-diags. commit 3a4e5c01bccffda1e1607923e3349ce80ca3d76c Merge: 1025bf5 5fb99d5 Author: Benjamin Drung Date: Thu Jul 13 10:16:17 2017 +0200 Merge tag 'upstream/2.0.0' Upstream version 2.0.0 COPYING | 3 +- ChangeLog | 9367 +------------------- INSTALL | 370 + Makefile.am | 45 +- Makefile.in | 734 +- README | 87 +- config.h.in | 15 +- configure | 489 +- configure.ac | 87 +- doc/generate | 2 +- doc/man/ibhosts.8 | 8 + doc/man/ibhosts.8.in | 8 + doc/man/iblinkinfo.8 | 4 +- doc/man/iblinkinfo.8.in | 4 +- doc/man/ibqueryerrors.8 | 2 +- doc/man/ibqueryerrors.8.in | 2 +- doc/man/ibrouters.8 | 8 + doc/man/ibrouters.8.in | 8 + doc/man/ibswitches.8 | 8 + doc/man/ibswitches.8.in | 8 + doc/man/infiniband-diags.8 | 2 +- doc/man/infiniband-diags.8.in | 2 +- doc/man/rdma-ndd.8 | 105 - doc/man/rdma-ndd.8.in | 105 - doc/rst/ibhosts.8.in.rst | 1 + doc/rst/iblinkinfo.8.in.rst | 4 +- doc/rst/ibqueryerrors.8.in.rst | 2 +- doc/rst/ibrouters.8.in.rst | 1 + doc/rst/ibswitches.8.in.rst | 1 + doc/rst/infiniband-diags.8.in.rst | 4 +- doc/rst/rdma-ndd.8.in.rst | 88 - etc/ibdiag.conf | 2 - etc/rdma-ndd.init | 4 +- etc/rdma-ndd.init.in | 139 - etc/rdma-ndd.service | 4 +- etc/rdma-ndd.service.in | 12 - include/ibdiag_common.h | 13 +- include/ibdiag_version.h | 2 +- infiniband-diags.spec | 75 +- infiniband-diags.spec.in | 71 +- libibmad/ChangeLog | 88 + libibmad/Makefile.am | 34 + {libibnetdisc => libibmad}/Makefile.in | 482 +- libibmad/README | 7 + libibmad/include/infiniband/mad.h | 1722 ++++ .../include/infiniband/mad_osd.h | 20 +- libibmad/libibmad.ver | 9 + libibmad/src/bm.c | 107 + libibmad/src/cc.c | 118 + libibmad/src/dump.c | 1162 +++ libibmad/src/fields.c | 1260 +++ libibmad/src/gs.c | 133 + libibmad/src/libibmad.map | 156 + libibmad/src/mad.c | 211 + .../src/mad_internal.h | 21 +- libibmad/src/portid.c | 127 + libibmad/src/register.c | 178 + libibmad/src/resolve.c | 248 + libibmad/src/rpc.c | 441 + libibmad/src/sa.c | 191 + libibmad/src/serv.c | 200 + libibmad/src/smp.c | 149 + libibmad/src/vendor.c | 111 + libibnetdisc/Makefile.am | 5 +- libibnetdisc/Makefile.in | 151 +- libibnetdisc/src/ibnetdisc.c | 24 +- libibnetdisc/src/internal.h | 1 - scripts/ibhosts | 19 +- scripts/ibhosts.in | 19 +- scripts/ibrouters | 19 +- scripts/ibrouters.in | 19 +- scripts/ibswitches | 19 +- scripts/ibswitches.in | 19 +- src/ibaddr.c | 2 +- src/ibdiag_common.c | 42 +- src/ibportstate.c | 39 +- src/ibsendtrap.c | 62 + src/ibstat.c | 15 +- src/ibtracert.c | 2 +- src/mcm_rereg_test.c | 12 +- src/perfquery.c | 136 +- src/rdma-ndd.c | 428 - src/saquery.c | 6 +- src/smpdump.c | 7 +- src/smpquery.c | 2 +- src/vendstat.c | 14 +- 86 files changed, 8531 insertions(+), 11602 deletions(-) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/infiniband-diags.git From bdrung at moszumanska.debian.org Mon Aug 21 16:13:38 2017 From: bdrung at moszumanska.debian.org (Benjamin Drung) Date: Mon, 21 Aug 2017 16:13:38 +0000 Subject: [Pkg-ofed-commits] [infiniband-diags] 04/18: Drop patches that were accepted upstream In-Reply-To: <20170821161330.19955.62997@moszumanska.debian.org> References: <20170821161330.19955.62997@moszumanska.debian.org> Message-ID: This is an automated email from the git hooks/post-receive script. bdrung pushed a commit to branch master in repository infiniband-diags. commit 5194409d4117010e17ad3f8ea702e19fcc701ad2 Author: Benjamin Drung Date: Mon Aug 21 13:30:43 2017 +0200 Drop patches that were accepted upstream --- debian/patches/fix-spelling-errors | 68 ---------------------------------- debian/patches/series | 4 -- debian/patches/update_am_init_automake | 32 ---------------- debian/patches/update_autotools_option | 32 ---------------- debian/patches/update_shebang | 13 ------- 5 files changed, 149 deletions(-) diff --git a/debian/patches/fix-spelling-errors b/debian/patches/fix-spelling-errors deleted file mode 100644 index 14d15f8..0000000 --- a/debian/patches/fix-spelling-errors +++ /dev/null @@ -1,68 +0,0 @@ -Description: Fix spelling errors -Author: Ana Guerrero Lopez , Mehdi Dogguy -Last-Update: 2016-09-04 - ---- a/doc/rst/iblinkinfo.8.in.rst -+++ b/doc/rst/iblinkinfo.8.in.rst -@@ -57,7 +57,7 @@ - - **--switch, -S ** same as "-G". (provided only for backward compatibility) - --How much of the scan to be printed can be controled with the following. -+How much of the scan to be printed can be controlled with the following. - - **--all, -a** - Print all nodes found in a partial fabric scan. Normally a -@@ -81,7 +81,7 @@ - indicated as down in the specified cache, and is still down, do not output it in the - resulting output. This option may be particularly useful for environments - where switches are not fully populated, thus much of the default iblinkinfo --info is considered unuseful. See **ibnetdiscover** for information on caching -+info is considered useless. See **ibnetdiscover** for information on caching - ibnetdiscover output. - - ---- a/doc/rst/ibqueryerrors.8.in.rst -+++ b/doc/rst/ibqueryerrors.8.in.rst -@@ -63,7 +63,7 @@ - - **CAUTION** clearing data or error counters will occur regardless of if they - are printed or not. See **--counters** and **--data** for details on --controling which counters are printed. -+controlling which counters are printed. - - **--details** include receive error and transmit discard details - ---- a/doc/rst/infiniband-diags.8.in.rst -+++ b/doc/rst/infiniband-diags.8.in.rst -@@ -120,8 +120,8 @@ - - See: ibtracert, ibroute, dump_lfts, dump_mfts, check_lft_balance, ibfindnodesusing - --Peformance counters --------------------- -+Performance counters -+-------------------- - - See: ibqueryerrors, perfquery - ---- a/doc/rst/rdma-ndd.8.in.rst -+++ b/doc/rst/rdma-ndd.8.in.rst -@@ -27,7 +27,7 @@ - DETAILS - ======= - --Full operation of this deamon requires kernels which support polling of the -+Full operation of this daemon requires kernels which support polling of the - procfs hostname file as well as libudev. - - If your system does not support either of these features, the daemon will set -@@ -37,7 +37,7 @@ - Node Description format - ----------------------- - --The deamon uses the nd_format configuration option within the ibdiags.conf -+The daemon uses the nd_format configuration option within the ibdiags.conf - file. %h and %d can be used as wildcards in that string to specify the dynamic - use of and respectively. - diff --git a/debian/patches/series b/debian/patches/series index 114af3c..e613ac0 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,5 +1 @@ -update_am_init_automake -update_shebang comment_test_out -fix-spelling-errors -update_autotools_option diff --git a/debian/patches/update_am_init_automake b/debian/patches/update_am_init_automake deleted file mode 100644 index 7bce409..0000000 --- a/debian/patches/update_am_init_automake +++ /dev/null @@ -1,32 +0,0 @@ -Description: Update AM_INIT_AUTOMAKE to use subdir-objects -With this option, the objects are placed into the subdirectory of -the build directory corresponding to the subdirectory of the source file. -Fixes this warning: - -Makefile.am:103: warning: source file 'src/ibdiag_common.c' is in a subdirectory, -Makefile.am:103: but option 'subdir-objects' is disabled -automake: warning: possible forward-incompatibility. -automake: At least a source file is in a subdirectory, but the 'subdir-objects' -automake: automake option hasn't been enabled. For now, the corresponding output -automake: object file(s) will be placed in the top-level directory. However, -automake: this behaviour will change in future Automake versions: they will -automake: unconditionally cause object files to be placed in the same subdirectory -automake: of the corresponding sources. -automake: You are advised to start using 'subdir-objects' option throughout your -automake: project, to avoid future incompatibilities. - -Author: Ana Guerrero Lopez -Last-Update: 2016-09-04 - ---- a/configure.ac -+++ b/configure.ac -@@ -5,7 +5,8 @@ - AC_CONFIG_AUX_DIR(config) - AC_CONFIG_MACRO_DIR(config) - AM_CONFIG_HEADER(config.h) --AM_INIT_AUTOMAKE([foreign]) -+#AM_INIT_AUTOMAKE([foreign]) -+AM_INIT_AUTOMAKE([subdir-objects]) - - AC_SUBST(RELEASE, ${RELEASE:-unknown}) - AC_SUBST(TARBALL, ${TARBALL:-${PACKAGE}-${VERSION}.tar.gz}) diff --git a/debian/patches/update_autotools_option b/debian/patches/update_autotools_option deleted file mode 100644 index 732519c..0000000 --- a/debian/patches/update_autotools_option +++ /dev/null @@ -1,32 +0,0 @@ -Description: Replace INCLUDES with AM_CPPFLAGS -Fixes: - -Makefile.am:4: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') - -libibnetdisc/Makefile.am:4: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') - -Author: Ana Guerrero Lopez -Last-Update: 2016-09-04 - ---- a/Makefile.am -+++ b/Makefile.am -@@ -1,7 +1,7 @@ - ACLOCAL_AMFLAGS = -I config - SUBDIRS = libibnetdisc - --INCLUDES = -I$(top_builddir)/include/ -I$(srcdir)/include -I$(includedir) \ -+AM_CPPFLAGS = -I$(top_builddir)/include/ -I$(srcdir)/include -I$(includedir) \ - -I$(includedir)/infiniband -I$(top_srcdir)/libibnetdisc/include - - if DEBUG ---- a/libibnetdisc/Makefile.am -+++ b/libibnetdisc/Makefile.am -@@ -1,7 +1,7 @@ - - #SUBDIRS = . - --INCLUDES = -I$(srcdir)/include -I$(includedir) -I$(includedir)/infiniband -+AM_CPPFLAGS = -I$(srcdir)/include -I$(includedir) -I$(includedir)/infiniband - - lib_LTLIBRARIES = libibnetdisc.la - sbin_PROGRAMS = diff --git a/debian/patches/update_shebang b/debian/patches/update_shebang deleted file mode 100644 index 93b1568..0000000 --- a/debian/patches/update_shebang +++ /dev/null @@ -1,13 +0,0 @@ -From: Ana Guerrero Lopez -Date: 2016-09-04 - -The script contains several bashims, change the shebang to use bash. - ---- a/doc/generate -+++ b/doc/generate -@@ -1,4 +1,4 @@ --#!/bin/sh -+#!/bin/bash - - docdir=`dirname $0` - mode=$1 -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/infiniband-diags.git From bdrung at moszumanska.debian.org Mon Aug 21 16:13:38 2017 From: bdrung at moszumanska.debian.org (Benjamin Drung) Date: Mon, 21 Aug 2017 16:13:38 +0000 Subject: [Pkg-ofed-commits] [infiniband-diags] 05/18: Refresh remaining patch In-Reply-To: <20170821161330.19955.62997@moszumanska.debian.org> References: <20170821161330.19955.62997@moszumanska.debian.org> Message-ID: This is an automated email from the git hooks/post-receive script. bdrung pushed a commit to branch master in repository infiniband-diags. commit 18fef9b8d8b60a8b7cee4e61ecc67b9a15ff5356 Author: Benjamin Drung Date: Mon Aug 21 13:31:24 2017 +0200 Refresh remaining patch --- debian/patches/comment_test_out | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/patches/comment_test_out b/debian/patches/comment_test_out index 7fdddb9..a68ac53 100644 --- a/debian/patches/comment_test_out +++ b/debian/patches/comment_test_out @@ -12,7 +12,7 @@ at build time. --- a/Makefile.am +++ b/Makefile.am -@@ -148,10 +148,6 @@ +@@ -133,10 +133,6 @@ fi ; \ fi @@ -25,9 +25,9 @@ at build time. --- a/Makefile.in +++ b/Makefile.in -@@ -907,7 +907,6 @@ - @ENABLE_RDMA_NDD_TRUE at src_rdma_ndd_CFLAGS = $(AM_CFLAGS) $(UDEV_CFLAGS) - @ENABLE_RDMA_NDD_TRUE at src_rdma_ndd_LDADD = libcommon.a $(UDEV_LIBS) +@@ -862,7 +862,6 @@ + src_dump_fts_SOURCES = src/dump_fts.c + src_dump_fts_LDFLAGS = $(internal_lib_LDFLAGS) BUILT_SOURCES = ibdiag_version - at HAVE_DASH_TRUE@TESTS = tests/check_shells.sh EXTRA_DIST = doc scripts include infiniband-diags.spec.in infiniband-diags.spec \ -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/infiniband-diags.git From bdrung at moszumanska.debian.org Mon Aug 21 16:13:38 2017 From: bdrung at moszumanska.debian.org (Benjamin Drung) Date: Mon, 21 Aug 2017 16:13:38 +0000 Subject: [Pkg-ofed-commits] [infiniband-diags] 06/18: Run wrap-and-sort In-Reply-To: <20170821161330.19955.62997@moszumanska.debian.org> References: <20170821161330.19955.62997@moszumanska.debian.org> Message-ID: This is an automated email from the git hooks/post-receive script. bdrung pushed a commit to branch master in repository infiniband-diags. commit d6af89f7a69ddcd68dadc2bbb7d7ed409973d8eb Author: Benjamin Drung Date: Mon Aug 21 16:22:52 2017 +0200 Run wrap-and-sort --- debian/control | 19 +++++++++++++------ debian/copyright | 9 ++++----- debian/infiniband-diags.manpages | 16 ++++++++-------- 3 files changed, 25 insertions(+), 19 deletions(-) diff --git a/debian/control b/debian/control index 51288d4..902a633 100644 --- a/debian/control +++ b/debian/control @@ -3,9 +3,14 @@ Section: net Priority: extra Maintainer: OFED and Debian Development and Discussion Uploaders: Ana Beatriz Guerrero Lopez -Build-Depends: debhelper (>= 9), dh-autoreconf, libglib2.0-dev, - libibumad-dev (>= 1.3.7), libibmad-dev (>= 1.3.12), libopensm-dev (>= 3.3.12), - libudev-dev, python-docutils +Build-Depends: debhelper (>= 9), + dh-autoreconf, + libglib2.0-dev, + libibmad-dev (>= 1.3.12), + libibumad-dev (>= 1.3.7), + libopensm-dev (>= 3.3.12), + libudev-dev, + python-docutils Standards-Version: 3.9.8 Vcs-Git: https://anonscm.debian.org/git/pkg-ofed/infiniband-diags.git Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ofed/infiniband-diags.git @@ -13,7 +18,10 @@ Homepage: https://www.openfabrics.org/downloads/management/ Package: infiniband-diags Architecture: linux-any -Depends: ${shlibs:Depends}, ${misc:Depends}, ${perl:Depends}, libibnetdisc5 (= ${binary:Version}) +Depends: libibnetdisc5 (= ${binary:Version}), + ${misc:Depends}, + ${perl:Depends}, + ${shlibs:Depends} Description: InfiniBand diagnostic programs InfiniBand is a switched fabric communications link used in high-performance computing and enterprise data centers. Its features @@ -26,7 +34,7 @@ Description: InfiniBand diagnostic programs Package: libibnetdisc5 Architecture: linux-any Pre-Depends: ${misc:Pre-Depends} -Depends: ${shlibs:Depends}, ${misc:Depends} +Depends: ${misc:Depends}, ${shlibs:Depends} Description: InfiniBand diagnostics library InfiniBand is a switched fabric communications link used in high-performance computing and enterprise data centers. Its features @@ -49,4 +57,3 @@ Description: InfiniBand diagnostics library headers This package provides development files required to build applications aginast the libibnetdisc5 InfiniBand diagnostic libraries. - diff --git a/debian/copyright b/debian/copyright index 9ad5c3b..d80a475 100644 --- a/debian/copyright +++ b/debian/copyright @@ -6,7 +6,7 @@ It was downloaded from http://www.openfabrics.org/downloads/OFED/ofed-1.4/OFED-1 Upstream Authors: Sasha Khapyorsky, sashak at voltaire.com - + Copyright: Copyright (c) 2006 Mellanox Technologies. All rights reserved. @@ -14,13 +14,13 @@ Copyright: Copyright (c) 2007 Xsigo Systems Inc. All rights reserved. Copyright (c) 2008 Lawrence Livermore National Security. Copyright (c) 2006,2007 The Regents of the University of California - + License: This software is available to you under a choice of two licences. You may chose to be licensed under the terms of the -OpenIB.org BSD license show below, or the GNU General Public License -(GPL) Version 2, available in the file +OpenIB.org BSD license show below, or the GNU General Public License +(GPL) Version 2, available in the file /usr/share/common-licenses/GPL-2 on your Debian system. ================================================================== @@ -57,4 +57,3 @@ POSSIBILITY OF SUCH DAMAGE. The Debian packaging is Copyright (C) 2009, Genome Research Ltd and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. - diff --git a/debian/infiniband-diags.manpages b/debian/infiniband-diags.manpages index 4b854a6..bcae6fa 100644 --- a/debian/infiniband-diags.manpages +++ b/debian/infiniband-diags.manpages @@ -28,6 +28,14 @@ doc/man/sminfo.8 doc/man/smpdump.8 doc/man/smpquery.8 doc/man/vendstat.8 +libibnetdisc/man/ibnd_debug.3 +libibnetdisc/man/ibnd_destroy_fabric.3 +libibnetdisc/man/ibnd_discover_fabric.3 +libibnetdisc/man/ibnd_find_node_dr.3 +libibnetdisc/man/ibnd_find_node_guid.3 +libibnetdisc/man/ibnd_iter_nodes.3 +libibnetdisc/man/ibnd_iter_nodes_type.3 +libibnetdisc/man/ibnd_show_progress.3 man/dump_lfts.8 man/dump_mfts.8 man/ibcheckerrors.8 @@ -48,11 +56,3 @@ man/ibprintca.8 man/ibprintrt.8 man/ibprintswitch.8 man/ibswportwatch.8 -libibnetdisc/man/ibnd_iter_nodes_type.3 -libibnetdisc/man/ibnd_debug.3 -libibnetdisc/man/ibnd_iter_nodes.3 -libibnetdisc/man/ibnd_find_node_dr.3 -libibnetdisc/man/ibnd_discover_fabric.3 -libibnetdisc/man/ibnd_show_progress.3 -libibnetdisc/man/ibnd_find_node_guid.3 -libibnetdisc/man/ibnd_destroy_fabric.3 -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/infiniband-diags.git From bdrung at moszumanska.debian.org Mon Aug 21 16:13:38 2017 From: bdrung at moszumanska.debian.org (Benjamin Drung) Date: Mon, 21 Aug 2017 16:13:38 +0000 Subject: [Pkg-ofed-commits] [infiniband-diags] 07/18: Avoid libibmad files in libibnetdisc* packages In-Reply-To: <20170821161330.19955.62997@moszumanska.debian.org> References: <20170821161330.19955.62997@moszumanska.debian.org> Message-ID: This is an automated email from the git hooks/post-receive script. bdrung pushed a commit to branch master in repository infiniband-diags. commit f6973cb94157ed6598f5dbacb81cefa356d27fa5 Author: Benjamin Drung Date: Mon Aug 21 15:24:26 2017 +0200 Avoid libibmad files in libibnetdisc* packages libibmad became part of infiniband-diags. --- debian/libibnetdisc-dev.install | 6 +++--- debian/libibnetdisc5.install | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/debian/libibnetdisc-dev.install b/debian/libibnetdisc-dev.install index a3c8f6c..ca9ded9 100644 --- a/debian/libibnetdisc-dev.install +++ b/debian/libibnetdisc-dev.install @@ -1,3 +1,3 @@ -usr/include/* -usr/lib/*/lib*.a -usr/lib/*/lib*.so +usr/include/infiniband/ibnetdisc* +usr/lib/*/libibnetdisc*.a +usr/lib/*/libibnetdisc*.so diff --git a/debian/libibnetdisc5.install b/debian/libibnetdisc5.install index 3ddde58..54684fd 100644 --- a/debian/libibnetdisc5.install +++ b/debian/libibnetdisc5.install @@ -1 +1 @@ -usr/lib/*/lib*.so.* +usr/lib/*/libibnetdisc*.so.* -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/infiniband-diags.git From bdrung at moszumanska.debian.org Mon Aug 21 16:13:38 2017 From: bdrung at moszumanska.debian.org (Benjamin Drung) Date: Mon, 21 Aug 2017 16:13:38 +0000 Subject: [Pkg-ofed-commits] [infiniband-diags] 08/18: Move library man pages to libibnetdisc-dev In-Reply-To: <20170821161330.19955.62997@moszumanska.debian.org> References: <20170821161330.19955.62997@moszumanska.debian.org> Message-ID: This is an automated email from the git hooks/post-receive script. bdrung pushed a commit to branch master in repository infiniband-diags. commit 1607b3927152fce9678b28f429b4c6fd09b19a22 Author: Benjamin Drung Date: Mon Aug 21 15:37:17 2017 +0200 Move library man pages to libibnetdisc-dev --- debian/control | 2 ++ debian/infiniband-diags.install | 1 + debian/infiniband-diags.manpages | 58 ---------------------------------------- debian/libibnetdisc-dev.install | 1 + 4 files changed, 4 insertions(+), 58 deletions(-) diff --git a/debian/control b/debian/control index 902a633..c9dba14 100644 --- a/debian/control +++ b/debian/control @@ -48,6 +48,8 @@ Package: libibnetdisc-dev Section: libdevel Architecture: linux-any Depends: libibnetdisc5 (= ${binary:Version}), ${misc:Depends} +Breaks: infiniband-diags (<< 2.0.0) +Replaces: infiniband-diags (<< 2.0.0) Description: InfiniBand diagnostics library headers InfiniBand is a switched fabric communications link used in high-performance computing and enterprise data centers. Its features diff --git a/debian/infiniband-diags.install b/debian/infiniband-diags.install index 9ed3e40..f2dd238 100644 --- a/debian/infiniband-diags.install +++ b/debian/infiniband-diags.install @@ -1,2 +1,3 @@ usr/sbin +usr/share/man/man8 usr/share/perl5 diff --git a/debian/infiniband-diags.manpages b/debian/infiniband-diags.manpages deleted file mode 100644 index bcae6fa..0000000 --- a/debian/infiniband-diags.manpages +++ /dev/null @@ -1,58 +0,0 @@ -doc/man/check_lft_balance.8 -doc/man/dump_fts.8 -doc/man/ibaddr.8 -doc/man/ibcacheedit.8 -doc/man/ibccconfig.8 -doc/man/ibccquery.8 -doc/man/ibfindnodesusing.8 -doc/man/ibhosts.8 -doc/man/ibidsverify.8 -doc/man/iblinkinfo.8 -doc/man/ibnetdiscover.8 -doc/man/ibnodes.8 -doc/man/ibping.8 -doc/man/ibportstate.8 -doc/man/ibqueryerrors.8 -doc/man/ibroute.8 -doc/man/ibrouters.8 -doc/man/ibstat.8 -doc/man/ibstatus.8 -doc/man/ibswitches.8 -doc/man/ibsysstat.8 -doc/man/ibtracert.8 -doc/man/infiniband-diags.8 -doc/man/perfquery.8 -doc/man/rdma-ndd.8 -doc/man/saquery.8 -doc/man/sminfo.8 -doc/man/smpdump.8 -doc/man/smpquery.8 -doc/man/vendstat.8 -libibnetdisc/man/ibnd_debug.3 -libibnetdisc/man/ibnd_destroy_fabric.3 -libibnetdisc/man/ibnd_discover_fabric.3 -libibnetdisc/man/ibnd_find_node_dr.3 -libibnetdisc/man/ibnd_find_node_guid.3 -libibnetdisc/man/ibnd_iter_nodes.3 -libibnetdisc/man/ibnd_iter_nodes_type.3 -libibnetdisc/man/ibnd_show_progress.3 -man/dump_lfts.8 -man/dump_mfts.8 -man/ibcheckerrors.8 -man/ibcheckerrs.8 -man/ibchecknet.8 -man/ibchecknode.8 -man/ibcheckport.8 -man/ibcheckportstate.8 -man/ibcheckportwidth.8 -man/ibcheckstate.8 -man/ibcheckwidth.8 -man/ibclearcounters.8 -man/ibclearerrors.8 -man/ibdatacounters.8 -man/ibdatacounts.8 -man/ibdiscover.8 -man/ibprintca.8 -man/ibprintrt.8 -man/ibprintswitch.8 -man/ibswportwatch.8 diff --git a/debian/libibnetdisc-dev.install b/debian/libibnetdisc-dev.install index ca9ded9..ddabaa5 100644 --- a/debian/libibnetdisc-dev.install +++ b/debian/libibnetdisc-dev.install @@ -1,3 +1,4 @@ usr/include/infiniband/ibnetdisc* usr/lib/*/libibnetdisc*.a usr/lib/*/libibnetdisc*.so +usr/share/man/man3 -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/infiniband-diags.git From bdrung at moszumanska.debian.org Mon Aug 21 16:13:39 2017 From: bdrung at moszumanska.debian.org (Benjamin Drung) Date: Mon, 21 Aug 2017 16:13:39 +0000 Subject: [Pkg-ofed-commits] [infiniband-diags] 09/18: Add libibmad5 and libibmad-dev In-Reply-To: <20170821161330.19955.62997@moszumanska.debian.org> References: <20170821161330.19955.62997@moszumanska.debian.org> Message-ID: This is an automated email from the git hooks/post-receive script. bdrung pushed a commit to branch master in repository infiniband-diags. commit 351b04abdacf5764f70ab43215bd980862603e04 Author: Benjamin Drung Date: Mon Aug 21 15:38:21 2017 +0200 Add libibmad5 and libibmad-dev --- debian/control | 27 +++++++- debian/libibmad-dev.install | 3 + debian/libibmad5.install | 1 + debian/libibmad5.symbols | 154 ++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 184 insertions(+), 1 deletion(-) diff --git a/debian/control b/debian/control index c9dba14..eaf67cf 100644 --- a/debian/control +++ b/debian/control @@ -6,7 +6,6 @@ Uploaders: Ana Beatriz Guerrero Lopez Build-Depends: debhelper (>= 9), dh-autoreconf, libglib2.0-dev, - libibmad-dev (>= 1.3.12), libibumad-dev (>= 1.3.7), libopensm-dev (>= 3.3.12), libudev-dev, @@ -31,6 +30,32 @@ Description: InfiniBand diagnostic programs This package provides diagnostic programs and scripts needed to diagnose an InfiniBand subnet. +Package: libibmad5 +Architecture: linux-any +Pre-Depends: ${misc:Pre-Depends} +Depends: ${misc:Depends}, ${shlibs:Depends} +Description: Infiniband Management Datagram (MAD) library + libibmad provides low layer InfiniBand functions for use by the + Infiniband diagnostic and management programs. These include + Management Datagrams (MAD), Subnet Administration (SA), Subnet + Management Packets (SMP) and other basic functions. + . + This package contains the shared library. + +Package: libibmad-dev +Section: libdevel +Architecture: linux-any +Depends: libibmad5 (= ${binary:Version}), ${misc:Depends} +Description: Development files for libibmad + libibmad provides low layer Infiniband functions for use by the + InfiniBand diagnostic and management programs. These include + Management Datagrams (MAD), Subnet Administration (SA), Subnet + Management Packets (SMP) and other basic functions. + . + This package is needed to compile programs against libibmad5. + It contains the header files and static libraries (optionally) + needed for compiling. + Package: libibnetdisc5 Architecture: linux-any Pre-Depends: ${misc:Pre-Depends} diff --git a/debian/libibmad-dev.install b/debian/libibmad-dev.install new file mode 100644 index 0000000..e289ade --- /dev/null +++ b/debian/libibmad-dev.install @@ -0,0 +1,3 @@ +usr/include/infiniband/mad* +usr/lib/*/libibmad*.a +usr/lib/*/libibmad*.so diff --git a/debian/libibmad5.install b/debian/libibmad5.install new file mode 100644 index 0000000..d89b393 --- /dev/null +++ b/debian/libibmad5.install @@ -0,0 +1 @@ +usr/lib/*/libibmad*.so.* diff --git a/debian/libibmad5.symbols b/debian/libibmad5.symbols new file mode 100644 index 0000000..ea90f51 --- /dev/null +++ b/debian/libibmad5.symbols @@ -0,0 +1,154 @@ +libibmad.so.5 libibmad5 #MINVER# + IBMAD_1.3 at IBMAD_1.3 1.3.11 + bm_call_via at IBMAD_1.3 1.3.11 + cc_config_status_via at IBMAD_1.3 1.3.11 + cc_query_status_via at IBMAD_1.3 1.3.11 + drpath2str at IBMAD_1.3 1.3.11 + ib_node_query_via at IBMAD_1.3 1.3.11 + ib_path_query at IBMAD_1.3 1.3.11 + ib_path_query_via at IBMAD_1.3 1.3.11 + ib_resolve_gid_via at IBMAD_1.3 1.3.11 + ib_resolve_guid_via at IBMAD_1.3 1.3.11 + ib_resolve_portid_str at IBMAD_1.3 1.3.11 + ib_resolve_portid_str_via at IBMAD_1.3 1.3.11 + ib_resolve_self at IBMAD_1.3 1.3.11 + ib_resolve_self_via at IBMAD_1.3 1.3.11 + ib_resolve_smlid at IBMAD_1.3 1.3.11 + ib_resolve_smlid_via at IBMAD_1.3 1.3.11 + ib_vendor_call at IBMAD_1.3 1.3.11 + ib_vendor_call_via at IBMAD_1.3 1.3.11 + ibdebug at IBMAD_1.3 1.3.11 + mad_alloc at IBMAD_1.3 1.3.11 + mad_build_pkt at IBMAD_1.3 1.3.11 + mad_class_agent at IBMAD_1.3 1.3.11 + mad_decode_field at IBMAD_1.3 1.3.11 + mad_dump_array at IBMAD_1.3 1.3.11 + mad_dump_bitfield at IBMAD_1.3 1.3.11 + mad_dump_cc_cacongestionentry at IBMAD_1.3 1.3.11 + mad_dump_cc_cacongestionsetting at IBMAD_1.3 1.3.11 + mad_dump_cc_congestioncontroltable at IBMAD_1.3 1.3.11 + mad_dump_cc_congestioncontroltableentry at IBMAD_1.3 1.3.11 + mad_dump_cc_congestioninfo at IBMAD_1.3 1.3.11 + mad_dump_cc_congestionkeyinfo at IBMAD_1.3 1.3.11 + mad_dump_cc_congestionlog at IBMAD_1.3 1.3.11 + mad_dump_cc_congestionlogca at IBMAD_1.3 1.3.11 + mad_dump_cc_congestionlogentryca at IBMAD_1.3 1.3.11 + mad_dump_cc_congestionlogentryswitch at IBMAD_1.3 1.3.11 + mad_dump_cc_congestionlogswitch at IBMAD_1.3 1.3.11 + mad_dump_cc_switchcongestionsetting at IBMAD_1.3 1.3.11 + mad_dump_cc_switchportcongestionsettingelement at IBMAD_1.3 1.3.11 + mad_dump_cc_timestamp at IBMAD_1.3 1.3.11 + mad_dump_classportinfo at IBMAD_1.3 1.3.11 + mad_dump_field at IBMAD_1.3 1.3.11 + mad_dump_fields at IBMAD_1.3 1.3.11 + mad_dump_hex at IBMAD_1.3 1.3.11 + mad_dump_int at IBMAD_1.3 1.3.11 + mad_dump_linkdowndefstate at IBMAD_1.3 1.3.11 + mad_dump_linkspeed at IBMAD_1.3 1.3.11 + mad_dump_linkspeeden at IBMAD_1.3 1.3.11 + mad_dump_linkspeedext at IBMAD_1.3 1.3.11 + mad_dump_linkspeedexten at IBMAD_1.3 1.3.11 + mad_dump_linkspeedextsup at IBMAD_1.3 1.3.11 + mad_dump_linkspeedsup at IBMAD_1.3 1.3.11 + mad_dump_linkwidth at IBMAD_1.3 1.3.11 + mad_dump_linkwidthen at IBMAD_1.3 1.3.11 + mad_dump_linkwidthsup at IBMAD_1.3 1.3.11 + mad_dump_mlnx_ext_port_info at IBMAD_1.3 1.3.11 + mad_dump_mtu at IBMAD_1.3 1.3.11 + mad_dump_node_type at IBMAD_1.3 1.3.11 + mad_dump_nodedesc at IBMAD_1.3 1.3.11 + mad_dump_nodeinfo at IBMAD_1.3 1.3.11 + mad_dump_opervls at IBMAD_1.3 1.3.11 + mad_dump_perfcounters at IBMAD_1.3 1.3.11 + mad_dump_perfcounters_ext at IBMAD_1.3 1.3.11 + mad_dump_perfcounters_port_flow_ctl_counters at IBMAD_1.3 1.3.11 + mad_dump_perfcounters_port_op_rcv_counters at IBMAD_1.3 1.3.11 + mad_dump_perfcounters_port_vl_op_data at IBMAD_1.3 1.3.11 + mad_dump_perfcounters_port_vl_op_packet at IBMAD_1.3 1.3.11 + mad_dump_perfcounters_port_vl_xmit_flow_ctl_update_errors at IBMAD_1.3 1.3.11 + mad_dump_perfcounters_port_vl_xmit_wait_counters at IBMAD_1.3 1.3.11 + mad_dump_perfcounters_rcv_con_ctrl at IBMAD_1.3 1.3.11 + mad_dump_perfcounters_rcv_err at IBMAD_1.3 1.3.11 + mad_dump_perfcounters_rcv_sl at IBMAD_1.3 1.3.11 + mad_dump_perfcounters_sl_rcv_becn at IBMAD_1.3 1.3.11 + mad_dump_perfcounters_sl_rcv_fecn at IBMAD_1.3 1.3.11 + mad_dump_perfcounters_sw_port_vl_congestion at IBMAD_1.3 1.3.11 + mad_dump_perfcounters_vl_xmit_time_cong at IBMAD_1.3 1.3.11 + mad_dump_perfcounters_xmit_con_ctrl at IBMAD_1.3 1.3.11 + mad_dump_perfcounters_xmt_disc at IBMAD_1.3 1.3.11 + mad_dump_perfcounters_xmt_sl at IBMAD_1.3 1.3.11 + mad_dump_physportstate at IBMAD_1.3 1.3.11 + mad_dump_port_ext_speeds_counters at IBMAD_1.3 1.3.11 + mad_dump_port_ext_speeds_counters_rsfec_active at IBMAD_1.3 1.3.12 + mad_dump_portcapmask at IBMAD_1.3 1.3.11 + mad_dump_portinfo at IBMAD_1.3 1.3.11 + mad_dump_portinfo_ext at IBMAD_1.3 1.3.12 + mad_dump_portsamples_control at IBMAD_1.3 1.3.11 + mad_dump_portsamples_result at IBMAD_1.3 1.3.11 + mad_dump_portstate at IBMAD_1.3 1.3.11 + mad_dump_portstates at IBMAD_1.3 1.3.11 + mad_dump_rhex at IBMAD_1.3 1.3.11 + mad_dump_sltovl at IBMAD_1.3 1.3.11 + mad_dump_string at IBMAD_1.3 1.3.11 + mad_dump_switchinfo at IBMAD_1.3 1.3.11 + mad_dump_uint at IBMAD_1.3 1.3.11 + mad_dump_val at IBMAD_1.3 1.3.11 + mad_dump_vlarbitration at IBMAD_1.3 1.3.11 + mad_dump_vlcap at IBMAD_1.3 1.3.11 + mad_encode at IBMAD_1.3 1.3.11 + mad_encode_field at IBMAD_1.3 1.3.11 + mad_field_name at IBMAD_1.3 1.3.11 + mad_free at IBMAD_1.3 1.3.11 + mad_get_array at IBMAD_1.3 1.3.11 + mad_get_field64 at IBMAD_1.3 1.3.11 + mad_get_field at IBMAD_1.3 1.3.11 + mad_get_retries at IBMAD_1.3 1.3.11 + mad_get_timeout at IBMAD_1.3 1.3.11 + mad_print_field at IBMAD_1.3 1.3.11 + mad_receive at IBMAD_1.3 1.3.11 + mad_receive_via at IBMAD_1.3 1.3.11 + mad_register_client at IBMAD_1.3 1.3.11 + mad_register_client_via at IBMAD_1.3 1.3.11 + mad_register_server at IBMAD_1.3 1.3.11 + mad_register_server_via at IBMAD_1.3 1.3.11 + mad_respond at IBMAD_1.3 1.3.11 + mad_respond_via at IBMAD_1.3 1.3.11 + mad_rpc at IBMAD_1.3 1.3.11 + mad_rpc_class_agent at IBMAD_1.3 1.3.11 + mad_rpc_close_port at IBMAD_1.3 1.3.11 + mad_rpc_open_port at IBMAD_1.3 1.3.11 + mad_rpc_portid at IBMAD_1.3 1.3.11 + mad_rpc_rmpp at IBMAD_1.3 1.3.11 + mad_rpc_set_retries at IBMAD_1.3 1.3.11 + mad_rpc_set_timeout at IBMAD_1.3 1.3.11 + mad_send at IBMAD_1.3 1.3.11 + mad_send_via at IBMAD_1.3 1.3.11 + mad_set_array at IBMAD_1.3 1.3.11 + mad_set_field64 at IBMAD_1.3 1.3.11 + mad_set_field at IBMAD_1.3 1.3.11 + mad_trid at IBMAD_1.3 1.3.11 + madrpc at IBMAD_1.3 1.3.11 + madrpc_def_timeout at IBMAD_1.3 1.3.11 + madrpc_init at IBMAD_1.3 1.3.11 + madrpc_portid at IBMAD_1.3 1.3.11 + madrpc_rmpp at IBMAD_1.3 1.3.11 + madrpc_save_mad at IBMAD_1.3 1.3.11 + madrpc_set_retries at IBMAD_1.3 1.3.11 + madrpc_set_timeout at IBMAD_1.3 1.3.11 + madrpc_show_errors at IBMAD_1.3 1.3.11 + performance_reset_via at IBMAD_1.3 1.3.11 + pma_query_via at IBMAD_1.3 1.3.11 + portid2portnum at IBMAD_1.3 1.3.11 + portid2str at IBMAD_1.3 1.3.11 + sa_call at IBMAD_1.3 1.3.11 + sa_rpc_call at IBMAD_1.3 1.3.11 + smp_mkey_get at IBMAD_1.3 1.3.11 + smp_mkey_set at IBMAD_1.3 1.3.11 + smp_query at IBMAD_1.3 1.3.11 + smp_query_status_via at IBMAD_1.3 1.3.11 + smp_query_via at IBMAD_1.3 1.3.11 + smp_set at IBMAD_1.3 1.3.11 + smp_set_status_via at IBMAD_1.3 1.3.11 + smp_set_via at IBMAD_1.3 1.3.11 + str2drpath at IBMAD_1.3 1.3.11 + xdump at IBMAD_1.3 1.3.11 -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/infiniband-diags.git From bdrung at moszumanska.debian.org Mon Aug 21 16:13:39 2017 From: bdrung at moszumanska.debian.org (Benjamin Drung) Date: Mon, 21 Aug 2017 16:13:39 +0000 Subject: [Pkg-ofed-commits] [infiniband-diags] 10/18: Override false positive for Certificate Authoritys (CAs) In-Reply-To: <20170821161330.19955.62997@moszumanska.debian.org> References: <20170821161330.19955.62997@moszumanska.debian.org> Message-ID: This is an automated email from the git hooks/post-receive script. bdrung pushed a commit to branch master in repository infiniband-diags. commit 029a77f8475850855bf4755284ed81d524d15686 Author: Benjamin Drung Date: Mon Aug 21 15:40:42 2017 +0200 Override false positive for Certificate Authoritys (CAs) --- debian/infiniband-diags.lintian-overrides | 3 +++ 1 file changed, 3 insertions(+) diff --git a/debian/infiniband-diags.lintian-overrides b/debian/infiniband-diags.lintian-overrides new file mode 100644 index 0000000..3050438 --- /dev/null +++ b/debian/infiniband-diags.lintian-overrides @@ -0,0 +1,3 @@ +# False positive for Certificate Authoritys (CAs) +infiniband-diags: spelling-error-in-binary * CAs Case +infiniband-diags: spelling-error-in-manpage * CAs Case -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/infiniband-diags.git From bdrung at moszumanska.debian.org Mon Aug 21 16:13:39 2017 From: bdrung at moszumanska.debian.org (Benjamin Drung) Date: Mon, 21 Aug 2017 16:13:39 +0000 Subject: [Pkg-ofed-commits] [infiniband-diags] 11/18: debian/rules: Call dh_install with --fail-missing In-Reply-To: <20170821161330.19955.62997@moszumanska.debian.org> References: <20170821161330.19955.62997@moszumanska.debian.org> Message-ID: This is an automated email from the git hooks/post-receive script. bdrung pushed a commit to branch master in repository infiniband-diags. commit badf9275fc1523e71ffd903f35e9418f3a7c0a29 Author: Benjamin Drung Date: Mon Aug 21 15:39:41 2017 +0200 debian/rules: Call dh_install with --fail-missing --- debian/rules | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index a158c75..220b928 100755 --- a/debian/rules +++ b/debian/rules @@ -15,7 +15,8 @@ override_dh_install: mv debian/tmp/usr/sbin/check_lft_balance.pl debian/tmp/usr/sbin/check_lft_balance mv debian/tmp/usr/sbin/dump_lfts.sh debian/tmp/usr/sbin/dump_lfts mv debian/tmp/usr/sbin/dump_mfts.sh debian/tmp/usr/sbin/dump_mfts - dh_install + find debian/tmp -name '*.la' -delete + dh_install --fail-missing # Modified by build process KEEP_FILES = \ -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/infiniband-diags.git From bdrung at moszumanska.debian.org Mon Aug 21 16:13:39 2017 From: bdrung at moszumanska.debian.org (Benjamin Drung) Date: Mon, 21 Aug 2017 16:13:39 +0000 Subject: [Pkg-ofed-commits] [infiniband-diags] 12/18: Add default configs to infiniband-diags In-Reply-To: <20170821161330.19955.62997@moszumanska.debian.org> References: <20170821161330.19955.62997@moszumanska.debian.org> Message-ID: This is an automated email from the git hooks/post-receive script. bdrung pushed a commit to branch master in repository infiniband-diags. commit c6116386ca0522cc586f30ab186546627495409f Author: Benjamin Drung Date: Mon Aug 21 15:39:19 2017 +0200 Add default configs to infiniband-diags --- debian/infiniband-diags.install | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/infiniband-diags.install b/debian/infiniband-diags.install index f2dd238..b7c95b1 100644 --- a/debian/infiniband-diags.install +++ b/debian/infiniband-diags.install @@ -1,3 +1,4 @@ +etc/infiniband-diags usr/sbin usr/share/man/man8 usr/share/perl5 -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/infiniband-diags.git From bdrung at moszumanska.debian.org Mon Aug 21 16:13:39 2017 From: bdrung at moszumanska.debian.org (Benjamin Drung) Date: Mon, 21 Aug 2017 16:13:39 +0000 Subject: [Pkg-ofed-commits] [infiniband-diags] 13/18: Fix man page warnings/errors In-Reply-To: <20170821161330.19955.62997@moszumanska.debian.org> References: <20170821161330.19955.62997@moszumanska.debian.org> Message-ID: This is an automated email from the git hooks/post-receive script. bdrung pushed a commit to branch master in repository infiniband-diags. commit aa57e46bf0e0c9c91af630cb6ce7d17a36b7a5d5 Author: Benjamin Drung Date: Mon Aug 21 16:53:17 2017 +0200 Fix man page warnings/errors --- .../0001-Fix-bad-whatis-entries-in-man-pages.patch | 424 +++++++++++++++++++++ ...2-Fix-undefined-bi-macro-man-page-warning.patch | 32 ++ debian/patches/series | 2 + 3 files changed, 458 insertions(+) diff --git a/debian/patches/0001-Fix-bad-whatis-entries-in-man-pages.patch b/debian/patches/0001-Fix-bad-whatis-entries-in-man-pages.patch new file mode 100644 index 0000000..0162349 --- /dev/null +++ b/debian/patches/0001-Fix-bad-whatis-entries-in-man-pages.patch @@ -0,0 +1,424 @@ +From 0edbdd74cd89d90c80ecd94c0e91279020e1dbbf Mon Sep 17 00:00:00 2001 +From: Benjamin Drung +Date: Mon, 21 Aug 2017 16:40:41 +0200 +Subject: [PATCH 1/2] Fix bad whatis entries in man pages + +Each manual page should start with a "NAME" section, which lists the +name and a brief description of the page separated by "\-". The "NAME" +section is parsed by lexgrog and used to generate a database that's +queried by commands like apropos and whatis. + +Regenerating the man pages with rst2man will cause the man pages to have +malformed whatis entries if the metadata comes before the brief +description in the reStructured text. + +Signed-off-by: Benjamin Drung +--- + doc/rst/check_lft_balance.8.in.rst | 9 ++++----- + doc/rst/ibcacheedit.8.in.rst | 9 ++++----- + doc/rst/ibfindnodesusing.8.in.rst | 9 ++++----- + doc/rst/ibidsverify.8.in.rst | 10 +++++----- + doc/rst/ibroute.8.in.rst | 9 ++++----- + doc/rst/ibstat.8.in.rst | 9 ++++----- + doc/rst/ibstatus.8.in.rst | 9 ++++----- + doc/rst/ibsysstat.8.in.rst | 9 ++++----- + doc/rst/ibtracert.8.in.rst | 10 +++++----- + doc/rst/infiniband-diags.8.in.rst | 9 ++++----- + doc/rst/perfquery.8.in.rst | 9 ++++----- + doc/rst/saquery.8.in.rst | 9 ++++----- + doc/rst/sminfo.8.in.rst | 10 +++++----- + doc/rst/smpdump.8.in.rst | 9 ++++----- + doc/rst/smpquery.8.in.rst | 9 ++++----- + doc/rst/vendstat.8.in.rst | 9 ++++----- + 16 files changed, 67 insertions(+), 80 deletions(-) + +diff --git a/doc/rst/check_lft_balance.8.in.rst b/doc/rst/check_lft_balance.8.in.rst +index 96c41f2..2639a20 100644 +--- a/doc/rst/check_lft_balance.8.in.rst ++++ b/doc/rst/check_lft_balance.8.in.rst +@@ -1,15 +1,14 @@ + ================= +-CHECK_LFT_BALANCE ++check_lft_balance + ================= + +-:Date: @BUILD_DATE@ +-:Manual section: 8 +-:Manual group: Open IB Diagnostics +- + -------------------------------------------------- + check InfiniBand unicast forwarding tables balance + -------------------------------------------------- + ++:Date: @BUILD_DATE@ ++:Manual section: 8 ++:Manual group: Open IB Diagnostics + + SYNOPSIS + ======== +diff --git a/doc/rst/ibcacheedit.8.in.rst b/doc/rst/ibcacheedit.8.in.rst +index 5d61efb..69028cd 100644 +--- a/doc/rst/ibcacheedit.8.in.rst ++++ b/doc/rst/ibcacheedit.8.in.rst +@@ -1,15 +1,14 @@ + =========== +-IBCACHEEDIT ++ibcacheedit + =========== + +-:Date: @BUILD_DATE@ +-:Manual section: 8 +-:Manual group: Open IB Diagnostics +- + --------------------------- + edit an ibnetdiscover cache + --------------------------- + ++:Date: @BUILD_DATE@ ++:Manual section: 8 ++:Manual group: Open IB Diagnostics + + SYNOPSIS + ======== +diff --git a/doc/rst/ibfindnodesusing.8.in.rst b/doc/rst/ibfindnodesusing.8.in.rst +index 573dea9..e3ba0ae 100644 +--- a/doc/rst/ibfindnodesusing.8.in.rst ++++ b/doc/rst/ibfindnodesusing.8.in.rst +@@ -1,15 +1,14 @@ + ================ +-IBFINDNODESUSING ++ibfindnodesusing + ================ + +-:Date: @BUILD_DATE@ +-:Manual section: 8 +-:Manual group: Open IB Diagnostics +- + ------------------------------------------------------------------------------- + find a list of end nodes which are routed through the specified switch and port + ------------------------------------------------------------------------------- + ++:Date: @BUILD_DATE@ ++:Manual section: 8 ++:Manual group: Open IB Diagnostics + + SYNOPSIS + ======== +diff --git a/doc/rst/ibidsverify.8.in.rst b/doc/rst/ibidsverify.8.in.rst +index 3614333..ece8ea0 100644 +--- a/doc/rst/ibidsverify.8.in.rst ++++ b/doc/rst/ibidsverify.8.in.rst +@@ -1,15 +1,15 @@ + =========== +-IBIDSVERIFY ++ibidsverify + =========== + +-:Date: @BUILD_DATE@ +-:Manual section: 8 +-:Manual group: Open IB Diagnostics +- + --------------------------------------------------- + validate IB identifiers in subnet and report errors + --------------------------------------------------- + ++:Date: @BUILD_DATE@ ++:Manual section: 8 ++:Manual group: Open IB Diagnostics ++ + SYNOPSIS + ======== + +diff --git a/doc/rst/ibroute.8.in.rst b/doc/rst/ibroute.8.in.rst +index 5870de6..4163b80 100644 +--- a/doc/rst/ibroute.8.in.rst ++++ b/doc/rst/ibroute.8.in.rst +@@ -1,15 +1,14 @@ + ======= +-IBROUTE ++ibroute + ======= + +-:Date: @BUILD_DATE@ +-:Manual section: 8 +-:Manual group: Open IB Diagnostics +- + ----------------------------------------- + query InfiniBand switch forwarding tables + ----------------------------------------- + ++:Date: @BUILD_DATE@ ++:Manual section: 8 ++:Manual group: Open IB Diagnostics + + SYNOPSIS + ======== +diff --git a/doc/rst/ibstat.8.in.rst b/doc/rst/ibstat.8.in.rst +index 3e19b3e..baf2d3d 100644 +--- a/doc/rst/ibstat.8.in.rst ++++ b/doc/rst/ibstat.8.in.rst +@@ -1,15 +1,14 @@ + ====== +-IBSTAT ++ibstat + ====== + +-:Date: @BUILD_DATE@ +-:Manual section: 8 +-:Manual group: Open IB Diagnostics +- + ------------------------------------------ + query basic status of InfiniBand device(s) + ------------------------------------------ + ++:Date: @BUILD_DATE@ ++:Manual section: 8 ++:Manual group: Open IB Diagnostics + + SYNOPSIS + ======== +diff --git a/doc/rst/ibstatus.8.in.rst b/doc/rst/ibstatus.8.in.rst +index cfdac68..e2e5b2d 100644 +--- a/doc/rst/ibstatus.8.in.rst ++++ b/doc/rst/ibstatus.8.in.rst +@@ -1,15 +1,14 @@ + ======== +-IBSTATUS ++ibstatus + ======== + +-:Date: @BUILD_DATE@ +-:Manual section: 8 +-:Manual group: Open IB Diagnostics +- + ------------------------------------------ + query basic status of InfiniBand device(s) + ------------------------------------------ + ++:Date: @BUILD_DATE@ ++:Manual section: 8 ++:Manual group: Open IB Diagnostics + + SYNOPSIS + ======== +diff --git a/doc/rst/ibsysstat.8.in.rst b/doc/rst/ibsysstat.8.in.rst +index 3a7b295..df0764f 100644 +--- a/doc/rst/ibsysstat.8.in.rst ++++ b/doc/rst/ibsysstat.8.in.rst +@@ -1,15 +1,14 @@ + ========= +-IBSYSSTAT ++ibsysstat + ========= + +-:Date: @BUILD_DATE@ +-:Manual section: 8 +-:Manual group: Open IB Diagnostics +- + -------------------------------------- + system status on an InfiniBand address + -------------------------------------- + ++:Date: @BUILD_DATE@ ++:Manual section: 8 ++:Manual group: Open IB Diagnostics + + SYNOPSIS + ======== +diff --git a/doc/rst/ibtracert.8.in.rst b/doc/rst/ibtracert.8.in.rst +index 76fe568..021e690 100644 +--- a/doc/rst/ibtracert.8.in.rst ++++ b/doc/rst/ibtracert.8.in.rst +@@ -1,15 +1,15 @@ + ========= +-IBTRACERT ++ibtracert + ========= + +-:Date: @BUILD_DATE@ +-:Manual section: 8 +-:Manual group: Open IB Diagnostics +- + --------------------- + trace InfiniBand path + --------------------- + ++:Date: @BUILD_DATE@ ++:Manual section: 8 ++:Manual group: Open IB Diagnostics ++ + SYNOPSIS + ======== + +diff --git a/doc/rst/infiniband-diags.8.in.rst b/doc/rst/infiniband-diags.8.in.rst +index be77ce3..571d4cc 100644 +--- a/doc/rst/infiniband-diags.8.in.rst ++++ b/doc/rst/infiniband-diags.8.in.rst +@@ -1,15 +1,14 @@ + ================ +-INFINIBAND-DIAGS ++infiniband-diags + ================ + +-:Date: @BUILD_DATE@ +-:Manual section: 8 +-:Manual group: Open IB Diagnostics +- + ---------------------------------- + Diagnostics for InfiniBand Fabrics + ---------------------------------- + ++:Date: @BUILD_DATE@ ++:Manual section: 8 ++:Manual group: Open IB Diagnostics + + DESCRIPTION + =========== +diff --git a/doc/rst/perfquery.8.in.rst b/doc/rst/perfquery.8.in.rst +index 5e3d709..c09c3e1 100644 +--- a/doc/rst/perfquery.8.in.rst ++++ b/doc/rst/perfquery.8.in.rst +@@ -1,15 +1,14 @@ + ========= +-PERFQUERY ++perfquery + ========= + +-:Date: @BUILD_DATE@ +-:Manual section: 8 +-:Manual group: Open IB Diagnostics +- + ----------------------------------------------- + query InfiniBand port counters on a single port + ----------------------------------------------- + ++:Date: @BUILD_DATE@ ++:Manual section: 8 ++:Manual group: Open IB Diagnostics + + SYNOPSIS + ======== +diff --git a/doc/rst/saquery.8.in.rst b/doc/rst/saquery.8.in.rst +index 0551917..9647297 100644 +--- a/doc/rst/saquery.8.in.rst ++++ b/doc/rst/saquery.8.in.rst +@@ -1,15 +1,14 @@ + ======= +-SAQUERY ++saquery + ======= + +-:Date: @BUILD_DATE@ +-:Manual section: 8 +-:Manual group: Open IB Diagnostics +- + ------------------------------------------------- + query InfiniBand subnet administration attributes + ------------------------------------------------- + ++:Date: @BUILD_DATE@ ++:Manual section: 8 ++:Manual group: Open IB Diagnostics + + SYNOPSIS + ======== +diff --git a/doc/rst/sminfo.8.in.rst b/doc/rst/sminfo.8.in.rst +index 500d1d0..4d715d7 100644 +--- a/doc/rst/sminfo.8.in.rst ++++ b/doc/rst/sminfo.8.in.rst +@@ -1,15 +1,15 @@ + ====== +-SMINFO ++sminfo + ====== + +-:Date: @BUILD_DATE@ +-:Manual section: 8 +-:Manual group: Open IB Diagnostics +- + --------------------------------- + query InfiniBand SMInfo attribute + --------------------------------- + ++:Date: @BUILD_DATE@ ++:Manual section: 8 ++:Manual group: Open IB Diagnostics ++ + SYNOPSIS + ======== + +diff --git a/doc/rst/smpdump.8.in.rst b/doc/rst/smpdump.8.in.rst +index 38460de..118288f 100644 +--- a/doc/rst/smpdump.8.in.rst ++++ b/doc/rst/smpdump.8.in.rst +@@ -1,15 +1,14 @@ + ======= +-SMPDUMP ++smpdump + ======= + +-:Date: @BUILD_DATE@ +-:Manual section: 8 +-:Manual group: Open IB Diagnostics +- + -------------------------------------------- + dump InfiniBand subnet management attributes + -------------------------------------------- + ++:Date: @BUILD_DATE@ ++:Manual section: 8 ++:Manual group: Open IB Diagnostics + + SYNOPSIS + ======== +diff --git a/doc/rst/smpquery.8.in.rst b/doc/rst/smpquery.8.in.rst +index aa9983c..8ca98ab 100644 +--- a/doc/rst/smpquery.8.in.rst ++++ b/doc/rst/smpquery.8.in.rst +@@ -1,15 +1,14 @@ + ======== +-SMPQUERY ++smpquery + ======== + +-:Date: @BUILD_DATE@ +-:Manual section: 8 +-:Manual group: Open IB Diagnostics +- + --------------------------------------------- + query InfiniBand subnet management attributes + --------------------------------------------- + ++:Date: @BUILD_DATE@ ++:Manual section: 8 ++:Manual group: Open IB Diagnostics + + SYNOPSIS + ======== +diff --git a/doc/rst/vendstat.8.in.rst b/doc/rst/vendstat.8.in.rst +index abb4e33..7b5e9e6 100644 +--- a/doc/rst/vendstat.8.in.rst ++++ b/doc/rst/vendstat.8.in.rst +@@ -1,15 +1,14 @@ + ======== +-VENDSTAT ++vendstat + ======== + +-:Date: @BUILD_DATE@ +-:Manual section: 8 +-:Manual group: Open IB Diagnostics +- + ------------------------------------------ + query InfiniBand vendor specific functions + ------------------------------------------ + ++:Date: @BUILD_DATE@ ++:Manual section: 8 ++:Manual group: Open IB Diagnostics + + SYNOPSIS + ======== +-- +2.11.0 + diff --git a/debian/patches/0002-Fix-undefined-bi-macro-man-page-warning.patch b/debian/patches/0002-Fix-undefined-bi-macro-man-page-warning.patch new file mode 100644 index 0000000..0b500ad --- /dev/null +++ b/debian/patches/0002-Fix-undefined-bi-macro-man-page-warning.patch @@ -0,0 +1,32 @@ +From 91630fc4e2989cea9a589e1ed0430d30fa7b72b1 Mon Sep 17 00:00:00 2001 +From: Benjamin Drung +Date: Mon, 21 Aug 2017 16:46:12 +0200 +Subject: [PATCH 2/2] Fix undefined bi macro man page warning + +THe ibnd_discover_fabric.3 man page provokes warning from man: + +$ LC_ALL=en_US.UTF-8 MANROFFSEQ='' MANWIDTH=80 man --warnings -E UTF-8 -l \ + -Tutf8 -Z libibnetdisc/man/ibnd_discover_fabric.3 >/dev/null +:8: warning: macro `bi' not defined + +Signed-off-by: Benjamin Drung +--- + libibnetdisc/man/ibnd_discover_fabric.3 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/libibnetdisc/man/ibnd_discover_fabric.3 b/libibnetdisc/man/ibnd_discover_fabric.3 +index 5471af0..2c09da7 100644 +--- a/libibnetdisc/man/ibnd_discover_fabric.3 ++++ b/libibnetdisc/man/ibnd_discover_fabric.3 +@@ -5,7 +5,7 @@ ibnd_discover_fabric, ibnd_destroy_fabric, ibnd_debug ibnd_show_progress \- init + .nf + .B #include + .sp +-.bi "ibnd_fabric_t *ibnd_discover_fabric(struct ibmad_port *ibmad_port, int timeout_ms, ib_portid_t *from, int hops)" ++.BI "ibnd_fabric_t *ibnd_discover_fabric(struct ibmad_port *ibmad_port, int timeout_ms, ib_portid_t *from, int hops)" + .BI "void ibnd_destroy_fabric(ibnd_fabric_t *fabric)" + .BI "void ibnd_debug(int i)" + .BI "void ibnd_show_progress(int i)" +-- +2.11.0 + diff --git a/debian/patches/series b/debian/patches/series index e613ac0..cf53933 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,3 @@ comment_test_out +0001-Fix-bad-whatis-entries-in-man-pages.patch +0002-Fix-undefined-bi-macro-man-page-warning.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/infiniband-diags.git From bdrung at moszumanska.debian.org Mon Aug 21 16:13:39 2017 From: bdrung at moszumanska.debian.org (Benjamin Drung) Date: Mon, 21 Aug 2017 16:13:39 +0000 Subject: [Pkg-ofed-commits] [infiniband-diags] 14/18: Drop unneeded README.Debian (rdma-ndd moved to rdma-core) In-Reply-To: <20170821161330.19955.62997@moszumanska.debian.org> References: <20170821161330.19955.62997@moszumanska.debian.org> Message-ID: This is an automated email from the git hooks/post-receive script. bdrung pushed a commit to branch master in repository infiniband-diags. commit f5a70a1572114ace04a569a4e5bafa760b14ce06 Author: Benjamin Drung Date: Mon Aug 21 17:00:27 2017 +0200 Drop unneeded README.Debian (rdma-ndd moved to rdma-core) --- debian/README.Debian | 46 ---------------------------------------------- 1 file changed, 46 deletions(-) diff --git a/debian/README.Debian b/debian/README.Debian deleted file mode 100644 index 2033dd8..0000000 --- a/debian/README.Debian +++ /dev/null @@ -1,46 +0,0 @@ -Installing rdma-ndd service ---------------------------- - -To install the rdma-ndd.service, the package needs rebuilding applying the -following patch. This service can't be installed because it needs the -service rdma that is not installed in Debian by any package. - - -diff --git a/debian/control b/debian/control -index af442dd..ac7cd0f 100644 ---- a/debian/control -+++ b/debian/control -@@ -5,7 +5,7 @@ Maintainer: OFED and Debian Development and Discussion - Build-Depends: debhelper (>= 9), dh-autoreconf, libglib2.0-dev, - libibumad-dev (>= 1.3.7), libibmad-dev (>= 1.3.12), libopensm-dev (>= 3.3.12), -- libudev-dev, python-docutils -+ libudev-dev, python-docutils, dh-systemd, systemd - Standards-Version: 3.9.8 - Vcs-Git: https://anonscm.debian.org/git/pkg-ofed/infiniband-diags.git - Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ofed/infiniband-diags.git -diff --git a/debian/infiniband-diags.install b/debian/infiniband-diags.install -index 9ed3e40..186d1bb 100644 ---- a/debian/infiniband-diags.install -+++ b/debian/infiniband-diags.install -@@ -1,2 +1,3 @@ - usr/sbin - usr/share/perl5 -+lib/systemd/system/rdma-ndd.service -diff --git a/debian/rules b/debian/rules -index a158c75..1353514 100755 ---- a/debian/rules -+++ b/debian/rules -@@ -4,10 +4,10 @@ - export DEB_BUILD_MAINT_OPTIONS = hardening=+all - - %: -- dh $@ --with autoreconf -+ dh $@ --with autoreconf,systemd - - override_dh_auto_configure: -- dh_auto_configure -- --with-ibpath_override=/usr/sbin -+ dh_auto_configure -- --with-ibpath_override=/usr/sbin --exec-prefix=/usr - - override_dh_install: - mv debian/tmp/usr/sbin/ibfindnodesusing.pl debian/tmp/usr/sbin/ibfindnodesusing -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/infiniband-diags.git From bdrung at moszumanska.debian.org Mon Aug 21 16:13:39 2017 From: bdrung at moszumanska.debian.org (Benjamin Drung) Date: Mon, 21 Aug 2017 16:13:39 +0000 Subject: [Pkg-ofed-commits] [infiniband-diags] 15/18: Drop unneeded debian/dirs In-Reply-To: <20170821161330.19955.62997@moszumanska.debian.org> References: <20170821161330.19955.62997@moszumanska.debian.org> Message-ID: This is an automated email from the git hooks/post-receive script. bdrung pushed a commit to branch master in repository infiniband-diags. commit ea3ed171545f233e826d7fa020851e2aa2a4f62b Author: Benjamin Drung Date: Mon Aug 21 17:10:08 2017 +0200 Drop unneeded debian/dirs --- debian/dirs | 1 - 1 file changed, 1 deletion(-) diff --git a/debian/dirs b/debian/dirs deleted file mode 100644 index 236670a..0000000 --- a/debian/dirs +++ /dev/null @@ -1 +0,0 @@ -usr/sbin -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/infiniband-diags.git From bdrung at moszumanska.debian.org Mon Aug 21 16:13:39 2017 From: bdrung at moszumanska.debian.org (Benjamin Drung) Date: Mon, 21 Aug 2017 16:13:39 +0000 Subject: [Pkg-ofed-commits] [infiniband-diags] 16/18: Update Debian copyright In-Reply-To: <20170821161330.19955.62997@moszumanska.debian.org> References: <20170821161330.19955.62997@moszumanska.debian.org> Message-ID: This is an automated email from the git hooks/post-receive script. bdrung pushed a commit to branch master in repository infiniband-diags. commit 42ebe57a4232ece462345957019b61aeb5b4aa08 Author: Benjamin Drung Date: Mon Aug 21 17:34:31 2017 +0200 Update Debian copyright --- debian/copyright | 135 +++++++++++++++++++++++++++++++------------------------ 1 file changed, 76 insertions(+), 59 deletions(-) diff --git a/debian/copyright b/debian/copyright index d80a475..0c7effc 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,59 +1,76 @@ -This package was debianized by Guy Coates on -Thu, 08 Jan 2009 17:18:22 +0000. - -It was downloaded from http://www.openfabrics.org/downloads/OFED/ofed-1.4/OFED-1.4.tgz - -Upstream Authors: - Sasha Khapyorsky, sashak at voltaire.com - - -Copyright: - - Copyright (c) 2006 Mellanox Technologies. All rights reserved. - Copyright (c) 2004-2008 Voltaire, Inc. All rights reserved. - Copyright (c) 2007 Xsigo Systems Inc. All rights reserved. - Copyright (c) 2008 Lawrence Livermore National Security. - Copyright (c) 2006,2007 The Regents of the University of California - -License: - -This software is available to you under a choice of two licences. -You may chose to be licensed under the terms of the -OpenIB.org BSD license show below, or the GNU General Public License -(GPL) Version 2, available in the file -/usr/share/common-licenses/GPL-2 on your Debian system. - -================================================================== - - OpenIB.org BSD license - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: - - * Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. - - * Redistributions in binary form must reproduce the above - copyright notice, this list of conditions and the following - disclaimer in the documentation and/or other materials provided - with the distribution. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE -COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, -INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, -BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; -LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER -CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT -LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN -ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -POSSIBILITY OF SUCH DAMAGE. - -================================================================== - - -The Debian packaging is Copyright (C) 2009, Genome Research Ltd and -is licensed under the GPL, see `/usr/share/common-licenses/GPL'. +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: infiniband-diags +Source: https://github.com/linux-rdma/infiniband-diags + +Files: * +Copyright: 1996-2017 Intel Corp. + 2001-2007 The Regents of the University of California. + 2002-2013 Mellanox Technologies LTD. + 2004-2009 Voltaire, Inc. + 2007 Xsigo Systems Inc. + 2008-2012 Lawrence Livermore National Security. + 2009 HNR Consulting. + 2011,2016 Oracle and/or its affiliates. +License: BSD-2-clause or GPL-2 + +Files: debian/* +Copyright: 2009, Genome Research Ltd + 2017, Benjamin Drung +License: GPL-2+ + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + . + On Debian systems, the full text of the GNU General Public License + version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. + +License: BSD-2-clause + OpenIB.org BSD license + . + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + . + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + . + * Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE + FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR + SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER + CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, + OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE + OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License: GPL-2 + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + . + On Debian systems, the full text of the GNU General Public License + version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/infiniband-diags.git From bdrung at moszumanska.debian.org Mon Aug 21 16:13:39 2017 From: bdrung at moszumanska.debian.org (Benjamin Drung) Date: Mon, 21 Aug 2017 16:13:39 +0000 Subject: [Pkg-ofed-commits] [infiniband-diags] 17/18: Bump Standards-Version to 4.0.1 (no changes needed) In-Reply-To: <20170821161330.19955.62997@moszumanska.debian.org> References: <20170821161330.19955.62997@moszumanska.debian.org> Message-ID: This is an automated email from the git hooks/post-receive script. bdrung pushed a commit to branch master in repository infiniband-diags. commit 4ab18b7ba40342b76d508e09727cc3b50dddf898 Author: Benjamin Drung Date: Mon Aug 21 17:35:03 2017 +0200 Bump Standards-Version to 4.0.1 (no changes needed) --- debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/control b/debian/control index eaf67cf..f75983e 100644 --- a/debian/control +++ b/debian/control @@ -10,7 +10,7 @@ Build-Depends: debhelper (>= 9), libopensm-dev (>= 3.3.12), libudev-dev, python-docutils -Standards-Version: 3.9.8 +Standards-Version: 4.0.1 Vcs-Git: https://anonscm.debian.org/git/pkg-ofed/infiniband-diags.git Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ofed/infiniband-diags.git Homepage: https://www.openfabrics.org/downloads/management/ -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/infiniband-diags.git From bdrung at moszumanska.debian.org Mon Aug 21 16:13:39 2017 From: bdrung at moszumanska.debian.org (Benjamin Drung) Date: Mon, 21 Aug 2017 16:13:39 +0000 Subject: [Pkg-ofed-commits] [infiniband-diags] 18/18: Release 2.0.0-1 In-Reply-To: <20170821161330.19955.62997@moszumanska.debian.org> References: <20170821161330.19955.62997@moszumanska.debian.org> Message-ID: This is an automated email from the git hooks/post-receive script. bdrung pushed a commit to branch master in repository infiniband-diags. commit fb6e51b47c96911994ef7111c08a4dd24230c3ce Author: Benjamin Drung Date: Mon Aug 21 17:42:30 2017 +0200 Release 2.0.0-1 Signed-off-by: Benjamin Drung --- debian/changelog | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/debian/changelog b/debian/changelog index 9b98159..be375e4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,19 @@ +infiniband-diags (2.0.0-1) unstable; urgency=medium + + * Team upload. + * New upstream release. + * Point debian/watch to GitHub + * Drop patches that were accepted upstream and refresh remaining patch + * Move library man pages to libibnetdisc-dev + * Add libibmad5 and libibmad-dev (replacing the libibmad source package) + * Add default configs to infiniband-diags + * Fix man page warnings/errors + * Drop unneeded README.Debian (rdma-ndd moved to rdma-core) + * Update copyright file (use copyright format 1.0) + * Bump Standards-Version to 4.0.1 (no changes needed) + + -- Benjamin Drung Mon, 21 Aug 2017 17:42:24 +0200 + infiniband-diags (1.6.7-1) unstable; urgency=medium * New upstream release. -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/infiniband-diags.git From bdrung at moszumanska.debian.org Mon Aug 21 16:13:52 2017 From: bdrung at moszumanska.debian.org (Benjamin Drung) Date: Mon, 21 Aug 2017 16:13:52 +0000 Subject: [Pkg-ofed-commits] [infiniband-diags] branch pristine-tar updated (7db61ed -> 91093a9) Message-ID: <20170821161351.21500.3190@moszumanska.debian.org> This is an automated email from the git hooks/post-receive script. bdrung pushed a change to branch pristine-tar in repository infiniband-diags. from 7db61ed pristine-tar data for infiniband-diags_1.6.7.orig.tar.gz new 91093a9 pristine-tar data for infiniband-diags_2.0.0.orig.tar.gz The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: infiniband-diags_2.0.0.orig.tar.gz.delta | Bin 0 -> 11105 bytes infiniband-diags_2.0.0.orig.tar.gz.id | 1 + 2 files changed, 1 insertion(+) create mode 100644 infiniband-diags_2.0.0.orig.tar.gz.delta create mode 100644 infiniband-diags_2.0.0.orig.tar.gz.id -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/infiniband-diags.git From bdrung at moszumanska.debian.org Mon Aug 21 16:13:52 2017 From: bdrung at moszumanska.debian.org (Benjamin Drung) Date: Mon, 21 Aug 2017 16:13:52 +0000 Subject: [Pkg-ofed-commits] [infiniband-diags] 01/01: pristine-tar data for infiniband-diags_2.0.0.orig.tar.gz In-Reply-To: <20170821161351.21500.3190@moszumanska.debian.org> References: <20170821161351.21500.3190@moszumanska.debian.org> Message-ID: This is an automated email from the git hooks/post-receive script. bdrung pushed a commit to branch pristine-tar in repository infiniband-diags. commit 91093a9ecfa3257f847dc59ba5b74362e0f4d2cf Author: Benjamin Drung Date: Thu Jul 13 10:16:17 2017 +0200 pristine-tar data for infiniband-diags_2.0.0.orig.tar.gz --- infiniband-diags_2.0.0.orig.tar.gz.delta | Bin 0 -> 11105 bytes infiniband-diags_2.0.0.orig.tar.gz.id | 1 + 2 files changed, 1 insertion(+) diff --git a/infiniband-diags_2.0.0.orig.tar.gz.delta b/infiniband-diags_2.0.0.orig.tar.gz.delta new file mode 100644 index 0000000..e1a4363 Binary files /dev/null and b/infiniband-diags_2.0.0.orig.tar.gz.delta differ diff --git a/infiniband-diags_2.0.0.orig.tar.gz.id b/infiniband-diags_2.0.0.orig.tar.gz.id new file mode 100644 index 0000000..630c359 --- /dev/null +++ b/infiniband-diags_2.0.0.orig.tar.gz.id @@ -0,0 +1 @@ +3e451c3dd11928ad92f1d1c0f4086744cbae1284 -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/infiniband-diags.git From bdrung at moszumanska.debian.org Mon Aug 21 16:13:52 2017 From: bdrung at moszumanska.debian.org (Benjamin Drung) Date: Mon, 21 Aug 2017 16:13:52 +0000 Subject: [Pkg-ofed-commits] [infiniband-diags] branch upstream updated (0176626 -> 5fb99d5) Message-ID: <20170821161351.21500.5984@moszumanska.debian.org> This is an automated email from the git hooks/post-receive script. bdrung pushed a change to branch upstream in repository infiniband-diags. from 0176626 New upstream version 1.6.7 adds 5fb99d5 New upstream version 2.0.0 No new revisions were added by this update. Summary of changes: COPYING | 3 +- ChangeLog | 9367 +------------------- INSTALL | 370 + Makefile.am | 45 +- Makefile.in | 734 +- README | 87 +- config.h.in | 15 +- configure | 489 +- configure.ac | 87 +- doc/generate | 2 +- doc/man/ibhosts.8 | 8 + doc/man/ibhosts.8.in | 8 + doc/man/iblinkinfo.8 | 4 +- doc/man/iblinkinfo.8.in | 4 +- doc/man/ibqueryerrors.8 | 2 +- doc/man/ibqueryerrors.8.in | 2 +- doc/man/ibrouters.8 | 8 + doc/man/ibrouters.8.in | 8 + doc/man/ibswitches.8 | 8 + doc/man/ibswitches.8.in | 8 + doc/man/infiniband-diags.8 | 2 +- doc/man/infiniband-diags.8.in | 2 +- doc/man/rdma-ndd.8 | 105 - doc/man/rdma-ndd.8.in | 105 - doc/rst/ibhosts.8.in.rst | 1 + doc/rst/iblinkinfo.8.in.rst | 4 +- doc/rst/ibqueryerrors.8.in.rst | 2 +- doc/rst/ibrouters.8.in.rst | 1 + doc/rst/ibswitches.8.in.rst | 1 + doc/rst/infiniband-diags.8.in.rst | 4 +- doc/rst/rdma-ndd.8.in.rst | 88 - etc/ibdiag.conf | 2 - etc/rdma-ndd.init | 4 +- etc/rdma-ndd.init.in | 139 - etc/rdma-ndd.service | 4 +- etc/rdma-ndd.service.in | 12 - include/ibdiag_common.h | 13 +- include/ibdiag_version.h | 2 +- infiniband-diags.spec | 75 +- infiniband-diags.spec.in | 71 +- libibmad/ChangeLog | 88 + libibmad/Makefile.am | 34 + {libibnetdisc => libibmad}/Makefile.in | 482 +- libibmad/README | 7 + libibmad/include/infiniband/mad.h | 1722 ++++ .../include/infiniband/mad_osd.h | 20 +- .../libibnetdisc.ver => libibmad/libibmad.ver | 4 +- libibmad/src/bm.c | 107 + libibmad/src/cc.c | 118 + libibmad/src/dump.c | 1162 +++ libibmad/src/fields.c | 1260 +++ libibmad/src/gs.c | 133 + libibmad/src/libibmad.map | 156 + libibmad/src/mad.c | 211 + .../ibnetdisc_osd.h => libibmad/src/mad_internal.h | 28 +- libibmad/src/portid.c | 127 + libibmad/src/register.c | 178 + libibmad/src/resolve.c | 248 + libibmad/src/rpc.c | 441 + libibmad/src/sa.c | 191 + libibmad/src/serv.c | 200 + libibmad/src/smp.c | 149 + libibmad/src/vendor.c | 111 + libibnetdisc/Makefile.am | 5 +- libibnetdisc/Makefile.in | 151 +- libibnetdisc/src/ibnetdisc.c | 24 +- libibnetdisc/src/internal.h | 1 - scripts/ibhosts | 19 +- scripts/ibhosts.in | 19 +- scripts/ibrouters | 19 +- scripts/ibrouters.in | 19 +- scripts/ibswitches | 19 +- scripts/ibswitches.in | 19 +- src/ibaddr.c | 2 +- src/ibdiag_common.c | 42 +- src/ibportstate.c | 39 +- src/ibsendtrap.c | 62 + src/ibstat.c | 15 +- src/ibtracert.c | 2 +- src/mcm_rereg_test.c | 12 +- src/perfquery.c | 136 +- src/rdma-ndd.c | 428 - src/saquery.c | 6 +- src/smpdump.c | 7 +- src/smpquery.c | 2 +- src/vendstat.c | 14 +- 86 files changed, 8522 insertions(+), 11613 deletions(-) create mode 100644 INSTALL delete mode 100644 doc/man/rdma-ndd.8 delete mode 100644 doc/man/rdma-ndd.8.in delete mode 100644 doc/rst/rdma-ndd.8.in.rst delete mode 100644 etc/rdma-ndd.init.in delete mode 100644 etc/rdma-ndd.service.in create mode 100644 libibmad/ChangeLog create mode 100644 libibmad/Makefile.am copy {libibnetdisc => libibmad}/Makefile.in (51%) create mode 100644 libibmad/README create mode 100644 libibmad/include/infiniband/mad.h copy include/ibdiag_version.h => libibmad/include/infiniband/mad_osd.h (78%) copy libibnetdisc/libibnetdisc.ver => libibmad/libibmad.ver (80%) create mode 100644 libibmad/src/bm.c create mode 100644 libibmad/src/cc.c create mode 100644 libibmad/src/dump.c create mode 100644 libibmad/src/fields.c create mode 100644 libibmad/src/gs.c create mode 100644 libibmad/src/libibmad.map create mode 100644 libibmad/src/mad.c copy libibnetdisc/include/infiniband/ibnetdisc_osd.h => libibmad/src/mad_internal.h (76%) create mode 100644 libibmad/src/portid.c create mode 100644 libibmad/src/register.c create mode 100644 libibmad/src/resolve.c create mode 100644 libibmad/src/rpc.c create mode 100644 libibmad/src/sa.c create mode 100644 libibmad/src/serv.c create mode 100644 libibmad/src/smp.c create mode 100644 libibmad/src/vendor.c delete mode 100644 src/rdma-ndd.c -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/infiniband-diags.git From bdrung at moszumanska.debian.org Mon Aug 21 16:13:53 2017 From: bdrung at moszumanska.debian.org (Benjamin Drung) Date: Mon, 21 Aug 2017 16:13:53 +0000 Subject: [Pkg-ofed-commits] [infiniband-diags] annotated tag debian/2.0.0-1 created (now 2b11404) Message-ID: <20170821161351.21500.66848@moszumanska.debian.org> This is an automated email from the git hooks/post-receive script. bdrung pushed a change to annotated tag debian/2.0.0-1 in repository infiniband-diags. at 2b11404 (tag) tagging fb6e51b47c96911994ef7111c08a4dd24230c3ce (commit) replaces debian/1.6.7-1 tagged by Benjamin Drung on Mon Aug 21 18:13:10 2017 +0200 - Log ----------------------------------------------------------------- Debian release 2.0.0-1 Benjamin Drung (18): Point debian/watch to GitHub New upstream version 2.0.0 Merge tag 'upstream/2.0.0' Drop patches that were accepted upstream Refresh remaining patch Run wrap-and-sort Avoid libibmad files in libibnetdisc* packages Move library man pages to libibnetdisc-dev Add libibmad5 and libibmad-dev Override false positive for Certificate Authoritys (CAs) debian/rules: Call dh_install with --fail-missing Add default configs to infiniband-diags Fix man page warnings/errors Drop unneeded README.Debian (rdma-ndd moved to rdma-core) Drop unneeded debian/dirs Update Debian copyright Bump Standards-Version to 4.0.1 (no changes needed) Release 2.0.0-1 ----------------------------------------------------------------------- No new revisions were added by this update. -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/infiniband-diags.git From bdrung at moszumanska.debian.org Mon Aug 21 16:13:53 2017 From: bdrung at moszumanska.debian.org (Benjamin Drung) Date: Mon, 21 Aug 2017 16:13:53 +0000 Subject: [Pkg-ofed-commits] [infiniband-diags] annotated tag upstream/2.0.0 created (now 3275d90) Message-ID: <20170821161351.21500.64957@moszumanska.debian.org> This is an automated email from the git hooks/post-receive script. bdrung pushed a change to annotated tag upstream/2.0.0 in repository infiniband-diags. at 3275d90 (tag) tagging 5fb99d5158533efe54d0c46033f029cfe5c1a8d1 (commit) replaces upstream/1.6.7 tagged by Benjamin Drung on Thu Jul 13 10:16:17 2017 +0200 - Log ----------------------------------------------------------------- Upstream version 2.0.0 Benjamin Drung (1): New upstream version 2.0.0 ----------------------------------------------------------------------- No new revisions were added by this update. -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/infiniband-diags.git