RE: [PATCH] dapl: Fix segfault while freeing qp

2015-09-29 Thread Davis, Arlin R
Thanks, applied. > -Original Message- > From: Bharat Potnuri [mailto:bha...@chelsio.com] > Sent: Tuesday, September 29, 2015 5:30 AM > To: Davis, Arlin R > Cc: linux-rdma@vger.kernel.org; sw...@opengridcomputing.com; > nirran...@chelsio.com; Bharat Potnuri > Subje

[ANNOUNCE] dapl-2.1.6-1 release

2015-08-13 Thread Davis, Arlin R
New release for uDAPL (2.1.6) is available at http://downloads.openfabrics.org/dapl/ Vlad, please pull into OFED 3.18-1 md5sum: dce3ef7c943807d35bcb26dae72b1d88 dapl-2.1.6.tar.gz For v2.1 package install RPM packages as follow: dapl-2.1.6-1 dapl-utils-2.1.6-1

[ANNOUNCE] dapl-2.1.5-1 release

2015-05-26 Thread Davis, Arlin R
New release for uDAPL (2.1.5) is available at http://downloads.openfabrics.org/dapl/dapl-2.1.5.tar.gz Vlad, please pull into OFED 3.18 RC3 md5sum: 8a7735bfe24dd7c446aec38db3577728 dapl-2.1.5.tar.gz For v2.1 package install RPM packages as follow: dapl-2.1.5-1 dapl-utils-2.1.5-1

[PATCH 0/5] dapl: ucm provider changes for large CM UD alltoall scaling

2015-05-22 Thread Davis, Arlin R
From: Arlin Davis arlin.r.da...@intel.com Tested on 1200n, 28ppn cluster, MPI AlltoAll Intel MPI, UD mode, static and dynamic, over 500m connections. Arlin Davis (5): ucm: optimizations for large scale UD communication management ucm: check for AH caching when destroying via UD extension

[PATCH 5/5] dapl ucm: CM changes for UD extended port space and indexer

2015-05-22 Thread Davis, Arlin R
From: Arlin Davis arlin.r.da...@intel.com Change port manager to indexer and service ID manager to bitarray indexer. Reduces footprint for service IDs and allow direct lookup on CM messages. New insert, remove, lookup functions for processing ID based CM objects. Inbound requests, with the

[PATCH 4/5] dapl ucm: add device support for new port space hash table

2015-05-22 Thread Davis, Arlin R
From: Arlin Davis arlin.r.da...@intel.com Allocate port space hash table during device open when creating CM services. Default settings are set to 4K entry chunks and 256K total port slots. Add environment variables for adjustments DAPL_UCM_ENTRY_BITS 11 DAPL_UCM_ARRAY_BITS 18 Add debug output

[PATCH 1/5] dapl ucm: optimizations for large scale UD communication management

2015-05-22 Thread Davis, Arlin R
From: Arlin Davis arlin.r.da...@intel.com AH caching per QP, AH space set to 48K for LID unicast Bump port space up to 24 bits Reduce CM object and reduce private data to 68 bytes Add xport space and rtns to DCM reserve fields. New indexer macros for port space hash table management Add hash

[PATCH 2/5] dapl ucm: check for AH caching when destroying via UD extension

2015-05-22 Thread Davis, Arlin R
From: Arlin Davis arlin.r.da...@intel.com Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/openib_common/ib_extensions.c | 14 -- 1 files changed, 12 insertions(+), 2 deletions(-) diff --git a/dapl/openib_common/ib_extensions.c b/dapl/openib_common/ib_extensions.c

[ANNOUNCE] dapl-2.1.4-1 release

2015-03-20 Thread Davis, Arlin R
New release for uDAPL (2.1.4) is available at http://www.openfabrics.org/downloads/dapl Vlad, please pull into OFED 3.18 RC2 md5sum: d20bd85bc71c2f3391fb4c8d61e4e62d dapl-2.1.4.tar.gz For v2.1 package install RPM packages as follow: dapl-2.1.4-1 dapl-utils-2.1.4-1 dapl-devel-2.1.4-1

[ANNOUNCE] dapl-2.1.3-1 release

2014-12-16 Thread Davis, Arlin R
New release for DAPL (2.1.3) is available at http://www.openfabrics.org/downloads/dapl Vlad, please pull into OFED 3.18 daily builds. Latest Packages (see ChangeLog for recent changes, see README.mcm for MIC support): md5sum: 04537bdd405b89c562d73bfdd6027c2b dapl-2.1.3.tar.gz For package

RE: [PATCH for-next 9/9] Samples: Peer memory client example

