Re: [PATCH] opensm: add force_link_speed_file config option.

2009-10-15 Thread Ira Weiny
On Thu, 15 Oct 2009 23:26:01 +0200 Sasha Khapyorsky wrote: > Hi Ira, > > On 13:26 Thu 15 Oct , Ira Weiny wrote: > > > > From: Ira Weiny > > Date: Wed, 14 Oct 2009 16:09:25 -0700 > > Subject: [PATCH] opensm: add force_link_speed_file config option. >

[PATCH] infiniband-diags/ibqueryerrors: Use remap'ed node name in clear port error message

2009-10-27 Thread Ira Weiny
From: Ira Weiny Date: Tue, 27 Oct 2009 10:22:36 -0700 Subject: [PATCH] infiniband-diags/ibqueryerrors: Use remap'ed node name in clear port error message Signed-off-by: Ira Weiny --- infiniband-diags/src/ibqueryerrors.c | 17 ++--- 1 files changed, 10 insertions(

[PATCH] infiniband-diags: test for libosmcomp with a function that is used in the code

2011-06-16 Thread Ira Weiny
From: Ira Weiny Date: Sun, 29 May 2011 18:01:31 -0700 Subject: [PATCH] infiniband-diags: test for libosmcomp with a function that is used in the code Signed-off-by: Ira Weiny --- configure.in |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b

[PATCH] infiniband-diags: add package requires to spec file.

2011-06-16 Thread Ira Weiny
From: Ira Weiny Date: Wed, 1 Jun 2011 21:49:57 -0700 Subject: [PATCH] infiniband-diags: add package requires to spec file. Signed-off-by: Ira Weiny --- infiniband-diags.spec.in |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/infiniband-diags.spec.in b/infiniband

[PATCH] infiniband-diags: saquery; reuse dump_one_mcmember_record function

2011-06-16 Thread Ira Weiny
From: Ira Weiny Date: Thu, 2 Jun 2011 00:17:21 -0700 Subject: [PATCH] infiniband-diags: saquery; reuse dump_one_mcmember_record function Signed-off-by: Ira Weiny --- src/saquery.c | 16 ++-- 1 files changed, 2 insertions(+), 14 deletions(-) diff --git a/src/saquery.c b/src

Re: [PATCH][TRIVIAL] infiniband-diags/ibqueryerrors.c: Fix typo in help

2011-06-16 Thread Ira Weiny
esold file, default: " > DEF_THRES_FILE}, > + "specify an alternate threshold file, default: " > DEF_THRES_FILE}, > {"GNDN", 'R', 0, NULL, >"(This option is obsolete and does nothing)"}, >

Re: [PATCH] infiniband-diags: saquery; reuse dump_one_mcmember_record function

