[patch] RDMA/cxgb3: timeout condition is never true

2013-06-18 Thread Dan Carpenter
This is a static checker fix. count is unsigned so it's never -1. Since count is 16 bits and the addition operation is implicitly casted to int then there is no wrapping here. Signed-off-by: Dan Carpenter dan.carpen...@oracle.com diff --git a/drivers/infiniband/hw/cxgb3/iwch_qp.c

Re: config file lost

2013-06-18 Thread Or Gerlitz
On 17/06/2013 21:44, Hal Rosenstock wrote: I'm not 100% sure about the origin of those RPMs but I think the 3.3.15 one is RedHat packaged and the 3.3.16 appears to be PLD packaged and the processes are a little different. I suspect the 3.3.16 one is packaged with the spec file in the tree

Re: [PATCH] Log changes related to event subscription and forwarding

2013-06-18 Thread Hal Rosenstock
On 6/5/2013 7:14 AM, Line Holen wrote: Signed-off-by: Line Holen line.ho...@oracle.com Thanks. Applied with minor change to keep log level same in send_report. -- Hal -- To unsubscribe from this list: send the line unsubscribe linux-rdma in the body of a message to majord...@vger.kernel.org

[PATCH opensm] ftree: Allow defining only io_guids file and consider rest of nodes as CN nodes

2013-06-18 Thread Hal Rosenstock
From 2068a60399865590aff094738e3350f972c6e9b4 Mon Sep 17 00:00:00 2001 From: Vladimir Koushnir vladim...@mellanox.com Date: Sun, 9 Jun 2013 18:05:01 +0300 Subject: [PATCH] ftree: Allow defining only io_guids file and consider rest of nodes as CN nodes In the current implementation cn_guids and

Re: Node Description mismatch between saquery smpquery

2013-06-18 Thread Hal Rosenstock
On 6/17/2013 5:38 PM, Albert Chu wrote: We've recently noticed that the Node Description for a node can mis-mismatch between the output of smpquery and saquery. For example: # smpquery NodeDesc 427 Node Description:.sierra1932 qib0 # saquery NodeRecord 427 | grep NodeDesc

Re: config file lost

2013-06-18 Thread Hal Rosenstock
On 6/18/2013 5:03 AM, Or Gerlitz wrote: On 17/06/2013 21:44, Hal Rosenstock wrote: I'm not 100% sure about the origin of those RPMs but I think the 3.3.15 one is RedHat packaged and the 3.3.16 appears to be PLD packaged and the processes are a little different. I suspect the 3.3.16 one is

Re: config file lost

2013-06-18 Thread Or Gerlitz
On 18/06/2013 14:19, Hal Rosenstock wrote: Is /etc/rdma a standard location in Linux ? Is it used by other RDMA upstream components ? its used by RHEL packages, not upstream Also, opensm doesn't by default use this location for the config file. I expect that's dealt with by other scripts

Re: [PATCH 07/14] scsi_transport_srp: Add transport layer error handling

2013-06-18 Thread Vu Pham
Bart Van Assche wrote: On 06/14/13 19:59, Vu Pham wrote: On 06/13/13 21:43, Vu Pham wrote: +/** + * srp_tmo_valid() - check timeout combination validity + * + * If no fast I/O fail timeout has been configured then the device loss timeout + * must be below SCSI_DEVICE_BLOCK_MAX_TIMEOUT. If a

Re: [PATCH] libibverbs: Allow arbitrary int values for MTU

2013-06-18 Thread Jason Gunthorpe
On Mon, Jun 17, 2013 at 02:00:07PM -0700, Jeff Squyres wrote: Keep IBV_MTU_* enums values as they are, but pass MTU values around as int's. This is an ABI-compatible change; legacy applications will use the enum values, but newer applications can use an int for values that do not currently

Re: [patch] RDMA/cxgb3: timeout condition is never true

2013-06-18 Thread Steve Wise
Acked-by: Steve Wise sw...@opengridcomputing.com -- 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: Node Description mismatch between saquery smpquery

2013-06-18 Thread Weiny, Ira
-Original Message- From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma- Subject: Re: Node Description mismatch between saquery smpquery On Tue, 2013-06-18 at 07:13 -0400, Hal Rosenstock wrote: On 6/17/2013 5:38 PM, Albert Chu wrote: We've recently noticed that the Node

[PATCH] ibsim: Do not return allportselect for non-switches

2013-06-18 Thread Albert Chu
ibsim only supports allportselect (i.e. port 0xff) for switches but not HCAs. However the allportselect flag would be returned for all classportinfo requests, leading to unexpected results when running some infiniband-diag tools against ibsim. Signed-off-by: Albert L. Chu ch...@llnl.gov ---

[PATCH] IB/ehca: Fix error return code in ehca_create_slab_caches()

2013-06-18 Thread Wei Yongjun
From: Wei Yongjun yongjun_...@trendmicro.com.cn Fix to return -ENOMEM in the kmem_cache_create() error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun yongjun_...@trendmicro.com.cn --- drivers/infiniband/hw/ehca/ehca_main.c | 1 + 1 file changed, 1