[PATCH libibverbs V3 1/3] Add ibv_port_cap_flags

2014-05-08 Thread Or Gerlitz
From: Matan Barak mat...@mellanox.com Add an enum that describes ibv_port_cap_flags that complies with the respective kernel enum. This value could be fetched when using ibv_query_port in port_cap_flags. Signed-off-by: Matan Barak mat...@mellanox.com Signed-off-by: Or Gerlitz

[PATCH libibverbs V3 0/3] Add support for UD QPs under RoCE IP addressing

2014-05-08 Thread Or Gerlitz
Hi Roland, This series adds support for Ethernet L2 address resolution for RoCE UD QPs, whose L2 address-handles, unlike RC/UC/XRC/etc QPs are set from user space without going through uverbs and the kernel IB core. The code is also compatible both with old kernels that don't run IP based

[PATCH libibverbs V3 3/3] Add ibv_query_port_ex support

2014-05-08 Thread Or Gerlitz
From: Matan Barak mat...@mellanox.com This patch adds extended support for ibv_query_port. This allows to request fields that aren't availible by the current ibv_query_port API and avoid fetching from vendor library fields that the user doesn't need, which gives more room for optimizations.

[PATCH libibverbs V3 2/3] Use neighbour lookup for RoCE UD QPs Eth L2 resolution

2014-05-08 Thread Or Gerlitz
From: Matan Barak mat...@mellanox.com In order to implement RoCE IP based addressing for UD QPs, without introducing uverbs changes, we need a way to resolve the L2 Ethernet addresses from user-space. This is done with netlink through libnl, and in libibverbs such that multiple vendor provider

[PATCH libmlx4 V2 0/2] Add support for UD QPs under RoCE IP addressing

2014-05-08 Thread Or Gerlitz
Hi Yishai, This is just a rebased-port of the series which adds support for Ethernet L2 address resolution for UD QPs, whose L2 address-handles, unlike RC/UC/XRC/etc QPs are set from user space without going through uverbs and the kernel IB core. Matan and Or. changes from V1: - rebased

[PATCH libmlx4 V2 1/2] Add RoCE IP based addressing support for UD QPs

2014-05-08 Thread Or Gerlitz
From: Matan Barak mat...@mellanox.com In order to implement IP based addressing for UD QPs, we need a way to resolve the addresses internally. The L2 params are passed to the provider driver using an extension verbs - drv_ibv_create_ah_ex. libmlx4 gets the extra mac and vid params from libibverbs

[PATCH libmlx4 V2 2/2] Add ibv_query_port_ex support

2014-05-08 Thread Or Gerlitz
From: Matan Barak mat...@mellanox.com This patch adds the new extended support for query_port. The purpose of this is: 1. Request fields that aren't availible by today's ibv_query_port 2. Don't fetch fields that the user doesn't need. Hence, there is more chance to optimize. 3. Cache link

missing port number(s) in trap 128?

2014-05-08 Thread Jesus Camacho Villanueva
Hello Everyone, When OpenSM receives a trap 128 indicating a Link state of at least one port of switch at LIDADDR has changed, it seems there is not any information about the port number(s) of the affected link(s). Do you know if there is any chance to retrieve this information from this trap or

Re: [PATCH 9/9] IB/srp: Add fast registration support

2014-05-08 Thread Bart Van Assche
On 05/07/14 19:19, Sagi Grimberg wrote: On 5/7/2014 5:59 PM, Bart Van Assche wrote: On 05/07/14 13:34, Sagi Grimberg wrote: +pool = srp_create_fr_pool(dev-dev, dev-pd, + SRP_MDESC_PER_POOL, max_pages_per_mr); 1024 FRMRs per connection?! we use 1024 FMRs for all

[ANNOUNCE] OFED 3.12 rc2 release is available

2014-05-08 Thread Vladimir Sokolovsky
OFED-3.12-rc2 is available at: https://www.openfabrics.org/downloads/OFED/ofed-3.12/OFED-3.12-rc2.tgz To get BUILD_ID run ofed_info Please report any issues in bugzilla http://bugs.openfabrics.org/bugzilla/ for OFED 3.12 OFED-3.12-rc2 Main Changes from OFED 3.12-rc1

Re: missing port number(s) in trap 128?

2014-05-08 Thread Hal Rosenstock
On 5/8/2014 7:51 AM, Jesus Camacho Villanueva wrote: Hello Everyone, When OpenSM receives a trap 128 indicating a Link state of at least one port of switch at LIDADDR has changed, it seems there is not any information about the port number(s) of the affected link(s). Do you know if there

Re: missing port number(s) in trap 128?

2014-05-08 Thread Jesus Camacho Villanueva
Hal, thanks for your quick and clear response. Jesus On 8 May 2014 15:20, Hal Rosenstock h...@dev.mellanox.co.il wrote: On 5/8/2014 7:51 AM, Jesus Camacho Villanueva wrote: Hello Everyone, When OpenSM receives a trap 128 indicating a Link state of at least one port of switch at

Re: [ANNOUNCE] libmlx4 1.0.6 is released

2014-05-08 Thread Yishai Hadas
On 5/8/2014 3:06 AM, Roland Dreier wrote: libmlx4 is a library that allows programs to use RDMA verbs for direct access to RDMA (currently InfiniBand and iWARP) hardware from userspace. The new stable release, 1.0.6, is available from

Re: [PATCH 9/9] IB/srp: Add fast registration support

2014-05-08 Thread Sagi Grimberg
On 5/8/2014 3:38 PM, Bart Van Assche wrote: On 05/07/14 19:19, Sagi Grimberg wrote: On 5/7/2014 5:59 PM, Bart Van Assche wrote: On 05/07/14 13:34, Sagi Grimberg wrote: +pool = srp_create_fr_pool(dev-dev, dev-pd, + SRP_MDESC_PER_POOL, max_pages_per_mr); 1024 FRMRs

