[PATCH V3 0/6] IB Netlink Interface and RDMA CM exports

2010-12-13 Thread Nir Muchtar
IB Netlink infrastructure and module for rdma_cm This patch set provides means for communicating internal data from IB modules to the userspace. It is composed of two components: 1. The main ib_netlink infrastructure which lives and is initialized by ib_core. 2. additional clients which are

[PATCH V3 1/6] IB Netlink Infrastructure

2010-12-13 Thread Nir Muchtar
The basic IB netlink infrastructure. It allows for registration of IB clients for which data is to be exported. It supplies message construction callbacks. Signed-off-by: Nir Muchtar n...@voltaire.com --- drivers/infiniband/core/netlink.c | 179 +

[PATCH V3 2/6] IB Core: Error Handler

2010-12-13 Thread Nir Muchtar
Added missing error handling in ib_core init. (Wasn't intentional right?) Signed-off-by: Nir Muchtar n...@voltaire.com --- drivers/infiniband/core/device.c | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/infiniband/core/device.c

[PATCH V3 3/6] IB Core Run Netlink

2010-12-13 Thread Nir Muchtar
Include and initialize IB netlink from IB core. Signed-off-by: Nir Muchtar n...@voltaire.com --- drivers/infiniband/core/Makefile |2 +- drivers/infiniband/core/device.c | 11 +++ 2 files changed, 12 insertions(+), 1 deletions(-) diff --git a/drivers/infiniband/core/Makefile

[PATCH V3 4/6] RDMA CM: Export State Enum

2010-12-13 Thread Nir Muchtar
exported enum cma_state into rdma_cm.h Signed-off-by: Nir Muchtar n...@voltaire.com --- drivers/infiniband/core/cma.c | 166 +++-- include/rdma/rdma_cm.h| 14 2 files changed, 92 insertions(+), 88 deletions(-) diff --git

[PATCH V3 5/6] RDMA CM: Save Owning PID

2010-12-13 Thread Nir Muchtar
Save owning PID to id-priv when creating id's/accepting connections. Signed-off-by: Nir Muchtar n...@voltaire.com --- drivers/infiniband/core/cma.c |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c index

Re: [PATCH 17/19 V4] mlx4: Using mcg tables for Ethernet Unicast steering.

2010-12-13 Thread Aleksey Senin
+ if (dev-caps.vep_uc_steering) { + err = mlx4_uc_steer_add(dev, port, mac, qpn, 1); + if (!err) { + entry = kmalloc(sizeof *entry, GFP_KERNEL); + if (!entry) { +

Re: IPoIB to Ethernet routing performance

2010-12-13 Thread Jabe
On 12/06/2010 10:27 PM, Jason Gunthorpe wrote: On Mon, Dec 06, 2010 at 09:47:42PM +0100, Jabe wrote: Technologies MT25204 [InfiniHost III Lx HCA]; and dual E5430 xeon (not nehalem). Newer Mellanox cards have most of the offloads you see for ethernet so they get better performance.

Possible bug on SRP device delete

2010-12-13 Thread torn5
Hello all, on the SCST-devel mailing list I posed the following question regarding the removal of mapped SRP disks. I have been suggested to the RDMA mailing list as it might be an ib_srp bug: 5) If I echo one line of ibsrpdm -c to

[GIT PULL] please pull infiniband.git

2010-12-13 Thread Roland Dreier
Linus, please pull from master.kernel.org:/pub/scm/linux/kernel/git/roland/infiniband.git for-linus This tree is also available from kernel.org mirrors at: git://git.kernel.org/pub/scm/linux/kernel/git/roland/infiniband.git for-linus Just a one thing here: a fix for a user-triggerable

Re: [PATCH] mlx4: Change a warning message to debug

2010-12-13 Thread Roland Dreier
Not sure I agree ... surely the point of this message is for the user to see it and know to update firmware? Otherwise why print anything at all, since I'm sure you guys have already fixed the firmware and have a regression test so this bug doesn't reappear? Right :-) So what do

RE: [PATCH 17/19 V4] mlx4: Using mcg tables for Ethernet Unicast steering.

2010-12-13 Thread Yevgeny Petrilin
+                       if (err) +                               mlx4_uc_steer_release(dev, port, mac, *qpn, 1);   Don't you need to free  prevously allocated entry here if insert fail? Yes, this fix will be included in next round of patches.