[ewg] ofa_1_5_kernel 20100218-0200 daily build status

2010-02-18 Thread Vladimir Sokolovsky (Mellanox)
/tmp/ofa_1_5_kernel-20100218-0200_linux-2.6.18-164.el5_x86_64_check/drivers/scsi/scsi_transport_iscsi.c:1832: warning: assignment from incompatible pointer type /home/vlad/tmp/ofa_1_5_kernel-20100218-0200_linux-2.6.18-164.el5_x86_64_check/drivers/scsi/scsi_transport_iscsi.c: In function

[ewg] [PATCH OFED-151] ehca forward ports

2010-02-18 Thread Alexander Schmidt
Hi Vlad, please apply for OFED-151. Forward ports for ehca driver to enable compilation on 2.6.32 and 2.6.31. Signed-off-by: Alexander Schmidt al...@linux.vnet.ibm.com --- kernel_patches/backport/2.6.32/ehca-010-remove_driver_data.patch | 60 ++

[ewg] [PATCH OFED-151] ehca in install.pl

2010-02-18 Thread Alexander Schmidt
Hi Vlad, another patch for OFED-1.5.1... Signed-off-by: Alexander Schmidt al...@linux.vnet.ibm.com --- install.pl |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- OFED-1.5.1-20100217-0757.orig/install.pl +++ OFED-1.5.1-20100217-0757/install.pl @@ -1658,7 +1658,7 @@ sub

[ewg] [PATCHv8 0/11] IBoE support to Infiniband

2010-02-18 Thread Eli Cohen
IBoE allows running the IB transport protocol using Ethernet frames, enabling the deployment of IB semantics on lossless Ethernet fabrics. IBoE packets are standard Ethernet frames with an IEEE assigned Ethertype, a GRH, unmodified IB transport headers and payload. IB subnet management and SA

[ewg] [PATCHv8 01/11] ib core: Add link layer property to ports

2010-02-18 Thread Eli Cohen
This patch adds the infrastructure for querying the link layer of a port, which can be either IB_LINK_LAYER_INFINIBAND or IB_LINK_LAYER_ETHERNET. This is required for adding IBoE support to Infiniband drivers so that branching decisions can be made according to the value of this property. For

[ewg] [PATCHv8 02/11] ib_core: IBoE support only QP1

2010-02-18 Thread Eli Cohen
Since IBoE is using Ethernet as its link layer, there is no central management entity so there is need for QP0. QP1 is still needed since it handles communications between CM agents. This patch will create only QP1 for IBoE ports. Signed-off-by: Eli Cohen e...@mellanox.co.il --- Changes from v7:

[ewg] [PATCHv8 03/11] IB/umad: Enable support only for IB ports

2010-02-18 Thread Eli Cohen
Initialize umad context only for Infiniband (as opposed to Ethernet) ports. Signed-off-by: Eli Cohen e...@mellanox.co.il --- drivers/infiniband/core/user_mad.c | 11 +++ 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/infiniband/core/user_mad.c

[ewg] [PATCHv8 04/11] ib_core: IBoE CMA device binding

2010-02-18 Thread Eli Cohen
Add support for IBoE device binding and IP -- GID resolution. Path resolving and multicast joining are implemented within cma.c by filling the responses and pushing the callbacks to the cma work queue. IP-GID resolution always yields IPv6 link local addresses - remote GIDs are derived from the

[ewg] [PATCHv8 05/11] ib_core: IBoE UD packet packing support

2010-02-18 Thread Eli Cohen
Add support functions to aid in packing IBoE packets. Signed-off-by: Eli Cohen e...@mellanox.co.il --- drivers/infiniband/core/ud_header.c | 100 ++ include/rdma/ib_pack.h | 29 +- 2 files changed, 92 insertions(+), 37 deletions(-) Changes

[ewg] [PATCHv8 06/11] ipoib: avoid ipoib over IBoE

2010-02-18 Thread Eli Cohen
IPoIB is an implementation of IP over Infiniband transport. In the case of IBoE, the link layer is Ethernet so IP can work directly over Ethernet, so disable IPoIB for none IB_LINK_LAYER_INFINIBAND ports. Signed-off-by: Eli Cohen e...@mellanox.co.il --- drivers/infiniband/ulp/ipoib/ipoib_main.c

[ewg] [PATCHv8 07/11] ib_core: Add API to support IBoE from userspace

2010-02-18 Thread Eli Cohen
Add ib_uverbs_get_eth_l2_addr() to allow ibv_create_ah() to resolve sgid, dgid to vlan, dmac for any gid type. Although user-space might bypass this call for link-local gids, it is better not to replicate the kernel resolution policy. Port link layer is also returned by ibv_query_port().