Re: Soft lockup in unloading kernel modules

2014-05-08 Thread Anna Schumaker
I haven't applied Chuck's recent (v3) patches to that kernel yet (I've been waiting to see if people have comments). I'll try to push something out today. On 05/08/2014 10:28 AM, Senn Klemens wrote: Hi, I am getting a soft lockup on the NFS server on its reboot if at least one client mount

Re: [PATCH 9/9] IB/srp: Add fast registration support

2014-05-08 Thread Bart Van Assche
On 05/08/14 17:16, Sagi Grimberg wrote: On 5/8/2014 3:38 PM, Bart Van Assche wrote: On 05/07/14 19:19, Sagi Grimberg wrote: On 5/7/2014 5:59 PM, Bart Van Assche wrote: On 05/07/14 13:34, Sagi Grimberg wrote: +pool = srp_create_fr_pool(dev-dev, dev-pd, +

Re: [PATCH 9/9] IB/srp: Add fast registration support

2014-05-08 Thread Sagi Grimberg
On 5/8/2014 7:00 PM, Bart Van Assche wrote: On 05/08/14 17:16, Sagi Grimberg wrote: On 5/8/2014 3:38 PM, Bart Van Assche wrote: On 05/07/14 19:19, Sagi Grimberg wrote: On 5/7/2014 5:59 PM, Bart Van Assche wrote: On 05/07/14 13:34, Sagi Grimberg wrote: +pool =

Re: [PATCH libibverbs V3 3/3] Add ibv_query_port_ex support

2014-05-08 Thread Jason Gunthorpe
On Thu, May 08, 2014 at 09:51:23AM +0300, Or Gerlitz wrote: +struct ibv_port_attr_ex { + union { + struct { + enum ibv_port_state state; + enum ibv_mtumax_mtu; + enum ibv_mtuactive_mtu;

Re: [PATCH libibverbs V3 2/3] Use neighbour lookup for RoCE UD QPs Eth L2 resolution

2014-05-08 Thread Jason Gunthorpe
On Thu, May 08, 2014 at 09:51:22AM +0300, Or Gerlitz wrote: In order to implement RoCE IP based addressing for UD QPs, without introducing uverbs changes, we need a way to resolve the L2 Ethernet addresses from user-space. Please put anything that changes the public verbs ABI in a seperate

Re: [PATCH libibverbs V3 3/3] Add ibv_query_port_ex support

2014-05-08 Thread Christoph Lameter
On Thu, 8 May 2014, Jason Gunthorpe wrote: Anonymous struct/union is a C11 feature and GNU extension. I don't think is appropriate for a user library to rely on. We cannot assume the user is has a compiler in C11 mode. Anonymous structs/union are used in the kernel already. See

Re: [PATCH libibverbs V3 3/3] Add ibv_query_port_ex support

2014-05-08 Thread Jason Gunthorpe
On Thu, May 08, 2014 at 02:40:44PM -0500, Christoph Lameter wrote: On Thu, 8 May 2014, Jason Gunthorpe wrote: Anonymous struct/union is a C11 feature and GNU extension. I don't think is appropriate for a user library to rely on. We cannot assume the user is has a compiler in C11 mode.

Re: [PATCH libibverbs V3 2/3] Use neighbour lookup for RoCE UD QPs Eth L2 resolution

2014-05-08 Thread Or Gerlitz
On Thu, May 8, 2014 at 10:29 PM, Jason Gunthorpe jguntho...@obsidianresearch.com wrote: On Thu, May 08, 2014 at 09:51:22AM +0300, Or Gerlitz wrote: In order to implement RoCE IP based addressing for UD QPs, without introducing uverbs changes, we need a way to resolve the L2 Ethernet

Re: [PATCH libibverbs V3 2/3] Use neighbour lookup for RoCE UD QPs Eth L2 resolution

2014-05-08 Thread Or Gerlitz
On Thu, May 8, 2014 at 11:15 PM, Jason Gunthorpe jguntho...@obsidianresearch.com wrote: On Thu, May 08, 2014 at 11:05:41PM +0300, Or Gerlitz wrote: Thanks for looking commenting, Matan and myself will digest your feedback and respond/fix what's needed. BTW - note that this is V3 where V0/1/2

Re: [PATCH libibverbs V3 2/3] Use neighbour lookup for RoCE UD QPs Eth L2 resolution

2014-05-08 Thread Jason Gunthorpe
On Thu, May 08, 2014 at 11:05:41PM +0300, Or Gerlitz wrote: Thanks for looking commenting, Matan and myself will digest your feedback and respond/fix what's needed. BTW - note that this is V3 where V0/1/2 were posted three months ago, where the earlier rounds of reviewers were focused on

Re: [PATCH libibverbs V3 2/3] Use neighbour lookup for RoCE UD QPs Eth L2 resolution

2014-05-08 Thread Jason Gunthorpe
On Thu, May 08, 2014 at 11:22:47PM +0300, Or Gerlitz wrote: On Thu, May 8, 2014 at 11:15 PM, Jason Gunthorpe jguntho...@obsidianresearch.com wrote: On Thu, May 08, 2014 at 11:05:41PM +0300, Or Gerlitz wrote: Thanks for looking commenting, Matan and myself will digest your feedback and

Re: [PATCH V2] mellanox: Logging message cleanups

2014-05-08 Thread David Miller
From: Joe Perches j...@perches.com Date: Wed, 7 May 2014 12:52:57 -0700 Use a more current logging style. o Coalesce formats o Add missing spaces for coalesced formats o Align arguments for modified formats o Add missing newlines for some logging messages o Use DRV_NAME as part of format