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.
>
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(
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
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
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
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)"},
>
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"
> > -
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
{"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
t;\n",
> > > port, guid);
> > > - free(dimn_ports);
> > > + free(search_ordering_ports);
> > > free(ports);
> > > return 0;
>
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
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
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
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
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
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
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
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
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
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
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
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
ctableBlockCtrLane4", mad_dump_uint},
> + {800, 32, "FECUncorrectableBlockCtrLane5", mad_dump_uint},
> + {832, 32, "FECUncorrectableBlockCtrLane6", mad_dump_uint},
> + {864, 32, "FECUncorrectableBlockCtrLane7", mad_dump_uint},
> + {896, 32, "
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
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
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
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
; 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
>
> &
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
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:
> >>
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
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
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
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
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
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/
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
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
},
> + {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
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
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
--
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
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
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
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,
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.
> >
> >
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
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
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
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
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
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
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
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
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
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
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
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:
> >>>
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
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.
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"
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(
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
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
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
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
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
" 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
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
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
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
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
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
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
rgc, char **argv)
> {"combined", 'c', 0, NULL,
>"use Combined route address argument"},
> {"node-name-map", 1, 1, "", "node name map file"},
> + {"extended",
{"PortInfoRecord", "PIR", IB_SA_ATTR_PORTINFORECORD,
> - "[[lid]/[port]]", query_portinfo_records},
> + "[[lid]/[port]/[options]]", query_portinfo_records},
> {"SL2VLTableRecord", "SL2VL", IB_SA_ATTR_SL2VLTABLERECORD,
>&qu
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
> IB_PORT_LINK_SPEED_EXT_ACTIVE_F,
> + &peerlsea);
> + mad_decode_field(data,
> +
> IB_PORT_LINK_SPEED_EXT_ENABLED_F,
> +
&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,
> +
_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
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
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)
>
if (redirect_port(dport, mad))
> - redirect = 0;
> + break;
> } else
> - redirect = 0;
> - }
> + break;
> + } while (1);
>
> if ((rpc->
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
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
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]) {
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
> >> ---
> >
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
>
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
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
+ 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);
>
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
> - 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
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
-- 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);
.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
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
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
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
>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
801 - 900 of 1033 matches
Mail list logo