Re: [PATCH ] mlx4_core: Enhance device capabilities flags debug printouts

2014-12-15 Thread Yuval Shaia
On Wed, Dec 10, 2014 at 12:10:07PM +0200, Matan Barak wrote: On 12/8/2014 1:48 AM, Yuval Shaia wrote: 1. Add indication whether feature is supported or not. 2. Add descriptions of all features. Without this fix there is no way to tell if feature is not supported or that description is

[PATCH] mlx4_core: Enhance device capabilities flags debug printouts

2014-12-15 Thread Yuval Shaia
1. Add indication whether feature is supported or not. 2. Add descriptions of all features. Without this fix there is no way to tell if feature is not supported or that description is not exist. Signed-off-by: Yuval Shaia yuval.sh...@oracle.com --- drivers/net/ethernet/mellanox/mlx4/fw.c | 36

Re: [PATCH ] mlx4_core: Enhance device capabilities flags debug printouts

2014-12-15 Thread Or Gerlitz
On Mon, Dec 15, 2014 at 11:21 AM, Yuval Shaia yuval.sh...@oracle.com wrote: On Wed, Dec 10, 2014 at 12:10:07PM +0200, Matan Barak wrote: On 12/8/2014 1:48 AM, Yuval Shaia wrote: 1. Add indication whether feature is supported or not. 2. Add descriptions of all features. Without this fix

Query regarding MAD_DEMUX and Secure Host

