infiniband-diags: add a general config file
Subsystems (2)
PATCH 1/1 infiniband-diags: add a general config file
This supports the common options for CA, Port, and timeout.
Signed-off-by Ira Weiny <[email protected]>
--- Makefile.am | 1 + configure.in | 1 + etc/ibdiag.conf | 13 +++ man/infiniband-diags.8 | 198 ------------------------------------------- man/infiniband-diags.8.in | 205 +++++++++++++++++++++++++++++++++++++++++++++ src/ibdiag_common.c | 55 +++++++++++- 6 files changed, 271 insertions(+), 202 deletions(-) create mode 100644 etc/ibdiag.conf delete mode 100644 man/infiniband-diags.8 create mode 100644 man/infiniband-diags.8.in
Makefile.am +1 -0
@@ -110,3 +110,4 @@ install-data-hook: fi $(top_srcdir)/config/install-sh -c -m 444 $(top_srcdir)/scripts/IBswcountlimits.pm $(DESTDIR)/$(PERL_INSTALLDIR)/IBswcountlimits.pm $(top_srcdir)/config/install-sh -c -m 444 $(top_srcdir)/etc/error_thresholds $(DESTDIR)/$(sysconfdir)/infiniband-diags + $(top_srcdir)/config/install-sh -c -m 444 $(top_srcdir)/etc/ibdiag.conf $(DESTDIR)/$(sysconfdir)/infiniband-diags
configure.in +1 -0
@@ -179,6 +179,7 @@ AC_CONFIG_FILES([\ scripts/iblinkinfo.pl \ scripts/ibqueryerrors.pl \ man/ibqueryerrors.8 \ + man/infiniband-diags.8 \ libibnetdisc/Makefile \ ]) AC_OUTPUT
etc/ibdiag.conf new file +13 -0
@@ -0,0 +1,13 @@ +# Define different defaults for all infiniband-diag tools. These can be +# defined on the command line but this offers a more global config. + +# Defaults are to find the first port with Physical state == "LinkUp" +#CA=mlx4_0 + +# NOTE: that using a different Port may require an altered DR path. +# for example -D 0,1 will not work with port 2 +#Port=1 + +# define a different default timeout +#timeout=50 +
man/infiniband-diags.8 deleted +0 -198
198 lines not on this page · raw message
man/infiniband-diags.8.in new file +205 -0
205 lines not on this page · raw message
src/ibdiag_common.c +51 -4
83 lines not on this page · raw message
Signature · 6 lines
1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html