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

2011-07-07 Thread Or Gerlitz
Roland Dreier wrote: I can rereview the patch intoto if this is needed. If you wouldn't mind, that would be great. I would like to get a solution for qib in the tree but as I said I don't like stealing reserved bits, and I'm not confident I know the tradeoffs here. Roland, MiKe Reading

opensm logs can go anywhere in size?

2011-07-07 Thread Or Gerlitz
Hi Alex, I just noted that opensm logs can go anywhere in size when one of my nodes had no space left on device after the opensm log level was raised... I see that the rpm provided with RHEL6 is setting an /etc/logrotate.d/opensm entry which is a copy of ./scripts/opensm.logrotate from the

[PATCH] IB/CMA: fail qkey setting for RDMA_PS_IPOIB and IB_LINK_LAYER_ETHERNET

2011-07-07 Thread Moni Shoua
From: Moni Shoua mo...@mellanox.com In general, when link layer is ETHERNET it is wrong to use IPoIB port space since no IPoIB interface is available. Specifically, setting qkey when port space is RDMA_PS_IPOIB, requires SA query which is impossible when link layer is IB_LINK_LAYER_ETHERNET.

Re: [PATCH 04/14] SIWv2: Module initialization: siw_main.c

2011-07-07 Thread Steve Wise
On 06/30/2011 11:23 AM, Bernard Metzler wrote: Good point. I moved the three attributes to debugfs which looks much more appropriate. I also re-structured module initialization/device registration: The siw module now registers with the netdevice subsystem (register_netdevice_notifier()) to

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

2011-07-07 Thread Hal Rosenstock
Add support for new LinkSpeedExt* components in SM PortInfo attribute Signed-off-by: Hal Rosenstock h...@mellanox.com --- include/infiniband/mad.h |9 + src/dump.c | 75 - src/fields.c |8 + src/libibmad.map

[PATCH 3/3] libibmad: Add PortExtendedSpeedsCounters support

2011-07-07 Thread Hal Rosenstock
Signed-off-by: Hal Rosenstock h...@mellanox.com --- include/infiniband/mad.h | 48 +- src/dump.c |5 src/fields.c | 45 +++ src/libibmad.map |1 + 4 files

[PATCH 00/12] Fold status in error code

2011-07-07 Thread Goldwyn Rodrigues
The firmware command handling in mthca looks like err = mthca_FOO(..., status); if (err) ... if (status) ... Most of the time where status matters, a non-OK status message translates to -EINVAL err. This patchset folds the status in error code, so that we don't need to

[PATCH 01/12] Introduce mthca_status_to_errno

2011-07-07 Thread Goldwyn Rodrigues
The function converts the status to an errno code which is returned to the calling function. This avoids bouncing the status variable for returning the status of the command to the calling function. This is in lines with mlx4_status_to_errno in drivers/net/mlx4/cmd.c ---

[PATCH 02/12] Clear status reporting from mthca_cmd

2011-07-07 Thread Goldwyn Rodrigues
--- drivers/infiniband/hw/mthca/mthca_cmd.c | 211 +++ drivers/infiniband/hw/mthca/mthca_cmd.h | 93 +++--- 2 files changed, 146 insertions(+), 158 deletions(-) diff --git a/drivers/infiniband/hw/mthca/mthca_cmd.c b/drivers/infiniband/hw/mthca/mthca_cmd.c

[PATCH 03/12] Clean status reporting frmom mthca_main

2011-07-07 Thread Goldwyn Rodrigues
--- drivers/infiniband/hw/mthca/mthca_main.c | 188 ++ 1 files changed, 61 insertions(+), 127 deletions(-) diff --git a/drivers/infiniband/hw/mthca/mthca_main.c b/drivers/infiniband/hw/mthca/mthca_main.c index f24b79b..e25e8cb 100644 ---

[PATCH 05/12] Clean status reporting from mthca_cq

2011-07-07 Thread Goldwyn Rodrigues
--- drivers/infiniband/hw/mthca/mthca_cq.c | 15 ++- 1 files changed, 2 insertions(+), 13 deletions(-) diff --git a/drivers/infiniband/hw/mthca/mthca_cq.c b/drivers/infiniband/hw/mthca/mthca_cq.c index 18ee3fa..53157b8 100644 --- a/drivers/infiniband/hw/mthca/mthca_cq.c +++

[PATCH 06/12] Clear status reporting from mthca_mr

2011-07-07 Thread Goldwyn Rodrigues
--- drivers/infiniband/hw/mthca/mthca_mr.c | 35 +++ 1 files changed, 4 insertions(+), 31 deletions(-) diff --git a/drivers/infiniband/hw/mthca/mthca_mr.c b/drivers/infiniband/hw/mthca/mthca_mr.c index 44045c8..ab876f9 100644 ---

[PATCH 07/12] Clear status reporting from mthca_qp

2011-07-07 Thread Goldwyn Rodrigues
--- drivers/infiniband/hw/mthca/mthca_qp.c | 49 ++-- 1 files changed, 15 insertions(+), 34 deletions(-) diff --git a/drivers/infiniband/hw/mthca/mthca_qp.c b/drivers/infiniband/hw/mthca/mthca_qp.c index a34c9d3..9601049 100644 ---

[PATCH 08/12] Clear status reporting from mthca_mcg

2011-07-07 Thread Goldwyn Rodrigues
--- drivers/infiniband/hw/mthca/mthca_mcg.c | 101 ++- 1 files changed, 33 insertions(+), 68 deletions(-) diff --git a/drivers/infiniband/hw/mthca/mthca_mcg.c b/drivers/infiniband/hw/mthca/mthca_mcg.c index 515790a..ace9ff4 100644 ---

[PATCH 09/12] Clear status reporting from mthca_mad

2011-07-07 Thread Goldwyn Rodrigues
--- drivers/infiniband/hw/mthca/mthca_mad.c | 15 --- 1 files changed, 4 insertions(+), 11 deletions(-) diff --git a/drivers/infiniband/hw/mthca/mthca_mad.c b/drivers/infiniband/hw/mthca/mthca_mad.c index 03a59534..b6f7f45 100644 --- a/drivers/infiniband/hw/mthca/mthca_mad.c +++

[PATCH 10/12] Clear status reporting from mthca_provider

2011-07-07 Thread Goldwyn Rodrigues
--- drivers/infiniband/hw/mthca/mthca_provider.c | 77 -- 1 files changed, 11 insertions(+), 66 deletions(-) diff --git a/drivers/infiniband/hw/mthca/mthca_provider.c b/drivers/infiniband/hw/mthca/mthca_provider.c index 1e0b4b6..365fe0e 100644 ---

[PATCH 12/12] Clear status from mthca_srq

2011-07-07 Thread Goldwyn Rodrigues
--- drivers/infiniband/hw/mthca/mthca_srq.c | 33 ++ 1 files changed, 7 insertions(+), 26 deletions(-) diff --git a/drivers/infiniband/hw/mthca/mthca_srq.c b/drivers/infiniband/hw/mthca/mthca_srq.c index 4fabe62..d22f970 100644 ---

[PATCH V1 4/9] mlx4: align current extended capabilities to use the flags field

2011-07-07 Thread Or Gerlitz
Query another dword containing up to 32 extended device capabilities, such that the 64 bit dev cap flags field contains both the extended and the non-extended device flags. Align the code which handles the current extended device capabilities (e.g udp rss, wol, vep steering, etc) to use the