[GIT PULL] please pull infiniband.git

2010-04-09 Thread Roland Dreier
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git for-linus This will get a few small fixes that have trickled in: Chien Tung (1): RDMA/nes: Correct cap.max_inline_data assignment in nes_query_qp() Dan Carpenter (1): IB/mlx4: Check

[infiniband-diags] fix libibnetdisc corner case when user tries to re-cache a loaded cache

2010-04-09 Thread Al Chu
Hey Sasha, Noticed this corner case. If I load a ibnetdiscover cache, then try to re-cache it, the cache doesn't store things properly b/c I didn't reconstruct one fabric data structure properly. This fixes that bug. Al -- Albert Chu ch...@llnl.gov Computer Scientist High Performance Systems

[PATCH 26/37 v2] librdmacm: set src_addr in rdma_getaddrinfo

2010-04-09 Thread Sean Hefty
If the user provides a source address as a hint, copy the address to rdma_addrinfo ai_src_addr. Signed-off-by: Sean Hefty sean.he...@intel.com --- Changes from v1: Only copy the source address if one is provided by the user though the hints. Do not assign a source address otherwise. The kernel

IB_QPT_RAW_ETY

2010-04-09 Thread Steve Wise
Hey Roland, Is QP type IB_QPT_RAW_ETY intended to provide a raw Ethernet service for sending/receiving Ethernet frames? Steve. -- 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

[PATCH 27/37 v2] librdmacm: add support for IB ACM service

2010-04-09 Thread Sean Hefty
Allow the librdmacm to contact a service via sockets to obtain address mapping and path record data. The use of the service is controlled through a build option (with-ib_acm). If the library fails to contact the service, it falls back to using the kernel services to resolve address and routing

[PATCH v2 03/10] iw_cxgb4: Add module and low level device interface functions.

2010-04-09 Thread Steve Wise
Signed-off-by: Steve Wise sw...@opengridcomputing.com --- drivers/infiniband/hw/cxgb4/device.c | 520 ++ 1 files changed, 520 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/cxgb4/device.c diff --git a/drivers/infiniband/hw/cxgb4/device.c

[PATCH v2 04/10] iw_cxgb4: Add rdma provider interface functions.

2010-04-09 Thread Steve Wise
Signed-off-by: Steve Wise sw...@opengridcomputing.com --- drivers/infiniband/hw/cxgb4/provider.c | 518 1 files changed, 518 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/cxgb4/provider.c diff --git

[PATCH v2 06/10] iw_cxgb4: Add memory management functions.

2010-04-09 Thread Steve Wise
Signed-off-by: Steve Wise sw...@opengridcomputing.com --- drivers/infiniband/hw/cxgb4/mem.c | 811 + 1 files changed, 811 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/cxgb4/mem.c diff --git a/drivers/infiniband/hw/cxgb4/mem.c

[PATCH v2 07/10] iw_cxgb4: Add CQ management functions.

2010-04-09 Thread Steve Wise
Signed-off-by: Steve Wise sw...@opengridcomputing.com --- drivers/infiniband/hw/cxgb4/cq.c | 882 ++ 1 files changed, 882 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/cxgb4/cq.c diff --git a/drivers/infiniband/hw/cxgb4/cq.c

[PATCH v2 08/10] iw_cxgb4: Add QP management functions.

2010-04-09 Thread Steve Wise
Signed-off-by: Steve Wise sw...@opengridcomputing.com --- drivers/infiniband/hw/cxgb4/qp.c | 1542 ++ 1 files changed, 1542 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/cxgb4/qp.c diff --git a/drivers/infiniband/hw/cxgb4/qp.c

[PATCH v2 10/10] iw_cxgb4: Add id and hw resource management functions.

2010-04-09 Thread Steve Wise
Signed-off-by: Steve Wise sw...@opengridcomputing.com --- drivers/infiniband/hw/cxgb4/resource.c | 417 1 files changed, 417 insertions(+), 0 deletions(-) create mode 100644 drivers/infiniband/hw/cxgb4/resource.c diff --git