2011-06-16 Thread Ira Weiny
On Thu, 16 Jun 2011 13:53:52 -0700 Hal Rosenstock wrote: > On 6/16/2011 2:10 PM, Ira Weiny wrote: > > - printf("MCMemberRecord member dump:\n" > > - "\t\tMGID%s\n" > > -

Re: [PATCH] infiniband-diags: saquery; reuse dump_one_mcmember_record function

2011-06-16 Thread Ira Weiny
On Thu, 16 Jun 2011 14:59:46 -0700 Jason Gunthorpe wrote: > On Thu, Jun 16, 2011 at 02:46:36PM -0700, Ira Weiny wrote: > > > "need"; I guess not. But I thought it was odd that the information was > > different for the 2 query methods. There is nothing in the docum

Re: [PATCH] infiniband-diags/ibnetdiscover.c: Fix typo in help

2011-06-24 Thread Ira Weiny
{"full", 'f', 0, NULL, "show full information (ports' speed and > width)"}, > {"show", 's', 0, NULL, "show more information"}, > {"list", 'l', 0, NULL, "list of con

Re: [opensm] [PATCH] do not use the dimn_ports_file if not using dor routing

2011-06-28 Thread Ira Weiny
t;\n", > > > port, guid); > > > - free(dimn_ports); > > > + free(search_ordering_ports); > > > free(ports); > > > return 0; >

[PATCH 1/4] infiniband-diags: saquery; remove "result" global

2011-07-05 Thread Ira Weiny
make struct sa_query_result a paramenter of sa_query. Signed-off-by: Ira Weiny --- src/saquery.c | 124 +++- 1 files changed, 69 insertions(+), 55 deletions(-) diff --git a/src/saquery.c b/src/saquery.c index 7933fec..73acea5 100644 --- a

[PATCH 2/4] infiniband-diags: move core saquery functionality to ibdiag_common

2011-07-05 Thread Ira Weiny
While this is sub-optimal it is the easiest way to get saquery support to the other diags. Signed-off-by: Ira Weiny --- include/ibdiag_common.h | 45 +++ src/ibdiag_common.c | 172 src/saquery.c | 198

[PATCH 3/4] infiniband-diags: properly resolve node guids

2011-07-05 Thread Ira Weiny
Signed-off-by: Ira Weiny --- include/ibdiag_common.h |3 ++ src/ibdiag_common.c | 55 +++ src/iblinkinfo.c|5 +-- src/ibqueryerrors.c |8 ++ 4 files changed, 63 insertions(+), 8 deletions(-) diff --git a/include

[PATCH 4/4] infiniband-diags: libibnetdisc/iblinkinfo Allow for a partial fabric query centered around a CA

2011-07-05 Thread Ira Weiny
The old algorithm would attempt to extend the DR path through the CA and fail. The new algoritm retracts the path to get to the node connected to the CA. Signed-off-by: Ira Weiny --- libibnetdisc/libibnetdisc.ver |2 +- libibnetdisc/src/ibnetdisc.c | 83

install.pl "chown" issue (Was: Re: rhel6 ofed v1.5.3)

2011-07-05 Thread Ira Weiny
bumad-1.3.7-1.src.rpm libibmad-1.3.7-1.src.rpm opensm-3.3.9-1.src.rpm infiniband-diags-1.5.8-1.src.rpm Ira > -- > To unsubscribe from this list: send the line "unsubscribe linux-rdma" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vg

Re: [PATCH V1 7/9] ib/pma: add include file for IBA performance counters definitions

2011-07-06 Thread Ira Weiny
ain information from QLogic > Corporation or its wholly-owned subsidiaries that may be confidential. If you > are not the intended recipient, you may not read, copy, distribute, or use > this information. If you have received this transmission in error, please > notify the sender imme

[PATCH] libibumad: Remove OpenSM reference from COPYING file

2011-07-06 Thread Ira Weiny
Signed-off-by: Ira Weiny --- COPYING | 13 +++-- 1 files changed, 3 insertions(+), 10 deletions(-) diff --git a/COPYING b/COPYING index 1b1ca1d..c7f06f6 100644 --- a/COPYING +++ b/COPYING @@ -1,13 +1,6 @@ -This software with the exception of OpenSM is available to you -under a

[PATCH] opensm: enable perfmgr build by default

2011-07-06 Thread Ira Weiny
This should at least be compiled in by default. Signed-off-by: Ira Weiny --- config/osmvsel.m4 |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/osmvsel.m4 b/config/osmvsel.m4 index c24930b..2c91f63 100644 --- a/config/osmvsel.m4 +++ b/config/osmvsel.m4

[PATCH] opensm: make loopback console compile on by default.

2011-07-06 Thread Ira Weiny
The console is very useful for debugging and should be available in opensm.conf as an option. Generic socket is still an option which is off for security reasons. Signed-off-by: Ira Weiny --- config/osmvsel.m4 | 28 include/opensm/osm_console_io.h

Re: [PATCH] opensm: enable perfmgr build by default

2011-07-08 Thread Ira Weiny
On Fri, 8 Jul 2011 03:49:27 -0700 Alex Netes wrote: > Hi Ira, > > On 15:11 Wed 06 Jul , Ira Weiny wrote: > > This should at least be compiled in by default. > > > > > > Signed-off-by: Ira Weiny > > --- > > Sounds like a good idea. > If

Re: [PATCH] opensm: enable perfmgr build by default

2011-07-08 Thread Ira Weiny
On Fri, 8 Jul 2011 09:23:50 -0700 Hal Rosenstock wrote: > Ira, > > On 7/8/2011 12:06 PM, Ira Weiny wrote: > > However, when we first put the PerfMgr in OpenSM there was some concern for > > developers who may be using OpenSM in an embedded environment. > > Do you r

Re: [PATCH 3/3] libibmad: Add PortExtendedSpeedsCounters support

2011-07-08 Thread Ira Weiny
FECUncorrectableBlockCtrLane5", mad_dump_uint}, > + {832, 32, "FECUncorrectableBlockCtrLane6", mad_dump_uint}, > + {864, 32, "FECUncorrectableBlockCtrLane7", mad_dump_uint}, > + {896, 32, "FECUncorrectableBlockCtrLane8", mad_dump_uint}, > + {928, 32, "FECU

Re: [PATCH 3/3] libibmad: Add PortExtendedSpeedsCounters support

2011-07-08 Thread Ira Weiny
ctableBlockCtrLane4", mad_dump_uint}, > + {800, 32, "FECUncorrectableBlockCtrLane5", mad_dump_uint}, > + {832, 32, "FECUncorrectableBlockCtrLane6", mad_dump_uint}, > + {864, 32, "FECUncorrectableBlockCtrLane7", mad_dump_uint}, > + {896, 32, "

Re: [PATCH 1/3] libibmad: Add initial extended speed support

2011-07-08 Thread Ira Weiny
quot;LinkSpeedExtSupported", mad_dump_linkspeedextsup}, > + {BITSOFFS(507, 5), "LinkSpeedExtEnabled", mad_dump_linkspeedexten}, > + {0, 0}, /* IB_PORT_LINK_SPEED_EXT_LAST_F */ > + > {0, 0} /* IB_FIELD_LAST_ */ > > }; > diff

Re: [PATCH 3/3] libibmad: Add PortExtendedSpeedsCounters support

2011-07-08 Thread Ira Weiny
Ooops... I mean to say 1/3 was applied... See other email for comments. Sorry, Ira On Fri, 8 Jul 2011 13:34:32 -0700 Ira Weiny wrote: > On Thu, 7 Jul 2011 09:50:21 -0700 > Hal Rosenstock wrote: > > > > > Signed-off-by: Hal Rosenstock > > Thanks applied, &g

Re: [PATCH 2/3] infiniband-diags: Initial changes for extended speed support in libibmad

2011-07-08 Thread Ira Weiny
har **argv, > int argc) > > static char *port_info(ib_portid_t * dest, char **argv, int argc) > { > - char buf[2048]; > + char buf[2300]; > char data[IB_SMP_DATA_SIZE] = { 0 }; > int portnum = 0; > -- Ira Weiny Math Programmer/Computer Scientist La

Re: [PATCH 3/3] libibmad: Add PortExtendedSpeedsCounters support

2011-07-08 Thread Ira Weiny
On Fri, 8 Jul 2011 14:23:48 -0700 Hal Rosenstock wrote: > Hi Ira, > > On 7/8/2011 4:35 PM, Ira Weiny wrote: > > Hey Hal, > > > > On Thu, 7 Jul 2011 09:50:21 -0700 > > Hal Rosenstock wrote: > > > >> > >> Signed-off-by: Hal R

Re: [PATCH 3/4] infiniband-diags: properly resolve node guids

2011-07-08 Thread Ira Weiny
; Yes, that was getting at (and that there was no check for no records > returned with the get table code). Ok, that is a bug. We should check for no records. As for multiple records, I left that for a future patch which would query all of those ports. Ira > > -- Hal > > &

Re: [PATCH 3/4] infiniband-diags: properly resolve node guids

2011-07-11 Thread Ira Weiny
On Fri, 8 Jul 2011 15:55:10 -0700 Jason Gunthorpe wrote: > On Fri, Jul 08, 2011 at 03:29:53PM -0700, Ira Weiny wrote: > > On Fri, 8 Jul 2011 14:59:01 -0700 > > Hal Rosenstock wrote: > > > > > On 7/8/2011 5:50 PM, Jason Gunthorpe wrote: > > > > On

Re: install.pl "chown" issue (Was: Re: rhel6 ofed v1.5.3)

2011-07-12 Thread Ira Weiny
On Mon, 11 Jul 2011 07:42:38 -0700 Michael Di Domenico wrote: > On Mon, Jul 11, 2011 at 9:43 AM, Michael Di Domenico > wrote: > > On Mon, Jul 11, 2011 at 9:28 AM, Michael Di Domenico > > wrote: > >> On Tue, Jul 5, 2011 at 6:36 PM, Ira Weiny wrote: > >>

[PATCH] infiniband-diags: configure.in; check for more recent function in libibmad

2011-07-12 Thread Ira Weiny
Signed-off-by: Ira Weiny --- configure.in |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index f41f049..dfb6ba2 100644 --- a/configure.in +++ b/configure.in @@ -35,8 +35,9 @@ then dnl Checks for libraries AC_CHECK_LIB(ibumad, umad_init

[PATCH] infiniband-diags: Add sysconfdir to spec for config files

2011-07-12 Thread Ira Weiny
commit cbe10407a14e57c8febe6e039ae617737f0b6e0f added a configuration file directory in sysconfdir. I missed this in the spec file. Signed-off-by: Ira Weiny --- infiniband-diags.spec.in |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/infiniband-diags.spec.in b

[PATCH] infiniband-diags: change perl install to vendorlib

2011-07-12 Thread Ira Weiny
Signed-off-by: Ira Weiny --- configure.in |2 +- infiniband-diags.spec.in |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.in b/configure.in index dfb6ba2..183223d 100644 --- a/configure.in +++ b/configure.in @@ -132,7 +132,7 @@ AC_SUBST

Re: [PATCH] opensm: Add support for PID file

2011-07-12 Thread Ira Weiny
I agree this is an issue. However, usually the PID is generated from the startup script so that only the PID which is started by it is stopped. Specifically, think of the use case of starting multiple SM's on different ports. For example a local user may do this to manage 2 subnets from one node

Re: [PATCH 3/4] infiniband-diags: properly resolve node guids

2011-07-12 Thread Ira Weiny
On Mon, 11 Jul 2011 14:18:43 -0700 Jason Gunthorpe wrote: > On Mon, Jul 11, 2011 at 02:06:02PM -0700, Ira Weiny wrote: > > > > But very few diags seem to be designed around the idea that they will > > > operate on a bundle of end ports (eg a node), they tend to be one

Re: [PATCH] opensm: Add support for PID file

2011-07-12 Thread Ira Weiny
On Tue, 12 Jul 2011 16:52:22 -0700 Jason Gunthorpe wrote: > On Tue, Jul 12, 2011 at 04:27:40PM -0700, Ira Weiny wrote: > > > -@sbindir@/opensm --daemon $OPTIONS > /dev/null > > +daemon --pidfile=$PIDFILE @sbindir@/opensm --daemon $OPTIONS > > > /dev/

Re: [PATCH] opensm: enable perfmgr build by default

2011-07-12 Thread Ira Weiny
On Sun, 10 Jul 2011 01:54:18 -0700 Alex Netes wrote: > Hi Ira, > > On 10:13 Fri 08 Jul , Ira Weiny wrote: > > On Fri, 8 Jul 2011 09:23:50 -0700 > > Hal Rosenstock wrote: > > > > > Ira, > > > > > > On 7/8/2011 12:06 PM, Ira Weiny wr

[PATCH] opensm: perfmgr only run sweep timer when enabled.

2011-07-12 Thread Ira Weiny
Signed-off-by: Ira Weiny --- include/opensm/osm_perfmgr.h |7 +-- opensm/osm_perfmgr.c |6 +++--- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/include/opensm/osm_perfmgr.h b/include/opensm/osm_perfmgr.h index 34925e8..67c0ce4 100644 --- a/include/opensm

Re: [PATCHv2] libibmad: Add PortExtendedSpeedsCounters support

2011-07-13 Thread Ira Weiny
}, > + {832, 32, "FECUncorrectableBlockCtrLane6", mad_dump_uint}, > + {864, 32, "FECUncorrectableBlockCtrLane7", mad_dump_uint}, > + {896, 32, "FECUncorrectableBlockCtrLane8", mad_dump_uint}, > + {928, 32, "FECUncorrectableBlockCtrLane9", mad_dump_uint}, > + {960

Re: [PATCH] opensm: make loopback console compile on by default.

2011-07-13 Thread Ira Weiny
On Mon, 11 Jul 2011 10:54:42 -0700 Alex Netes wrote: > Hi Ira, > > On 10:23 Mon 11 Jul , Weiny, Ira K. wrote: > > > > On Jul 10, 2011, at 2:14 AM, Alex Netes wrote: > > > > > Hi Ira, > > > > > > On 15:54 Wed 06 Jul , Ira Wein

Re: [PATCH] opensm: Add support for PID file

2011-07-14 Thread Ira Weiny
fromscratch.org/pipermail/lfs-support/2003-June/017720.html http://openbsd.monkey.org/ports/21/msg00065.html http://www.spinics.net/lists/ac/msg04439.html http://fedoraforum.org/forum/showthread.php?t=262824 https://bugzilla.redhat.com/show_bug.cgi?id=702769 :-( Ira > > Jason --

Re: [PATCH 2/4] infiniband-diags: move core saquery functionality to ibdiag_common

2011-07-14 Thread Ira Weiny
I incorporated this into the new patch. Thanks, Ira On Fri, 8 Jul 2011 14:41:10 -0700 Hal Rosenstock wrote: > On 7/5/2011 3:08 PM, Ira Weiny wrote: > > > > While this is sub-optimal it is the easiest way to get saquery support to > > the > > other diags

[PATCH 1/3] infiniband-diags: libibnetdisc add port interface

2011-07-20 Thread Ira Weiny
Add ability to find port's based on PortGUID and DRPath Signed-off-by: Ira Weiny --- libibnetdisc/include/infiniband/ibnetdisc.h | 11 +++ libibnetdisc/libibnetdisc.ver |2 +- libibnetdisc/src/ibnetdisc.c| 112 --- libibnetdis

[PATCH 2/3] infiniband-diags: libibnetdisc Allow a DR Path partial fabric query starting at a CA

2011-07-20 Thread Ira Weiny
The old algorithm would attempt to extend a DR path through the CA and fail. The new algorithm retracts the path properly. This does not work when combined routing is used with the CA as a starting point. :-( Signed-off-by: Ira Weiny --- libibnetdisc/src/ibnetdisc.c | 83

[PATCH 3/3] infiniband-diags: convert ib[linkinfo|queryerrors] to use PortGUIDs

2011-07-20 Thread Ira Weiny
eports PortGUID for each port printed. Signed-off-by: Ira Weiny --- man/iblinkinfo.8 | 22 man/ibqueryerrors.8.in | 11 ++-- src/iblinkinfo.c | 146 +++- src/ibqueryerrors.c| 58 ++- 4 files changed,

Re: [PATCH 2/3] infiniband-diags: libibnetdisc Allow a DR Path partial fabric query starting at a CA

2011-07-20 Thread Ira Weiny
On Wed, 20 Jul 2011 16:34:51 -0700 Jason Gunthorpe wrote: > On Wed, Jul 20, 2011 at 04:16:55PM -0700, Ira Weiny wrote: > > > > The old algorithm would attempt to extend a DR path through the CA and fail. > > The new algorithm retracts the path properly. > > > >

[PATCH] infiniband-diags: ibqueryerrors fix null threshold_str

2011-07-20 Thread Ira Weiny
When printing "(null)" was being printed if there was no threshold file Signed-off-by: Ira Weiny --- src/ibqueryerrors.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/ibqueryerrors.c b/src/ibqueryerrors.c index 1bba0e0..869316b 100644 --- a/src/ibque

Re: [PATCH] Support optional performance counters, including congestion control performance counters.

2011-07-21 Thread Ira Weiny
ields require them too? There are many places > > > amongst the performance counters that BITSOFFS isn't used w/ 16 bit > > > fields. > > > > Yes; it looks like any field less than 32 bits should use BITSOFFS so I > > think that there are some existing things

Re: [PATCH 2/3] infiniband-diags: libibnetdisc Allow a DR Path partial fabric query starting at a CA

2011-07-22 Thread Ira Weiny
t to send the packet to LID 2 (DrSLID == 2 from the original query) and the SMP will end up at the switch on the right in "other subnet", _not_ at xCA1 So although I don't see a specific compliance (and I agree it would be nice) I think it is safe to say that it should be restricte

Re: [PATCH 2/3] infiniband-diags: libibnetdisc Allow a DR Path partial fabric query starting at a CA

2011-07-22 Thread Ira Weiny
On Fri, 22 Jul 2011 15:13:49 -0700 Jason Gunthorpe wrote: > On Fri, Jul 22, 2011 at 03:00:49PM -0700, Ira Weiny wrote: > > > I agree it would be nice if one could issue a combined path and "scan > > through" > > any xCA on the fabric. However, I don

Re: [PATCHv2 2/2] infiniband-diags/smpquery: Add Mellanox extended portinfo query

2011-07-22 Thread Ira Weiny
XT_PORT_INFO, portnum, 0, > srcport)) > + return "ext port info query failed"; > + > + mad_dump_mlnx_ext_port_info(buf, sizeof buf, data, sizeof data); > + > + printf("# Ext Port info: %s port %d\n%s", portid2str(dest), portnum, > buf); > + return 0; > +} > + > static char *switch_info(ib_portid_t * dest, char **argv, int argc) > { > char buf[2048]; -- Ira Weiny Math Programmer/Computer Scientist Lawrence Livermore National Lab 925-423-8008 wei...@llnl.gov -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCHv2 1/2] libibmad: Support for Mellanox vendor specific ExtendedPortInfo SM class MAD

2011-07-22 Thread Ira Weiny
3 { > mad_dump_linkwidth; > mad_dump_linkwidthen; > mad_dump_linkwidthsup; > + mad_dump_mlnx_ext_port_info; > mad_dump_mtu; > mad_dump_node_type; > mad_dump_nodedesc; > -- > To unsubscr

Re: [PATCHv2 1/2] libibmad: Support for Mellanox vendor specific ExtendedPortInfo SM class MAD

2011-07-22 Thread Ira Weiny
On Fri, 22 Jul 2011 16:55:17 -0700 Hal Rosenstock wrote: > On 7/22/2011 6:37 PM, Ira Weiny wrote: > > I don't know if it would be more appropriate in ib_types.h or here but what > > are the values for the speeds indicated. > > Typically there has been duplic

Re: [PATCHv2 2/2] infiniband-diags/smpquery: Add Mellanox extended portinfo query

2011-07-22 Thread Ira Weiny
On Fri, 22 Jul 2011 16:56:56 -0700 Hal Rosenstock wrote: > On 7/22/2011 6:31 PM, Ira Weiny wrote: > > On Fri, 22 Jul 2011 07:05:51 -0700 > > Hal Rosenstock wrote: > > > >> > >> Signed-off-by: Hal Rosenstock > >> --- > >> Changes since

What is the current version of mstflint?

2011-08-02 Thread Ira Weiny
version is "MFT 2.7.0 build 20 (final)"? Thanks, Ira -- Ira Weiny Math Programmer/Computer Scientist Lawrence Livermore National Lab 925-423-8008 wei...@llnl.gov -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majord...@vge

Re: [libibmad] field name cleanup

2011-08-03 Thread Ira Weiny
the release. I think that is true of all the fields in the patch but I will check again. Ira > > -- Hal > > > Al > > > -- Ira Weiny Math Programmer/Computer Scientist Lawrence Livermore National Lab 925-423-8008 wei...@llnl.gov -- To unsubscribe from this list: s

Re: [PATCH] libibmad: Support for Mellanox vendor specific ExtendedPortInfo SM class MAD

2011-08-03 Thread Ira Weiny
mad_dump_hex}, > + {BITSOFFS(120, 8), "LinkSpeedActive", mad_dump_hex}, > + {0, 0}, /* IB_MLNX_EXT_PORT_LAST_F */ > + > {0, 0} /* IB_FIELD_LAST_ */ > > }; > diff --git a/src/libibmad.map b/src/libibmad.map > inde

