Re: [PATCHv10 1/4] libibverbs: Add link layer field to ibv_port_attr

2011-01-03 Thread Or Gerlitz
Eli Cohen wrote: > This field can have one of the values - IBV_LINK_LAYER_UNSPECIFIED, > IBV_LINK_LAYER_INFINIBAND, IBV_LINK_LAYER_ETHERNET. It can be used by > applications to know the link layer used by the port, which can be either > Infiniband or Ethernet. The addition of the new field does not

Re: [ewg] IPoIB to Ethernet routing performance

2011-01-03 Thread Christoph Lameter
On Sat, 25 Dec 2010, Ali Ayoub wrote: > On Thu, Dec 9, 2010 at 3:46 PM, Christoph Lameter wrote: > > On Mon, 6 Dec 2010, sebastien dugue wrote: > > > >> > The Mellanox BridgeX looks a better hardware solution with 12x 10Ge > >> > ports but when I tested this they could only provide vNIC > >> > fu

[PATCH V4 6/6] RDMA CM: Save Owning PID

2011-01-03 Thread Nir Muchtar
Save owning PID to id-priv when creating id's/accepting connections. Signed-off-by: Nir Muchtar --- drivers/infiniband/core/cma.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/drivers/infiniband/core/cma.c b/drivers/infiniband/core/cma.c index 6436995..03f9649

[PATCH V4 5/6] RDMA CM: Netlink Client

2011-01-03 Thread Nir Muchtar
Add callbacks and data types for statistics export. One callback is implemented that exports all of the current devices/ids. Add/remove the callback to IB Netlink on init/cleanup. Signed-off-by: Nir Muchtar --- drivers/infiniband/core/cma.c | 91 + inclu

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

2011-01-03 Thread Nir Muchtar
exported enum cma_state into rdma_cm.h Signed-off-by: Nir Muchtar --- drivers/infiniband/core/cma.c | 166 +++-- include/rdma/rdma_cm.h| 14 2 files changed, 92 insertions(+), 88 deletions(-) diff --git a/drivers/infiniband/core/cma.c b/driver

[PATCH V4 3/6] IB Core: Run Netlink

2011-01-03 Thread Nir Muchtar
Include and initialize IB netlink from IB core. Signed-off-by: Nir Muchtar --- 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 b/drivers/infiniband/co

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

2011-01-03 Thread Nir Muchtar
Added missing error handling in ib_core init. (Wasn't intentional right?) Signed-off-by: Nir Muchtar --- drivers/infiniband/core/device.c | 11 +-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/infiniband/core/device.c b/drivers/infiniband/core/device.c index a

[PATCH V4 1/6] IB Netlink Infrastructure

2011-01-03 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 --- drivers/infiniband/core/netlink.c | 178 + include/linux/netlink.h

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

2011-01-03 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 implem

Re: [RFC 5/8] IB/srp: reduce local coverage for command submission and EH

2011-01-03 Thread David Dillow
On Sun, 2011-01-02 at 18:16 +0100, Bart Van Assche wrote: > On Thu, Dec 23, 2010 at 10:31 PM, David Dillow wrote: > > > > We only need locks to protect our lists and number of credits available. > > By pre-consuming the credit for the request, we can reduce our lock > > coverage to just those area

Re: [RFC 6/8] IB/srp: reduce lock coverage of command completion

2011-01-03 Thread David Dillow
On Sun, 2011-01-02 at 18:27 +0100, Bart Van Assche wrote: > Before this patch target->req_lim was updated both when receiving a > response for a regular SRP command and when receiving a response for > an SRP task management command. This patch modifies that in only > updating target->req_lim in the