Re: [PATCH v3 0/2] Using multi-smps on the wire in libibnetdisc

2010-04-09 Thread Sasha Khapyorsky
Hi Ira, On 17:23 Fri 02 Apr , Ira Weiny wrote: Have you had a chance to look at this yet? If you want I can resend the latest version of the patches. No needs. I'm looking at this right now... Sasha -- To unsubscribe from this list: send the line unsubscribe linux-rdma in the body of

Re: [PATCH v2 38/51] IB/qib: Add qib_sysfs.c

2010-04-09 Thread Ralph Campbell
On Thu, 2010-04-08 at 15:50 -0700, Jason Gunthorpe wrote: On Thu, Apr 08, 2010 at 03:26:41PM -0700, Ralph Campbell wrote: On Thu, 2010-04-08 at 15:08 -0700, Jason Gunthorpe wrote: On Thu, Apr 08, 2010 at 02:29:53PM -0700, Ralph Campbell wrote: One other place that has multiple values

Re: [PATCH v2 38/51] IB/qib: Add qib_sysfs.c

2010-04-09 Thread Ralph Campbell
On Thu, 2010-04-08 at 14:33 -0700, Roland Dreier wrote: This was for debugging and clearly could use a better method. Some stats are definitely useful and having files per value would make scripting easier too. I could add /sys/class/infiniband/qib0/ports/1/diag_counters/* One

Re: [PATCH v2 38/51] IB/qib: Add qib_sysfs.c

2010-04-09 Thread Jason Gunthorpe
On Fri, Apr 09, 2010 at 05:13:24PM -0700, Ralph Campbell wrote: For the QSFP data, I hope I can leave it as is since it is related to the link state that the other files contain. It is a read-only file so no issue with trying to set a value. There was some flack for other stuff like this a

Re: [PATCH v3 0/2] Using multi-smps on the wire in libibnetdisc

2010-04-09 Thread Sasha Khapyorsky
On 12:49 Thu 18 Feb , Ira Weiny wrote: After the discussion with Hal I decided it would be safer to just limit the number of outstanding MAD's to 2. This v3 version changes that. I don't think that diagnostic tools (something used for investigations) should have less priority then regular

[PATCH] libibnetdisc: restore hops limited discovery

2010-04-09 Thread Sasha Khapyorsky
Restore hops limited discovery. Signed-off-by: Sasha Khapyorsky sas...@voltaire.com --- infiniband-diags/libibnetdisc/src/ibnetdisc.c | 12 ++-- infiniband-diags/libibnetdisc/src/internal.h |1 + 2 files changed, 7 insertions(+), 6 deletions(-) diff --git

[PATCH] libibnetdisc: keep total number of used SMPs

2010-04-09 Thread Sasha Khapyorsky
Keep and track total number of used SMPs in smp engine structure (total_smps field) and for statistic purpose return it with fabric object (total_mads_used field). Signed-off-by: Sasha Khapyorsky sas...@voltaire.com --- .../libibnetdisc/include/infiniband/ibnetdisc.h|3 ++-

[PATCH] infiniband-diags/ibnetdiscover: report number of used MADs

2010-04-09 Thread Sasha Khapyorsky
When '--max_hops,-m' option is specified report (in comment) a total number of used MADs for discovery aside of number of hops. Signed-off-by: Sasha Khapyorsky sas...@voltaire.com --- infiniband-diags/src/ibnetdiscover.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git

Re: [infiniband-diags] fix libibnetdisc corner case when user tries to re-cache a loaded cache

2010-04-09 Thread Sasha Khapyorsky
On 10:24 Fri 09 Apr , Al Chu wrote: Hey Sasha, Noticed this corner case. If I load a ibnetdiscover cache, then try to re-cache it, the cache doesn't store things properly b/c I didn't reconstruct one fabric data structure properly. This fixes that bug. Al -- Albert Chu