Re: [libibmad] field name cleanup

2011-08-03 Thread Ira Weiny
On Wed, 3 Aug 2011 08:44:22 -0700 Hal Rosenstock wrote: > On 8/3/2011 11:39 AM, Ira Weiny wrote: > > On Wed, 3 Aug 2011 00:32:56 -0700 > > Hal Rosenstock wrote: > > > >> Hi Al, > >> > >> On 8/2/2011 8:10 PM, Albert Chu wrote: > >>>

Re: [PATCH] infiniband-diags/libibnetdisc/ibnetdisc.c: Remove compile warning

2011-08-03 Thread Ira Weiny
r) > { > int i = 0; > ibnd_node_t *cur_node; > - ibnd_port_t *rc; > + ibnd_port_t *rc = NULL; > ib_dr_path_t path; > > if (!fabric) { -- Ira Weiny Math Programmer/Computer Scientist Lawrence Livermore National Lab 925-423-8008 wei...@llnl.gov -- To u

Re: [PATCHv3 1/2] libibmad: Support for Mellanox vendor specific ExtendedPortInfo SM class MAD

2011-08-03 Thread Ira Weiny
dump_hex}, > + {BITSOFFS(120, 8), "LinkSpeedActive", mad_dump_hex}, > + {0, 0}, /* IB_MLNX_EXT_PORT_LAST_F */ > + > {0, 0} /* IB_FIELD_LAST_ */ > > }; > diff --git a/src/libibmad.map b/src/libibmad.map > index f0b42a5.

