Commit 2b9e9fca authored by Benjamin Drung's avatar Benjamin Drung

New upstream version 2.1.0

parent 5fb99d51
......@@ -16,71 +16,46 @@ Dependencies:
4) glib2
Release notes 1.6.7 => 2.0.0
1) combine libibmad
2) Removed rdma-ndd
2a) Removed need for systemd
2b) Removed need for udev
Authors since 1.6.7
*Preserved full history from libibmad*
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
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
Release notes 2.0.0 => 2.1.0
1) New device IDs
2) Add file of ports pairs in ibtracert
3) ibqueryerrors additional counters
4) HDR support
5) Bug Fixes
Authors since 2.0.0
aecbb6f06888 : Ira Weiny : infiniband-diags: Update default man pages
28b29a03d094 : Ira Weiny : infiniband-diags: Update iblinkinfo --diffcheck options
9f44ab3daafa : Ira Weiny : infiniband-diags: Move deprecated tools to compat rpm
7d5e0442c2a1 : Hal Rosenstock : Add latest new device IDs to device white lists
5f9a632e88aa : Hal Rosenstock : ibtracert.c: Better ports file parsing
2d113986fd74 : Hal Rosenstock : Fix some formatting
5b5642437afe : Hal Rosenstock : smpdump.c: Print number of bytes returned by umad_recv
de6c39715552 : Hal Rosenstock : Add additional ConnectX-5 device ID to white lists
70cf023a35fa : Hal Rosenstock : smpdump.c: Minor fix for when umad_recv fails
26aad53c06d7 : Hal Rosenstock : Add support for HDR RS-FEC
2583fe9d93e2 : Hal Rosenstock : ib[netdiscover portstate].c: Add HDR support
f3940b2badad : Hal Rosenstock : libibmad: Add support for HDRFECMode fields in PortInfoExtended attribute
93e24484e427 : Hal Rosenstock : libibmad/dump.c: Add HDR support for PortInfo LinkSpeedExt* fields
2e2f55709466 : Hal Rosenstock : ibdiag_common.c: In is_port_info_extended_supported, query PortInfo for port, 0 when
1957468b572d : Hal Rosenstock : ibdiag_common.c: In is_port_info_extended_supported, query PortInfo for port 0 when n
0a5b4970e0f9 : Hal Rosenstock : Add support for QP1Dropped counter in PortCounters attribute
93cd96c5c9cc : Hal Rosenstock : libibmad: Support the decode of PortInfo:CapabilityMask2
5416bbb44e91 : Hal Rosenstock : Support 2x link widths
5aaf540fbde9 : Hal Rosenstock : libibmad/fields.c: PortInfo:McastPkeyTrapSuppressionEnabled is 2 bits in IBA 1.3
33e318120ed6 : Hal Rosenstock : ibcc[config query].c: Make SwitchPortCongestionSetting IBA 1.3 compliant
1dd7c112ac4c : Susan K. Coulter : ibtracert: Add ability to specify a file of port pairs
9294833bd161 : Susan K. Coulter : ibtracert.c: Moved the getting of routes into internal get_route function
2ffe4ec09f0d : Susan K. Coulter : Added check for successful strdup of node_name_map_file
65fac7cad9e4 : Oded Nissan : ibqueryerrors.c: Add support for additional counters in PortCountersExtended
91630fc4e298 : Benjamin Drung : Fix undefined bi macro man page warning
0edbdd74cd89 : Benjamin Drung : Fix bad whatis entries in man pages
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for infiniband-diags 2.0.0.
# Generated by GNU Autoconf 2.69 for infiniband-diags 2.1.0.
#
# Report bugs to <linux-rdma@vger.kernel.org>.
#
......@@ -590,8 +590,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='infiniband-diags'
PACKAGE_TARNAME='infiniband-diags'
PACKAGE_VERSION='2.0.0'
PACKAGE_STRING='infiniband-diags 2.0.0'
PACKAGE_VERSION='2.1.0'
PACKAGE_STRING='infiniband-diags 2.1.0'
PACKAGE_BUGREPORT='linux-rdma@vger.kernel.org'
PACKAGE_URL=''
......@@ -1348,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 2.0.0 to adapt to many kinds of systems.
\`configure' configures infiniband-diags 2.1.0 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
......@@ -1419,7 +1419,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of infiniband-diags 2.0.0:";;
short | recursive ) echo "Configuration of infiniband-diags 2.1.0:";;
esac
cat <<\_ACEOF
......@@ -1538,7 +1538,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
infiniband-diags configure 2.0.0
infiniband-diags configure 2.1.0
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
......@@ -1964,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 2.0.0, which was
It was created by infiniband-diags $as_me 2.1.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
......@@ -2830,7 +2830,7 @@ fi
# Define the identity of the package.
PACKAGE='infiniband-diags'
VERSION='2.0.0'
VERSION='2.1.0'
cat >>confdefs.h <<_ACEOF
......@@ -13133,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 2.0.0, which was
This file was extended by infiniband-diags $as_me 2.1.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
......@@ -13199,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 2.0.0
infiniband-diags config.status 2.1.0
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
......
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.57)
AC_INIT(infiniband-diags, 2.0.0, linux-rdma@vger.kernel.org)
AC_INIT(infiniband-diags, 2.1.0, linux-rdma@vger.kernel.org)
AC_CONFIG_AUX_DIR(config)
AC_CONFIG_MACRO_DIR(config)
AM_CONFIG_HEADER(config.h)
......
......@@ -2,7 +2,7 @@
.
.TH CHECK_LFT_BALANCE 8 "" "" "Open IB Diagnostics"
.SH NAME
CHECK_LFT_BALANCE \-
check_lft_balance \- check InfiniBand unicast forwarding tables balance
.
.nr rst2man-indent-level 0
.
......@@ -30,16 +30,15 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.SH CHECK INFINIBAND UNICAST FORWARDING TABLES BALANCE
.SS SYNOPSIS
.SH SYNOPSIS
.sp
check_lft_balance.sh [\-hRv]
.SS DESCRIPTION
.SH DESCRIPTION
.sp
check_lft_balance.sh is a script which checks for balancing in Infiniband
unicast forwarding tables. It analyzes the output of
\fBdump_lfts(8)\fP and \fBiblinkinfo(8)\fP
.SS OPTIONS
.SH OPTIONS
.INDENT 0.0
.TP
.B \fB\-h\fP
......@@ -54,11 +53,11 @@ believe that the fabric has changed.
.B \fB\-v\fP
verbose output
.UNINDENT
.SS SEE ALSO
.SH SEE ALSO
.sp
\fBdump_lfts(8)\fP
\fBiblinkinfo(8)\fP
.SS AUTHORS
.SH AUTHORS
.INDENT 0.0
.TP
.B Albert Chu
......
......@@ -2,7 +2,7 @@
.
.TH CHECK_LFT_BALANCE 8 "@BUILD_DATE@" "" "Open IB Diagnostics"
.SH NAME
CHECK_LFT_BALANCE \-
check_lft_balance \- check InfiniBand unicast forwarding tables balance
.
.nr rst2man-indent-level 0
.
......@@ -30,16 +30,15 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.SH CHECK INFINIBAND UNICAST FORWARDING TABLES BALANCE
.SS SYNOPSIS
.SH SYNOPSIS
.sp
check_lft_balance.sh [\-hRv]
.SS DESCRIPTION
.SH DESCRIPTION
.sp
check_lft_balance.sh is a script which checks for balancing in Infiniband
unicast forwarding tables. It analyzes the output of
\fBdump_lfts(8)\fP and \fBiblinkinfo(8)\fP
.SS OPTIONS
.SH OPTIONS
.INDENT 0.0
.TP
.B \fB\-h\fP
......@@ -54,11 +53,11 @@ believe that the fabric has changed.
.B \fB\-v\fP
verbose output
.UNINDENT
.SS SEE ALSO
.SH SEE ALSO
.sp
\fBdump_lfts(8)\fP
\fBiblinkinfo(8)\fP
.SS AUTHORS
.SH AUTHORS
.INDENT 0.0
.TP
.B Albert Chu
......
......@@ -2,7 +2,7 @@
.
.TH IBCACHEEDIT 8 "" "" "Open IB Diagnostics"
.SH NAME
IBCACHEEDIT \-
ibcacheedit \- edit an ibnetdiscover cache
.
.nr rst2man-indent-level 0
.
......@@ -30,15 +30,14 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.SH EDIT AN IBNETDISCOVER CACHE
.SS SYNOPSIS
.SH SYNOPSIS
.sp
ibcacheedit [options] <orig.cache> <new.cache>
.SS DESCRIPTION
.SH DESCRIPTION
.sp
ibcacheedit allows users to edit an ibnetdiscover cache created through the
\fB\-\-cache\fP option in \fBibnetdiscover(8)\fP .
.SS OPTIONS
.SH OPTIONS
.INDENT 0.0
.TP
.B \fB\-\-switchguid BEFOREGUID:AFTERGUID\fP
......@@ -70,7 +69,7 @@ guid will be adjusted as well on switches.
.
.sp
\fB\-V, \-\-version\fP show the version info.
.SS AUTHORS
.SH AUTHORS
.INDENT 0.0
.TP
.B Albert Chu
......
......@@ -2,7 +2,7 @@
.
.TH IBCACHEEDIT 8 "@BUILD_DATE@" "" "Open IB Diagnostics"
.SH NAME
IBCACHEEDIT \-
ibcacheedit \- edit an ibnetdiscover cache
.
.nr rst2man-indent-level 0
.
......@@ -30,15 +30,14 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.SH EDIT AN IBNETDISCOVER CACHE
.SS SYNOPSIS
.SH SYNOPSIS
.sp
ibcacheedit [options] <orig.cache> <new.cache>
.SS DESCRIPTION
.SH DESCRIPTION
.sp
ibcacheedit allows users to edit an ibnetdiscover cache created through the
\fB\-\-cache\fP option in \fBibnetdiscover(8)\fP .
.SS OPTIONS
.SH OPTIONS
.INDENT 0.0
.TP
.B \fB\-\-switchguid BEFOREGUID:AFTERGUID\fP
......@@ -70,7 +69,7 @@ guid will be adjusted as well on switches.
.
.sp
\fB\-V, \-\-version\fP show the version info.
.SS AUTHORS
.SH AUTHORS
.INDENT 0.0
.TP
.B Albert Chu
......
......@@ -2,7 +2,7 @@
.
.TH IBFINDNODESUSING 8 "" "" "Open IB Diagnostics"
.SH NAME
IBFINDNODESUSING \-
ibfindnodesusing \- find a list of end nodes which are routed through the specified switch and port
.
.nr rst2man-indent-level 0
.
......@@ -30,16 +30,15 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.SH FIND A LIST OF END NODES WHICH ARE ROUTED THROUGH THE SPECIFIED SWITCH AND PORT
.SS SYNOPSIS
.SH SYNOPSIS
.sp
ibfindnodesusing.pl [options] <switch_guid|switch_name> <port>
.SS DESCRIPTION
.SH DESCRIPTION
.sp
ibfindnodesusing.pl uses ibroute and detects the current nodes which are routed
through both directions of the link specified. The link is specified by one
switch port end; the script finds the remote end automatically.
.SS OPTIONS
.SH OPTIONS
.INDENT 0.0
.TP
.B \fB\-h\fP
......@@ -55,7 +54,7 @@ believe that the fabric has changed.
\fB\-C <ca_name>\fP use the specified ca_name.
.sp
\fB\-P <ca_port>\fP use the specified ca_port.
.SS FILES
.SH FILES
.\" Common text for the config file
.
.SS CONFIG FILE
......@@ -117,7 +116,7 @@ for the file location for your installation.
.fi
.UNINDENT
.UNINDENT
.SS AUTHOR
.SH AUTHOR
.INDENT 0.0
.TP
.B Ira Weiny
......
......@@ -2,7 +2,7 @@
.
.TH IBFINDNODESUSING 8 "@BUILD_DATE@" "" "Open IB Diagnostics"
.SH NAME
IBFINDNODESUSING \-
ibfindnodesusing \- find a list of end nodes which are routed through the specified switch and port
.
.nr rst2man-indent-level 0
.
......@@ -30,16 +30,15 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.SH FIND A LIST OF END NODES WHICH ARE ROUTED THROUGH THE SPECIFIED SWITCH AND PORT
.SS SYNOPSIS
.SH SYNOPSIS
.sp
ibfindnodesusing.pl [options] <switch_guid|switch_name> <port>
.SS DESCRIPTION
.SH DESCRIPTION
.sp
ibfindnodesusing.pl uses ibroute and detects the current nodes which are routed
through both directions of the link specified. The link is specified by one
switch port end; the script finds the remote end automatically.
.SS OPTIONS
.SH OPTIONS
.INDENT 0.0
.TP
.B \fB\-h\fP
......@@ -55,7 +54,7 @@ believe that the fabric has changed.
\fB\-C <ca_name>\fP use the specified ca_name.
.sp
\fB\-P <ca_port>\fP use the specified ca_port.
.SS FILES
.SH FILES
.\" Common text for the config file
.
.SS CONFIG FILE
......@@ -117,7 +116,7 @@ for the file location for your installation.
.fi
.UNINDENT
.UNINDENT
.SS AUTHOR
.SH AUTHOR
.INDENT 0.0
.TP
.B Ira Weiny
......
......@@ -2,7 +2,7 @@
.
.TH IBIDSVERIFY 8 "" "" "Open IB Diagnostics"
.SH NAME
IBIDSVERIFY \-
ibidsverify \- validate IB identifiers in subnet and report errors
.
.nr rst2man-indent-level 0
.
......@@ -30,11 +30,10 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.SH VALIDATE IB IDENTIFIERS IN SUBNET AND REPORT ERRORS
.SS SYNOPSIS
.SH SYNOPSIS
.sp
ibidsverify.pl [\-h] [\-R]
.SS DESCRIPTION
.SH DESCRIPTION
.sp
ibidsverify.pl is a perl script which uses a full topology file that was
created by ibnetdiscover, scans the network to validate the LIDs and GUIDs
......@@ -44,7 +43,7 @@ or duplicate identifiers.
Finally, ibidsverify.pl will also reuse the cached ibnetdiscover output from
some of the other diag tools which makes it a bit faster than running
ibnetdiscover from scratch.
.SS OPTIONS
.SH OPTIONS
.sp
\fB\-R\fP
Recalculate the ibnetdiscover information, ie do not use the cached
......@@ -55,10 +54,10 @@ fabric has changed.
\fB\-C <ca_name>\fP use the specified ca_name.
.sp
\fB\-P <ca_port>\fP use the specified ca_port.
.SS EXIT STATUS
.SH EXIT STATUS
.sp
Exit status is 1 if errors are found, 0 otherwise.
.SS FILES
.SH FILES
.\" Common text for the config file
.
.SS CONFIG FILE
......@@ -67,10 +66,10 @@ Exit status is 1 if errors are found, 0 otherwise.
.sp
A global config file is provided to set some of the common options for all
tools. See supplied config file for details.
.SS SEE ALSO
.SH SEE ALSO
.sp
\fBibnetdiscover(8)\fP
.SS AUTHOR
.SH AUTHOR
.INDENT 0.0
.TP
.B Hal Rosenstock
......
......@@ -2,7 +2,7 @@
.
.TH IBIDSVERIFY 8 "@BUILD_DATE@" "" "Open IB Diagnostics"
.SH NAME
IBIDSVERIFY \-
ibidsverify \- validate IB identifiers in subnet and report errors
.
.nr rst2man-indent-level 0
.
......@@ -30,11 +30,10 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.SH VALIDATE IB IDENTIFIERS IN SUBNET AND REPORT ERRORS
.SS SYNOPSIS
.SH SYNOPSIS
.sp
ibidsverify.pl [\-h] [\-R]
.SS DESCRIPTION
.SH DESCRIPTION
.sp
ibidsverify.pl is a perl script which uses a full topology file that was
created by ibnetdiscover, scans the network to validate the LIDs and GUIDs
......@@ -44,7 +43,7 @@ or duplicate identifiers.
Finally, ibidsverify.pl will also reuse the cached ibnetdiscover output from
some of the other diag tools which makes it a bit faster than running
ibnetdiscover from scratch.
.SS OPTIONS
.SH OPTIONS
.sp
\fB\-R\fP
Recalculate the ibnetdiscover information, ie do not use the cached
......@@ -55,10 +54,10 @@ fabric has changed.
\fB\-C <ca_name>\fP use the specified ca_name.
.sp
\fB\-P <ca_port>\fP use the specified ca_port.
.SS EXIT STATUS
.SH EXIT STATUS
.sp
Exit status is 1 if errors are found, 0 otherwise.
.SS FILES
.SH FILES
.\" Common text for the config file
.
.SS CONFIG FILE
......@@ -67,10 +66,10 @@ Exit status is 1 if errors are found, 0 otherwise.
.sp
A global config file is provided to set some of the common options for all
tools. See supplied config file for details.
.SS SEE ALSO
.SH SEE ALSO
.sp
\fBibnetdiscover(8)\fP
.SS AUTHOR
.SH AUTHOR
.INDENT 0.0
.TP
.B Hal Rosenstock
......
......@@ -115,18 +115,15 @@ network or another cache. A special diff output for ibnetdiscover
output will be displayed showing differences between the old and current
fabric. By default, the following are compared for differences: switches,
channel adapters, routers, and port connections.
.\" Define the common option diffcheck
.
.sp
\fB\-\-diffcheck <key(s)>\fP
Specify what diff checks should be done in the \fB\-\-diff\fP option above.
Comma separate multiple diff check key(s). The available diff checks
are: \fBsw = switches\fP, \fBca = channel adapters\fP, \fBrouter\fP = routers,
\fBport\fP = port connections, \fBlid\fP = lids, \fBnodedesc\fP = node
descriptions. Note that \fBport\fP, \fBlid\fP, and \fBnodedesc\fP are
checked only for the node types that are specified (e.g. \fBsw\fP,
\fBca\fP, \fBrouter\fP). If \fBport\fP is specified alongside \fBlid\fP
or \fBnodedesc\fP, remote port lids and node descriptions will also be compared.
Specify what diff checks should be done in the \fB\-\-diff\fP option above. Comma
separate multiple diff check key(s). The available diff checks are: \fBport\fP =
port connections, \fBstate\fP = port state, \fBlid\fP = lids, \fBnodedesc\fP = node
descriptions. Note that \fBport\fP, \fBlid\fP, and \fBnodedesc\fP are checked only
for the node types that are specified (e.g. \fBswitches\-only\fP, \fBcas\-only\fP).
If \fBport\fP is specified alongside \fBlid\fP or \fBnodedesc\fP, remote port lids
and node descriptions will also be compared.
.sp
\fB\-\-filterdownports <filename>\fP
Filter downports indicated in a ibnetdiscover cache. If a port was previously
......
......@@ -115,18 +115,15 @@ network or another cache. A special diff output for ibnetdiscover
output will be displayed showing differences between the old and current
fabric. By default, the following are compared for differences: switches,
channel adapters, routers, and port connections.
.\" Define the common option diffcheck
.
.sp
\fB\-\-diffcheck <key(s)>\fP
Specify what diff checks should be done in the \fB\-\-diff\fP option above.
Comma separate multiple diff check key(s). The available diff checks
are: \fBsw = switches\fP, \fBca = channel adapters\fP, \fBrouter\fP = routers,
\fBport\fP = port connections, \fBlid\fP = lids, \fBnodedesc\fP = node
descriptions. Note that \fBport\fP, \fBlid\fP, and \fBnodedesc\fP are
checked only for the node types that are specified (e.g. \fBsw\fP,
\fBca\fP, \fBrouter\fP). If \fBport\fP is specified alongside \fBlid\fP
or \fBnodedesc\fP, remote port lids and node descriptions will also be compared.
Specify what diff checks should be done in the \fB\-\-diff\fP option above. Comma
separate multiple diff check key(s). The available diff checks are: \fBport\fP =
port connections, \fBstate\fP = port state, \fBlid\fP = lids, \fBnodedesc\fP = node
descriptions. Note that \fBport\fP, \fBlid\fP, and \fBnodedesc\fP are checked only
for the node types that are specified (e.g. \fBswitches\-only\fP, \fBcas\-only\fP).
If \fBport\fP is specified alongside \fBlid\fP or \fBnodedesc\fP, remote port lids
and node descriptions will also be compared.
.sp
\fB\-\-filterdownports <filename>\fP
Filter downports indicated in a ibnetdiscover cache. If a port was previously
......
......@@ -2,7 +2,7 @@
.
.TH IBROUTE 8 "" "" "Open IB Diagnostics"
.SH NAME
IBROUTE \-
ibroute \- query InfiniBand switch forwarding tables
.
.nr rst2man-indent-level 0
.
......@@ -30,17 +30,16 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.SH QUERY INFINIBAND SWITCH FORWARDING TABLES
.SS SYNOPSIS
.SH SYNOPSIS
.sp
ibroute [options] [<dest dr_path|lid|guid> [<startlid> [<endlid>]]]
.SS DESCRIPTION
.SH DESCRIPTION
.sp
ibroute uses SMPs to display the forwarding tables (unicast
(LinearForwardingTable or LFT) or multicast (MulticastForwardingTable or MFT))
for the specified switch LID and the optional lid (mlid) range.
The default range is all valid entries in the range 1...FDBTop.
.SS OPTIONS
.SH OPTIONS
.INDENT 0.0
.TP
.B \fB\-a, \-\-all\fP
......@@ -193,7 +192,7 @@ This file maps GUIDs to more user friendly names. See FILES section.
Default: /usr/local/etc/infiniband-diags/ibdiag.conf
.UNINDENT
.UNINDENT
.SS FILES
.SH FILES
.\" Common text for the config file
.
.SS CONFIG FILE
......@@ -255,7 +254,7 @@ for the file location for your installation.
.fi
.UNINDENT
.UNINDENT
.SS EXAMPLES
.SH EXAMPLES
.sp
Unicast examples
.INDENT 0.0
......@@ -278,10 +277,10 @@ ibroute \-M 4 # dump all non empty mlids of switch with lid 4
ibroute \-M 4 0xc010 0xc020 # same, but with range
ibroute \-M \-n 4 # simple dump format
.UNINDENT
.SS SEE ALSO
.SH SEE ALSO
.sp
ibtracert (8)
.SS AUTHOR
.SH AUTHOR
.INDENT 0.0
.TP
.B Hal Rosenstock
......
......@@ -2,7 +2,7 @@
.
.TH IBROUTE 8 "@BUILD_DATE@" "" "Open IB Diagnostics"
.SH NAME
IBROUTE \-
ibroute \- query InfiniBand switch forwarding tables
.
.nr rst2man-indent-level 0
.
......@@ -30,17 +30,16 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.SH QUERY INFINIBAND SWITCH FORWARDING TABLES
.SS SYNOPSIS
.SH SYNOPSIS
.sp
ibroute [options] [<dest dr_path|lid|guid> [<startlid> [<endlid>]]]
.SS DESCRIPTION
.SH DESCRIPTION
.sp
ibroute uses SMPs to display the forwarding tables (unicast
(LinearForwardingTable or LFT) or multicast (MulticastForwardingTable or MFT))
for the specified switch LID and the optional lid (mlid) range.
The default range is all valid entries in the range 1...FDBTop.
.SS OPTIONS
.SH OPTIONS
.INDENT 0.0
.TP
.B \fB\-a, \-\-all\fP
......@@ -193,7 +192,7 @@ This file maps GUIDs to more user friendly names. See FILES section.
Default: @IBDIAG_CONFIG_PATH@/ibdiag.conf
.UNINDENT
.UNINDENT
.SS FILES
.SH FILES
.\" Common text for the config file
.
.SS CONFIG FILE
......@@ -255,7 +254,7 @@ for the file location for your installation.
.fi
.UNINDENT
.UNINDENT
.SS EXAMPLES
.SH EXAMPLES
.sp
Unicast examples
.INDENT 0.0
......@@ -278,10 +277,10 @@ ibroute \-M 4 # dump all non empty mlids of switch with lid 4
ibroute \-M 4 0xc010 0xc020 # same, but with range
ibroute \-M \-n 4 # simple dump format
.UNINDENT
.SS SEE ALSO
.SH SEE ALSO
.sp
ibtracert (8)
.SS AUTHOR
.SH AUTHOR
.INDENT 0.0
.TP
.B Hal Rosenstock
......
......@@ -2,7 +2,7 @@
.
.TH IBSTAT 8 "" "" "Open IB Diagnostics"
.SH NAME
IBSTAT \-
ibstat \- query basic status of InfiniBand device(s)
.
.nr rst2man-indent-level 0
.
......@@ -30,11 +30,10 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.SH QUERY BASIC STATUS OF INFINIBAND DEVICE(S)
.SS SYNOPSIS
.SH SYNOPSIS
.sp
ibstat [options] <ca_name> [portnum]
.SS DESCRIPTION
.SH DESCRIPTION
.sp
ibstat is a binary which displays basic information obtained from the local
IB driver. Output includes LID, SMLID, port state, link width active, and port
......@@ -43,7 +42,7 @@ physical state.
It is similar to the ibstatus utility but implemented as a binary rather