2014-12-15 Thread Bob Biloxi
Hi, I was going through the mlx4 code for Secure Host and MAD_DEMUX feature. I had a few queries..hoping that i can get these clarified. If i understand correctly mlx4 codebase (mlx4_core/mlx4_en/mlx4_ib drivers) take care of both RoCE and Infiniband adapters ( in both dedicated and

Re: [PATCH ] mlx4_core: Enhance device capabilities flags debug printouts

2014-12-15 Thread Yuval Shaia
On Mon, Dec 15, 2014 at 11:35:52AM +0200, Or Gerlitz wrote: On Mon, Dec 15, 2014 at 11:21 AM, Yuval Shaia yuval.sh...@oracle.com wrote: On Wed, Dec 10, 2014 at 12:10:07PM +0200, Matan Barak wrote: On 12/8/2014 1:48 AM, Yuval Shaia wrote: 1. Add indication whether feature is supported or

Re: [PATCH ] mlx4_core: Enhance device capabilities flags debug printouts

2014-12-15 Thread Or Gerlitz
On Mon, Dec 15, 2014 at 2:25 PM, Yuval Shaia yuval.sh...@oracle.com wrote: On Mon, Dec 15, 2014 at 11:35:52AM +0200, Or Gerlitz wrote: On Mon, Dec 15, 2014 at 11:21 AM, Yuval Shaia yuval.sh...@oracle.com wrote: On Wed, Dec 10, 2014 at 12:10:07PM +0200, Matan Barak wrote: On 12/8/2014

[PATCH 0/3] Add IB UD calls to free resources after EP/AH resolution

2014-12-15 Thread arlin . r . davis
From: Arlin Davis arlin.r.da...@intel.com Arlin Davis (3): extension: add IB UD extensions to reduce CM/AH memory footprint openib: add new TIMEWAIT state for CM openib: add IB UD cm_free/ah_free extension support in UCM provider dapl/openib_cma/cm.c |5 ++

[PATCH 3/3] openib: add IB UD cm_free/ah_free extension support in UCM provider

2014-12-15 Thread arlin . r . davis
From: Arlin Davis arlin.r.da...@intel.com Make changes to UCM provider for new CM and AH destroy extensions. Allow consumer to schedule CM object destroy after CM connection event has been processed. Active side will put CM object in TIMEWAIT in case RTU is dropped, passive side can schedule CM

[PATCH 2/3] openib: add new TIMEWAIT state for CM

2014-12-15 Thread arlin . r . davis
From: Arlin Davis arlin.r.da...@intel.com Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/openib_common/dapl_ib_common.h |6 -- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dapl/openib_common/dapl_ib_common.h b/dapl/openib_common/dapl_ib_common.h index

[PATCH 1/3] extension: add IB UD extensions to reduce provider CM and AH memory footprint

2014-12-15 Thread arlin . r . davis
From: Arlin Davis arlin.r.da...@intel.com dat_ib_ud_cm_free, dat_ib_ud_ah_free added to allow consumers the option to free provider CM and AH objects, related to AH resolution, immediately after consuming CONN events instead of waiting for EP destroy. With existing UD service providers the CM and

[PATCH 1/3] common: add srq support for openib verbs providers

2014-12-15 Thread arlin . r . davis
From: Amir Hanania amir.hana...@intel.com Add necessary components and hooks to support ib_verbs shared receive queues for both RC and UD QP's. External interfaces were already provided per DAT 2.0 specification but internal support was missing. A new dtestsrq will be provided with package for

[PATCH 0/3] DAPL: SRQ support for ofa providers

2014-12-15 Thread arlin . r . davis
From: Arlin Davis arlin.r.da...@intel.com Amir Hanania (2): common: add srq support for openib verbs providers dtest: add dtestsrq for SRQ example and provider testing Arlin Davis (1): dtestx: update IB extension example test with new v2.0.9 features Makefile.am

[PATCH 0/4] DAPL: bug fixes

2014-12-15 Thread arlin . r . davis
From: Arlin Davis arlin.r.da...@intel.com Arlin Davis (4): ucm: RTU not retransmitted in TIMEWAIT state dtestx: allow scale up to 1000 EP's common: dapl_ep_free must serialize CM object destroy ucm: add time wait override capability for CM services dapl/common/dapl_ep_free.c |

[PATCH 4/4] ucm: add time wait override capability for CM services

2014-12-15 Thread arlin . r . davis
From: Arlin Davis arlin.r.da...@intel.com New environment variable DAPL_UCM_WAIT_TIME (ms) to override the default wait_time for CM services. Default setting is 60 seconds. Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/openib_common/dapl_ib_common.h |1 + dapl/openib_ucm/cm.c

[PATCH 1/4] ucm: RTU not retransmitted in TIMEWAIT state

2014-12-15 Thread arlin . r . davis
From: Arlin Davis arlin.r.da...@intel.com Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/openib_ucm/cm.c | 21 - 1 files changed, 16 insertions(+), 5 deletions(-) diff --git a/dapl/openib_ucm/cm.c b/dapl/openib_ucm/cm.c index e462632..141086d 100644 ---

[PATCH 3/4] common: dapl_ep_free must serialize CM object destroy

2014-12-15 Thread arlin . r . davis
From: Arlin Davis arlin.r.da...@intel.com CM object could be destroyed from time_wait state from provider in separate thread. Destruction must be serialized with EP lock. Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/common/dapl_ep_free.c | 21 +++-- 1 files

linux-next: manual merge of the infiniband tree with Linus' tree

2014-12-15 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the infiniband tree got a conflict in drivers/infiniband/hw/mlx5/mr.c between commit 479163f46082 (mlx5: don't duplicate kvfree()) from Linus' tree and commit 89c925949c1f (IB/mlx5: Implement on demand paging by adding support for MMU notifiers) from the

linux-next: build failure after merge of the infiniband tree

2014-12-15 Thread Stephen Rothwell
in this function) if (dev-caps.gen.flags MLX5_DEV_CAP_FLAG_ON_DMND_PG) ^ Really? Code added half way though the merge window not even build tested? I have used the infiniband tree from next-20141215 for today. -- Cheers, Stephen Rothwells

Re: linux-next: build failure after merge of the infiniband tree

2014-12-15 Thread Roland Dreier
On Mon, Dec 15, 2014 at 5:56 PM, Roland Dreier rol...@kernel.org wrote: I'll add a partial revert of that patch to my tree to get back the now-used enum values. I rebased my tree on top of the merge-window merge of davem's tree, and added the missing flag on top of the remove this flag commit.