Re: [PATCH v3/2] infiniband-diags/smpquery: Add Mellanox extended portinfo query

2011-08-03 Thread Ira Weiny
ATA_SIZE]; > + int portnum = 0; > + > + if (argc > 0) > + portnum = strtol(argv[0], 0, 0); > + > + if (!smp_query_via(data, dest, IB_ATTR_MLNX_EXT_PORT_INFO, portnum, 0, > srcport)) > + return "Mellanox ext port info query failed"

Re: [PATCH] opensm: make loopback console compile on by default.

2011-08-03 Thread Ira Weiny
port); > > +#ifdef ENABLE_OSM_CONSOLE_SOCKET > > if (strcmp(opt->console, OSM_REMOTE_CONSOLE) == 0) > > sin.sin_addr.s_addr = htonl(INADDR_ANY); > > else > > +#endif > > sin.sin_addr.s_addr = htonl(

[PATCH v3] opensm: make loopback console compile on by default.

2011-08-03 Thread Ira Weiny
found fix compile when loopback not enabled clean up man page entry Signed-off-by: Ira Weiny --- config/osmvsel.m4 | 31 +++ include/opensm/osm_console_io.h |6 +- man/opensm.8.in | 11 +++ opensm/main.c

Re: ib-diags and ib_get_err_str

