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

2011-07-13 Thread Alex Netes
On 22:14 Tue 12 Jul , Jason Gunthorpe wrote: On Tue, Jul 12, 2011 at 04:58:17PM -0700, Ira Weiny wrote: The usual way to do this is to have the daemon drop a pidfile to the location set by its --pidfile argument after it forks, but before the command returns. You mean like

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

2011-07-13 Thread Alex Netes
Hi Ira, On 18:09 Tue 12 Jul , Ira Weiny wrote: Signed-off-by: Ira Weiny wei...@llnl.gov --- Applied, thanks. -- 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: [PATCH] opensm: enable perfmgr build by default

2011-07-13 Thread Alex Netes
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 wei...@llnl.gov --- Applied, thanks. -- To unsubscribe from this list: send the line unsubscribe linux-rdma in the body of a message to majord...@vger.kernel.org

Re: [PATCH] opensm: Add support for partition enforcement types

2011-07-13 Thread Alex Netes
Hi Hal, On 08:08 Mon 11 Jul , Hal Rosenstock wrote: Hi Alex, On 7/10/2011 7:26 AM, Alex Netes wrote: Hi Hal, On 14:52 Tue 05 Jul , Hal Rosenstock wrote: Partition enforcement types are in, out, and both. Prior to this support, both was being used so that is the default.

Re: open-iscsi-generic compile dies on RHEL6

2011-07-13 Thread Mike Levine
Justin Clift justin@... writes: cc -O2 -g -Wall -Wstrict-prototypes -I../include -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -static netlink.o util.o io.o auth.o login.o log.o md5.o sha1.o iscsi_sysfs.o idbm.o initiator.o queue.o actor.o mgmt_ipc.o isns.o transport.o iscsistart.o statics.o -o

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

2011-07-13 Thread Jason Gunthorpe
On Wed, Jul 13, 2011 at 11:26:40AM +0300, Alex Netes wrote: @@ -407,6 +408,10 @@ This option defines the file name for the extra configuration information needed for the torus-2QoS routing engine. The default name is \fB\%@OPENSM_CONFIG_DIR@/@TORUS2QOS_CONF_FILE@\fP .TP

[RFC v2] [OFED] libibverbs: Support both OFED verbs and ibverbs

2011-07-13 Thread Hefty, Sean
This patch allows libibverbs to support both libibverbs API that shipped with OFED 1.5 and the upstream libibverbs API. This supports existing apps that are compiled against the upstream libibverbs (ibverbs). And in ideal cases, an application coded to the OFED version of libibverbs (ofverbs)

Re: [PATCHv2] libibmad: Add PortExtendedSpeedsCounters support

2011-07-13 Thread Ira Weiny
On Mon, 11 Jul 2011 05:08:23 -0700 Hal Rosenstock h...@dev.mellanox.co.il wrote: Signed-off-by: Hal Rosenstock h...@mellanox.com Thanks applied, Ira --- diff --git a/include/infiniband/mad.h b/include/infiniband/mad.h index 7500e1a..f00bf7a 100644 --- a/include/infiniband/mad.h +++

[PATCH] opensm: Use forward extensible and safer way to compare mkey_lmc field in PortInfo attribute

2011-07-13 Thread Hal Rosenstock
Rather than memcmp'ing the entire field, compare the two fields ignoring the reserved field (which may some day be used). This makes SMs coded this way better handle such a future spec expansion. This change also gets this code closer to supporting M_KeyProtectBits. Signed-off-by: Hal

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

2011-07-13 Thread Roland Dreier
On Wed, Jul 13, 2011 at 1:26 AM, Alex Netes ale...@mellanox.com wrote: +dnl Where to place opensm.pid +piddir=/var/run FWIW the future seems to be /run instead of /var/run, eg http://lists.fedoraproject.org/pipermail/devel/2011-March/150031.html Not sure what the best way to handle this in a

RE: [patch 37/44] rxe_sb8.c

2011-07-13 Thread Bob Pearson
David, Roland, After some travel I got back to looking at the CRC32 calculation. I have three test systems: x86_64, x86_32 and Sparc/64. If I am going to replace lib/crc32.c I need to implement both the LE and BE (bit *not* byte order) APIs. Ethernet and InfiniBand use the LE bit order, a