2014-10-07 Thread Davis, Arlin R
-Original Message- From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma- ow...@vger.kernel.org] On Behalf Of Hefty, Sean Sent: Wednesday, October 01, 2014 10:16 AM To: Yishai Hadas; rol...@kernel.org Cc: linux-rdma@vger.kernel.org; rain...@mellanox.com Subject: RE: [PATCH

RE: [PATCH 4/5] dapl: add support for the s390x platform

2014-09-02 Thread Davis, Arlin R
Subject: [PATCH 4/5] dapl: add support for the s390x platform This patch adds the dapl_os_atopmic_inc, dapl_os_atomic_dec, and dapl_os_atomic_assign function implementatios to the dapl userspace package to provide the DAPL API support on the s390x platform by adding Assembler language

[ANNOUNCE] dapl-2.1.2-1 release

2014-09-02 Thread Davis, Arlin R
New release for uDAPL (2.1.2) is available at http://www.openfabrics.org/downloads/dapl Vlad, please pull into OFED 3.12-1 RC2 md5sum: dd757dec11cb23702aea8474e76a0037 dapl-2.1.2.tar.gz For v2.1 package install RPM packages as follow: dapl-2.1.2-1 dapl-utils-2.1.2-1 dapl-devel-2.1.2-1

[ANNOUNCE] dapl-2.1.1-1 release

2014-08-13 Thread Davis, Arlin R
New release for uDAPL v2 (2.1.1) is available at http://www.openfabrics.org/downloads/dapl Vlad, please pull into OFED 3.12-1 RC1 md5sum: ffdfefd85ddded65286a0d728508fbce dapl-2.1.1.tar.gz For v2.1 package install RPM packages as follow: dapl-2.1.1-1 dapl-utils-2.1.1-1 dapl-devel-2.1.1-1

[ANNOUNCE] dapl-2.1.0-1 release - MIC support

2014-07-25 Thread Davis, Arlin R
New release for uDAPL v2 (2.1.0) is available at http://www.openfabrics.org/downloads/dapl MIC support has been added in this release and is provided with the new MCM provider and MPXYD service. MCM requires the Intel(R) MPSS 3.x (YOCTO) release for Linux to be installed on your system. MPSS

[ANNOUNCE] dapl-2.0.42 release

2014-05-05 Thread Davis, Arlin R
New release for uDAPL v2 (2.0.42) available at http://www.openfabrics.org/downloads/dapl Vlad, please pull into OFED 3.12 RC2. md5sum: 08a9ccf071935c9149d4bd1d6a0f9d65 dapl-2.0.42.tar.gz For v2.0 package install RPM packages as follow: dapl-2.0.42-1 dapl-utils-2.0.42-1

[PATCH 5/5] dat: lower log level on load errors of provider library

2014-03-13 Thread Davis, Arlin R
Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dat/udat/linux/dat_osd.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dat/udat/linux/dat_osd.c b/dat/udat/linux/dat_osd.c index 28ac9fa..cbb95ba 100644 --- a/dat/udat/linux/dat_osd.c +++

[PATCH 1/5] dapltest: update scripts for regression testing purposes

2014-03-13 Thread Davis, Arlin R
cl.sh and srv.sh update to provide better examples and a method to quickly regression test any dapltest changes. usage: srv.sh devicename where devicename is provider (default = ofa-v2-mlx4_0-1) usage: cl.sh hostname testname devicename where testname stop - request DAPLtest server

[PATCH 3/5] dapltest: set default limit max to 1000

2014-03-13 Thread Davis, Arlin R
Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- test/dapltest/cmd/dapl_limit_cmd.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/test/dapltest/cmd/dapl_limit_cmd.c b/test/dapltest/cmd/dapl_limit_cmd.c index e59707e..77e1ae4 100644 ---

[PATCH 2/5] openib: add new provider specific attributes

2014-03-13 Thread Davis, Arlin R
DAT_IB_PROVIDER_NAME = UCM/CMA/SCM DAT_IB_DEVICE_NAME = ibv_get_device_name DAT_IB_CONNECTIVITY_MODE = DIRECT/PROXY DAT_IB_RDMA_READ = TRUE/FALSE DAT_IB_NODE_GUID = ::: DAT_IB_PORT_STATE = ibv_port_state_str Signed-off-by: Arlin Davis arlin.r.da...@intel.com ---

[PATCH 4/5] dat: dat_ia_open needs to close provider after failure

2014-03-13 Thread Davis, Arlin R
Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dat/udat/udat.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/dat/udat/udat.c b/dat/udat/udat.c index 03edcf9..842b36c 100755 --- a/dat/udat/udat.c +++ b/dat/udat/udat.c @@ -210,6 +210,12 @@ dat_ia_openv(IN

[PATCH] udapl: move dapltest default server port outside ephemeral port range

2014-03-13 Thread Davis, Arlin R
Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- test/dapltest/include/dapl_common.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/test/dapltest/include/dapl_common.h b/test/dapltest/include/dapl_common.h index a514973..7dfe471 100644 ---

RE: [PATCH V2] dapltest: Add final send/recv sync for transaction tests.

2014-03-03 Thread Davis, Arlin R
The transaction tests need both sides to send a sync message after running the test. This ensures that all remote operations are complete before dapltest deregeisters memory and disconnects the endpoints. Without this logic, we see intermittent async errors on iwarp devices because a read

RE: [PATCH V2] dapltest: Add final send/recv sync for transaction tests.

2014-03-03 Thread Davis, Arlin R
Hey Arlin, I'd like to get this fix into OFED-3.12 if possible. Ok, I will include this fix in the next dapl package targeted for OFED-3.12 RC2. N�r��yb�X��ǧv�^�)޺{.n�+{��ٚ�{ay�ʇڙ�,j��f���h���z��w��� ���j:+v���w�j�mzZ+�ݢj��!�i

RE: [PATCH 1/4] NULL undeclared on Fedora

2014-02-10 Thread Davis, Arlin R
--- a/dat/include/dat2/dat_platform_specific.h +++ b/dat/include/dat2/dat_platform_specific.h @@ -147,6 +147,7 @@ typedef DAT_UINT64 DAT_PADDR; #if defined(__KERNEL__) #include linux/types.h #else +#include stdio.h You could use #include stddef.h if only NULL is

[ANNOUNCE] dapl-2.0.40

2014-02-10 Thread Davis, Arlin R
A new release of dapl is available at http://www.openfabrics.org/downloads/dapl Latest Package (see ChangeLog for recent changes): md5sum: 7c6ef6e0573672ffb19f75db305b609c dapl-2.0.40.tar.gz Install following RPM packages: dapl-2.0.40-1 dapl-utils-2.0.40-1

[PATCH 3/4] dapltest: the quit command is missing changes for -n option.

2014-02-09 Thread Davis, Arlin R
Server-port was not being set properly during param init phase on the client side. Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- test/dapltest/cmd/dapl_params.c |1 + test/dapltest/cmd/dapl_quit_cmd.c | 10 +- test/dapltest/include/dapl_quit_cmd.h |1 + 3

[PATCH 1/4] NULL undeclared on Fedora

2014-02-09 Thread Davis, Arlin R
Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dat/include/dat2/dat_platform_specific.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/dat/include/dat2/dat_platform_specific.h b/dat/include/dat2/dat_platform_specific.h index ba4cfbc..8d62bd0 100644 ---

[PATCH 2/4] dat.conf: remove v1, add Mellanox Connect-IB and Intel Xeon Phi MIC

2014-02-09 Thread Davis, Arlin R
Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- doc/dat.conf | 36 +++- 1 files changed, 27 insertions(+), 9 deletions(-) diff --git a/doc/dat.conf b/doc/dat.conf index 60fb211..ad6ab05 100644 --- a/doc/dat.conf +++ b/doc/dat.conf @@ -32,12 +32,30 @@

[PATCH 4/4] dist: ib collective extension include files missing

2014-02-09 Thread Davis, Arlin R
Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- Makefile.am |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/Makefile.am b/Makefile.am index 7441348..47a9d9c 100755 --- a/Makefile.am +++ b/Makefile.am @@ -548,6 +548,8 @@ EXTRA_DIST = dat/common/dat_dictionary.h

[PATCH] DAPL v2.0: dapltest: fix endian swap issue with performance test

2013-10-03 Thread Davis, Arlin R
Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- test/dapltest/test/dapl_performance_client.c |2 +- test/dapltest/test/dapl_performance_server.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/dapltest/test/dapl_performance_client.c

[PATCH] DAPL v2.0: SCM: getifaddrs modfications for better out of the box experience

2013-10-03 Thread Davis, Arlin R
socket cm will now walk list of interfaces and ignore loopback and ignore IB devices, unless the IB netdev is the only device. Works better in a heterogeneous environment with a mix of net device. Tested with br0, mic0, and mic0:ib netdev mixes. Overriding with DAPL_SCM_NETDEV still works as is.

[PATCH] DAPL v2.0: ucm, scm: UD mode triggers list_head assert with large scale alltoall test

2013-10-03 Thread Davis, Arlin R
1024+ ranks, IMB alltoall may hit assert when running Intel MPI in UD mode. CR cleanup was implemented with EP to CR references still linked. During cr_accept, the CR remote_ia_address is linked to EP object by mistake with UD mode. UD mode my have multiple CRs per EP so no direct mappings to CR

[ANNOUNCE] dapl-2.0.39

2013-10-03 Thread Davis, Arlin R
Rupert, Please pull new dapl-2.0.39 package into OFED 3.5-2 RC2 Thanks, Arlin -- Latest Packages (see ChangeLog for recent changes): md5sum: 9858bd36c4c21846a9c8a72bc0ad1339 dapl-2.0.39.tar.gz Install RPM packages as follow: dapl-2.0.39-1 dapl-utils-2.0.39-1

[ANNOUNCE] dapl-2.0.38

2013-07-23 Thread Davis, Arlin R
Rupert, please pull new dapl-2.0.38 released package into OFED 3.5.2 Thanks, Arlin -- Latest Packages (see ChangeLog for recent changes): md5sum: 21b933fb24ed86d5c5413d9a269f913d dapl-2.0.38.tar.gz For v2.0 package install RPM packages as follow: dapl-2.0.38-1

[ANNOUNCE] dapl-2.0.37

2013-06-06 Thread Davis, Arlin R
Rupert/Vlad, please pull this package into OFED 3.5.2 Thanks, Arlin -- Latest Packages (see ChangeLog for recent changes): md5sum: 2e185e1aac2c09b3d9e529ee1aa1669e dapl-2.0.37.tar.gz For v2.0 package install RPM packages as follow: dapl-2.0.37-1 dapl-utils-2.0.37-1

[PATCH 2/3] uDAPL: common: dapl_os_atomic_inc/dec() not working as expected on ppc64 machines

2013-05-30 Thread Davis, Arlin R
Signed-off-by: Pradeep Satyanarayana prad...@lus.ibm.com Acked-by: Arlin Davis arlin.r.da...@intel.com --- dapl/udapl/linux/dapl_osd.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dapl/udapl/linux/dapl_osd.h b/dapl/udapl/linux/dapl_osd.h index 7198439..0412461

[PATCH 1/3] uDAPL: dapltest: ppc64 endian issue with exchanged mem handle and address

2013-05-30 Thread Davis, Arlin R
Signed-off-by: Pradeep Satyanarayana prad...@lus.ibm.com Acked-by: Arlin Davis arlin.r.da...@intel.com --- test/dapltest/common/dapl_endian.c |4 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/test/dapltest/common/dapl_endian.c b/test/dapltest/common/dapl_endian.c index

[PATCH 3/3] uDAPL common: add support for ia name during dat_ia_query

2013-05-30 Thread Davis, Arlin R
the device name was not being updated during a query. Copy the hca name into ia_attr-adapter_name for consumers. Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/openib_common/util.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/dapl/openib_common/util.c

RE: Dapltest test error DAT_CONN_QUAL_IN_USE

2012-11-30 Thread Davis, Arlin R
http://openfabrics.org/bugzilla/index.cgi -Original Message- From: linux-rdma-ow...@vger.kernel.org [mailto:linux-rdma- ow...@vger.kernel.org] On Behalf Of Vipul Pandya Sent: Friday, November 30, 2012 7:12 AM To: Davis, Arlin R Cc: Steve Wise; linux-rdma@vger.kernel.org; Kumar A S

RE: Dapltest test error DAT_CONN_QUAL_IN_USE

2012-11-29 Thread Davis, Arlin R
Vipul, Can you submit a bug in bugzilla for tracking? I will try to get to this next couple of days. -arlin -Original Message- From: Vipul Pandya [mailto:vi...@chelsio.com] Sent: Thursday, November 29, 2012 5:34 AM To: Davis, Arlin R Cc: Steve Wise; linux-rdma@vger.kernel.org

RE: Dapltest test error DAT_CONN_QUAL_IN_USE

2012-11-26 Thread Davis, Arlin R
: Friday, November 23, 2012 5:54 AM To: linux-rdma@vger.kernel.org Cc: Kumar A S; Steve Wise; Abhishek Agrawal; Davis, Arlin R; Divy Le Ray Subject: Dapltest test error DAT_CONN_QUAL_IN_USE Hi All, I was running dapltest between my client and server machines with OFED- 3.5. While running

[PATCH 2/7] windows: new version of getlocalipaddr not portable

2012-07-05 Thread Davis, Arlin R
revert to the original getaddrinfo method for windows Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/openib_common/util.c | 144 + 1 files changed, 105 insertions(+), 39 deletions(-) diff --git a/dapl/openib_common/util.c

[PATCH 3/7] ucm: record and silently drop a duplicate reject CM message

2012-07-05 Thread Davis, Arlin R
Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/openib_ucm/cm.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/dapl/openib_ucm/cm.c b/dapl/openib_ucm/cm.c index 357dbf7..4e6c527 100644 --- a/dapl/openib_ucm/cm.c +++ b/dapl/openib_ucm/cm.c @@ -415,6

[PATCH 4/7] dat.conf: keep list of providers in order for backward compatibility

2012-07-05 Thread Davis, Arlin R
Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- doc/dat.conf |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/dat.conf b/doc/dat.conf index 0b020ba..60fb211 100644 --- a/doc/dat.conf +++ b/doc/dat.conf @@ -14,8 +14,6 @@ # For uDAPL iWARP provider, ia_params

[PATCH 1/7] dapltest: DFLT_QLEN is defined in multiple tests

2012-07-05 Thread Davis, Arlin R
Patch set for bug fixes. add #ifdef checking in transaction test. Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- test/dapltest/test/dapl_transaction_test.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/test/dapltest/test/dapl_transaction_test.c

[PATCH 5/7] common: check for valid states during ep posting

2012-07-05 Thread Davis, Arlin R
Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/common/dapl_ep_util.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/dapl/common/dapl_ep_util.c b/dapl/common/dapl_ep_util.c index 5133f59..8ceb1be 100644 --- a/dapl/common/dapl_ep_util.c +++

[PATCH 6/7] common: allow qp modify in init state

2012-07-05 Thread Davis, Arlin R
Allow consumer to modify attributes via dat_ep_modify in init state. Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/openib_common/qp.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/dapl/openib_common/qp.c b/dapl/openib_common/qp.c index

[PATCH 7/7] scm: increase ACK timeout to 20 for a default value to match other providers.

2012-07-05 Thread Davis, Arlin R
Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/openib_scm/dapl_ib_util.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dapl/openib_scm/dapl_ib_util.h b/dapl/openib_scm/dapl_ib_util.h index 0d7f9f3..2050c2c 100644 --- a/dapl/openib_scm/dapl_ib_util.h +++

[ANNOUNCE] dapl-2.0.36

2012-07-05 Thread Davis, Arlin R
New uDAPL release (2.0.36) available at http://www.openfabrics.org/downloads/dapl Vlad, please pull v2.0 into OFED 3.x and remove the v1.2 compat-dapl package for OFED 3.x, it is no longer supported going forward. Thanks, Arlin -- Latest Packages (see ChangeLog for recent

[PATCH 02/15] uDAPL v2.0 common: ep_create should allow max_request_iov attribute setting of zero

2012-04-23 Thread Davis, Arlin R
When creating an EP without a request EVD (cq) the max_request_iov and max_request_sge will be 0. Allow this combination when checking attribute settings for ARG6. Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/common/dapl_ep_create.c |3 ++- 1 files changed, 2 insertions(+), 1

[PATCH 01/15] uDAPL v2.0 common: add check for NULL handle on ext calls, SRQ free, and helper functions

2012-04-23 Thread Davis, Arlin R
Series of bug fixes, package cleanup, and debug counters. Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dat/common/dat_api.c | 29 ++--- 1 files changed, 26 insertions(+), 3 deletions(-) diff --git a/dat/common/dat_api.c b/dat/common/dat_api.c index

[PATCH 03/15] uDAPL v2.0 common: dapls_ep_flush_cq will segfault when no CQ is attached to EP

2012-04-23 Thread Davis, Arlin R
add check for NULL request/receive EVD (cq) before flushing. Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/common/dapl_ep_util.c |8 +--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/dapl/common/dapl_ep_util.c b/dapl/common/dapl_ep_util.c index

[PATCH 06/15] uDAPL v2.0 ucm: cleanup debug message, ntohl on p_size is incorrect

2012-04-23 Thread Davis, Arlin R
private data size is a short, change to ntohs on log message Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/openib_ucm/cm.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dapl/openib_ucm/cm.c b/dapl/openib_ucm/cm.c index 6efcad2..39ef28d 100644 ---

[PATCH 04/15] uDAPL v2.0 common: add DAPL_DBG_TYPE_CM_STATS (0x40000) to debug log options

2012-04-23 Thread Davis, Arlin R
Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/include/dapl_debug.h |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/dapl/include/dapl_debug.h b/dapl/include/dapl_debug.h index ff473e3..bb11c3d 100644 --- a/dapl/include/dapl_debug.h +++

[PATCH 05/15] uDAPL v2.0 cma, scm, ucm: allow EP (QP) creation without EVD (CQ)

2012-04-23 Thread Davis, Arlin R
Provide ability to create a EP/QP with no EVD/CQ on either the request or receive queue. The current implementation allows on receive queue but not request queue. Not all ofa devices support a null CQ so if necessary create a dummy CQ at the time of QP creation. Also, if no CQ is specified set

[PATCH 07/15] uDAPL v2.0 scm: fix retry count on connection pending timeout

2012-04-23 Thread Davis, Arlin R
Retry count not being decremented on connection TIMEOUT. Also, cleanup log messages on CONN and REP pending and add local port to output. Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/openib_scm/cm.c | 20 ++-- 1 files changed, 10 insertions(+), 10 deletions(-)

[PATCH 08/15] uDAPL v2.0 ucm: UD send failures at scale, ucm_send ERR: get_smsg(hd=149,tl=150)

2012-04-23 Thread Davis, Arlin R
Full sendq should retry polling completions instead of failing. When sendq is full and all requests are pending the get send message code should retry polling for completions and not return error on first empty CQ attempt. Give HCA a chance to complete some batched requests. Also, clean up the

[PATCH 09/15] uDAPL v2.0 scm: use ioctl SIOCIFCONF to get complete list of configured netdev interfaces

2012-04-23 Thread Davis, Arlin R
replace usage of getaddrinfo since is doesnt actually return bound addresses and can return the loopback address in some configurations. Some systems may not have eth0 configured so you cannot assume eth0 as a non-loopback default netdev. Signed-off-by: Arlin Davis arlin.r.da...@intel.com ---

[PATCH 10/15] uDAPL v2.0 commom: add cm, link, and diag event counters in IB extended builds

2012-04-23 Thread Davis, Arlin R
Add additional event monitoring capabilities during runtime to help isolate issues during scaling in lieu of logging/printing warning messages. Counters have been added to provider CM services and counters have been added and mapped to sysfs ib_cm, device port and device diag counters. ibdev_path

[PATCH 11/15] uDAPL v2.0 scm: update socket cm provider to support new CM stat and error counters

2012-04-23 Thread Davis, Arlin R
Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/openib_scm/cm.c | 34 ++ 1 files changed, 34 insertions(+), 0 deletions(-) diff --git a/dapl/openib_scm/cm.c b/dapl/openib_scm/cm.c index cac6a72..b095c2f 100644 --- a/dapl/openib_scm/cm.c +++

[PATCH 12/15] uDAPL v2.0 ucm: update UD cm provider to support new CM stat and error counters

2012-04-23 Thread Davis, Arlin R
Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/openib_ucm/cm.c | 45 +++-- 1 files changed, 43 insertions(+), 2 deletions(-) diff --git a/dapl/openib_ucm/cm.c b/dapl/openib_ucm/cm.c index 6b5867a..357dbf7 100644 --- a/dapl/openib_ucm/cm.c

[PATCH 13/15] uDAPL v2.0 windows: Provide auto-detect between RoCE and Infiniband for Windows.

2012-04-23 Thread Davis, Arlin R
For RoCE, enable transport global ID use. Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/openib_common/util.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/dapl/openib_common/util.c b/dapl/openib_common/util.c index c118ca9..06a6f3d 100644 ---

[PATCH 15/15] uDAPL v2.0 config/build: remove post/postun hacking used to modify dat.conf

2012-04-23 Thread Davis, Arlin R
Return to the tried and true method of managing configuration files via %config directive and remove ugly sed editing methods. The dat.conf includes both v1 and v2 device entries to insure backward compatibility. Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- Makefile.am | 36

[PATCH 1/13] DAPL v2.0: common: CR EVD overflow causes segfault.

2012-01-13 Thread Davis, Arlin R
Clean up Bugzilla bugs. Patch set resulting from negative testing of connection protocol and DAT interfaces for all OpenFabrics DAPL providers (cma, scm, ucm). The CR is freed up incorrectly before unlinking with SP. Signed-off-by: Arlin Davis arlin.r.da...@intel.com ---

[PATCH 2/13] DAPL v2.0: dapltest: server CR EVD is too small for multi-client configurations.

2012-01-13 Thread Davis, Arlin R
Increase default size from 8 to 32. Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- test/dapltest/test/dapl_server.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/test/dapltest/test/dapl_server.c b/test/dapltest/test/dapl_server.c index 443425c..92e0d21 100644

[PATCH 3/13] DAPL v2.0: scm: return correct event error code when remote host refuses requests

2012-01-13 Thread Davis, Arlin R
changed from TIMEOUT to NON_PEER_REJECTED Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/openib_scm/cm.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dapl/openib_scm/cm.c b/dapl/openib_scm/cm.c index b45a4ab..586e1b0 100644 --- a/dapl/openib_scm/cm.c +++

[PATCH 4/13] DAPL v2.0: common: cleanup debug message on EVD overflows

2012-01-13 Thread Davis, Arlin R
Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/common/dapl_evd_util.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dapl/common/dapl_evd_util.c b/dapl/common/dapl_evd_util.c index 41423b2..a7b8c54 100644 --- a/dapl/common/dapl_evd_util.c +++

[PATCH 5/13] DAPL v2.0: common: clean up dat_rsp_create log message

2012-01-13 Thread Davis, Arlin R
Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/common/dapl_rsp_create.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dapl/common/dapl_rsp_create.c b/dapl/common/dapl_rsp_create.c index 3e36e81..13fe09b 100644 --- a/dapl/common/dapl_rsp_create.c +++

[PATCH 7/13] DAPL v2.0: cma,scm,ucm: extra reference on EP, with RSP, causes dat_ep_free() to hang

2012-01-13 Thread Davis, Arlin R
Need to add check for RSP or PSP provider type service points during passive side accepts before taking CR reference on the EP. In these cases, the EP is already linked to inbound CR. Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/openib_cma/cm.c |5 +++-- dapl/openib_scm/cm.c |

[PATCH 8/13] DAPL v2.0: dat: add check for NULL handle on IA calls

2012-01-13 Thread Davis, Arlin R
check added to dats_get_ia_handle() Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dat/common/dat_api.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/dat/common/dat_api.c b/dat/common/dat_api.c index 4e6eadd..f53ead7 100755 --- a/dat/common/dat_api.c +++

[PATCH 9/13] DAPL v2.0: scm: incorrectly sends user reject during CR callback errors

2012-01-13 Thread Davis, Arlin R
Add reason checking on provider rejects and set appropriate op type in reject message. Reject can be called from cr callback during failures. User reject will be IB_CM_REJ_REASON_CONSUMER_REJ. Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/openib_scm/cm.c |6 +- 1 files

[PATCH 10/13] DAPL v2.0: common: change dbg level on CR callback if not listening on SP

2012-01-13 Thread Davis, Arlin R
Change from from CM to CM_WARN level and include in non-debug build. Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/common/dapl_cr_callback.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dapl/common/dapl_cr_callback.c b/dapl/common/dapl_cr_callback.c

[PATCH 11/13] DAPL v2.0: ucm: incorrectly sends user reject during CR callback errors

2012-01-13 Thread Davis, Arlin R
Add reason checking on provider rejects and set appropriate op type in reject message. Reject can be called from cr callback during failures. User reject will be IB_CM_REJ_REASON_CONSUMER_REJ. Add warning message on active side. Signed-off-by: Arlin Davis arlin.r.da...@intel.com ---

[PATCH 13/13] DAPL v2.0: common: add missing sub-types to dat_strerror()

2012-01-13 Thread Davis, Arlin R
unknown minor error string returned with valid sub types. Update function for sub-type error codes in dat_error.h. Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dat/common/dat_strerror.c | 110 + 1 files changed, 110 insertions(+), 0

[PATCH 12/13] DAPL v2.0: common: extended CR event processing missing rejects on errors

2012-01-13 Thread Davis, Arlin R
When processing an inbound CR event callback a non-user reject should be sent to client in the case of a non-listening SP, allocation error, or EVD overrun. Changes made to dapls_evd_post_cr_event_ext callback. Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/common/dapl_evd_util.c |

RE: [PATCH] dapltest-server segfault seen on recent OFED-1.5.4 daily build

2011-11-21 Thread Davis, Arlin R
Thank you for the two patches. I tried the two patches and now, I have not seen a segfault till now on dapl-server at least. However, after about 2 hours of test, some of dapl-client throws below error on console: Server Name: 3.4.5.1 Server Net Address: 3.4.5.1 DT_cs_Client:

[PATCH] DAPL v2.0: common: remote ia address null pointer creates seg fault

2011-11-02 Thread Davis, Arlin R
add NULL ptr check and return DAT_INVALID_PARAMETER, DAT_INVALID_ARG2 Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/common/dapl_ep_connect.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/dapl/common/dapl_ep_connect.c b/dapl/common/dapl_ep_connect.c

[PATCH] DAPL v2.0: common: posting events on full queue returns wrong error code

2011-11-02 Thread Davis, Arlin R
return DAT_QUEUE_FULL instead of DAT_INSUFFICIENT_RESOURCES Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/common/dapl_evd_util.c | 17 - 1 files changed, 8 insertions(+), 9 deletions(-) diff --git a/dapl/common/dapl_evd_util.c b/dapl/common/dapl_evd_util.c index

[PATCH] DAPL v2.0: common: dat_ep_modify seg faults with null ep_param ptr

2011-11-02 Thread Davis, Arlin R
Add additional NULL ptr check for arg3 ep_param Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/common/dapl_ep_modify.c |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/dapl/common/dapl_ep_modify.c b/dapl/common/dapl_ep_modify.c index 9f0095f..0545870

[PATCH] DAPL v2.0: scm: change debug message level for listen/bind errors

2011-11-02 Thread Davis, Arlin R
reduce to CM_WARN instead of general WARN level. Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/openib_scm/cm.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dapl/openib_scm/cm.c b/dapl/openib_scm/cm.c index b9cb1bc..b45a4ab 100644 ---

[PATCH] DAPL v2.0: common: increase default IB ack timer from 16 to 20

2011-11-02 Thread Davis, Arlin R
For larger, more congested fabrics, a larger ACK timer is needed. Consumers can still change default with environment variable DAPL_ACK_TIMER if they need to increase or decrease. This applies to SCM and UCM providers only. The CMA provider, which uses rdma_cm, has no way to control ack timer

RE: [PATCH] DAPL v2.0: common: increase default IB ack timer from 16 to 20

2011-11-02 Thread Davis, Arlin R
For larger, more congested fabrics, a larger ACK timer is needed. Consumers can still change default with environment variable DAPL_ACK_TIMER if they need to increase or decrease. This applies to SCM and UCM providers only. The CMA provider, which uses rdma_cm, has no way to control

RE: [PATCH] DAPL v2.0: common: increase default IB ack timer from 16 to 20

2011-11-02 Thread Davis, Arlin R
Yes, a user can modify path lifetime via rdma_create_ep() but there is no way for the user to know how much that will be manipulated and increased in the IB CM driver. Sure there is. It's an open source driver. :) The ib_cm calculates the correct timeout based on the packet lifetime

[ANNOUNCE] dapl-2.0.34

2011-11-02 Thread Davis, Arlin R
New release for v2.0 (2.0.34) available at http://www.openfabrics.org/downloads/dapl Vlad, please pull into OFED 1.5.4 RC3 Thanks, Arlin -- Latest Package (see ChangeLog for recent changes): md5sum: d8114711c07fa9f4b7e52ab2803a9e8d dapl-2.0.34.tar.gz For 1.2 and 2.0 support

[PATCH] DAPL v2.0: common: dat_evd_free seg faults with resized software EVD

2011-10-31 Thread Davis, Arlin R
dapl_evd_resize is attempting to resize a CQ but there is no CQ attached to a software EVD. Add check for cq_handle before resizing. Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/common/dapl_evd_resize.c | 13 - 1 files changed, 8 insertions(+), 5 deletions(-) diff

[PATCH] DAPL v2.0: dat: dat_cno_query with NULL cno_handle causes segmentation fault

2011-10-31 Thread Davis, Arlin R
add check for NULL handle in dat library Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dat/udat/udat_api.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/dat/udat/udat_api.c b/dat/udat/udat_api.c index 5948a4f..6c1549a 100644 --- a/dat/udat/udat_api.c +++

[PATCH] DAPL v2.0: common: query calls return incorrect IA handle to consumer

2011-10-26 Thread Davis, Arlin R
The IA handle from the consumer perspective is an IA vector and not the provider IA address handle. Need to convert IA handle to IA vector for consumer calls. Modify dats_ia_get_handle call to convert both ways depending on handle type provided so a dapl provider can convert to vector on query

[PATCH] DAPL v2.0: common: srq create asserts with !dapl_llist_is_empty(head) failed

2011-10-26 Thread Davis, Arlin R
return DAT_NOT_IMPLEMENTED before allocating any resources until there is a provider that supports SRQ's. Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/common/dapl_srq_create.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git

[PATCH] DAPL v2.0: scm: add port number to error log during hca_open failures

2011-10-26 Thread Davis, Arlin R
scm: add port number to error log during hca_open failures Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/openib_scm/device.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/dapl/openib_scm/device.c b/dapl/openib_scm/device.c index 41fccdf..77c64e3 100644

[PATCH 2/3] DAPL v2.0: scm: socket connect request count is reset improperly on retry

2011-10-26 Thread Davis, Arlin R
Include current retry count with the new connect request call and set according after creating the new cm object. Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/openib_scm/cm.c | 23 --- 1 files changed, 12 insertions(+), 11 deletions(-) diff --git

[PATCH 3/3] DAPL v2.0: scm: dat_psp_create returns wrong error code on bind/listen failure

2011-10-26 Thread Davis, Arlin R
The SCM provider changed to return DAT_INVALID_PARAMTER instead of incorrect DAT_CONN_QUAL_UNAVAILABLE error code on any bind or listen failure. Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- dapl/openib_scm/cm.c | 11 ++- 1 files changed, 6 insertions(+), 5 deletions(-) diff

RE: [ANNOUNCE] OFED-1.5.4-rc1 is available

2011-09-28 Thread Davis, Arlin R
I don't see FDR support in the changelog. Did FDR make it into RC1 kernel? -- To unsubscribe from this list: send the line unsubscribe linux-rdma in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

RE: [ANNOUNCE] dapl-2.0.33

2011-09-19 Thread Davis, Arlin R
The dapl-2.0.33 distribution was built without FCA configuration so it was missing some of the optional headers for FCA support. Please pull updated dapl-2.0.33.tar.gz. The git tree is unaffected. md5sum: 1539095f223d11a3c4a69c5e3775f1cc dapl-2.0.33.tar.gz Arlin -- To unsubscribe from

[ANNOUNCE] dapl-2.0.33

2011-08-30 Thread Davis, Arlin R
New release for v2.0 (2.0.33) available at http://www.openfabrics.org/downloads/dapl Vlad, please pull into OFED 1.5.4 RC1: -- Latest Package (see ChangeLog for recent changes): md5sum: 1dbffd27c790cc822383b309f0a01312 dapl-2.0.33.tar.gz For 1.2 and 2.0 support on same system,

[PATCH] DAPL v2.0: scm,ucm: fix compatibility issue and set minimum protocol support

2011-08-28 Thread Davis, Arlin R
allow latest version to work with previous version. provide compatibility back to OFED 1.5, dapl-2.0.23. if rdma_atomic_in is not exchanged, default back to original settings set by consumer. maintain compatibility moving forward from v6. Signed-off-by: Arlin Davis arlin.r.da...@intel.com ---

[PATCH] DAPL v2.0: build: set IB extended collective type to none by default

2011-08-19 Thread Davis, Arlin R
Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- configure.in |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure.in b/configure.in index 75c002c..56058a0 100644 --- a/configure.in +++ b/configure.in @@ -102,7 +102,7 @@ AC_ARG_ENABLE(coll-type, echo

[PATCH] DAPL v2.0: build: add extended header files to EXTRA_DIST and fix missing backslash

2011-08-19 Thread Davis, Arlin R
Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- Makefile.am | 10 +++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Makefile.am b/Makefile.am index 55fe45b..1f74378 100755 --- a/Makefile.am +++ b/Makefile.am @@ -18,14 +18,18 @@ endif if EXT_TYPE_IB XFLAGS =

[PATCH] DAPL v2.0: build: add selective enable/disable-xxx build switch for each openfabrics provider

2011-08-19 Thread Davis, Arlin R
The following switches have been added to configure: --disable-cma (disables the rdma_cm dapl provider build) --disable-scm (disables the socket cm provider build) --disable-ucm (disables the IB UD cm provider build) all providers are enabled by default. Signed-off-by: Arlin Davis

[PATCH] DAPL v2.0: build: link librdmacm dependency to ib_acm usage for ucm and scm providers

2011-08-19 Thread Davis, Arlin R
Add -lrdmacm to XLIBS for ucm and scm providers. Only set library linking with conditional use of ib_acm as defined by DAPL_USE_IBACM. Signed-off-by: Arlin Davis arlin.r.da...@intel.com --- Makefile.am |8 ++-- configure.in |4 2 files changed, 10 insertions(+), 2 deletions(-)

  1   2   3   >