2011-08-05 Thread Ira Weiny
smcomp.so Although this is not explicit in the Makefile.am. :-/ Ira > -- > To unsubscribe from this list: send the line "unsubscribe linux-rdma" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: ib-diags and ib_get_err_str

2011-08-05 Thread Ira Weiny
p (cl_qmap and node name map support for example.) Although I would like to see the dependency (on opensm-libs) removed it will take more than that function. Ira -- Ira Weiny Math Programmer/Computer Scientist Lawrence Livermore National Lab 925-423-8008 wei...@llnl.gov -- To unsubscribe from this li

Re: [PATCH] ibnetdisc: Fix build for windows

2011-08-05 Thread Ira Weiny
switches and build for every Voltaire node */ > /* an appropriate chassis record (slotnum and position) */ > /* according to internal connectivity */ > > > -- > To unsubscribe from this list: send the line "unsubscribe linux-rdma" in > the body of a messa

Re: [Patch infiniband-diags:perfquery] Loop through all local HCAs/ports

2011-08-09 Thread Ira Weiny
several options. Could you rebase against the current master and resend? Thanks, Ira > > > -- > Doug Ledford > GPG KeyID: CFBFF194 > http://people.redhat.com/dledford > > Infiniband specific RPMs available at > http://people.red

Re: umad Problems

