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
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 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] 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] 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

[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

[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] 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

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

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

[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

[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 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 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

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; >

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: [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: 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][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)"}, >

[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

[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: 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

Re: compile ofed 1.5.3 against lustre kernel

2011-06-15 Thread Ira Weiny
ying patches and building custom kernels. FYI, http://jira.whamcloud.com/browse/LU-20 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.kern

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

2011-06-15 Thread Ira Weiny
s; > > + __be64 port_rcv_packets; > > + __be64 port_unicast_xmit_packets; > > + __be64 port_unicast_rcv_packets; > > + __be64 port_multicast_xmit_packets; > > + __be64 port_multicast_rcv_packets; > > +} __attribute__ ((packed)); > > + > > +#define

[PATCH 1/5] opensm/perfmgr: set redirect orig_lid and valid flag only when we have a valid port

2011-06-13 Thread Ira Weiny
, 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...@vger.kernel.org More majordomo info at http://vger.kerne

Re: [PATCH] infiniband-diags/ibportstate.c: Fix sizeof

2011-06-10 Thread Ira Weiny
gt; > - mad_dump_portstates(buf, sizeof buf, data, sizeof data); > + mad_dump_portstates(buf, sizeof buf, data, sizeof *data); > mad_decode_field(data, IB_PORT_LID_F, val); > mad_dump_field(IB_PORT_LID_F, buf + strlen(buf), > sizeof buf - strlen(b

Re: [PATCH] infiniband-diags/libibnetdisc/ibnetdisc_cache.c: Fix a couple of memory leaks

2011-06-10 Thread Ira Weiny
zeof(ibnd_port_t)); > if (!port) { > IBND_DEBUG("OOM: port\n"); > + free(port_cache); > return -1; > } > memset(port, '\0', sizeof(ibnd_port_t)); -- Ira Weiny Math Programmer/Computer Scientist Lawrence Livermore National

Re: [PATCH] infiniband-diags/libibnetdisc/ibnetdisc.c: Fix possible overrun of path

2011-06-10 Thread Ira Weiny
t; sizeof(path->p) - 1) > + if (path->cnt > sizeof(path->p) - 2) > return -1; > ++path->cnt; > path->p[path->cnt] = (uint8_t) nextport; -- Ira Weiny Math Programmer/Computer Scientist Lawrence Livermore National Lab 925-423-8008 wei.

Re: [PATCH] libibmad/[register rpc].c: Fix some bounds checks

2011-06-01 Thread Ira Weiny
ASS) > + if (class < 1 || class >= MAX_CLASS) > return -1; > return port->class_agents[class]; > } -- Ira Weiny Math Programmer/Computer Scientist Lawrence Livermore National Lab 925-423-8008 wei...@llnl.gov -- To unsubscribe from this list: send

Re: [PATCH] infiniband-diags/saquery.c: Fix SA_ERR_UNKNOWN define

2011-05-27 Thread Ira Weiny
- 1) > + > static inline const char *ib_sa_err_str(IN uint8_t status) > { > if (status > SA_ERR_UNKNOWN) -- Ira Weiny Math Programmer/Computer Scientist Lawrence Livermore National Lab 925-423-8008 wei...@llnl.gov -- To unsubscribe from this list: send the line "un

Re: [PATCH] infiniband-diags/configure.in: Support override for IBPATH

2011-05-26 Thread Ira Weiny
2`" > +IBSCRIPTPATH="${with_ibpath_override:-`eval echo $IBSCRIPTPATH_TMP2`}" > AC_SUBST(IBSCRIPTPATH) > > dnl Begin libibnetdisc stuff -- Ira Weiny Math Programmer/Computer Scientist Lawrence Livermore National Lab 925-423-8008 wei...@llnl.gov -- To unsubscribe

Re: [PATCH 2/2 V2] infiniband-diags: perfquery; Support PortCountersExtendedNoIETF

2011-05-25 Thread Ira Weiny
On Wed, 25 May 2011 11:18:52 -0700 Hal Rosenstock wrote: > On 5/25/2011 12:50 PM, Ira Weiny wrote: > > > > From: Ira Weiny > > Date: Fri, 13 May 2011 22:28:55 -0700 > > Subject: [PATCH 2/2] infiniband-diags: perfquery; Support > > PortCountersExtendedNoIETF &

[PATCH 2/2 V2] infiniband-diags: perfquery; Support PortCountersExtendedNoIETF

2011-05-25 Thread Ira Weiny
From: Ira Weiny Date: Fri, 13 May 2011 22:28:55 -0700 Subject: [PATCH 2/2] infiniband-diags: perfquery; Support PortCountersExtendedNoIETF Changes since V1: fix typo if (cap_mask & IB_PM_EXT_WIDTH_NOIETF_SUP) { to if (cap_mask & IB_PM_EXT_WIDTH_SUPPORTED) { Signed-off-by: I

Re: [PATCH 2/2] infiniband-diags: perfquery; Support PortCountersExtendedNoIETF

2011-05-25 Thread Ira Weiny
On Wed, 25 May 2011 05:30:20 -0700 Hal Rosenstock wrote: > On 5/24/2011 5:42 PM, Ira Weiny wrote: > > > > From: Ira Weiny > > Date: Fri, 13 May 2011 22:28:55 -0700 > > Subject: [PATCH 2/2] infiniband-diags: perfquery; Support > > PortCountersExtendedNoIETF

[PATCH 2/2] infiniband-diags: perfquery; Support PortCountersExtendedNoIETF

2011-05-24 Thread Ira Weiny
From: Ira Weiny Date: Fri, 13 May 2011 22:28:55 -0700 Subject: [PATCH 2/2] infiniband-diags: perfquery; Support PortCountersExtendedNoIETF Signed-off-by: Ira Weiny --- src/perfquery.c | 52 1 files changed, 32 insertions(+), 20 deletions

[PATCH 1/2] infiniband-diags: perfquery; print cap_mask for information

2011-05-24 Thread Ira Weiny
From: Ira Weiny Date: Thu, 12 May 2011 17:31:15 -0700 Subject: [PATCH 1/2] infiniband-diags: perfquery; print cap_mask for information Also fix cap_mask endianess in error print Signed-off-by: Ira Weiny --- src/perfquery.c | 32 +++- 1 files changed, 19

Re: [PATCH] infiniband-diags/libibnetdisc/ibnetdisc.c: Better error message

2011-05-24 Thread Ira Weiny
} > port->guid = > -- > 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 -- Ira Weiny Math Programmer/

Re: [PATCH] librdmacm: define REUSEADDR option

2011-05-10 Thread Ira Weiny
tre on clusters larger than 1024 nodes. > > Signed-off-by: Sean Hefty Acked-by: Ira Weiny > --- > include/rdma/rdma_cma.h |5 +++-- > 1 files changed, 3 insertions(+), 2 deletions(-) > > diff --git a/include/rdma/rdma_cma.h b/include/rdma/rdma_cma.h > index b48cd2e..

Re: [PATCH 2/2] rdma/cm: Support REUSEADDR

2011-05-10 Thread Ira Weiny
bound to that same > address. The reuse option is exported to user space. The behavior > of the kernel reuse implementation was verified against that given > by sockets. > > This patch is derived from a path by: Ira Weiny > > Signed-off-by: Sean Hefty Signed-off

Re: [PATCH 1/2] rdma/cm: fix handling of ipv6 addressing in cma_use_port

2011-05-10 Thread Ira Weiny
Signed-off-by: Sean Hefty Acked-by: Ira Weiny > --- > This patch was originally submitted as patch 2 of the AF_IB patch set; > however, it will also be used by the REUSEADDR support for patch 2/2. > > drivers/infiniband/core/cma.c | 29 ++--- > 1 f

Re: [PATCH] infiniband-diags/vendstat: Fixed general info query

2011-05-02 Thread Ira Weiny
gt; >> --- a/src/vendstat.c > >> +++ b/src/vendstat.c > >> @@ -375,6 +375,7 @@ int main(int argc, char **argv) > >>gi = (is3_general_info_t *) & buf; > >>if (do_vendor(&portid, srcport, IB_MLX_VENDOR_CLASS, IB_MAD_METHOD_GET, > >>

[PATCH 05/5 V2] infiniband-diags: ibqueryerrors; add --counters option

2011-04-28 Thread Ira Weiny
From: Ira Weiny Date: Wed, 27 Apr 2011 01:07:59 -0700 Subject: [PATCH 05/5 V2] infiniband-diags: ibqueryerrors; add --counters option Display the data counters (optionally extended data counters) for all ports in the fabric. Chages in V2: Only print Unicast/Multicast fields when

[PATCH 04/5 V2] infiniband-diags: ibqueryerrors --data; show/clear PortCountersExtended when supported

2011-04-28 Thread Ira Weiny
From: Ira Weiny Date: Tue, 26 Apr 2011 22:59:15 -0700 Subject: [PATCH 04/5 V2] infiniband-diags: ibqueryerrors --data; show/clear PortCountersExtended when supported Chages in V2: Only print/clear Unicast/Multicast fields when IsExtendedWidthSupported is indicated. Signed-off-by: Ira Weiny

Re: [PATCHv2 1/3] libibmad: Distinguish timed out from other errors

2011-04-28 Thread Ira Weiny
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

Re: [PATCHv2 3/3] libibmad/vendor.c: In ib_vendor_call_via, set errno

2011-04-28 Thread Ira Weiny
eturn mad_send_via(rpcold, portid, 0, data, srcport) < 0 ? 0 : data; > /* FIXME: no RMPP for now */ > } > -- > 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

Re: [PATCHv2 2/3] libibmad/gs.c: In pma_query_via/performance_reset_via, set errno

2011-04-28 Thread Ira Weiny
; + rpc.mgtclass = IB_PERFORMANCE_CLASS | IB_MAD_RPC_VERSION1; > rpc.method = IB_MAD_METHOD_SET; > rpc.attr.id = id; > > @@ -115,5 +124,7 @@ uint8_t *performance_reset_via(void *rcvbuf, ib_portid_t > * dest, > if (!dest->qkey) > dest->q

Re: infiniband-diags/perfquery.c: Use ib_types.h defines for CapabilityMask

2011-04-28 Thread Ira Weiny
_mask & 0x1000)) > + if (argc <= 2 && !extended && (cap_mask & IB_PM_PC_XMIT_WAIT_SUP)) > mask |= (1 << 16); /* reset portxmitwait */ > > if (all_ports_loop || (loop_ports && (all_ports || port == ALL_PORTS)

Re: infiniband-diags/perfquery.c: Use ib_types.h defines for CapabilityMask

2011-04-28 Thread Ira Weiny
eptable to everyone? Oh yes, I was just codeing along and added the define where the others were. I would very much like the diags to not depend on opensm. Please do resubmit your patches. For now I am going to accept this patch which will mark perfquery as something which needs to transition.

Re: [PATCH 04/5] infiniband-diags: ibqueryerrors --data; show/clear PortCountersExtended when supported

2011-04-28 Thread Ira Weiny
On Thu, 28 Apr 2011 07:46:10 -0700 Hal Rosenstock wrote: > On 4/27/2011 9:46 PM, Ira Weiny wrote: > > > > From: Ira Weiny > > Date: Tue, 26 Apr 2011 22:59:15 -0700 > > Subject: [PATCH 04/5] infiniband-diags: ibqueryerrors --data; show/clear > > Po

[PATCH 05/5] infiniband-diags: ibqueryerrors; add --counters option

2011-04-27 Thread Ira Weiny
From: Ira Weiny Date: Wed, 27 Apr 2011 01:07:59 -0700 Subject: [PATCH 05/5] infiniband-diags: ibqueryerrors; add --counters option Display the data counters (optionally extended data counters) for all ports in the fabric. Signed-off-by: Ira Weiny --- src/ibqueryerrors.c | 139

[PATCH 04/5] infiniband-diags: ibqueryerrors --data; show/clear PortCountersExtended when supported

2011-04-27 Thread Ira Weiny
From: Ira Weiny Date: Tue, 26 Apr 2011 22:59:15 -0700 Subject: [PATCH 04/5] infiniband-diags: ibqueryerrors --data; show/clear PortCountersExtended when supported Signed-off-by: Ira Weiny --- src/ibqueryerrors.c | 88 ++ 1 files changed, 81

[PATCH 03/5] infiniband-diags: ibqueryerrors; use #defines for CapabilityMask

2011-04-27 Thread Ira Weiny
From: Ira Weiny Date: Tue, 26 Apr 2011 22:18:27 -0700 Subject: [PATCH 03/5] infiniband-diags: ibqueryerrors; use #defines for CapabilityMask Signed-off-by: Ira Weiny --- include/ibdiag_common.h |6 ++ src/ibqueryerrors.c |8 2 files changed, 10 insertions(+), 4

[PATCH 02/5] infiniband-diags: ibqueryerrors; add ibcheckerrors like summary

2011-04-27 Thread Ira Weiny
From: Ira Weiny Date: Mon, 25 Apr 2011 12:39:12 -0700 Subject: [PATCH 02/5] infiniband-diags: ibqueryerrors; add ibcheckerrors like summary ibcheckerrors reports a summary of nodes checked, node errors, port checked, and port errors. Track and print same as a summary. Signed-off-by: Ira

[PATCH 01/5] infiniband-diags: ibqueryerrors; add error thresholds

2011-04-27 Thread Ira Weiny
From: Ira Weiny Date: Wed, 27 Apr 2011 10:43:01 -0700 Subject: [PATCH 01/5] infiniband-diags: ibqueryerrors; add error thresholds Signed-off-by: Ira Weiny --- Makefile.am|3 +- configure.in | 10 - etc/error_thresholds | 16 ++ man/ibqueryerrors.8

[PATCH 0/5] infiniband-diags: ibqueryerrors extend functionality to cover bash scripts

2011-04-27 Thread Ira Weiny
The following 5 patches extend the functionality of ibqueryerrors to cover some of the functionality of the ib* bash scripts. ibqueryerrors has been our workhorse for fabric monitoring here at LLNL. While I am working on better performance management in OpenSM this provides a scalable "direct" opt

Re: [PATCH] infiniband-diags/libibnetdisc/ibnetdisc.c: Handle calloc failure

2011-04-27 Thread Ira Weiny
be linux-rdma" in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Ira Weiny Math Programmer/Computer Scientist Lawrence Livermore National Lab 925-423-8008 wei...@llnl.gov -- To unsubscribe from this list: send

Re: [PATCH] infiniband-diags/ibnetdiscover.c: Eliminate blank line when sysimgguid is 0

2011-04-27 Thread Ira Weiny
gt; + if (sysimgguid || > + (group && node->chassis && node->chassis->chassisnum)) > + fprintf(f, "\n"); > } > > uint64_t out_chassis(ibnd_fabric_t * fabric, unsigned char chassisnum) -- Ira Weiny Math Programmer/Comput

[PATCH] infiniband-diags: fix "dist" target and subsequent rpm building

2011-04-27 Thread Ira Weiny
From: Ira Weiny Date: Wed, 27 Apr 2011 10:08:03 -0700 Subject: [PATCH] infiniband-diags: fix "dist" target and subsequent rpm building Signed-off-by: Ira Weiny --- libibnetdisc/Makefile.am |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/libibnetdisc/Mak

[PATCH] opensm: ib_types.h add defines for PM CPI SamplesOnlySupported and PortCountersXmitWaitSupported

2011-04-26 Thread Ira Weiny
From: Ira Weiny Date: Tue, 26 Apr 2011 17:35:38 -0700 Subject: [PATCH] opensm: ib_types.h add defines for PM CPI SamplesOnlySupported and PortCountersXmitWaitSupported Per IBTA v1.2.1 section 16.1.3.1 Signed-off-by: Ira Weiny --- include/iba/ib_types.h |2 ++ 1 files changed, 2

Re: [PATCH] opensm: perfmgr, only set orig_lid when we have a valid port. Otherwise leave it as 0

2011-04-18 Thread Ira Weiny
On Mon, 18 Apr 2011 05:42:56 -0700 Hal Rosenstock wrote: > On 4/17/2011 9:26 PM, Weiny, Ira K. wrote: > > On Apr 17, 2011, at 8:21 AM, Hal Rosenstock wrote: > > > >> On 4/15/2011 6:17 PM, Ira Weiny wrote: > >>> [snip] > >> > >> There

[PATCH] opensm: fix strtoull error handling

2011-04-15 Thread Ira Weiny
Subject: [PATCH] opensm: fix strtoull error handling The man page states that errno _may_ be returned when the string can not be converted. Check that the entire string was consumed otherwise assume this is not a guid. Signed-off-by: Ira Weiny --- opensm/osm_perfmgr.c |5 +++-- 1 files

[PATCH] opensm: perfmgr, only set orig_lid when we have a valid port. Otherwise leave it as 0

2011-04-15 Thread Ira Weiny
Subject: [PATCH] opensm: perfmgr, only set orig_lid when we have a valid port. Otherwise leave it as 0 Signed-off-by: Ira Weiny --- opensm/osm_perfmgr.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/opensm/osm_perfmgr.c b/opensm/osm_perfmgr.c index 6a1fa63

Re: [PATCH 1/3] infiniband-diags: saquery, exit with ENODEV when queries fail to find results

2011-04-13 Thread Ira Weiny
On Sat, 9 Apr 2011 05:04:22 -0700 Hal Rosenstock wrote: > On 4/8/2011 4:45 PM, Ira Weiny wrote: > > > > Subject: [PATCH 1/3] infiniband-diags: saquery, exit with ENODEV when > > queries fail to find results > > 0 records is a perfectly valid response to a GetTable

Re: [PATCH 4/4] infiniband-diags: Make sure buffers are set to zero before calling xxx_query_via

2011-04-11 Thread Ira Weiny
. > > This patch stands on it's own and should've been just [PATCH] and not > [PATCH 4/4]. It was my mistake when I generated/sent these patches. No problem. Thanks applied, Ira > > -- Hal > > > Signed-off-by: Aviad Yehezkel > > Signed-off-by: Hal Rosenst

Re: [PATCH 1/4] libibmad: Distinguish timed out from other errors

2011-04-11 Thread Ira Weiny
s in the past. Bump the version and run with that until the official branch/tag. Ira > > Jason -- 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&quo

Re: [PATCHv2 2/2] libibmad: Added smp_query/set _status_via functions

2011-04-08 Thread Ira Weiny
trid, > +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, > -- > 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 -- 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/smp.c: Fix to smp_query_via for attribute data

2011-04-08 Thread Ira Weiny
d, 0, rcvbuf); > + return mad_rpc(srcport, &rpc, portid, rcvbuf, rcvbuf); > } > > uint8_t *smp_query(void *rcvbuf, ib_portid_t * portid, unsigned attrid, > -- > To unsubscribe from this list: send the line "unsubscribe linux-rdma" in > the body of a message to major

Re: [PATCH] infiniband-diags.spec.in: Remove duplication of ibdiscover.pl

2011-04-08 Thread Ira Weiny
quot; in > the body of a message to majord...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- Ira Weiny Math Programmer/Computer Scientist Lawrence Livermore National Lab 925-423-8008 wei...@llnl.gov -- To unsubscribe from this list: send t

[PATCH 3/3] infiniband-diags: saquery, clean up error code/return types

2011-04-08 Thread Ira Weiny
Subject: [PATCH 3/3] infiniband-diags: saquery, clean up error code/return types Signed-off-by: Ira Weiny --- src/saquery.c | 34 ++ 1 files changed, 18 insertions(+), 16 deletions(-) diff --git a/src/saquery.c b/src/saquery.c index 9314e4f..e3304a6 100644

[PATCH 2/3] infiniband-diags: saquery, properly free mad when no results are found

2011-04-08 Thread Ira Weiny
Subject: [PATCH 2/3] infiniband-diags: saquery, properly free mad when no results are found Signed-off-by: Ira Weiny --- src/saquery.c |8 ++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/saquery.c b/src/saquery.c index d7c8e6f..9314e4f 100644 --- a/src

[PATCH 1/3] infiniband-diags: saquery, exit with ENODEV when queries fail to find results

2011-04-08 Thread Ira Weiny
Subject: [PATCH 1/3] infiniband-diags: saquery, exit with ENODEV when queries fail to find results Signed-off-by: Ira Weiny --- src/saquery.c | 29 +++-- 1 files changed, 23 insertions(+), 6 deletions(-) diff --git a/src/saquery.c b/src/saquery.c index 03869e3

Re: [PATCH 3/3] infiniband-diags/saquery: Add GUIDInfoRecord support

2011-03-28 Thread Ira Weiny
On Fri, 25 Mar 2011 12:23:31 -0700 Hal Rosenstock wrote: > > Signed-off-by: Hal Rosenstock > --- > infiniband-diags/man/saquery.8 |3 +- > infiniband-diags/src/saquery.c | 48 > +++- > 2 files changed, 49 insertions(+), 2 deletions(-) Thanks, appl

Re: [PATCH 2/3] libibmad: Add support for SA GUIDInfoRecord fields

2011-03-28 Thread Ira Weiny
On Fri, 25 Mar 2011 12:23:22 -0700 Hal Rosenstock wrote: > > Signed-off-by: Hal Rosenstock > --- > libibmad/include/infiniband/mad.h | 15 +++ > libibmad/src/fields.c | 12 > 2 files changed, 27 insertions(+), 0 deletions(-) Thanks, applied, Ira --

Re: [PATCHv4 1/3] libibmad: Add remaining SM GUIDInfo attribute fields

2011-03-28 Thread Ira Weiny
On Mon, 28 Mar 2011 04:22:37 -0700 Hal Rosenstock wrote: > > Signed-off-by: Hal Rosenstock > --- > Change since v3: > Yet another config change to try to fix formatting > Change since v2: > Another config change to try to fix formatting > Change since v1: > Hopefully fix formatting problem afte

[PATCH 4/4] opensm/console: add "print all" to print_counters console command

2011-03-24 Thread Ira Weiny
From: Ira Weiny Date: Mon, 14 Mar 2011 13:18:28 -0700 Subject: [PATCH] opensm/console: add "print all" to print_counters console command Signed-off-by: Ira Weiny --- include/opensm/osm_perfmgr_db.h |1 + opensm/osm_console.c| 12 opensm/osm

[PATCH 3/4] opensm/perfmgr: Issue PortCountersExtended query when supported

2011-03-24 Thread Ira Weiny
From: Ira Weiny Date: Thu, 10 Mar 2011 14:28:10 -0800 Subject: [PATCH] opensm/perfmgr: Issue PortCountersExtended query when supported Signed-off-by: Ira Weiny --- include/opensm/osm_perfmgr_db.h |2 +- opensm/osm_perfmgr.c| 303 --- opensm

[PATCH 2/4] opensm/perfmgr: clean up: break out redirect processing from pc_recv_process

2011-03-24 Thread Ira Weiny
From: Ira Weiny Date: Tue, 8 Mar 2011 13:54:17 -0800 Subject: [PATCH] opensm/perfmgr: clean up: break out redirect processing from pc_recv_process Signed-off-by: Ira Weiny --- opensm/osm_perfmgr.c | 193 + 1 files changed, 98 insertions(+), 95

[PATCH 1/4] opensm/osm_perfmgr.c: issue ClassPortInfo as first query to each port.

2011-03-24 Thread Ira Weiny
From: Ira Weiny Date: Wed, 3 Nov 2010 13:23:23 -0700 Subject: [PATCH] opensm/osm_perfmgr.c: issue ClassPortInfo as first query to each port. Signed-off-by: Ira Weiny --- include/opensm/osm_perfmgr.h |4 + opensm/osm_perfmgr.c | 229 -- 2

[PATCH 0/4] opensm: [RFC] Add PortCountersExtended support to the PerfMgr

2011-03-24 Thread Ira Weiny
like to get them applied and then do a refactoring of the code to clean up the queries a bit more (including SL support if possible.) Does anyone have objections to this? Ira -- Ira Weiny Math Programmer/Computer Scientist Lawrence Livermore National Lab 925-423-8008 wei...@llnl.gov -- To unsubs

[PATCH] opensm/perfmgr: fix overflow processing

2011-03-24 Thread Ira Weiny
From: Ira Weiny Date: Wed, 9 Mar 2011 16:28:23 -0800 Subject: [PATCH] opensm/perfmgr: fix overflow processing The stored error counters need to be cleared when the clear is issued because of overflow. Signed-off-by: Ira Weiny --- opensm/osm_perfmgr.c |1 + 1 files changed, 1

[PATCH] infiniband-diags: saquery; clean up name/lid processing

2011-03-24 Thread Ira Weiny
For NodeRecord querys in particular if a name was not found all NodeRecords were printed. Correct behavior is to report "node not found". Signed-off-by: Ira Weiny --- src/saquery.c | 27 +++ 1 files changed, 19 insertions(+), 8 deletions(-) diff -

Re: [PATCH/infiniband-diags] Fix ibdatacounters

2011-03-24 Thread Ira Weiny
lags' '$verbose' > '$brief' " lid " " port); > + return system("'$IBPATH'/ibdatacounts '"$ca_info"' '$gflags' '$verbose' > '$brief' " lid " " port); > } > > /^Ca

Re: [PATCH/infiniband-diags] Fix missing $IBPATH in ibdatacounts

2011-03-24 Thread Ira Weiny
> 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 -- Ira Weiny Math Programmer/Computer Scientist Lawrence Livermore National Lab 925-423-8

Fw: [PATCHv5 2/2][RESEND] opensm/osm_console.c: Add dump and clear redir perfmgr command support

2011-02-25 Thread Ira Weiny
out); + } else if (strcmp(p_cmd, "clear_redir") == 0) { + p_cmd = name_token(p_last); + clear_redir(p_osm, p_cmd, out); } else if (strcmp(p_cmd, "sweep_time") == 0) { p_cmd = next_token(p_la

Fw: [PATCHv5 1/2][RESEND] opensm/PerfMgr: Better redirection support

2011-02-25 Thread Ira Weiny
if (status != IB_SUCCESS) OSM_LOG(pm->log, OSM_LOG_ERROR, "ERR 4C14: " @@ -1163,7 +1304,7 @@ static void pc_recv_process(void *context, void *data) perfmgr_db_clear_prev_dc(pm->db, node_guid, port); } - perfmgr_check_over

Re: [PATCH] infiniband-diags: add support for ibnetdiscover grouping for Mellanox switches

2011-02-25 Thread Ira Weiny
--Original Message- > From: linux-rdma-ow...@vger.kernel.org > [mailto:linux-rdma-ow...@vger.kernel.org] On Behalf Of Ira Weiny > Sent: Tuesday, February 15, 2011 2:07 AM > To: Tamir Ronen > Cc: linux-rdma@vger.kernel.org > Subject: Re: [PATCH] infiniband-diags: add support

Re: [PATCH 0/2] Improved node descriptions

2011-02-23 Thread Ira Weiny
side I think the answer is "yes" it is pretty easy. That said getting that hook into sethostname might be harder to get upstream than just writing the code. I can't comment on that because I don't have any idea how hard that would be. :-( Ira > > Jason >

Re: Git repo for ibutils?

2011-02-17 Thread Ira Weiny
...@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html -- 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 me

Re: [PATCH/infiniband-diags] The shell scripts use bashism, so use bash directly.

2011-02-14 Thread Ira Weiny
IBPATH=${IBPATH:-@IBSCRIPTPATH@} > > diff --git a/scripts/ibstatus b/scripts/ibstatus > index f7fbbc2..6f01be0 100755 > --- a/scripts/ibstatus > +++ b/scripts/ibstatus > @@ -1,4 +1,4 @@ > -#!/bin/sh > +#!/bin/bash > > # Usage ibstatus [devname[:port]] > > diff --gi

Re: [PATCH] infiniband-diags: add support for ibnetdiscover grouping for Mellanox switches

2011-02-14 Thread Ira Weiny
* fabric) > /* now, make another pass to see which nodes are part of chassis */ > /* (defined as chassis->nodecount > 1) */ > for (node = fabric->nodes; node; node = node->next) { > - if (mad_get_field(node->info, 0, > -

[PATCH] Fix compile warning introduced by patch "fixed getline pointer allocation free in osm_console_io"

2011-02-14 Thread Ira Weiny
From: Ira Weiny Date: Mon, 14 Feb 2011 15:25:36 -0800 Subject: [PATCH] Fix compile warning introduced by patch "fixed getline pointer allocation free in osm_console_io" Signed-off-by: Ira Weiny --- opensm/osm_console_io.c |1 + 1 files changed, 1 insertions(+), 0 deletion

Re: [PATCH v2] IB/qib: add thresholds to VendorPortCounters PMA operation

2011-02-01 Thread Ira Weiny
> We purposely do not set the PortXmitWait CapabilityMask bit, this > driver does not implement that capability. > -- > 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.

[PATCH V2] Add node/port/qos information to some error messages

2011-01-27 Thread Ira Weiny
From: Ira Weiny Date: Tue, 25 Jan 2011 17:09:04 -0800 Subject: [PATCH] Add node/port/qos information to some error messages V2: further cleanup of text include MultiPathRecord messages add qos information where appropriate Signed-off-by: Ira Weiny --- opensm/opensm

Re: [PATCH] Add node/port information to some error messages

2011-01-27 Thread Ira Weiny
On Thu, 27 Jan 2011 13:35:38 -0800 Hal Rosenstock wrote: > Ira, > > On 1/25/2011 8:14 PM, Ira Weiny wrote: > > > > From: Ira Weiny > > Date: Tue, 25 Jan 2011 17:09:04 -0800 > > Subject: [PATCH] Add node/port information to some error messages >

[PATCH -- resend] Add node/port information to some error messages

2011-01-27 Thread Ira Weiny
From: Ira Weiny Date: Tue, 25 Jan 2011 17:09:04 -0800 Subject: [PATCH] Add node/port information to some error messages Signed-off-by: Ira Weiny --- opensm/opensm/osm_sa_path_record.c | 116 +++ opensm/opensm/osm_ucast_mgr.c |5 +- 2 files changed

[PATCH] Add node/port information to some error messages

2011-01-25 Thread Ira Weiny
From: Ira Weiny Date: Tue, 25 Jan 2011 17:09:04 -0800 Subject: [PATCH] Add node/port information to some error messages Signed-off-by: Ira Weiny --- opensm/opensm/osm_sa_path_record.c | 116 +++ opensm/opensm/osm_ucast_mgr.c |5 +- 2 files changed

[PATCH] ibutils:Update requirements for building and installing

2011-01-05 Thread Ira Weiny
[PATCH] Update requirements for building and installing Signed-off-by: Ira Weiny --- ibutils.spec.in |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/ibutils.spec.in b/ibutils.spec.in index a5d7b76..4209a4c 100644 --- a/ibutils.spec.in +++ b/ibutils.spec.in @@ -42,7

[PATCH] fix rpmbuild with and w/o ibmgtsim build

2011-01-05 Thread Ira Weiny
[PATCH] fix rpmbuild with and w/o ibmgtsim build Signed-off-by: Ira Weiny --- Makefile.am |2 +- ibutils.spec.in | 14 ++ 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/Makefile.am b/Makefile.am index 87b071d..cb13dbd 100644 --- a/Makefile.am +++ b

[PATCH] Further timeout paramater verification (Was: [PATCH] infiniband-diags: Verify timeout value specified to diagnostics)

2010-12-22 Thread Ira Weiny
On Mon, 20 Dec 2010 13:57:36 -0800 Jay Fenlason wrote: > Sorry if you get this more than once, I seem to have outgoing mail > misconfiguration here. > > On Wed, Dec 15, 2010 at 11:47:09AM -0800, Ira Weiny wrote: > > > > Verify timeout value specified to diagnostics &

[PATCH] infiniband-diags: Verify timeout value specified to diagnostics

2010-12-15 Thread Ira Weiny
Verify timeout value specified to diagnostics Signed-off-by: Ira Weiny --- infiniband-diags/src/ibdiag_common.c | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/infiniband-diags/src/ibdiag_common.c b/infiniband-diags/src/ibdiag_common.c index 99861f1..8ccf2fc

<    4   5   6   7   8   9   10   11   >