[ewg] [PATCHv8 09/11] mlx4: Add support for IBoE - address resolution

2010-02-18 Thread Eli Cohen
The following patch handles address vectors creation for IBoE ports. mlx4 needs the MAC address of the remote node to include it in the WQE of a UD QP or in the QP context of connected QPs. Address resolution is done atomically in the case of a link local address or a multicast GID and otherwise

[ewg] [PATCHv8 10/11] ib_core: Add VLAN support to IBoE

2010-02-18 Thread Eli Cohen
Add 802.1q vlan support to IBoE. The vlan tag is encoded within the GID derived from a link local address in the following way: GID[11] GID[12] contain the vlan ID. The 3 bit user priority field is identical to the 3 bits of the SL. In case rdma_cm apps, the TOS field is used to generate the SL

[ewg] [PATCHv8 11/11] mlx4: Add vlan support to IBoE

2010-02-18 Thread Eli Cohen
This patch allows IBoE traffic to be encapsulated in 802.1q tagged VLAN frames. The VLAN tag is encoded in the GID and derived from it by a simple computation. The netdev notifier callback is modified to catch new VLAN devices addition/removal and the port's GID table is updated to reflect the

[ewg] [PATCHv8 1/4] libibverbs: Add link layer field to ibv_port_attr

2010-02-18 Thread Eli Cohen
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 change the size of

[ewg] [PATCHv8 2/4] libibverbs: change kernel API to accept link layer

2010-02-18 Thread Eli Cohen
Modify the code to allow passing the link layer of a port from kernel to user. Update ibv_query_port.3 man page with the change. Signed-off-by: Eli Cohen e...@mellanox.co.il --- include/infiniband/kern-abi.h |3 ++- man/ibv_query_port.3 |1 + src/cmd.c |1

[ewg] [PATCHv8 3/4] libibverbs: Add API to retrieve eth link layer address

2010-02-18 Thread Eli Cohen
Add a command to retrieve the layer 2 address of an ethernet port. The layer 2 address is comprised of the port's MAC address and the VLAN ID.This is required by libraries to build work requests when the port's link layer is Ethernet. Signed-off-by: Eli Cohen e...@mellanox.co.il ---

[ewg] [PATCHv8 4/4] libibverbs: Update examples for IBoE

2010-02-18 Thread Eli Cohen
Since IBoE requires usage of GRH, update ibv_*_pinpong examples to accept GIDs. GIDs are given as an index to the local port's table and are exchanged between the client and the server through the socket connection. The examples are also modified to pass the gid index to the code that creates the

[ewg] [PATCHv8 2/2] libmlx4: Add Eth devices to ib devices list

2010-02-18 Thread Eli Cohen
With the new IBoE implementation, Ethernet devices expose also IB devices. Update the list of supported devices with that of the kernel. Signed-off-by: Eli Cohen e...@mellanox.co.il --- src/mlx4.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/src/mlx4.c

[ewg] [PATCHv8 1/2] libmlx4: Add IBoE support

2010-02-18 Thread Eli Cohen
Modify libmlx4 to support IBoE. The change involves retrieving the ethernet layer 2 address of a port based on its GID and source index through a new system call, ibv_cmd_eth_l2_addr(), and embedding the layer 2 information in the address vector representation of mlx4. Signed-off-by: Eli Cohen

Re: [ewg] [PATCH OFED-151] ehca forward ports

2010-02-18 Thread Vladimir Sokolovsky
Alexander Schmidt wrote: Hi Vlad, please apply for OFED-151. Forward ports for ehca driver to enable compilation on 2.6.32 and 2.6.31. Signed-off-by: Alexander Schmidt al...@linux.vnet.ibm.com --- kernel_patches/backport/2.6.32/ehca-010-remove_driver_data.patch | 60 ++

[ewg] [PATCH] IB/qib: update driver for OFED 1.5.1

2010-02-18 Thread Ralph Campbell
Vlad, Please pull from: git://git.openfabrics.org/~ralphc/linux-2.6 ofed_kernel_1_5 commit bbf2471eac44a9cf2db05803a212162da3898ca4 Author: Ralph Campbell (QLogic) ral...@lists.openfabrics.org Date: Thu Feb 18 13:53:24 2010 -0800 IB/qib: update driver for OFED 1.5.1 This patch

Re: [ewg] MLX4 Strangeness

2010-02-18 Thread Vu Pham
Hi Tom, Status 12 = IB_WC_RETRY_EXC_ERR Vendor_err = 129 -- Timeout and transport error counter exceeded This indicates that we lost connection to the client ie. something went wrong on client side (bad operation cause QP error...) please try to catch any error on the client (qp async event, cq