2011-08-11 Thread Ira Weiny
" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Ira Weiny Member of Technical Staff Lawrence Livermore National Lab 925-423-8008 wei...@llnl.gov -- To unsubscribe from this list: send the line "unsubscri

[PATCH 1/3] infiniband-diags: Add Extended Link Speed Support to iblinkinfo

2011-08-11 Thread Ira Weiny
Signed-off-by: Ira Weiny --- include/ibdiag_common.h |1 + src/iblinkinfo.c| 61 -- 2 files changed, 48 insertions(+), 14 deletions(-) diff --git a/include/ibdiag_common.h b/include/ibdiag_common.h index 57bde20..a7ce62f 100644 --- a

[PATCH 2/3] infiniband-diags: move get_msg to common code

2011-08-11 Thread Ira Weiny
so that iblinkinfo and ibqueryerrors can share this. This also supports Ext Link Speeds for the message in ibqueryerrors. Signed-off-by: Ira Weiny --- include/ibdiag_common.h |5 src/ibdiag_common.c | 60 ++ src/iblinkinfo.c

[PATCH 3/3] infiniband-diags: add Ext Speed Support to ibqueryerrors

2011-08-11 Thread Ira Weiny
Signed-off-by: Ira Weiny --- src/ibqueryerrors.c | 29 +++-- 1 files changed, 23 insertions(+), 6 deletions(-) diff --git a/src/ibqueryerrors.c b/src/ibqueryerrors.c index 493020b..e7a7cdb 100644 --- a/src/ibqueryerrors.c +++ b/src/ibqueryerrors.c @@ -169,6 +169,7

Re: [PATCH] libibmad/dump.c: Add IsOptionalIPDSupported into mad_dump_portcapmask

2011-08-18 Thread Ira Weiny
s += sprintf(s, "\t\t\t\tIsOptionalIPDSupported\n"); > if (mask & (1 << 5)) > s += sprintf(s, "\t\t\t\tIsAutomaticMigrationSupported\n"); > if (mask & (1 << 6)) -- Ira Weiny Math Programmer/Computer Scientist L

Re: [PATCH] libibmad: Add support for PortInfo CapabilityMask2

2011-08-18 Thread Ira Weiny
o > * licenses. You may choose to be licensed under the terms of the GNU > @@ -529,6 +529,7 @@ static const ib_field_t ib_mad_f[] = { > /* >* More PortInfo fields >*/ > + {BITSOFFS(480, 16), "CapabilityMask2", mad_dump_hex}, > {BITSOFFS(49

Re: [PATCH] libibmad/dump.c: Allow 0 (extended speed active) in mad_dump_linkspeed

2011-08-18 Thread Ira Weiny
gt; case 1: > snprintf(buf, bufsz, "2.5 Gbps"); > break; -- Ira Weiny Math Programmer/Computer Scientist Lawrence Livermore National Lab 925-423-8008 wei...@llnl.gov -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the bod

Re: [PATCH] infiniband-diags/smpquery: Add support for extended link speeds

2011-08-18 Thread Ira Weiny
rgc, char **argv) > {"combined", 'c', 0, NULL, >"use Combined route address argument"}, > {"node-name-map", 1, 1, "", "node name map file"}, > + {"extended",

Re: [PATCH] infiniband-diags/saquery: Add extended link speed support for PortInfoRecord queries

2011-08-18 Thread Ira Weiny
{"PortInfoRecord", "PIR", IB_SA_ATTR_PORTINFORECORD, > - "[[lid]/[port]]", query_portinfo_records}, > + "[[lid]/[port]/[options]]", query_portinfo_records}, > {"SL2VLTableRecord", "SL2VL", IB_SA_ATTR_SL2VLTABLERECORD, >&qu

Re: [PATCH] infiniband-diags/perfquery: Add support for extended link speeds

2011-08-18 Thread Ira Weiny
t; {"oprcvcounters", 1, 0, NULL, "show Rcv Counters per Op code"}, > {"flowctlcounters", 2, 0, NULL, "show flow control counters"}, > {"vloppackets", 3, 0, NULL, "show packets received per Op code > pe

Re: [PATCH] infiniband-diags/ibportstate.c: Changes for extended link speeds

2011-08-18 Thread Ira Weiny
> IB_PORT_LINK_SPEED_EXT_ACTIVE_F, > + &peerlsea); > + mad_decode_field(data, > + > IB_PORT_LINK_SPEED_EXT_ENABLED_F, > +

Re: [PATCH] infiniband-diags/iblinkinfo.c: Changes for extended link speeds

2011-08-18 Thread Ira Weiny
&iwidth), > - mad_dump_val(IB_PORT_LINK_SPEED_ACTIVE_F, speed, 64, > - &ispeed), > + (ispeed != 4 || !espeed) ? > + mad_dump_val(IB_PORT_LINK_SPEED_ACTIVE_F, speed, 64, > +

Re: [PATCH] infiniband-diags/ibqueryerrors.c: Changes for extended link speeds

2011-08-18 Thread Ira Weiny
_val(IB_PORT_LINK_SPEED_ACTIVE_F, speed, > 64, &ispeed) : > + mad_dump_val(IB_PORT_LINK_SPEED_EXT_ACTIVE_F, > speed, 64, &espeed), >mad_dump_val(IB_PORT_STATE_F, state, 64, &istate), >mad_dump_val(IB_PORT_PHYS_ST

Re: [PATCH 1/2] infiniband-diags/libibnetdisc/ibnetdisc.c: Changes for extended link speeds

2011-08-18 Thread Ira Weiny
6 @@ ibnd_node_t *ibnd_find_node_guid(ibnd_fabric_t * fabric, > uint64_t guid) > return NULL; > } > > -/* forward declare */ > -ibnd_port_t *ibnd_find_port_dr(ibnd_fabric_t * fabric, char *dr_str); > - > ibnd_node_t *ibnd_find_node_dr(ibnd_fabric_t * fabric, ch

Re: [PATCH 2/2] infiniband-diags/ibnetdiscover.c: Changes for extended link speeds

2011-08-18 Thread Ira Weiny
eed = 0; > nodename = remap_node_name(node_name_map, > port->node->guid, > port->node->nodedesc); > @@ -648,7 +698,9 @@ void dump_ports_report(ibnd_node_t * node, void > *user_data) >

Re: [PATCH] libibmad: Fix build on win8

2011-08-18 Thread Ira Weiny
if (redirect_port(dport, mad)) > - redirect = 0; > + break; > } else > - redirect = 0; > - } > + break; > + } while (1); > > if ((rpc->

[PATCH] infiniband-diags: move get_msg to common code

2011-08-18 Thread Ira Weiny
iblinkinfo and ibqueryerrors should share this. Signed-off-by: Ira Weiny --- include/ibdiag_common.h |4 ++ src/ibdiag_common.c | 76 + src/iblinkinfo.c| 77 +- src/ibqueryerrors.c

[PATCH] opensm: add torus-2QoS to list of supported engine names

2011-08-19 Thread Ira Weiny
Signed-off-by: Ira Weiny --- opensm/osm_subnet.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/opensm/osm_subnet.c b/opensm/osm_subnet.c index 3ba1f81..36ec3d7 100644 --- a/opensm/osm_subnet.c +++ b/opensm/osm_subnet.c @@ -1421,7 +1421,7 @@ int osm_subn_output_conf

Re: [PATCH 3/6] infiniband-diags: Add FDR10 support to ibnetdiscover and libibnetdisc

2011-08-21 Thread Ira Weiny
printf(f, " s=%d w=%d", ispeed, iwidth); > @@ -671,7 +678,7 @@ void dump_ports_report(ibnd_node_t * node, void > *user_data) > /* for each port */ > for (p = node->numports, port = node->ports[p]; p > 0; > port = node->ports[--p]) {

Re: [PATCH 3/6] infiniband-diags: Add FDR10 support to ibnetdiscover and libibnetdisc

2011-08-21 Thread Ira Weiny
On Sun, 21 Aug 2011 20:56:08 -0700 Hal Rosenstock wrote: > On Sun, Aug 21, 2011 at 11:36 PM, Ira Weiny wrote: > > On Fri, 19 Aug 2011 09:54:01 -0700 > > Hal Rosenstock wrote: > > > >> > >> Signed-off-by: Hal Rosenstock > >> --- > >

Re: [PATCH 1/6] infiniband-diags/man/ibportstate.8: Update for fdr

2011-08-21 Thread Ira Weiny
e not effected until the port goes through >link renegotiation) > - query also validates port characteristics (link width and speed) > + query also validates port characteristics (link width, speed, and espeed) >based on the peer port. This checking is done when the port >

[PATCH] infiniband-diags: add human readable output for data counters

2011-08-23 Thread Ira Weiny
conversion function is provided in ibdiag_common Signed-off-by: Ira Weiny --- include/ibdiag_common.h |7 + src/ibdiag_common.c | 66 +++ src/ibqueryerrors.c | 30 ++--- 3 files changed, 99 insertions(+), 4

[PATCH] infiniband-diags: ibqueryerrors Clean up exit codes

2011-08-23 Thread Ira Weiny
Update man page for exit status Signed-off-by: Ira Weiny --- man/ibqueryerrors.8.in |6 ++ src/ibqueryerrors.c| 13 - 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/man/ibqueryerrors.8.in b/man/ibqueryerrors.8.in index d190715..78323c7 100644 --- a

Re: [PATCHv2 2/6] infiniband-diags/ibportstate: Add support for FDR10

2011-08-31 Thread Ira Weiny
+ mad_decode_field(data2, > + IB_MLNX_EXT_PORT_LINK_SPEED_ENABLED_F, > + &peerfdr10e); > + mad_decode_field(data2, > + IB_MLNX_EXT_PORT_LINK_SPEED_ACTIVE_F, > + &peerfdr10a); >

Re: [PATCHv2] infiniband-diags/ibnetdiscover.c: Fix cap_mask endian for extended link speeds

2011-08-31 Thread Ira Weiny
ask & IB_PORT_CAP_HAS_EXT_SPEEDS) > + if (cap_mask & CL_NTOH32(IB_PORT_CAP_HAS_EXT_SPEEDS)) > espeed = mad_get_field(port->info, 0, > IB_PORT_LINK_SPEED_EXT_ACTIVE_F); > else -- Ira Wein

Re: [PATCHv2 6/6] infiniband-diags/ibstat.c: Add support for FDR10

2011-08-31 Thread Ira Weiny
> - printf("%sRate: %d\n", pre, port->rate); > + if (is_fdr10(port)) > + printf("%sRate: %d (FDR10)\n", pre, port->rate); > + else > + printf("%sRate: %d\n", pre, port->rate); > printf("%sBase lid

Re: [PATCHv2 3/6] infiniband-diags/iblinkinfo.c: Add support for FDR10

2011-08-31 Thread Ira Weiny
atches reorganized and the addition of a so name bump. commit 1e62d09ae5d7e4d43089deea07ceb94f8dfd49a0 Author: Hal Rosenstock Date: Wed Aug 31 15:26:42 2011 + infiniband-diags/ibqueryerrors.c: Add support for FDR10 Signed-off-by: Hal Rosenstock Signed-off-by: Ira Weiny co

Re: [PATCHv2] infiniband-diags: Fix cap_mask extended link speed supported endian checks

2011-08-31 Thread Ira Weiny
-- a/src/ibqueryerrors.c > +++ b/src/ibqueryerrors.c > @@ -186,7 +186,7 @@ static void print_port_config(char *node_name, > ibnd_node_t * node, int portnum) > else > info = (uint8_t *)&port->info; > cap_mask = mad_get_field(info, 0, IB_PORT_CAPMASK_F);

[ANNOUNCE] libibmad 1.3.8 tarball release

2011-09-02 Thread Ira Weiny
.c: In ib_vendor_call_via, set errno Ira Weiny: libibmad: make IB_GUID_GUID0_F consistent with new GUIDInfo fields libibmad: Make new feild names consistent libibmad: Remove libibnetdisc specific define libibmad: Remove reference to OpenSM in COPYING file Update AUTHO

[ANNOUNCE] infiniband-diags 1.5.9 tarball release

2011-09-02 Thread Ira Weiny
ion of ibdiscover.pl Ira Weiny: infiniband-diags: Add FDR10 support to libibnetdisc infiniband-diags: add human readable output for data counters infiniband-diags: add package requires to spec file. infiniband-diags: Add support for FDR10 to ibnetdiscover infiniband

Re: [ANNOUNCE] libibmad 1.3.8 tarball release

2011-09-02 Thread Ira Weiny
My apologies to Al Chu. The patch: > libibmad: Make new feild names consistent Was done by him. I must have screwed the am command or applied by hand. :-( Ira On Fri, 2 Sep 2011 15:01:55 -0700 Ira Weiny wrote: > Hi, > > There is a new release of libibmad. > Tarba

[PATCH] infiniband-diags: ibqueryerrors add query failure count

2011-09-20 Thread Ira Weiny
Report query failure count as part of summary Signed-off-by: Ira Weiny --- src/ibqueryerrors.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/ibqueryerrors.c b/src/ibqueryerrors.c index 8e0b336..fa116a9 100644 --- a/src/ibqueryerrors.c +++ b/src

[PATCH] infiniband-diags: ibnetdisc Wrap header for use in C++ code

2011-09-20 Thread Ira Weiny
>From 4ec00110f416643f6715c89c4776fc9e0ea51d6f Mon Sep 17 00:00:00 2001 From: Ira Weiny Date: Mon, 19 Sep 2011 14:05:09 -0700 Signed-off-by: Ira Weiny --- libibnetdisc/include/infiniband/ibnetdisc.h |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/libibnetd

<    4   5   6   7   8   9   10   11   >