commit 4e827c065ec699e8ee9872df43c06e3aca0f5095 Author: Amir Hanania Date: Tue Dec 13 14:25:13 2016 -0800 dtest_suite: add option to pause the test. Signed-off-by: Amir Hanania Signed-off-by: Arlin Davis commit b9f5a1ed4d912d3a775219fdf7e3cf85aa10ccd5 Author: Amir Hanania Date: Tue Nov 29 15:48:58 2016 -0800 dtestcm: add client retry, give server time to queue up all listens From: Amir Hanania Signed-off-by: Amir Hanania Signed-off-by: Arlin Davis commit 5b708e2f273118f20a9239d3a8f017f1642846bb Author: Amir Hanania Date: Tue Nov 29 15:15:49 2016 -0800 dtest: Add new man pages. (dtestx dtestcm dtestsrq) Signed-off-by: Amir Hanania Signed-off-by: Arlin Davis commit a143eec72540817ffc78b0b6f9d0da1cdfa9f600 Author: Arlin Davis Date: Tue Nov 29 13:18:47 2016 -0800 cma: fix open_query mode, initialize attributes Signed-off-by: Arlin Davis commit b217aec9c78df0613a2e829b6680a3c089d20473 Author: Arlin Davis Date: Tue Nov 29 13:11:22 2016 -0800 ucm: up level CM timer logging, increase drep time at scale Signed-off-by: Arlin Davis commit 68033db87ced822068a1905851263d386816dc58 Author: Amir Hanania Date: Wed Sep 28 16:13:26 2016 -0700 dtest: fix return value check on do_rdma_write_with_msg Signed-off-by: Arlin Davis commit bb0e056b720c271154361580f88e3fff6cb02461 Author: Amir Hanania Date: Wed Sep 28 14:44:18 2016 -0700 dtestx: check device capabilities and do atomic tests only if supported by HW Signed-off-by: Arlin Davis Signed-off-by: Amir Hanania commit c2183b8973a0aac91485eaa920ec7b8fc20d56b1 Author: Amir Hanania Date: Wed Sep 28 14:41:56 2016 -0700 common: set atomic attributes based on provider/device capabilities DAT_IB_FETCH_AND_ADD and DAT_IB_CMP_AND_SWAP values in provider_specific_attr are always set to TRUE. Set their value according to the device atomic capability. Signed-off-by: Arlin Davis Signed-off-by: Amir Hanania commit 7445cd9dcef5ccf06e4bc819b5ab4d7eed391544 Author: Arlin Davis Date: Mon Sep 19 17:17:11 2016 -0700 build: dtest_suite.sh was moved to test/scripts Signed-off-by: Arlin Davis commit 1d7501fb2c2b76072eab609859f4c01daa1d97f0 Author: Amir Hanania Date: Mon Sep 19 16:44:25 2016 -0700 mpxyd: let TX thread sleep if no open devices are referenced Signed-off-by: Arlin Davis Signed-off-by: Amir Hanania commit 8e60fa753804eac4ee602b0ca4176cec01c11d03 Author: Amir Hanania Date: Mon Sep 19 16:42:39 2016 -0700 MCM MIX: When mmap req from MIC return with fail stat print WARN. When MIC mmap req response return with fail stat, print WARN as it only means that the host is not in polling mode and does not support send op via mmap. Not an ERR. Signed-off-by: Arlin Davis Signed-off-by: Amir Hanania commit 7555c3f3b7b0d1c5985cee17eb76073ee7e73e54 Author: Arlin Davis Date: Mon Sep 19 16:41:07 2016 -0700 dtest_suite: remove duplicate dtest_suite.sh Signed-off-by: Arlin Davis commit 289c3a7de91ef8012ad929139522e0bad64bc418 Author: Amir Hanania Date: Mon Sep 19 16:37:11 2016 -0700 dtest: Enable -D option (data check) to work with scif provider Signed-off-by: Arlin Davis Signed-off-by: Amir Hanania commit a12d0191376143db7be9cafc3fee93ed80083d12 Author: Amir Hanania Date: Mon Sep 19 16:27:01 2016 -0700 dtest_suite: fix typo in user_string var Signed-off-by: Arlin Davis commit 169734d0f5ed614e8069f94f1856995d3d7a936c Author: Arlin Davis Date: Mon Sep 19 16:22:57 2016 -0700 mcm: remove logs from post send speed path Signed-off-by: Arlin Davis commit 9546e3e878b49a14ceda4fd58bfb25a680ab81d8 Author: Amir Hanania Date: Thu May 26 14:28:32 2016 -0700 mcm proxy: push WR from MIC to host with scif mmap memory instead of scif_send. Mapping host memory to the MIC. Use this memory, in a ring buffer way, to send the post send work requests from MIC to host. This is replacing the scif_send to scif_recv and the recv data FD event mechanism. Since there is no use of FD to wake up the host proxy service, the host needs to run in polling mode to use this option. How to run the host in polling mode: By default, the proxy is now running in polling mode. You can verify that it is the case in the mpxyd.log file. Or, edit the mpxyd.conf file: set mcm_affinity to 2. This optimization improves small message latencies on MFO devices by as much as 50%. Signed-off-by: Amir Hanania Signed-off-by: Arlin Davis commit 75a16171b5c477d82e94889e0499a4dba4a54b42 Author: Amir Hanania Date: Thu May 26 14:14:11 2016 -0700 dtest: the default size in pingpong test is set to 1 byte regardless to user input. Keep the user input if one provided. Signed-off-by: Amir Hanania Signed-off-by: Arlin Davis commit 43ce6e5d184459b4cc4ddb7a4deaf9dfefd948d1 Author: Amir Hanania Date: Wed May 18 10:36:31 2016 -0700 dtest: Clean 4 printf from the middle of performance test. That may add time fot the test to be completed and reduce our performance. Signed-off-by: Amir Hanania Signed-off-by: Arlin Davis commit 82cc9b2312c678b89d2b6726e699d440aaf62e78 Author: Arlin Davis Date: Tue May 3 18:10:20 2016 -0700 Release 2.1.9-2 Signed-off-by: Arlin Davis commit 919ca0478d384a501d797cc37ea7ca72d59ac879 Author: Amir Hanania Date: Tue May 3 17:43:44 2016 -0700 In case of MCM get the GID from the tp struct which was initialized in open device. Signed-off-by: Amir Hanania commit 1a68be05b3de9f29cb95affe3af5455ea9c76549 Author: Amir Hanania Date: Tue May 3 17:43:25 2016 -0700 ib_hca_handle in MFO mode is N/A and access it caused a seg fault. Set MFO mode as not iwarp device. Signed-off-by: Amir Hanania commit 847ee67e59abd93aa6f4b216af00c99d8d9765ec Author: Arlin Davis Date: Mon May 2 15:13:27 2016 -0700 mpxyd: modify_qp uses wrong md->dev_attr with MTU changes Signed-off-by: Arlin Davis commit 9e5429b6c6c55ea787c2bdb76b2d53afb3f6712b Author: Arlin Davis Date: Fri Apr 29 09:30:46 2016 -0700 rpmbuild: fix specfile, don't overwrite build options Signed-off-by: Arlin Davis commit 2d08dc4b69822b678a875a80f7cbfa770b52bd99 Author: Arlin Davis Date: Fri Apr 29 09:22:01 2016 -0700 openib: new provider specific attribute - port GID The IB GID is returned with IA query, provider specific option for scm, ucm, cma, and mcm openib providers. Includes subnet prefix and interface ID. DAT_IB_GID = fe80:0000:0000:0000:0002:c903:0032:2f31 dtest -v can be used for testing example. Signed-off-by: Arlin Davis commit 92d1bc4bf3089595012c11fa42d3da124490b4a0 Author: Arlin Davis Date: Thu Apr 14 18:46:12 2016 -0700 Release 2.1.9 Signed-off-by: Arlin Davis commit 6b48f0e17bd062f5bcfb1cc1ba6197e03987651b Author: Arlin Davis Date: Tue Apr 12 13:58:34 2016 -0700 dtestcm: exchange provider IA address info via sockets Signed-off-by: Arlin Davis commit 58e06a8e78e5b9ef94f3e0a507ed37e35c4af87c Author: Arlin Davis Date: Tue Apr 12 13:56:02 2016 -0700 ucm: increase default REQ/RTU timers on scaling threshold Signed-off-by: Arlin Davis commit 12f3d778acdf0e984af839221636beb04a5be7b0 Author: Arlin Davis Date: Wed Apr 6 15:41:44 2016 -0700 mpxyd: m_req_event assert during large io streams, HST to MIC When proxy-in (PI) WR queue is full and client is blocked on new WR entries, the WR completion processing can incorrectly reference a PI WR field after the client is given remote access. m_qp = (struct mcm_qp *)m_wr_rx->context; assert(m_qp); After data is forwarded to the appropriate MIC, the proxy service will send a RW_imm WC message. This releases the m_wr_rx entry for re-use by remote mcm provider client. At the same time, the proxy can be processing the RW_imm completion and incorrectly use the wr_rx->context field for m_qp reference. Change the proxy_in event processing code to avoid dependencies on any wr_rx content. Signed-off-by: Arlin Davis commit 79b885fac295f6dbe9d2dc772b87755ba5b90734 Author: Arlin Davis Date: Wed Apr 6 14:02:59 2016 -0700 mcm: HST->MXS IO streams can overrun MPXYD proxy-in WR queue MPXYD proxy-in service cannot consume HST->MIC WR's fast enough on 100Gb/s fabrics and from server based clients. This results in post_send failing with DAT_INSUFFICIENT_RESOURCES. Add retry mechanism, with limited retries, for the host side mcm provider via dat_ep_post_send. Signed-off-by: Arlin Davis commit ae7fad33d42ca92d709a041a1234dd98756668b9 Author: Arlin Davis Date: Tue Apr 5 14:04:12 2016 -0700 mpxyd: cleanup warnings in MIC proxy code Signed-off-by: Arlin Davis commit cc927cd244d940d25de8f9e176c7dfdda6b91189 Author: Arlin Davis Date: Tue Apr 5 14:03:41 2016 -0700 openib: cleanup warnings in openib providers Signed-off-by: Arlin Davis commit 0b553b6bccde2c6635d169064bc6b6a8355ddef9 Author: Arlin Davis Date: Tue Apr 5 14:02:27 2016 -0700 common: cleanup warnings in common code base Signed-off-by: Arlin Davis commit b361e2abfcb09b57a1cff57b2a1eb919e00149db Author: Arlin Davis Date: Tue Apr 5 14:00:33 2016 -0700 dapltest: cleanup warnings, unused variables, etc Signed-off-by: Arlin Davis commit a0c9ca3b0624453e337e863b83d3c9826e502c38 Author: Arlin Davis Date: Thu Mar 17 16:06:35 2016 -0700 scm: backward compatibility issue with MTU negotiation The scm provider builds the CM reply message on stack and doesnt memset to zero so resv fields are unknown. The client cannot check mtu/resv field for MTU adjustments. Bump provider CM message version to DCM_VER_MTU and add check for appropriate version. Signed-off-by: Arlin Davis commit 2847e3b2e10b77bdba26a78c09ed3a5223e08456 Author: Arlin Davis Date: Mon Mar 14 09:46:14 2016 -0700 mcm: fix mtu interop issues when MIC and HOST differ result of commit: ab67173b8024e14009c266d76ab9ec0bdd0c5d1f New MCM provider on MIC side needs to open in compat mode with MTU set to 2048. It needs to allow proxy, if new, to adjust to active MTU. If old proxy is on host side, 2048 is returned as normal and new MCM provider remains in compat mode with MTU at 2048. New proxy on host side needs to support an old version of MCM provider and adjust MTU only if MIC side changes dev_attr.mtu settings. It will bump up to active_MTU only if the MCM provider is new and sets the MIX_OP_SET bit on the mic->host proxy device open call. Proxy open device MUST set new dev attributes in client SMD device object and not in the shared MD device object since there can be multiple clients with different attribute settings from MIC side. MCM provider MUST query and setup MTU in open instead of query so subsequent queries don't override negotiated setting. Signed-off-by: Arlin Davis commit 6316f8317d4ecb0e6b47e94ea0782356f201bcb9 Author: Arlin Davis Date: Fri Mar 4 13:15:05 2016 -0800 dtest: clean up warnings, keep variables and functions local Signed-off-by: Arlin Davis commit c9a7fd2e658efa9021cc386d1b8ec3691a903959 Author: Arlin Davis Date: Wed Feb 17 15:35:30 2016 -0800 Release 2.1.8 Signed-off-by: Arlin Davis commit 58d757c07c8a3fcf81bdd0529f633bdc5251a06c Author: Arlin Davis Date: Tue Feb 16 13:12:16 2016 -0800 mpxyd: fix segfault in proxy_out debug logging Signed-off-by: Arlin Davis commit b6a33ad0afe846749287f1636fa352e7609256e2 Author: Amir Hanania Date: Tue Feb 16 13:04:56 2016 -0800 mpxyd: fix debug memory buffer log function Signed-off-by: Arlin Davis commit dc4e874b9ff65533100c4797cabf29980a0b0bbe Author: Amir Hanania Date: Tue Feb 16 12:53:53 2016 -0800 dtest: -D option is not valid with scif providers Signed-off-by: Arlin Davis commit d1b5d4836ad6e89f5ec739596dea502953a0bdcf Author: Amir Hanania Date: Tue Feb 16 12:47:04 2016 -0800 dtest/dapltest: add new automated test suite for HOST to MIC testing Signed-off-by: Arlin Davis Signed-off-by: Amir Hanania commit 722ffc3bf1045ff7113f08cbfce42cb8c84d6e67 Author: Arlin Davis Date: Tue Feb 16 12:15:08 2016 -0800 openib: update attributes correctly for iWARP transports Signed-off-by: Arlin Davis commit ab67173b8024e14009c266d76ab9ec0bdd0c5d1f Author: Arlin Davis Date: Wed Feb 10 14:45:12 2016 -0800 openib_common: set providers mtu to active_mtu instead of 2048 Better out of the box performance when setting mtu to active_mtu instead of default settings of 2K. The new mtu settings are applied on a per QP basis and negotiated via CM mtu 8-bit field. One of the reserved 8 bit CM message fields is used to insure compatibility with older versions. If older endpoints are mixed with newer versions it will fallback to the pre-existing 2K MTU settings, unless overriden by DAPL_IB_MTU. The change has been made across all providers including ucm, scm, mcm, and cma (rdma_cm). The mcm provider on a MIC will notify the CCL Proxy service of a DAPL_IB_MTU override via a new MIX_OP_FLAGS bit MIX_OP_MTU during the open call. Signed-off-by: Arlin Davis commit c399977f71d02e4c37d71d9b8ed5ba3e2b0ac33b Author: Arlin Davis Date: Wed Feb 10 14:44:46 2016 -0800 mpxyd: set affinity default to 2 for best performance Signed-off-by: Arlin Davis commit 0f2353e62df7dddc9a31323ffea97ac08d8b8cf6 Author: Arlin Davis Date: Tue Feb 9 09:37:47 2016 -0800 mcm: cleanup unused variable in dapls_ib_mr_register Signed-off-by: Arlin Davis commit 11c6ae4a1abe1faf56f935cfd95f87cac2a17798 Author: Amir Hanania Date: Tue Jan 26 14:03:16 2016 -0800 dtest: enhancement to test, -D option for data check With -D option, dtest will run pingpong rdma write test with data validation. Changes pattern during iterations. Aborts and reports location/pattern with any miscompare. Signed-off-by: Arlin Davis Signed-off-by: Amir Hanania commit b9860007fc6800dead92303ed9fecccfb465a229 Author: Amir Hanania Date: Mon Jan 25 12:30:38 2016 -0800 mcm: add support for Intel Omni-Path driver (hfi) via mic MFO mode Set MIC based consumer to MFO (full offload) mode for both qib and new hfi devices. Add to dat.conf entries for hfi verbs support. This can be run from mic or host endpoints. Signed-off-by: Arlin Davis Signed-off-by: Amir Hanania commit 400550c8b4a4519ef4467f20cb23d4ac80dccd5e Author: Arlin Davis Date: Mon Jan 25 11:51:33 2016 -0800 mpxyd: fix ordering issues with the CCL Proxy receive side forwarding mechanism scif_writeto doesn't guarantee ordering on DMA posting like IB rdma writes. Since CCL Proxy is emulating IB semantics we must perserve order of the rdma write request from MIC consumers via any proxy scif operations. Changes made to proxy-in to defer forwarding RR completed segments unless they are middle segments of a larger write operation. On FS or LS the previous scif_writeto DMA operations must be completed and signaled before posting a first or last segment. Last segment scif_writeto operation is ordered to insure last byte is the last byte of complete rdma write proxied operation. During scif_wt errors send WC error status for each pending segment with rdma write operation for accurate proxy-out error processing. Signed-off-by: Arlin Davis commit c266f94af627e395c0f060005078b8152c8afe99 Author: Amir Hanania Date: Thu Dec 10 15:17:03 2015 -0800 dtest: report results only if one of the pingpong tests are run There are two diff ping pong test cases. It was possible to run dtest with none of them. Signed-off-by: Amir Hanania commit efa6bed3e44f445c68b011662c75e59265805c74 Author: Arlin Davis Date: Thu Dec 10 14:48:05 2015 -0800 mpxyd: with abnormal CM termination a CM object can be referenced after QP destroy The proxy-in CQ is not flushed and processes properly during mix_qp_destroy. Depending on the EP mode there can be 2 seperate connections with multiple CQs to process. Add new mix_cq_flush function that will flush all pending work on TX and RX side of proxy engine. CM object is destroyed and reset only after all pending work is processed on ALL endpoint CQ associations. Add error logging when WR resources are exhausted. Signed-off-by: Arlin Davis commit 2b294cd7dcdbccdc235c056791f36bd2821c2b9b Author: Arlin Davis Date: Thu Dec 10 14:36:22 2015 -0800 mpxyd: proxy out WR resources exhausted with MFO mode endpoints WC status of IBV_WC_RETRY_EXC_ERR reported back to MIC client Operation processing thread doesn't yield properly to enable tx thread to process completions and replenish WR resources. Retries occur to quickly. add some new error logs for resource issues. Signed-off-by: Arlin Davis commit a912661e87650e2313757e0b02cbbfbf35570bb7 Author: Arlin Davis Date: Wed Oct 21 09:49:45 2015 -0700 release note update for CCL Proxy and Platform BIOS recommendations Signed-off-by: Arlin Davis commit cb4cb9e300216a2c94082b9fe5df939c4972e1e9 Author: Arlin Davis Date: Fri Oct 16 13:08:11 2015 -0700 dtestx: add dat_ib_open_query only option with -q Signed-off-by: Arlin Davis commit 1f4baf860cf2c17960885df7ff49cc0021fe317e Author: Arlin Davis Date: Fri Oct 16 10:21:19 2015 -0700 scm: CONN_PENDING: SOCKOPT ERR Connection refused -> Error caused by cm_msg size compatability issue with new v8 protocol and older socket cm providers (2.1.4 and older). The ucm, cma, and mcm providers are not affected. Modify socket data sizes for SCM request/reply to interoperate between new v8 with smaller private data and older protocols. Adjust SCM reply/rtu based on remote CM version and retry a failed request with pre-v8 adjusted size in case of server side failure. Signed-off-by: Arlin Davis commit 0494ec10176e07804c26b28484535252e47c3f99 Author: Arlin Davis Date: Tue Sep 29 20:23:58 2015 -0700 Release 2.1.7 Signed-off-by: Arlin Davis commit 963e5d793867644c770c087f1ef443550779ca8c Author: Arlin Davis Date: Tue Sep 29 09:05:27 2015 -0700 dtest: add -a -i options, all data sizes, incremental size Signed-off-by: Arlin Davis commit 5410203cf0f5908540b43bfa2a219de4b9042a01 Author: Bharat Potnuri Date: Tue Sep 29 08:49:10 2015 -0700 dapl: Fix segfault while freeing qp In function dapls_ib_qp_free(), pointers qp and cm_ptr->cm_id->qp are pointing to the same qp structure, initialized in function dapls_ib_qp_alloc(). The memory pointed by these pointers are freed twice in function dapls_ib_qp_free(), using rdma_destroy_qp() for the case _OPENIB_CMA defined and then further using ibv_destroy_qp(), causing a segmentation fault while freeing the qp. Therefore assigned NULL value to qp to avoid freeing illegal memory. Fixes: 7ff4f840bf11 ("common: add CM-EP linking to support mutiple CM's and proper protection during destruction") Signed-off-by: Bharat Potnuri Acked-by: Arlin Davis commit fb64e157b9dd741ba942db00ceee37ea0f4ddcab Author: Amir Hanania Date: Wed Sep 23 14:43:38 2015 -0700 mpxyd: add P2P inline support for data size <= 96 bytes Improve small message latency for proxy to proxy service by including data with the proxy work request. Necessary changes made to preservie order across WR's regardless of size. Additional logging included. Improves single byte one-way latency of about 27% on MFO configurations. Changes made to avoid forwarding 0-byte rdma write to scif_writeto, remove CPU hand copies, and order. Changes for numa_node == -1 such that mic0 assumes MSS and mic1 assumes MXS modes. Signed-off-by: Arlin Davis Signed-off-by: Amir Hanania commit 2f7f25a808d9e6b3ee613c5b8b9a9e2f5abe5c55 Author: Arlin Davis Date: Mon Sep 21 15:48:15 2015 -0700 dtest: change rdma_write_ping_pong so client is always last receiver server always waits after test loops for DREQ event so in order to gracefully shutdown client should always receive last handshake message and issue DREQ. Remove logging in loop. Always init data and increase min rdma buffer size to 4KB. Signed-off-by: Arlin Davis commit 453373f018a1c823125f6dd95952b343987b1480 Author: Arlin Davis Date: Mon Sep 21 08:24:01 2015 -0700 ucm: add DAPL_NETWORK_PROCESS_NUM option for total ranks Signed-off-by: Arlin Davis commit 779dfdfe4ebc6f287544e8aad589e1578a58537a Author: Amir Hanania Date: Wed Sep 16 17:31:13 2015 -0700 ucm: fca create group incorrectly using IB addr instead of socket address. need the socket address for socket based create group info exchange. Signed-off-by: Amir Hanania commit 7476da8d3c523f9a719748a046d339ea29f41aef Author: Amir Hanania Date: Wed Sep 16 17:27:27 2015 -0700 ucm: fca_comm_destroy called with NULL In some cases dapli_free_collective_group is called without the comm was initialized. fca_comm_destroy call in this func seg fault. Signed-off-by: Amir Hanania commit f0d97457ba86bdc13901dc37996d2f7419f64360 Author: Arlin Davis Date: Tue Sep 15 08:45:03 2015 -0700 dtest: add -W option for rdma write pinpong, similiar to ib_write_lat Signed-off-by: Arlin Davis commit 547d1fe1257bf4709bf38eae8c8013d320a04432 Author: Arlin Davis Date: Mon Aug 31 15:14:46 2015 -0700 docs: update release notes for collective build Signed-off-by: Arlin Davis commit 9b52aa90fefb69d1ba8fdd689f618c2ce250825d Author: Amir Hanania Date: Mon Aug 24 13:22:53 2015 -0700 mpxyd: reduce log level for rcv message flush Signed-off-by: Amir Hanania commit 5a1d9e7f386335dcae676b372269a061e6f5294b Author: Carol L Soto Date: Mon Aug 24 12:58:58 2015 -0700 dapltest: dapltest with no argument not working in ppc64 arch If dapltest is run with no args then the client was getting Warning: conn_event_wait DAT_CONNECTION_EVENT_NON_PEER_REJECTED Reference to RH1056487- dapltest Read and Write performance tests are not working Signed-off-by: Carol L Soto commit 91febc42f0070b2b9eaa81c0c113c6ff7ab8ea60 Author: Arlin Davis Date: Thu Aug 13 09:55:47 2015 -0700 Release 2.1.6 Signed-off-by: Arlin Davis commit ad43b8d3ca9f67d3231525b2808776719686deba Author: Arlin Davis Date: Wed Aug 12 17:30:23 2015 -0700 ucm: add cluster size environments to adjust CM timers Signed-off-by: Arlin Davis commit b140211771b3fb212784c514c58198de22fa3dfc Author: Arlin Davis Date: Wed Aug 12 09:46:30 2015 -0700 mpxyd: proxy_in data transfers can improperly start before RTU received Proxy-in data transfers must be defered until RTU is received and QP is in CONN state. Otherwise, the remote PI WC address/rkey information is still unitialized. Check for initial CONN state before processing RR or WT data phase and set RR to pause state until RTU and remote PI WRC information is processed. Update pi_req_event error logging. Signed-off-by: Arlin Davis commit 7e1be9682ff4c97eb2ba47a4b194b1ee0e5f3f07 Author: Arlin Davis Date: Wed Aug 12 09:19:07 2015 -0700 mcm: forward open/query for MFO devices in query only mode Signed-off-by: Arlin Davis commit 49749253cce22c22581df40039891639589dd7ac Author: Arlin Davis Date: Wed Aug 12 08:51:03 2015 -0700 mpxyd: byte swap incorrect on WRC wr_len Signed-off-by: Arlin Davis commit c70efa65a08389b3b169d8904b23cce9960431cd Author: Amir Hanania Date: Mon Aug 10 17:24:15 2015 -0700 dtest: remove ERR message from flush QP function Signed-off-by: Arlin Davis Signed-off-by: Amir Hanania commit a9a417be3f2b42dc7b8777d88be020dfa2dba1bf Author: David Dai Date: Fri Aug 7 13:05:56 2015 -0700 dapltest: Quit command with "-n port" number will core dump -n option specified with n, should be n: Signed-off-by: David Dai Signed-off-by: Arlin Davis commit 11471f50ccd8e2021824fe46f68d27b82ec10c19 Author: Amir Hanania Date: Wed Aug 5 15:01:49 2015 -0700 config: update dat.conf for MFO qib devices, 2 adapters/ports ofa-v2-qib0-1m and libdaplomcm.so Signed-off-by: Arlin Davis Signed-off-by: Amir Hanania commit d6afeedb96a4ba3662a30de663b1775a0a0dda7e Author: Amir Hanania Date: Wed Aug 5 14:55:30 2015 -0700 mpxyd: add MFO support on proxy side Add checking for MFO and MXS and provide proxy-in and proxy-out services for each mode. MXS_EP check is now MXF_EP (MFO or MXS). Add new MIX device open, query, port query, pz operations. Add new pz list and object management via scif_dev structure. Signed-off-by: Arlin Davis Signed-off-by: Amir Hanania commit 77ce17348275a90c49cf17766f073b961897269b Author: Amir Hanania Date: Wed Aug 5 14:46:20 2015 -0700 mcm: add MFO proxy commands, device, and CM support CM will support Proxy-in services on both MFO and MXS modes. CM thread will not process ibv channels when in MFO mode. Device open/close will export all verbs calls in MFO mode. Add MIX (MIC to Proxy) functions for pz, device query, port query. Signed-off-by: Arlin Davis Signed-off-by: Amir Hanania commit 586c010c57883d6aed5cc2880eeba84933222342 Author: Amir Hanania Date: Wed Aug 5 13:41:32 2015 -0700 mcm: add MFO support to openib_common code base Provide full proxy support of CQ, QP, PZ, MR and device. Use use new MXF_EP macro to switch proxy service based on MXS (cross socket) or MFO (full offload) modes. Signed-off-by: Arlin Davis Signed-off-by: Amir Hanania commit bff1eaa83360b4012e20ed8c440993a099e887a9 Author: Amir Hanania Date: Wed Aug 5 13:35:28 2015 -0700 mcm: add full offload (MFO) mode to provider to support qib on MIC Add new MIX proxy definitions and commands for query device, query port, pz create, and pz free. Signed-off-by: Arlin Davis Signed-off-by: Amir Hanania commit a3afd24a0ff9c77bc073cb27dfc79da7236beb47 Author: Amir Hanania Date: Wed Aug 5 13:16:12 2015 -0700 dtest: pre-allocated buffer too small for RMR, DTO ops timeout The buf_len settings (-b) for small IO may cause segfault. Increase allocation and adjust DTO operations to infinite. Signed-off-by: Arlin Davis Signed-off-by: Amir Hanania commit 2d8348ec1f2099d083b35f63890bb37225c25ff5 Author: Amir Hanania Date: Fri Jul 31 15:35:12 2015 -0700 mpxyd: fix buffer initialization when no-inline support is active wr_buf buffer was zeroed instead of wr_buf_rx Signed-off-by: Amir Hanania Signed-off-by: Arlin Davis commit a94eacfe4e7d8b25cb45f98f0373e5b31c5e2cf6 Author: Arlin Davis Date: Thu Jul 30 08:16:17 2015 -0700 mpxyd: reduce log level on qp_flush to CM level Signed-off-by: Arlin Davis commit f72e3b3f31096898ee86dbe511b33e4f31d1d4c4 Author: Arlin Davis Date: Thu Jul 30 08:15:22 2015 -0700 mcm: intra-node proxy missing LID setup on rejects Signed-off-by: Arlin Davis commit 03f3b77c6061380b1130c5df95c1808d679dc455 Author: Arlin Davis Date: Fri Jul 24 16:01:29 2015 -0700 mcm: add intra-node support via ibscif device and mcm provider - New device entry ofa-v2-scif0-m - Support for different CM and EP locality (MIC vs proxy LID) - MSS mode for all scif device opens via proxy - logging changes for multi-lid options Signed-off-by: Arlin Davis commit 8cbf658bf7982e5f057f73349ec6bf993c13bc1c Author: Arlin Davis Date: Fri Jul 24 12:48:52 2015 -0700 mcm: provide MIC address info with proxy device open Signed-off-by: Arlin Davis commit 8442a490aadf4ccee40b65ba007c0d38f5c8b65a Author: Arlin Davis Date: Fri Jul 24 12:45:11 2015 -0700 mcm: add device info to non-debug log Signed-off-by: Arlin Davis commit 77e255d4ea22b41ccfe0adcc46db1f80b6ad6ec9 Author: Arlin Davis Date: Tue Jul 14 15:41:35 2015 -0700 common: add DAPL_DTO_TYPE_EXTENSION_IMM for rdma_write_imm DTO type checking Add new extended DTO type to request cookie to identify rdma write operations with immediate data during completions. Signed-off-by: Arlin Davis commit 042a03dfd0a6b259ca7859a3c3146681df62b52e Author: Arlin Davis Date: Tue Jul 14 15:39:52 2015 -0700 mpxyd: fix up some of the PI logging Signed-off-by: Arlin Davis commit 27fcdc8da49f6af40d84090dfc38b16ddb6c9f61 Author: Arlin Davis Date: Tue Jul 14 15:30:16 2015 -0700 dtest: modify rdma_write_with_msg to support uni-direction streaming add proper client->server handshake at end of rdma data stream to insure all data is delivered before disconnecting. Signed-off-by: Arlin Davis commit 0b39116c18d43faf367bac08263fa62341d8ecf8 Author: Arlin Davis Date: Tue Jul 14 14:58:32 2015 -0700 mcm,mpxyd: fix dreq processing to defer QP flush when proxy WRs still pending The proxy will now defer DREQ flushing of proxy QPs if PI and PO data engines have outstanding requests. Add mcm_qp_busy routine for checking PI and PO data engines. When MIC calls disconnect always send DREQ up to proxy in order to handle deferred flush of proxy side posted rcv messages. Change QP free to modify both local and proxy QPs and check for outstanding rcv message before qp_destroy to avoid infinite wait in dapls_ep_flush_cqs. Signed-off-by: Arlin Davis commit 40d7d9fc01b376fc18ac9ac7f21ab790f720241b Author: Arlin Davis Date: Tue Jul 14 14:47:24 2015 -0700 mpxyd: update byte_len and comp_cnt for PO to remote HST communications Signed-off-by: Arlin Davis commit 57924cce8b5abbd659931d7fa10836f5dc121511 Author: Amir Hanania Date: Wed Jun 17 10:12:24 2015 -0700 mcm: bug fixes for non-inline devices mcm proxy mi_send_pi setup registered WR structure properly for no inline data support but incorrectly overwrote sg.addr with WR WR structure on stack. qp create didn't check for no inline and setup create accordingly Signed-off-by: Amir Hanania Signed-off-by: Arlin Davis commit 175d2334fa704c4656b0f4e69422992cc8545698 Author: Arlin Davis Date: Fri Jun 12 13:56:38 2015 -0700 mcm: return CM_rej with CM_req_in errors Signed-off-by: Arlin Davis commit 6374ae6f588a53330d7a6dd5c030bad82d74bb4e Author: Arlin Davis Date: Fri Jun 5 12:14:37 2015 -0700 mpxyd,mcm: RDMA write with immed data not signaled on request side With eager completions set, the wc_flags is not set properly on event. With eager completions no set, the proxy CQ reference is incorrect and event is forwarded to MCM receive EVD instead of transmit EVD. Signed-off-by: Arlin Davis commit e6667bc2062824822f07da7f168ad8f4a0986f4c Author: Arlin Davis Date: Thu Jun 4 16:53:59 2015 -0700 mcm: add WC opcode and wc_flags in debug log message Signed-off-by: Arlin Davis commit 01963af15a6c88b2f5ea676d6cbbb230fbd8cf0b Author: Arlin Davis Date: Thu Jun 4 16:52:11 2015 -0700 mpxyd: set options bug fix for mcm_ib_inline Signed-off-by: Arlin Davis commit 387bfa365b5d13de795a84bd1b882c3bb6ac56b8 Author: Arlin Davis Date: Thu May 28 08:22:24 2015 -0700 Update release notes with latest CM times Signed-off-by: Arlin Davis commit facfb793374e4030ebf2ed539d77270a3e90d26e Author: Arlin Davis Date: Tue May 26 10:28:11 2015 -0700 Release 2.1.5 Signed-off-by: Arlin Davis commit 2973531db7e0cb98c2524f33cd26d2dfc07c7435 Author: Arlin Davis Date: Tue May 26 10:06:44 2015 -0700 update release notes, readme files Signed-off-by: Arlin Davis commit 4aabeb14cae22822cc22c2eaffcd4e047d7aba02 Author: Arlin Davis Date: Tue May 26 09:37:40 2015 -0700 dat.conf: update comments regarding versions Signed-off-by: Arlin Davis commit 347e142c8b26f10cd87263f05f200dcde6200fd0 Author: Arlin Davis Date: Fri May 22 09:53:23 2015 -0700 dtest: add logging of provider private data size with -v Signed-off-by: Arlin Davis commit 2c9bf4fa108f7b7322974ab68f4aa6b1fcd1b363 Author: Arlin Davis Date: Fri May 22 09:52:31 2015 -0700 scm: remove use of msg.resv field for process id logging Signed-off-by: Arlin Davis commit 10debec2ec2df4dc87e9171a73ccc327a1af3e20 Author: Arlin Davis Date: Fri May 22 09:51:04 2015 -0700 cma: report correct CM req private data size on query Signed-off-by: Arlin Davis commit 14d85c68d76522b384ca38761472e7351cc3889d Author: Arlin Davis Date: Wed May 20 11:56:24 2015 -0700 mpxyd: memset ib_wr structure before post_send on WC and WR requests Signed-off-by: Arlin Davis commit 70aae776b355dd4fb2dfc6cb2cfc1b2e153aa251 Author: Arlin Davis Date: Wed May 20 11:43:03 2015 -0700 mcm: add HST side provider support for device without inline data capability Add registered WR buffers for HST->MXS (proxy in) mode when inline data is not supported by device. Use registered memory for source WR buffer instead of stack when sending RDMA write request to peer proxy-in service. Signed-off-by: Arlin Davis commit 62697218aa0a3eee8ba2aa80446ecde8ce8a46a5 Author: Arlin Davis Date: Mon May 18 14:51:08 2015 -0700 ucm: CM changes for UD extended port space and indexer Tested on 1200n 28ppn cluster, AlltoAll Intel MPI, UD mode. Both static and dynamic modes, over 500m connections. 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 exception of new CM requests, will no longer parse list but use hash table lookups. AH caching is now used to prevent unnecessarily creating multiple AH's for same QP destination. Add 24-bit port space support to CM processing code and to wire protocol via DCM message reserve space. Add version check to limit to 16-bit for backward compatibility. Bump CM protocol version to 8 for xport and rtns fields. Signed-off-by: Arlin Davis commit 6d5869d4980cde888dafac1a9932d68e5004f80d Author: Arlin Davis Date: Mon May 18 14:36:28 2015 -0700 ucm: add device support for new port space hash table 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 Signed-off-by: Arlin Davis commit 1a980379130e890bb5b0ab597f83b3ea5595a383 Author: Arlin Davis Date: Mon May 18 14:34:57 2015 -0700 ucm: allocate/free AH hash table for UD endpoint types Signed-off-by: Arlin Davis commit d8dd0942c3e60111324a928fd0900938c46cd1ac Author: Arlin Davis Date: Mon May 18 14:31:57 2015 -0700 ucm: check for AH caching when destroying via UD extension Signed-off-by: Arlin Davis commit ef42f3e739bfba13e4be75215208dca4d54803d4 Author: Arlin Davis Date: Mon May 18 14:21:07 2015 -0700 ucm: optimizations for large scale UD communication management 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 table storage to ibtrans device objects Signed-off-by: Arlin Davis commit e750509148eaa7feb70c1353b6e353e0968b0852 Author: Arlin Davis Date: Fri May 15 15:51:31 2015 -0700 mpxyd: use wr opcode instead of wc opcode to support logging on error cases Signed-off-by: Arlin Davis commit 9ba178297231c4531c0ff6bc8b07076d96ffe495 Author: Arlin Davis Date: Fri May 15 15:47:38 2015 -0700 mcm: HST->MXS mode, using RDMA_WRITE_WITH_IMM, fails with dtest -w Host side incorrectly sets opcode to IBV_WR_RDMA_WRITE_WITH_IMM on every segment instead of just the last segment. Signed-off-by: Arlin Davis commit 142fa8fa58d5e0b92dccc52d7a3bd913456084b4 Author: Mark Salter Date: Wed May 13 16:40:58 2015 -0700 dapl: aarch64 support for linux Add atomic ops to fix builds for aarch64 Linux. Signed-off-by: Mark Salter Acked-by: Arlin Davis commit 0f8378347ca4f04a86ff1dc9701b349352042205 Author: Arlin Davis Date: Tue May 5 11:13:15 2015 -0700 dapltest: add scripts to dist, set default device to IPoIB Signed-off-by: Arlin Davis commit 78859905995ba0df229957dc3cd15d5153f4d0ef Author: Arlin Davis Date: Thu Apr 30 14:04:09 2015 -0700 mpxyd: add wc_flags to proxy work completions Signed-off-by: Arlin Davis commit 3d0f53bd26db0c2c5261740d8fefc6e03209996a Author: Arlin Davis Date: Thu Mar 19 17:05:08 2015 -0700 Release 2.1.4 Signed-off-by: Arlin Davis commit edf672349adbcb64246ef2465e7dd582a5243c6a Author: Arlin Davis Date: Thu Mar 19 16:54:17 2015 -0700 mpxyd: fix typo in configuration file Signed-off-by: Arlin Davis commit 9219bf696d7c69744a668a045c7f1d0bf36c471a Author: Arlin Davis Date: Thu Mar 12 16:02:40 2015 -0400 cma: RR attributes moved to common ib_cm struct Signed-off-by: Arlin Davis commit 7b5d3b8a58d651a819e0f9418e5014a1a55a5751 Author: Arlin Davis Date: Thu Mar 12 16:00:20 2015 -0400 mpxyd: tx thread incorrectly sleeps with negative pi_rw_cnt value Signed-off-by: Arlin Davis commit 670b6b34c4b4454ae801aa13bdfef94e98116774 Author: Arlin Davis Date: Mon Mar 9 10:31:13 2015 -0400 dat.conf: add entries for True Scale qib device Signed-off-by: Arlin Davis commit 0ef549e67056a2ddf8a631b2a318dd68cf674e2e Author: Arlin Davis Date: Thu Feb 12 15:21:37 2015 -0500 mpxyd: add support for devices without inline data support Add function to check for inline support during device open. If inline data is not supported, the CM service and Proxy data mover will not use inline data option on small IO. The PO->PI service will now allocate and register necessary memory to send mcm_wr_rx and mcm_wc_rx operations from registered memory locations if inline data not supported. If inline is supported, no extra memory will be allocated and src buffer will be built on stack as before. Cleanup some build warnings. Signed-off-by: Arlin Davis commit bdf22d43b6193537cd4def9fa80324cc02535b47 Author: Arlin Davis Date: Tue Feb 3 16:27:50 2015 -0800 ucm: long disconnect times with many-to-one applications Improve the DREQ/DREP handshake and state machine to handle DREQ crossings and dropped DREP with new timewait state. Change dat_ep_disconnect call to ensure non-blocking regardless of flags or state. Add adjustable disconnect reply timer and retry count. DCM_DREP_TIME, DCM_DREQ_RETRY Signed-off-by: Arlin Davis commit b5d72bb52401901a0fc551c64b09378e3e933550 Author: Arlin Davis Date: Thu Jan 22 15:49:25 2015 -0800 openib: add inline data support check during device open Not all rdma devices support inline data, however without a verbs device attribute the only way to determine support is with a QP create with max_inline_send set. Add a common function to verify inline data support before setting default to 64 bytes. Signed-off-by: Arlin Davis commit 3788335383b02325e20f35f455d355b061b468bc Author: Arlin Davis Date: Tue Jan 6 14:01:39 2015 -0800 cleanup ib/cm attribute management across openib providers Signed-off-by: Arlin Davis commit 1a917c0ee793971dbbd75503a5cbfb83336a81f5 Author: Arlin Davis Date: Tue Jan 6 13:43:57 2015 -0800 dapltest: fix -Werror=format-security issue with printf Signed-off-by: Arlin Davis commit b124919d0463377844bfbb98f1de3c4cfceefc3e Author: Arlin Davis Date: Mon Dec 15 12:47:44 2014 -0800 Release 2.1.3 Signed-off-by: Arlin Davis commit 4fad243dafcd64b956917020bc2eb6134dff3ce9 Author: Arlin Davis Date: Mon Dec 15 12:15:54 2014 -0800 dapl: mpxyd service changes to support multi-thread single-core option The proxy service has been changed to reduce the number of cores required on the host side. Provides new option, via mpxyd.conf, to use single-core and allow system adminitrator to bind to specific core id for all Intel Xeon Phi adapters in the platform. mcm_affinity = 2 will set to single core (per Intel Xeon Phi). mcm_affinity_base_mic will set to specific core for all adapters. Best performance can be acheived with mcm_affinity = 2 and mcm_affinity_base_mic == 0. This option will cause single core to remain busy, polling operations from clients, as long as long as device is open and being used by clients for data transfers. Default remains mcm_affinity = 1, multi-thread, multi-core. See mpxyd.conf for details. Proxy services work threads have been modified to yield and limit work processing when data flow is pending. Signed-off-by: Arlin Davis commit 7e7ceee5fdbe99f9241405b84ec6a4bba8978f03 Author: Arlin Davis Date: Mon Dec 15 12:05:33 2014 -0800 dapl: add rdma_write_imm and write only option to dtest New write_only (-w) option with rdma_write_imm can be used with providers that support IB extensions. Allows more options for write bandwith profiling with immediate data and signaling rate options to increase write data rates, especially on MIC clients that use proxy services. Signed-off-by: Arlin Davis commit 0ae79c2236cc3b80f52cb4a3b2a38a40f1cba8b7 Author: Arlin Davis Date: Tue Dec 9 15:35:59 2014 -0800 ucm: add time wait override capability for CM services 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 commit 0bcd1e8ec1b85be02ce4c0b2c49b167c4a3cde74 Author: Arlin Davis Date: Tue Dec 9 14:40:08 2014 -0800 common: dapl_ep_free must serialize CM object destroy 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 commit 6250e9791ee44de1d765c0e4a5d307e22f1e3680 Author: Arlin Davis Date: Thu Nov 13 10:36:33 2014 -0800 dtestx: allow scale up to 1000 EP's Signed-off-by: Arlin Davis commit 5428fe5d8ce1bdf8b9530bb4ce96fb5c95d9aa7f Author: Arlin Davis Date: Thu Nov 13 10:34:52 2014 -0800 ucm: RTU not retransmitted in TIMEWAIT state Signed-off-by: Arlin Davis commit aa1d68b1ef129eff56221fc316827c6161f8b36d Author: Arlin Davis Date: Wed Nov 5 10:10:55 2014 -0800 mpxyd: increase max open files for service Signed-off-by: Arlin Davis commit 1b30fa751e0b7f679fa1f48a48860cfb77cf1b2b Author: Arlin Davis Date: Fri Nov 21 14:26:40 2014 -0800 mpxyd: DTO completion ERR: status 12, op RDMA_WRITE running MPI alltoall test Running MIC scale-up configuration with mcm provider on a MXS node instead of shm causes DTO error due to heavy use of proxy-in buffer pools. Hit corner case where proxy buffer management hd ptr crossed tl ptr due to 64 byte alignment on start when hd < 64 bytes behind tl. Add additional checking on PO and PI buffer management to handle the case of HD passing TL on start locations. Also changed PO processing to hold lock until hd ptr is registered with buf_wc slot management to preserve order of memory usage across threads. Reduced the size of WC queue for PO and PI buffer management. Profiling, via MCM_PROFILE, was added to monitor and trigger buffer management errors. Signed-off-by: Arlin Davis commit 9692759bd2b5bb527eb2ad6442a4d04fef54ca61 Author: Arlin Davis Date: Mon Oct 13 14:10:36 2014 -0700 mcm: HST->MXS mode incorrectly signals multiple fragments per WR Signed-off-by: Arlin Davis commit 4a0f2fd605bfdc3b1dbd42c3128879ab0ab7514b Author: Arlin Davis Date: Thu Oct 9 15:23:24 2014 -0700 mcm: add segmentation to HST->MXS mode for improved performance Signed-off-by: Arlin Davis commit 5ac3c9342f57bf1cadbf9d97065eabb9be36f14c Author: Arlin Davis Date: Thu Oct 9 15:21:02 2014 -0700 mpxyd: set global seg_sz to 128KB for proxy data service Signed-off-by: Arlin Davis commit 78f3496bae4eb6c8e8a2c9606bc127dda562324c Author: Arlin Davis Date: Mon Oct 6 13:54:39 2014 -0700 openib: add port_num to provider named attributes Signed-off-by: Arlin Davis commit 07acb18e6495d04da78854ac06d3faf3aacb486e Author: Arlin Davis Date: Mon Oct 6 12:50:09 2014 -0700 mcm: provide CPU family/model attribute on both host and mic sides Signed-off-by: Arlin Davis commit 1efe38952c28fc757c035fa486ea1c9e440a43ae Author: Arlin Davis Date: Tue Sep 30 14:07:52 2014 -0700 dtestx: update IB extension example test with new v2.0.9 features Add support for new IB extensions for CM and AH resource cleanup. Check for v2.0.9 and call dat_ib_ud_cm_free after connection establishment and dat_ib_ud_ah_free after all data has been transfered on UD endpoints. Also add socket based address exchange to eliminate the need to include lid and qpn parameters on the client side. Change the multiple EP mode to send from EP 0 to EP[0-3] on server side and EP[0-3] to EP[0-3] on client side. Signed-off-by: Arlin Davis commit eb8acb83a4ee2eca22eaf1904bf1db343fd94e2d Author: Amir Hanania Date: Thu Sep 25 16:34:20 2014 -0700 dtest: add dtestsrq for SRQ example and provider testing Signed-off-by: Arlin Davis commit 3b778859648bda3fec346d5a992b82376885a540 Author: Amir Hanania Date: Thu Sep 25 16:32:06 2014 -0700 common: add srq support for openib verbs providers 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 testing and example code. Acked-by: Arlin Davis commit 110425e3a7a59e3c108a1e59819eaa006be995ca Author: Arlin Davis Date: Thu Sep 25 16:06:33 2014 -0700 openib: add IB UD cm_free/ah_free extension support in UCM provider 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 object destroy immediatly when called. In the case where consumer requests CM object destroy, the provider will remove all internal references to AH since consumer will call AH destroy directly when finished with UD sends. All other providers, MCM, CMA, SCM will return UNSUPPORTED if new extensions are called. See dtestx source for code examples of new extensions. Signed-off-by: Arlin Davis commit 4eec39c98e8484cdd423a4eae8ae3e5771674099 Author: Arlin Davis Date: Thu Sep 25 16:01:33 2014 -0700 openib: add new TIMEWAIT state for CM Signed-off-by: Arlin Davis commit 7163e7e8e60301c7eef380c508bce23453d401f1 Author: Arlin Davis Date: Thu Sep 25 15:42:38 2014 -0700 extension: add IB UD extensions to reduce provider CM and AH memory footprint 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 AH objects are linked to EP and not destroyed until consumer calls dat_ep_free. dat_ib_ud_cm_free() frees CM object after AH and private data are copied and stored by consumer. Provider will destroy internal object and memory associated with CM and AH resolution. MAY be called after CM establishment and before EP destroyed dat_ib_ud_ah_free() destroys UD Address Handle (AH). MUST be called after all UD sends are complete and before UD EP is destroyed. Signed-off-by: Arlin Davis commit f2d9e25c62d4eadb859dd9b5d4a0e8d37926d1d9 Author: Arlin Davis Date: Mon Sep 15 10:30:56 2014 -0700 mpxyd/mcm: add provider specific attribute DAT_IB_PROXY_VERSION Signed-off-by: Arlin Davis commit 63cbb9bf38185ca81a677efa7ec88fa2b8e3409d Author: Arlin Davis Date: Mon Sep 15 10:28:40 2014 -0700 mpxyd: log warning if running in COMPAT mode Signed-off-by: Arlin Davis commit 4996386d02bf536fcbed20ded88ca571f47ac56b Author: Arlin Davis Date: Fri Sep 5 08:07:04 2014 -0700 add provider and proxy support for GUID across platform Signed-off-by: Arlin Davis commit 9058c4d0717dd6ec9f5e780b1a664659d651856a Author: Arlin Davis Date: Wed Sep 3 15:47:51 2014 -0700 common: return appropriate handles with affiliated EP and EVD async events Signed-off-by: Arlin Davis commit 25568900892f9e72413e235ebc4ba77176343c84 Author: Arlin Davis Date: Tue Sep 2 14:54:51 2014 -0700 Release 2.1.2 Signed-off-by: Arlin Davis commit 9760d99201ab6a640a7bd4b18a06639aa2d79698 Author: Arlin Davis Date: Tue Sep 2 12:53:23 2014 -0700 mpxyd: add global routing support for proxy connections Signed-off-by: Arlin Davis commit 87fda7a3bbc3e79687ec5f45327f02fb02a4701b Author: Arlin Davis Date: Tue Sep 2 12:52:06 2014 -0700 mcm: only call mix_get_attr if running on MIC Signed-off-by: Arlin Davis commit 1ccc2dc9749a1e8f7f33e9f1afdf3ee3a5c9cb6a Author: Arlin Davis Date: Tue Sep 2 08:47:29 2014 -0700 openib: modify check for link_layer to handle unspecified Signed-off-by: Arlin Davis commit 7e833f29dabae799be5b60231ceb7be91cd2463f Author: Alexey Ishchuk Date: Tue Sep 2 08:34:19 2014 -0700 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 implemenation of those platform specific functions. Signed-off-by: Alexey Ishchuk Acked-by: Arlin Davis commit fb8c10124f3399f34ae1f2096e6759fb01e1bc7f Author: Amir Hanania Date: Tue Aug 26 15:41:10 2014 -0700 dtest server exchange connection info with client The server and client create connection for the server to send the setup info to the client. When using dtest, the client only needs to use -h option and it will get the rest of the info from the server. Signed-off-by: Amir Hanania commit 380218f3b62918601d89c48a44fcfee2899fdb11 Author: Arlin Davis Date: Mon Aug 25 16:30:45 2014 -0700 mpxyd: 2 MICs in same numa_node will overlap CPU affinity, don't reset base Signed-off-by: Arlin Davis commit 622a1870843e770ec2b6a83caf0d6fcb5057bb56 Author: Arlin Davis Date: Mon Aug 25 08:59:50 2014 -0700 mcm: implement proxy mix_prov_attr function, add fields CPU model and family Provide MIC consumers with a provider specific query for proxy CPU model and family to identify platform type from MIC side. Supported in MCM provider only. The following provider specific name attributes were added to MCM: DAT_IB_PROXY_CPU_FAMILY DAT_IB_PROXY_CPU_MODEL Signed-off-by: Arlin Davis commit 1a6747faa5904e23a7b8c247a52b603aa24098a7 Author: Arlin Davis Date: Fri Aug 22 10:27:46 2014 -0700 mpxyd: tx thread may not be signaled on small segment writes Signed-off-by: Arlin Davis commit ce006692bcb5cabf241bdacf0dd62f5df8572f22 Author: Arlin Davis Date: Wed Aug 13 11:58:49 2014 -0700 Release 2.1.1 Signed-off-by: Arlin Davis commit 6eb73e080c87b12cf4f4ec577cfdff53472791e1 Author: Arlin Davis Date: Wed Aug 13 11:12:29 2014 -0700 common: add provider name to log messages Signed-off-by: Arlin Davis commit a62f9a98b38865ff0e02f3bd30e04613c7bdd7de Author: Arlin Davis Date: Wed Aug 13 11:10:03 2014 -0700 mpxyd: log warning message if numa_node invalid Signed-off-by: Arlin Davis commit 69cfea06c710a1a83af7df3bcdfc49fe43580b05 Author: Arlin Davis Date: Mon Aug 11 13:45:12 2014 -0700 include debuginfo with build Signed-off-by: Arlin Davis commit 8ccf314650204d609bcdaa692fedbcde505afc41 Author: Arlin Davis Date: Mon Aug 11 10:50:05 2014 -0700 mpxyd: tx thread doesn't sleep during no pending IO state Signed-off-by: Arlin Davis commit 86a4ff51b5da853c85dc290fe1b69725d8f18618 Author: Arlin Davis Date: Mon Aug 11 09:49:08 2014 -0700 mpxyd: change MIC cpu_mask to per numa node instead of adapter The proxy processing threads for multiple cards in same socket will overlap same cpu cores with existing cpumask per adapter. Change thread affinity and cpumask to a per socket method. Signed-off-by: Arlin Davis commit 4e0e6dc0ac02c651767d446a4f58eeb991fff983 Author: Arlin Davis Date: Fri Aug 1 11:10:47 2014 -0700 mpxyd: set to MXS mode if device numa_node is invalid (-1) Signed-off-by: Arlin Davis commit 4072fc3443418cc22e40a8e83d6660da0cb2819d Author: Arlin Davis Date: Fri Aug 1 10:54:14 2014 -0700 mpxyd: MXS based alltoall benchmark hangs or returns post_send timeout Clean-up shared proxy buffer slot management during IO completions. Current code adjusts proxy buffer tail, using m_idx, incorrectly if freeing multiple in order buffer slots. Also, when processing immediate in-order slot, m_po_buf_tl() failed to continue parsing list to free other in-order !busy slots. Signed-off-by: Arlin Davis commit 61c12d3815f8ced11d70e97cc9c806591edde420 Author: Arlin Davis Date: Thu Jul 31 09:50:30 2014 -0700 mpxyd: add IO profile capabilities to help debug alltoall stall cases Signed-off-by: Arlin Davis commit 807bb7262c4fefe6f857c06cb1ff979349abd19f Author: Arlin Davis Date: Thu Jul 31 09:37:27 2014 -0700 mpxyd: retry stalled inline post_send, init m_idx only when signaled Signed-off-by: Arlin Davis commit 776a2e359c60366683e2681365c12cf8a4fd132f Author: Arlin Davis Date: Fri Jul 25 08:35:31 2014 -0700 Release 2.1.0 Signed-off-by: Arlin Davis commit a761b9b5422eb4c0872c1518fa5c58798421ca6e Author: Arlin Davis Date: Wed Jul 23 15:32:06 2014 -0700 build: add missing NEWS file Signed-off-by: Arlin Davis commit 710dafc4cbac7fe5ea2b5d19f83e6f557a96ec7f Author: Arlin Davis Date: Mon Jul 21 12:55:54 2014 -0700 update autogen.sh Signed-off-by: Arlin Davis commit 09d80a9e8ecb67f7509a425950ed2d4430334430 Author: Arlin Davis Date: Mon Jul 21 12:33:12 2014 -0700 Add MCM provider and MPXYD service to build update package version to 2.1.0 MCM provider is dependent on Intel MPSS SCIF library. Signed-off-by: Arlin Davis commit 3d0fc81e2c39558f0c91b17fc84e32c755d3e92f Author: Arlin Davis Date: Mon Jul 21 12:05:44 2014 -0700 mpxyd: service startup script and configuration file mpxyd - Starts/Stops MIC SCIF/DAPL RDMA proxy server mpxyd.conf - Config details: service logs, CM timers, proxy buffers, data segment size, etc. Signed-off-by: Arlin Davis commit 2a4173f780a5183a0e2bf49ed99196f3a9655da5 Author: Arlin Davis Date: Mon Jul 21 11:55:09 2014 -0700 add readme for MCM provider and MPXYD service Signed-off-by: Arlin Davis commit 659f1dc384098ef838ba10ee8ab467b3c3221b3e Author: Arlin Davis Date: Mon Jul 21 11:51:11 2014 -0700 update Copyright dates Signed-off-by: Arlin Davis commit 713f41df5ff268d9d857a0fee9da6d93c0591ed2 Author: Arlin Davis Date: Mon Jul 21 11:18:07 2014 -0700 Add new MIC RDMA proxy service daemon (MPXYD) New service created to support MIC based proxy RDMA. Includes services to manage connectivity of multi-path heterogeneous endpoints and use data paths based on platform constraints. It will create and manage multiple QP's per endpoint if needed. This allows optimal performance per direction based on various platform constraints. For example, if the MIC is on same socket as HCA, only proxy out is needed and not proxy in. In this case, data can go direct from MPXYD->MIC. However, if the MIC is on a different CPU socket from HCA, the provider will use both proxy out and proxy in services to avoid additional constraints of the server platform. The MCM provider and MPXYD will support connections between MIC and non MIC endpoints. Signed-off-by: Arlin Davis commit 574a863607d1bad07aa4b97b1f35ce2b13a53df7 Author: Arlin Davis Date: Mon Jul 21 10:58:37 2014 -0700 add new dapl MIC provider (MCM) to support MIC RDMA proxy services Provider supports all modes of connectivity and will setup data paths based on endpoint locality and platform constraints. Provides transparent DAT API support for RDMA writes, RDMA write with immediate data, Sends, and Recvs. No RDMA read or atomic support. To use MCM provider an application can use the new ofa-v2-mcm device definations in dat.conf. Intel MPSS is required for for MCM provider build and usage. The following shows connectivity modes and data paths: HST -> HST to HCA MSS -> MIC to HCA same socket MXS -> MIC to HCA cross socket 1. HST->HST: Xeon->HCA->fabric->HCA->Xeon (direct->direct) HST<-HST: Xeon<-HCA<-fabric<-HCA<-Xeon (direct<-direct) 2. MSS->MSS: KNC->Xeon->HCA->fabric->HCA->KNC (proxy->direct) MSS<-MSS: KNC<-HCA<-fabric<-HCA<-Xeon<-KNC (direct<-proxy) 3. MSX->MSX: KNC->Xeon->HCA->fabric->HCA->Xeon->KNC (proxy->proxy) MSX<-MSX: KNC<-Xeon<-HCA<-fabric<-HCA<-Xeon<-KNC (proxy<-proxy) 4. MSS->MSX: KNC->Xeon->HCA->fabric->HCA->Xeon->KNC (proxy->proxy) MSS<-MXS: KNC<-HCA<-fabric<-HCA<-Xeon<-KNC (direct<-proxy) 5. MSS->HST: KNC->Xeon->HCA->fabric->HCA->Xeon (proxy->direct) MSS<-HST: KNC<-HCA<-fabric<-HCA<-Xeon (direct<-direct) 6. MSX->HST: KNC->Xeon->HCA->fabric->HCA->Xeon (proxy->direct) MSX<-HST: KNC<-Xeon<-HCA<-fabric<-HCA<-Xeon (proxy<-direct) Signed-off-by: Arlin Davis commit 4ca7c024e65cb7903bc3d32aa1ca5643e50775c1 Author: Arlin Davis Date: Mon Jul 21 08:03:46 2014 -0700 MCM: new MIC provider and proxy service definitions Definitions for MIC Proxy RDMA services MCM <-> MPXYD over SCI (Symmetric Communications InterFace) - ops, cm, events MCM <-> MCM over IB - CM, WR/WC proxy-in and proxy-out wire protocol This service enables MIC based DAPL provider (MCM) to use proxy data service (host CPU) for SND/RCV and RDMA write operations. RDMA reads and atomics are not supported. This service communicates within within a server platform over PCI-E bus using SCIF and a MCM specific MIX (MIC exchange) messaging protocol. The MCM provider uses a new MCM CM protocol on the wire along with a Proxy WR/WC protocol. This service is designed to improved bandwidth on larger IO when direct MIC based IO is contrained. This new MCM provider maintains the DAT level API semantics, including strict ordering requirements of data flow. RDMA write with immediate data is the only IB extension supported. Signed-off-by: Arlin Davis commit 7e09eb221ebb1db71d194e064645149203d7e827 Author: Arlin Davis Date: Fri Jul 18 11:17:03 2014 -0700 cleanup build warnings Signed-off-by: Arlin Davis commit d5643cb15bfa238605261485d22c67173acc3e42 Author: Arlin Davis Date: Fri Jul 18 08:51:00 2014 -0700 common: add CQ,QP,MR abstractions for new MIC provider and data proxy service The new MIC (many integrated core) based provider (MCM) has the capability to shadow QPs,CQs,MRs on the host side of the platform for optimial performance based on locality of endpoints and platform contraints. Each endpoint (DAPL_EP), transparent to consumer, may have multiple connections via MCM provider. openib_common ib_cq/ib_qp code base has been expanded, MCM only, to support separate send and receive channels per endpoint. openib_common dapl_mr code base has been expanded, MCM only, to support MIC base DMA interfaces for MIC to HOST communications. openib_common post_send,post_recv inline code base, MCM only, has been modified to proxy data services via the new MCM provider. dapl_ib_async_str added for better logging across openib providers. Signed-off-by: Arlin Davis commit 848f76611f0ce46165a9cb55eda34d937a44bdc8 Author: Arlin Davis Date: Wed Jul 16 15:25:44 2014 -0700 openib: cleanup, use inet_ntop for GIDs, remove some logs, destroy pipes on release Signed-off-by: Arlin Davis commit 77d04f2e07127cd4df918dbc207b6a41180fc015 Author: Arlin Davis Date: Tue Jul 15 15:06:08 2014 -0700 common: new dapls_evd_cqe_to_event call, cqe to event Signed-off-by: Arlin Davis commit f407d13bcf91db515e957b59655f0e56fb4c1971 Author: Arlin Davis Date: Tue Jul 15 14:39:44 2014 -0700 common: init ring_buffer, assign hd/tl pos in range Signed-off-by: Arlin Davis commit 5f2325d50faaa8a10a8024eb84cd71cfd3ce4971 Author: Arlin Davis Date: Fri Jul 11 11:32:43 2014 -0700 allow log level changes during device open Signed-off-by: Arlin Davis commit eb135e67a6c2082bacc6867217897fcc8c6219a2 Author: Arlin Davis Date: Fri Jul 11 09:53:27 2014 -0700 ucm: fix cm rbuf setup, include grh pad on initialization Signed-off-by: Arlin Davis commit f0ed5177c257294793fd49d25678d63270cee080 Author: Arlin Davis Date: Fri Jul 11 09:11:25 2014 -0700 ucm: remove duplicate async_event code, use common async event call Signed-off-by: Arlin Davis commit 3d5d3cc10a3f1181835a9c0ca227651649e923ff Author: Arlin Davis Date: Fri Jul 11 08:39:01 2014 -0700 new lightweight open_query/close_query IB extension for fast attribute query Consumers that need provider attributes must do a full device open in order to get any provider/device information. With so many static device entries in /etc/dat.conf consumers are building classification mechanisms to identify provider type, locality, name, device mode, and decide which device is appropriate. The existing DAT interface doesn't provide a lightweight mechanism for queries. The following fast query functions have been added to dat_ib_extensions.h: dat_ib_open_query(name, ia_handle, ia_mask, ia_attr, prov_mask, prov_attr) dat_ib_close_query(ia_handle) In addition, DAT extension interface, dat_extension_op, has been expanded to include new internal calls to handle quick provider load and function linkage via udat_extension_open, and udat_extension_close functions. Extended operations needing DAT open/close services need to be defined from a DAT_OPEN_EXTENSION_BASE or DAT_CLOSE_EXTENSION_BASE respectively. NOTE: The ia_handle returned with open query must be closed with subsequent close_query and not used with any other dat_ia_ operations. Attribute storage from query_open is not valid after close_query call. The IB extensions have been rolled to version 2.0.8 with this new API. The changes are backward compatible. Signed-off-by: Arlin Davis commit 5e5b104e35106a2b7d0026437bff8d4ced27446f Author: Arlin Davis Date: Wed Jul 9 09:43:47 2014 -0700 dtestcm: add more detailed debug during disconnect phase Signed-off-by: Arlin Davis commit e1360797208bcdd824945ee9b858d307bf5bd096 Author: Arlin Davis Date: Tue Jul 8 16:14:51 2014 -0700 cma: long delays when opening cma provider with no IPoIB configured The rdma_cm provider (ofa-v2-ib0) can take netdev, ip address, or hostname for local address bindings. When trying to open a non-existent netdev (ib0) the provider will fall through and use the getaddrinfo sys call assuming dat.conf parameter is either an IP address or hostname and not a netdev. This patch changes getipaddr() error handling when opening the cma provider on a non-existant netdev. It will only call getaddrinfo with AI_CANONNAME hints after checking for a valid hostname. Signed-off-by: Arlin Davis commit e01796baa6b0f6cf0e1fb310d2c42d3446898c24 Author: Arlin Davis Date: Tue Jul 8 14:20:27 2014 -0700 common: new debug levels for low system memory, IA stats, and package info DAPL_DBG_TYPE_SYS_WARN = 0x800000 DAPL_DBG_TYPE_VER = 0x1000000 DAPL_DBG_TYPE_IA_STATS = 0x2000000 export DAPL_DBG_SYS_MEM = 5 will set the checking for memory less than 5% when DAPL_DBG_TYPE is set with bit DAPL_DBG_TYPE_SYS_WARN. The package must be built with --enable-counters for memory checking and IA stats capabilities. In addition, if DAPL_DBG_TYPE is set with bit DAPL_DBG_TYPE_VER than the package rev and build date will be sent to stdout during library init. Signed-off-by: Arlin Davis commit 4116019695ea01db5f7f2046fbb0937cd299550b Author: Arlin Davis Date: Thu Jun 26 15:40:46 2014 -0700 build: remove library check for mverbs with --enable-fca Signed-off-by: Arlin Davis commit 9bb5212cfeca4a62288467fceac6b0611a11ffe4 Author: Arlin Davis Date: Tue Jun 24 15:49:20 2014 -0700 IB extension: segfault in create collective group with non-vector type IA handle" The dats_get_ia_handle call was change in 2.0.34 to convert IA handle from both vector to handle and handle to vector to fix query calls that incorrectly returned IA handles in non-vector form. If a caller uses a non vector IA handle it will get converted incorrectly to a vector and cause a segfault. Add additional check to verify a IA handle type before calling get ia handle to avoid incorrect translation. Signed-off-by: Arlin Davis commit 36d2db42865394c929f5f4a2316abe679da9d680 Author: Arlin Davis Date: Tue Jun 24 15:48:38 2014 -0700 build: change configure help to correctly state collective default=none Signed-off-by: Arlin Davis commit 11e6cd1516b4aad6a17656ff72f37c12712bf69b Author: Arlin Davis Date: Mon May 5 09:11:18 2014 -0700 Release 2.0.42 Signed-off-by: Arlin Davis commit 7c1fb7a46e1d94fb07a640bdd8a1f5292d82eb2b Author: Arlin Davis Date: Tue Apr 15 14:48:54 2014 -0700 dapltest: increase DTO evd size to prevent CQ overflow on limit_rpost test Signed-off-by: Arlin Davis commit 8bd2437ccb1299b5f82809b9f42d029625b4f647 Author: Arlin Davis Date: Tue Apr 15 13:44:16 2014 -0700 Creation of reserved SP moves EP state to DAT_EP_STATE_RESERVED even in failure cases. Reserve EP after successfully binding the listening port. Signed-off-by: Arlin Davis commit 80f9eed66c01afecd3553e66baa64fecbb9347ba Author: Dave Goodell Date: Mon Mar 24 14:07:37 2014 -0700 dapl: fix string bug in dapls_dto_op_str This led to indexing off the end of the array and gave surprising results for OP_RECV_UD. commit 2ce4712c357e6b796d63e38dddb536cac650fa5c Author: Arlin Davis Date: Mon Mar 17 14:20:08 2014 -0700 Release 2.0.41 Signed-off-by: Arlin Davis commit 43f35cd944b578162d8d4627b8419a1534cf1edc Author: Arlin Davis Date: Fri Mar 14 10:47:06 2014 -0700 dapltest: change server port, from 45278 to 62000, out of registered IANA range The existing port 45278 is in the registered port range. RFC 6335: System Ports, well known, 0-1023 (assigned by IANA) User Ports, registered, 1024-49151 (assigned by IANA) Dynamic Ports, private or Ephemeral, 49152-65535 (never assigned) Signed-off-by: Arlin Davis commit 12251e447cfee4cb8aea02c14549e990f7c92784 Author: Arlin Davis Date: Thu Mar 13 09:55:29 2014 -0700 dat: lower log level on load errors of provider library Signed-off-by: Arlin Davis commit 30ce6e3ab4f8cf375e0671be7f85c519b00fc1cb Author: Arlin Davis Date: Tue Mar 4 10:52:49 2014 -0800 dat: dat_ia_open should close provider after failure Signed-off-by: Arlin Davis commit 77630fdf56d478f25e0bee8bd9b0d1b0ce10e818 Author: Arlin Davis Date: Tue Mar 4 10:48:55 2014 -0800 dapltest: set default limit max to 1000 Signed-off-by: Arlin Davis commit 622daca65b403c9b561dff4ed57421bdeeac731f Author: Arlin Davis Date: Tue Mar 4 10:30:02 2014 -0800 openib: add new provider specific attributes 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 = xxxx:xxxx:xxxx:xxxx DAT_IB_PORT_STATE = ibv_port_state_str Signed-off-by: Arlin Davis commit 2860312f368be59fa5027f3fe87bce2bcf6f5280 Author: Arlin Davis Date: Mon Mar 3 15:04:12 2014 -0800 dapltest: update scripts for regression testing purposes cl.sh and srv.sh update to provide better examples and a methods 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 to exit. conn - simple connection with limited dater transfer trans - single transaction test transm - transaction test: multiple transactions [RW SND, RDMA] transt - transaction test: multi-threaded, single transaction transme - transaction test: multi-endpoints per thread transmet - transaction test: multi: threads and endpoints per thread transmete - transaction test: multi threads == endpoints perf - Performance test threads - multi-threaded single transaction test. threadsm - multi: threads and endpoints, single transaction test. rdma-write - RDMA write rdma-read - RDMA read bw - bandwidth latb - latency tests, blocking for events latp - latency tests, polling for events lim - limit tests. regression - loop over a collection of all tests. where devicename is provider (default = ofa-v2-mlx4_0-1) Signed-off-by: Arlin Davis commit f15ff784b9385e6964d7efad3219ca508df29f13 Author: swise@opengridcomputing.com Date: Mon Mar 3 14:35:43 2014 -0800 dapltest: Add final send/recv "sync" for transaction tests. 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 response or write arrives after the rmr has been destroyed. I believe this is more likely to happen with iWARP than IB because iWARP completions only indicate the local buffer can be reused. It doesn't imply that the message has even arrived at the peer, let alone been placed in the peer application's memory. Changes from V1: - allocate new send/recv buffers for the Final Sync message. - post the Final Sync recv buffer at the beginning of the final iteration of a test. - tests ok on cxgb4 and mlx4 devices. Signed-off-by: Steve Wise commit 9457b7008424131e9c9d08e3dd09ff2becab78fe Author: Arlin Davis Date: Mon Feb 10 13:07:00 2014 -0800 Release 2.0.40 Signed-off-by: Arlin Davis commit 8d36d4b0250418b0a257f47d40c6ddcfebd6b614 Author: Arlin Davis Date: Sun Feb 9 23:34:43 2014 -0800 dist: ib collective extension include files missing Signed-off-by: Arlin Davis commit 3248d857058e3a1dfd0405adc71ae1002fe947d6 Author: Arlin Davis Date: Sun Feb 9 23:24:29 2014 -0800 dapltest: the quit command is missing changes for -n option. Server-port was not being set properly during param init phase on the client side. Signed-off-by: Arlin Davis commit 36beb63db58b79404902c5d55ba518147bdaa5ca Author: Arlin Davis Date: Sun Feb 9 22:55:17 2014 -0800 dat.conf: remove v1, add Mellanox Connect-IB and Intel Xeon Phi MIC Signed-off-by: Arlin Davis commit bf625e3eb450141b7dc924e6d40d83bbb02db354 Author: Arlin Davis Date: Mon Feb 10 13:01:47 2014 -0800 NULL undefined on Fedora, incorrectly using kernel stddef.h Signed-off-by: Arlin Davis commit ef14daf0585119ba3cae24e7fa0943ff032117ed Author: Arlin Davis Date: Thu Oct 3 16:05:06 2013 -0700 Release 2.0.39 Signed-off-by: Arlin Davis commit d398aef3c8bbd4fbadb113a5d8e324153e555cea Author: Arlin Davis Date: Thu Oct 3 15:21:08 2013 -0700 dapltest: fix endian swap issue with performance test Signed-off-by: Arlin Davis commit 53534445d649812061b1849b1a77a3499ba0cdd0 Author: Arlin Davis Date: Tue Oct 1 15:40:17 2013 -0700 SCM: getifaddrs modfications for better out of the box experience 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 heterogenous 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. Signed-off-by: Patrick Mccormick Signed-off-by: Arlin Davis commit 3315b8148ba52da67e422cf9afe6fa35d2161885 Author: Arlin Davis Date: Tue Oct 1 14:03:51 2013 -0700 ucm, scm: UD mode triggers list_head assert with large scale alltoall test 1024+ ranks, IMB alltoall may hit assert when running Intel MPI in UD mode. CR clean up 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 memory can exist unless RC mode which always has one EP to CR mapping. In scm, ucm: for CM object free with CR references the search and unlinking from SP must be under SP lock to serialize. Also, cleanup thread wakeup logic to only trigger the thread if reference count indicates the need for more processing. Signed-off-by: Arlin Davis commit 40bf5a11b3c8b9767fee95fdbb544c5ddb05777f Author: Arlin Davis Date: Mon Jul 22 12:37:21 2013 -0700 Release 2.0.38 Signed-off-by: Arlin Davis commit 54d5fb2180f6f27141455d5252d26f40fd04d28f Author: Arlin Davis Date: Tue Jul 16 16:12:37 2013 -0700 dapltest: add -n parameter to override default server port number (45278) Modify all tests and commands to take a new -n parameter option for server listen port. The default port, when running multiple EP's and threads, will sometimes collide and fail with EADDRINUSE on iWARP configurations using rdma_bind_addr with sin_port=0. Signed-off-by: Arlin Davis commit 617952fec1b8ca5ec5fc96d5568b90c1ba833ca3 Author: Arlin Davis Date: Fri Jul 12 11:52:33 2013 -0700 ucm,scm: UD mode creates many CR objects per EP that needs cleaned up After connection is established and the AH is provided to consumer on UD connect establishment there is no need to keep the CR object on the SP. For large clusters this results in a growing memory footprint for CR objects and long cleanup times on device close. Change ucm and scm providers to unlink and free CR resources during CM object free if this is a UD QP and CONN_EST state. Signed-off-by: Arlin Davis commit 43a4b28c39199ca47d3af1f456e065cf7fbd741c Author: Arlin Davis Date: Mon Jun 24 14:19:22 2013 -0700 cma: add DAPL_CM_TOS environment variable to enable passing a TOS to the RDMA CM Signed-off-by Matthew Finlay Acked-by: Arlin Davis commit 7e791ac2b328982d98cb88a41e0037b5cc26a693 Author: Arlin Davis Date: Thu Jun 6 18:22:52 2013 -0700 Release 2.0.37 Signed-off-by: Arlin Davis commit b10a904e2b782b77098b4bed03d244bdef5eba5b Author: Arlin Davis Date: Wed May 29 16:59:09 2013 -0700 common: add support for ia name during dat_ia_query 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 commit a1428ea1aa05567c806062f87428d204ea002c55 Author: Arlin Davis Date: Wed May 29 16:53:18 2013 -0700 common: dapl_os_atomic_inc/dec() not working as expected on ppc64 machines. Signed-off-by: Pradeep Satyanarayana Acked-by: Arlin Davis commit 704950f9ab6e03347dc4f1ac2bcd7d2b6b8fb8eb Author: Arlin Davis Date: Wed May 29 16:45:20 2013 -0700 dapltest: ppc64 endian issue with exchanged mem handle and address Signed-off-by: Pradeep Satyanarayana Signed-off-by: Aravinda Venkatramana Acked-by: Arlin Davis commit ee9dadbfe5a2b4f89419a2ce60953b987bf60144 Author: Arlin Davis Date: Thu Jul 5 10:00:28 2012 -0700 Release 2.0.36 Signed-off-by: Arlin Davis commit 30e1e33a7e5617ccd39da8b54df3fda8fe273f20 Author: Arlin Davis Date: Thu Jul 5 09:58:21 2012 -0700 scm: increase ACK timeout to 20 for a default value to match other providers. Signed-off-by: Arlin Davis commit cb18396c3a3a44e1d7f025be95d416a78ad1e4f0 Author: Arlin Davis Date: Mon May 14 14:51:38 2012 -0700 common: allow qp modify in init state Allow consumer to modify attributes via dat_ep_modify in init state. Signed-off-by: Arlin Davis commit 885ded2eed3be6d3b3fb8ff3d5ba3eadf9aeaa98 Author: Arlin Davis Date: Thu May 10 14:57:31 2012 -0700 common: check for valid states during ep posting Signed-off-by: Arlin Davis commit f23517eeef4d43445f14b9555829dc358d33eefd Author: Arlin Davis Date: Thu May 10 13:35:55 2012 -0700 dat.conf: keep list of providers in order for backward compatibility Signed-off-by: Arlin Davis commit 9e8f991ed9374a540ef8657f87993d6f81bd7a08 Author: Arlin Davis Date: Thu May 10 10:49:09 2012 -0700 ucm: record and silently drop a duplicate reject CM message Signed-off-by: Arlin Davis commit a135cfc506e28b12e27a31b80146699c31bd2282 Author: Arlin Davis Date: Wed Apr 25 13:37:53 2012 -0700 windows: new version of getlocalipaddr not portable revert to the original getaddrinfo method for windows Signed-off-by: Arlin Davis commit 4cedaeed09769be14ea16ad5a75b63d3889085d1 Author: Arlin Davis Date: Wed Apr 25 13:36:52 2012 -0700 dapltest: DFLT_QLEN is defined in multiple tests add #ifdef checking in transaction test. Signed-off-by: Arlin Davis commit 4726416988a587c8baa395a08787d16f0dd21374 Author: Arlin Davis Date: Wed Apr 25 13:10:39 2012 -0700 Release 2.0.35 Signed-off-by: Arlin Davis commit 4988c58427b9f54f7e0a1465513c9625fa1ac1d6 Author: Arlin Davis Date: Wed Apr 25 13:07:10 2012 -0700 config/build: remove post/postun hacking used to modify dat.conf 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. Add doc/dat.conf Signed-off-by: Arlin Davis commit 294aa2f58fe4c27826337dc44f8c2d238938d252 Author: Arlin Davis Date: Mon Apr 23 10:35:24 2012 -0700 config: clean up help option displays with ext-type options Signed-off-by: Arlin Davis commit e286d99817d28597a4c11b242c6c2278a284e396 Author: stan smith Date: Mon Apr 23 10:32:00 2012 -0700 windows: Provide auto-detect between RoCE and Infiniband for Windows. For RoCE, enable transport global ID use. Signed-off-by: Arlin Davis commit dd0003426101be19206ba68b22d27b55677e0589 Author: Arlin Davis Date: Thu Apr 19 17:40:45 2012 -0700 ucm: update UD cm provider to support new CM stat and error counters Signed-off-by: Arlin Davis commit 47685e12497a8f9eec4f37225a4b1e44649aab04 Author: Arlin Davis Date: Thu Apr 19 17:40:03 2012 -0700 scm: update socket cm provider to support new CM stat and error counters Signed-off-by: Arlin Davis commit 50ed4fcc7a998877dcb17af7cde2ee8896295b7f Author: Arlin Davis Date: Thu Apr 19 17:15:22 2012 -0700 commom: add cm, link, and diag event counters in IB extended builds 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 is used for device sysfs counters. uDAPL CM events are tracked on a per IA instance via internal provider counters. The ib_cm, link, and diag events are tracked on a per platform basis via sysfs. For these running counters a start and stop function is provided for sampling and mapping to DAPL 64 bit counters. All counters, along with new start and stop functions, are provided via dat_ib_extensions.h. New IB extension version is 2.0.7 New DCNT_IA_xx counters include 40 cm, 9 link, and 9 diag types. To enable new counters (default build is disabled): ./configure --enable-counters New bitmappings have been added to DAPL_DBG_TYPE environment variable to automatically start/stop counters and log errors if counters are enabled. The following will control CM, LINK, and DIAG respectively: DAPL_DBG_TYPE_CM_ERRS = 0x080000, DAPL_DBG_TYPE_LINK_ERRS = 0x100000, DAPL_DBG_TYPE_DIAG_ERRS = 0x400000, Signed-off-by: Arlin Davis commit 0fc4298cad74f47b10c59b1808c8077910fc7c9d Author: Arlin Davis Date: Tue Apr 17 15:24:22 2012 -0700 scm: use ioctl SIOCIFCONF to get complete list of configured netdev interfaces 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 commit 844076f2a0b749db4648c7a3cff16b328fc94b5b Author: Arlin Davis Date: Fri Feb 17 10:28:48 2012 -0800 ucm: UD send failures at scale, ucm_send ERR: get_smsg(hd=149,tl=150) 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 send message error logging. Signed-off-by: Arlin Davis commit d15865106ffbd37de07e5adea7c31a4e79b5fe5c Author: Arlin Davis Date: Mon Feb 6 14:04:37 2012 -0800 scm: fix retry count on connection pending timeout 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 commit c7a61ae813c8f8fe8b8fb326bf115bc77be8fea4 Author: Arlin Davis Date: Mon Feb 6 14:03:20 2012 -0800 ucm: cleanup debug message, ntohl on p_size is incorrect private data size is a short, change to ntohs on log message Signed-off-by: Arlin Davis commit 7779fe08d1577cf4949c48c6a7e7c2e52ff71a6b Author: Arlin Davis Date: Mon Jan 30 10:19:29 2012 -0800 cma, scm, ucm: allow EP (QP) creation without EVD (CQ) 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 appropriate QP max wr/sge attributes to zero. Signed-off-by: Arlin Davis commit 79888537df15161107487378372fd8c1dc8c764f Author: Arlin Davis Date: Mon Jan 30 10:09:42 2012 -0800 common: add DAPL_DBG_TYPE_CM_STATS (0x40000) to debug log options Signed-off-by: Arlin Davis commit 16b0d53e4b734dbc2644ca9b08c536aebbc5d1cb Author: Arlin Davis Date: Wed Jan 25 11:54:29 2012 -0800 common: dapls_ep_flush_cq will segfault when no CQ is attached to EP add check for NULL request/receive EVD (cq) before flushing. Signed-off-by: Arlin Davis commit 960538d9c5cf944e1d58104e43483d91337bccd2 Author: Arlin Davis Date: Wed Jan 25 11:50:21 2012 -0800 common: ep_create should allow max_request_iov attribute setting of zero 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 commit ae9bd7d8b18f0f63a5ab8c049aa7b1010ab27ce0 Author: Arlin Davis Date: Wed Jan 18 15:47:12 2012 -0800 common: add check for NULL handle on ext calls, SRQ free, and helper functions Signed-off-by: Arlin Davis commit f77dcf8ad81261f466e7bb0bb63dfed33c062e90 Author: Arlin Davis Date: Fri Jan 13 12:01:26 2012 -0800 common: add missing sub-types to dat_strerror() "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 commit d4963d5b18220091e85fb8fab882906b29382739 Author: Arlin Davis Date: Thu Jan 12 09:54:59 2012 -0800 common: extended CR event processing missing rejects on errors 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 commit 391006dfded6601488f32a3e10de329a575ab355 Author: Arlin Davis Date: Thu Jan 12 09:39:46 2012 -0800 ucm: incorrectly sends user reject during CR callback errors 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 commit 292c633250b9e0b6644e4d529170123fc5f301e7 Author: Arlin Davis Date: Tue Jan 10 15:42:24 2012 -0800 common: change dbg level on CR callback if not listening on SP Change from from CM to CM_WARN level and include in non-debug build. Signed-off-by: Arlin Davis commit 3b35315460b7412605affff6f9a22532c738e1c9 Author: Arlin Davis Date: Mon Jan 9 15:03:21 2012 -0800 scm: incorrectly sends user reject during CR callback errors 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 commit 285f3798c1b006f0e614fee2ecd58049eb5fabd3 Author: Arlin Davis Date: Mon Jan 9 10:29:26 2012 -0800 dat: add check for NULL handle on IA calls check added to dats_get_ia_handle() Signed-off-by: Arlin Davis commit d29a85aecd0976be0ea677c4d55ee80b8c9b5f52 Author: Arlin Davis Date: Wed Dec 7 16:39:55 2011 -0800 cma,scm,ucm: extra reference on EP, with RSP, causes dat_ep_free() to hang 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 commit c5ff770c2ef572561f409181d2627d645334a9bf Author: Arlin Davis Date: Wed Dec 7 16:34:17 2011 -0800 common: RSP service points incorrectly freed during CR callback The RSP service point is being removed because of improper state/flag checking during CR callback. Add state check for DAPL_SP_STATE_RSP_LISTENING. Signed-off-by: Arlin Davis commit cf402be628dd54c3139cc66af30232b13ef0c70a Author: Arlin Davis Date: Fri Dec 2 15:45:30 2011 -0800 common: clean up dat_rsp_create log message Signed-off-by: Arlin Davis commit 2bdbcdb883dc1de3fc5f53b1a2accc9b56801b02 Author: Arlin Davis Date: Fri Dec 2 15:44:04 2011 -0800 common: cleanup debug message on EVD overflows Signed-off-by: Arlin Davis commit b880f8a612f1b031aa403a2a924ab605b28f2986 Author: Arlin Davis Date: Fri Dec 2 15:31:09 2011 -0800 scm: return correct event error code when remote host refuses requests changed from TIMEOUT to NON_PEER_REJECTED Signed-off-by: Arlin Davis commit 442588d75b3408fb2072c567cb673061c65c1f75 Author: Arlin Davis Date: Fri Dec 2 15:29:08 2011 -0800 dapltest: server CR EVD is too small for multi-client configurations. Increase default size from 8 to 32. Signed-off-by: Arlin Davis commit a5acb2355958501a0a0855bd9b1d533f29148626 Author: Arlin Davis Date: Fri Dec 2 15:28:31 2011 -0800 Common: CR EVD overflow causes segfault. The CR is freed up incorrectly before unlinking with SP. Signed-off-by: Arlin Davis commit df31e386354a4755b0cd416d27a1f9334340ca65 Author: Arlin Davis Date: Wed Nov 2 16:36:22 2011 -0700 Release 2.0.34 Signed-off-by: Arlin Davis commit be8891b39ab9817216fd5736c6e2cce98ec78e91 Author: Arlin Davis Date: Wed Nov 2 10:40:02 2011 -0700 scm: change debug message level for listen/bind errors reduce to CM_WARN instead of general WARN level. Signed-off-by: Arlin Davis commit a938e5db62a0fbbf8020eb1b526b090f44bc67c2 Author: Arlin Davis Date: Wed Nov 2 10:29:34 2011 -0700 common: increase default IB ack timer from 16 to 20 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 with current API. Signed-off-by: Arlin Davis commit 989628832a12f4f0124947f1896bef51b9bbb3c9 Author: Arlin Davis Date: Tue Nov 1 13:44:24 2011 -0700 common: remote ia address null pointer creates seg fault add NULL ptr check and return DAT_INVALID_PARAMETER, DAT_INVALID_ARG2 Signed-off-by: Arlin Davis commit 3c2dbc16a09a0fb430e44ba023e1cc5bb87fa529 Author: Arlin Davis Date: Tue Nov 1 12:40:21 2011 -0700 common: posting events on full queue returns wrong error code Return DAT_QUEUE_FULL instead of DAT_INSUFFICIENT_RESOURCES Signed-off-by: Arlin Davis commit ae55f888f976de8225178fdec343a89bdeb28001 Author: Arlin Davis Date: Tue Nov 1 11:43:55 2011 -0700 common: dat_ep_modify seg faults with null ep_param ptr add additional NULL ptr check for arg3 ep_param Signed-off-by: Arlin Davis commit edbd39693482397ec6d1e4b6783d42be8c66332b Author: Arlin Davis Date: Fri Oct 28 12:27:16 2011 -0700 common: dat_evd_free seg faults with resized software EVD 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 commit 6d23b0cf6487fc39367528e7673e9629fcc04ee2 Author: Arlin Davis Date: Fri Oct 28 10:23:51 2011 -0700 common: remove assert for incorrect events during cm_request Simply print a warning message. Connection callback doesn't forward invalid events to consumer so no need to assert. Signed-off-by: Arlin Davis commit e42b630d9866ec5ad4d2425c7ad96507a6e16b96 Author: Arlin Davis Date: Wed Oct 26 16:02:56 2011 -0700 dat: dat_cno_query with NULL cno_handle causes segmentation fault add check for NULL handle in dat library Signed-off-by: Arlin Davis commit f179ce281b382f005d1553d2401b05f50284aede Author: Arlin Davis Date: Wed Oct 26 13:03:50 2011 -0700 scm: dat_psp_create returns wrong error code on bind/listen failure 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 commit e8c41c05b356fc1a1305dbb80b41f0d3218a6aa2 Author: Arlin Davis Date: Wed Oct 26 09:12:10 2011 -0700 scm: socket connect request count is reset improperly on retry Include the current retry count with the new connect request call and set according after creating the new cm object. Signed-off-by: Arlin Davis commit e8d3537444e311b68d47f015d6de952e31234bc8 Author: Arlin Davis Date: Mon Oct 24 13:59:55 2011 -0700 scm: when hostname has loopback addr assigned, default to eth0 instead of failing There are some cases where the eth0 device is configured with an IP address but the getaddrinfo() will only return loopback address because the hostname is configured in the /etc/hosts file with 127.0.0.1. In this case, the provider will now retry address on eth0 before failing the open. Signed-off-by: Arlin Davis commit 0c13d50320cd8aeac6be809d2dd6f3d6ca675ab0 Author: Arlin Davis Date: Mon Oct 24 13:57:01 2011 -0700 scm: add port number to error log during hca_open failures Signed-off-by: Arlin Davis commit eb026ba0e9f37f131b84ea8971ba18ee2101d592 Author: Arlin Davis Date: Mon Oct 24 13:40:45 2011 -0700 common: query calls return incorrect IA handle to consumer 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 calls. This fix is backward compatible with older libdat2 libraries. Function is already exported and syntax is unchanged. Signed-off-by: Arlin Davis commit 9b891e7ec048cdc8905c70780ef9ca27af0a4002 Author: Arlin Davis Date: Thu Sep 22 13:42:15 2011 -0700 common: srq create asserts with !dapl_llist_is_empty(head) failed return DAT_NOT_IMPLEMENTED before allocating any resources until there is a provider that supports SRQ's. Signed-off-by: Arlin Davis commit 7707d4d19e0359b621a3be1cee7ae59edb0a11b0 Author: Arlin Davis Date: Mon Aug 29 12:31:38 2011 -0700 Release 2.0.33 Signed-off-by: Arlin Davis commit c4fc0ba2038c771f3f2cd9d262c3a802603e6c7b Author: Arlin Davis Date: Sun Aug 28 19:10:37 2011 -0700 scm,ucm: fix compatibility issues and set minimum protocol support allow latest version to work with previous versions to allow 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. Signed-off-by: Arlin Davis commit 2b118e5549e1d7a5cba0cf0f5e7877935c259360 Author: Arlin Davis Date: Fri Aug 19 13:19:38 2011 -0700 build: link librdmacm dependency to ib_acm usage for ucm and scm providers Add -lrdmacm to XLIBS for ucm and scm providers. Only set with conditional use of ib_acm as defined by DAPL_USE_IBACM. Signed-off-by: Arlin Davis commit 648d46ae8964cddee521aa6b8f2c00a37d286c32 Author: Arlin Davis Date: Fri Aug 19 12:40:24 2011 -0700 build: add selective enable/disable-xxx build switch for each provider 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 commit d083cd1d0ee9dfceb14c9cc75a1129f2a247a8bf Author: Arlin Davis Date: Fri Aug 19 10:24:32 2011 -0700 build: add extended header files to EXTRA_DIST and fix missing backslash Signed-off-by: Arlin Davis commit e76221985709bc2aee356e621ec78dffabdc0aef Author: Arlin Davis Date: Fri Aug 19 10:23:42 2011 -0700 build: set IB extended coll-type to none by default Signed-off-by: Arlin Davis commit a55bac341a6d9e95965290d0c73cfe8b252b0dd5 Author: Arlin Davis Date: Sun Aug 7 23:02:54 2011 -0700 common: change errno mapping of EINVAL to DAT_INVALID_PARAMETER Signed-off-by: Arlin Davis commit aea52cce4dbc5fb42debbc77282784c64a826653 Author: Arlin Davis Date: Sun Aug 7 22:59:27 2011 -0700 build: add IB collective and FCA provider to dapl build package as an option New collective support and the FCA provider will only be built with configure option of "--enable-coll-type=fca". Dependencies include fca devel package, fca library, and mverbs library. This will not be included in default builds. Signed-off-by: Arlin Davis commit 66399e8a751474be605cc62050b2b1408f3418b6 Author: Arlin Davis Date: Sun Aug 7 22:54:36 2011 -0700 common: add new dapls_evd_post_event_ext call for extended events Add prototype and code to post extended events on dispatcher and include collective definitions to dat_event_str function. Signed-off-by: Arlin Davis commit cf704c68249f9f93c0624ebaf552b1811013f15f Author: Arlin Davis Date: Sun Aug 7 22:53:45 2011 -0700 ucm: add support for IB collective providers Add collective member address and threading information on a per transport basis. Call create/free service with HCA open/close. Signed-off-by: Arlin Davis commit 9911d103d8aa4c0ecf797fe653979aaa6b82b40d Author: Arlin Davis Date: Sun Aug 7 22:53:09 2011 -0700 scm: add support for IB collective providers Add collective member address and threading information on a per transport basis. Call create/free service with HCA open/close. Signed-off-by: Arlin Davis commit 65946e9ed1b4e57dda85ee8254f6bca4c8232b96 Author: Arlin Davis Date: Sun Aug 7 22:47:21 2011 -0700 cma: add support for IB collective providers Add collective member address and threading information on a per transport basis. Call create/free service with HCA open/close. Signed-off-by: Arlin Davis commit d7f275728eeca3341f10c720ed3325295327e2c1 Author: Arlin Davis Date: Sun Aug 7 22:45:04 2011 -0700 common: add supported collective types in named attributes for query Signed-off-by: Arlin Davis commit f5817ec85e0d43ee6aca287327cce06a92f65cc4 Author: Arlin Davis Date: Sun Aug 7 22:41:48 2011 -0700 common: add collective call mappings via standard dapli_post_ext() Signed-off-by: Arlin Davis commit cab8890d96b20e5afa7f8afe3af5fb087af9a104 Author: Arlin Davis Date: Sun Aug 7 22:39:32 2011 -0700 common: new debug bitmask definition for extension logging Signed-off-by: Arlin Davis commit 09ab18c78faf698811ec08fcfc001c755fa44faa Author: Arlin Davis Date: Wed Aug 17 10:29:01 2011 -0700 common: new IB collective provider for Mellanox Fabric Collective Agent Support for bcast, barrier, reduce, allreduce, allgather, allgatherv Signed-off-by: Arlin Davis commit 5dc60f1aba17becf0788bcb519b17a47dc4be69c Author: Arlin Davis Date: Sun Aug 7 22:06:09 2011 -0700 dat: add definitions for MPI offloaded collectives in IB transport extensions The collective extensions are designed to support MPI and general multicast operations over IB fabrics that support offloaded collectives. Where feasible, they come as close to MPI semantics as possible. Unless otherwise stated, all members participating in a data collective operation must call the associated collective routine for the data transfer operation to complete. Unless otherwise stated, the root collective member of a data operation will receive its own portion of the collective data. In most cases, the root member can prevent sending/receiving data when such operations would be redundant. When root data is already "in place" the root member may set the send and/or receive buffer pointer argument to NULL. Unlike standard DAPL movement operations that require registered memory and LMR objects, collective data movement operations employ pointers to user-virtual address space that do not require pre-registration by the application. From a resource usage point of view, the API user should consider that the provider implementation my perform memory registrations/deregistration on behalf of the application to accomplish a data transfer. Most collective calls are asynchronous. Upon completion, an event will be posted to the EVD specified when the collective was created. Signed-off-by: Arlin Davis commit d3ac07bc2caf82e8d2cd9d0ad50472f697538bd0 Author: sean.hefty@intel.com Date: Wed Jun 22 10:40:17 2011 -0700 common: cleanup debug messages when building with ibacm feature Signed-off-by: Arlin Davis commit d7778868d352e97be618523eeb0468e485490c0e Author: Arlin Davis Date: Sun Feb 13 21:14:33 2011 -0800 Release 2.0.32 Signed-off-by: Arlin Davis commit ef80301e5799bd5657071e6bf4a1787711b5c878 Author: Arlin Davis Date: Sat Feb 12 12:03:19 2011 -0800 cma: reduce output log level in disconnect from WARN to CM_WARN Signed-off-by: Arlin Davis commit 0ca585d4c3e5043e3000786eee7293c3fc4818e3 Author: Arlin Davis Date: Sat Feb 12 11:46:08 2011 -0800 ucm: delay freeing of active side UD cm object in case RTU is dropped The ucm was freeing the UD CM object to quickly so a retried REPLY was dropped and the passive side never received the AH info via RTU. Keep active side UD cm objects on work queue until QP is destroyed so RTU can be resent if necessary. Signed-off-by: Arlin Davis commit a4de5f009dfe303788e08e26d46c5e0c68f20e6e Author: Arlin Davis Date: Sat Feb 12 11:36:35 2011 -0800 ucm: cm object needs to be on work queue before req sent on wire With this delay in cm object queuing there is potential for replies being dropped coming back with a NO MATCH. Start with INIT state and queue it up, move to state REP_PENDING when sending out on the wire to start request timer. Signed-off-by: Arlin Davis commit 342d0eb23c7da570d6f787474389377f706e8f14 Author: Arlin Davis Date: Fri Feb 4 14:41:45 2011 -0800 ucm, scm: remove use of usec_sleep delays and use events for disc and destroy use pthread mutex when processing and waiting for disconnect completions and for CM object destruction. Add f_event, d_event to cm object. Signed-off-by: Arlin Davis commit 02a298eca46a00e3cd26f694d54b8194efc231d1 Author: Arlin Davis Date: Thu Jan 20 18:31:30 2011 -0800 common: reduce default max inline data size because of performance anomaly Increasing max inline causes small message rates to decrease from 4M/sec when set to 64 to about 1M/sec when set to 400. This has been observed on latest mlx4 adapters. Set default to 64 until resolved. Signed-off-by: Arlin Davis commit 14402cefc4ad90f4bd826f60bdeef7ad82909041 Author: Arlin Davis Date: Thu Jan 20 11:05:02 2011 -0800 common: dapls_evd_dto_wait() dbg message should print status and not errno Signed-off-by: Arlin Davis commit 7050cd7b4756ed98072513ee9c3672f0cb63a97d Author: Arlin Davis Date: Mon Jan 17 14:43:58 2011 -0800 ucm, scm: exchange max_qp_rd_atom and limit outstanding requests exchange and add proper checking to limit outstanding rdma reads and atomics. Use one of the reserve bytes in CM message protocol to exchange limits and reset EP attribute rdma_out and set QP RTS attribute properly. Signed-off-by: Arlin Davis commit 080b172cf26ab3202cfb4a1f231e849ea911473f Author: Arlin Davis Date: Tue Jan 4 20:22:12 2011 -0800 scm: retry socket connect on ECONNREFUSED under heavy load with large scale workloads a linux server starts rejecting socket connect requests. Add retry logic for connection refused errors. increasing net.ipv4.tcp_max_syn_backlog to 2048 will also reduce the chance of these errors when scaling up. Signed-off-by: Arlin Davis commit fee5b15e67c60d9d39005ff99655f2c41c418d37 Author: Arlin Davis Date: Tue Jan 4 16:25:29 2011 -0800 common: qp modify RTR using wrong ep attribute parameter for dest_rd_atomic max_rdma_read_in should be used instead of max_rdma_read_out Signed-off-by: Arlin Davis commit b2df3373fec12f16df712e6e2e35d8a3799f3452 Author: Arlin Davis Date: Fri Dec 10 14:26:07 2010 -0800 Release 2.0.31 Signed-off-by: Arlin Davis commit 2bebd3f72ecd73e2df80ca4712f0f470647f196b Author: Arlin Davis Date: Fri Dec 10 14:19:45 2010 -0800 common: clean up build warning for unused variable event_ptr Signed-off-by: Arlin Davis commit 07947b64b776e0c55051bd2db16829fec310db32 Author: Arlin Davis Date: Fri Dec 10 13:49:47 2010 -0800 scm, ucm: set RAI_NOROUTE flag with rdma_getaddrinfo() call to avoid blocking. if path is not returned, print warning message and use default SL. Signed-off-by: Arlin Davis commit 910f52dc040e56d80aa71ec2220c04d11184a9f7 Author: Arlin Davis Date: Fri Dec 10 13:47:15 2010 -0800 cma: definition for dapl_sp_remove_ep() is missing in cm.c Signed-off-by: Arlin Davis commit 04d577b6b5232d1eb7a741caa963e6181008ebd6 Author: Arlin Davis Date: Mon Dec 6 16:06:47 2010 -0800 libdat: static provider entries created for local SR database not freed During load (dat_sr_init) the SR database is created with all dat.conf entries but are never cleaned up during unload. Add new functions dat_sr_remove_all() and dat_sr_remove() calls to cleanup and deallocate SR database entries and database via dat_sr_fini(). Signed-off-by: Arlin Davis commit 9acb2c022a40d9a92a7aad5663be4ad02434de2f Author: Arlin Davis Date: Mon Dec 6 16:02:13 2010 -0800 libdat: memory leak in static registration during parsing The platform_params char string, allocated when parsing dat.conf, is not freed. Signed-off-by: Arlin Davis commit 384c1d71872fdd422b64e7b0e1f7b025f18a7ab2 Author: Arlin Davis Date: Fri Dec 3 16:13:31 2010 -0800 common: increase default IB inline send threshold to 400 Signed-off-by: Arlin Davis commit 70b05fed377f37665d9444d1710c0e251d63bf8a Author: Pradeep Satyanarayana Date: Fri Dec 3 15:52:55 2010 -0800 common cq: a mixup of errno and the -1 return from poll in dapls_wait_comp_channel call should return errno and not status returned from poll. Signed-off-by: Pradeep Satyanarayana commit f0984b3134ac6019e849dc3d449fa33c553344a8 Author: Arlin Davis Date: Fri Dec 3 14:56:21 2010 -0800 ucm: release UD cm objects after AH is exchanged to avoid duplicate request drops When EP is in UD mode, AH resolution is handled with DAT connection semantics connect and accept. Since AH info can be resolved for the same EPs you can get false duplicate requests because a previous CR from is still on the CM processing list. The CM object will remain on the EP free list and not be freed until EP is destroyed given the possibilty of consumer accessing CR private data buffer. Signed-off-by: Arlin Davis commit 334326f1e76c07c08f032df1f69f259a088639dd Author: Arlin Davis Date: Fri Dec 3 14:52:26 2010 -0800 ucm: decrease timeout retry count for disconnect requests Signed-off-by: Arlin Davis commit 48c594ba32507e49e4c28be0fc7094df96b52340 Author: Arlin Davis Date: Fri Dec 3 14:24:40 2010 -0800 ucm: hold lock when sending cm_msgs to sync timer start with packet send releasing the lock after setting start timer and before ucm_send could result in incorrect timeout on CM operations if thread is scheduled out when releasing lock. Signed-off-by: Arlin Davis commit 4395b4d95e39d460ead28fc7fe76a3cfcbf16935 Author: Arlin Davis Date: Fri Dec 3 14:02:25 2010 -0800 ucm: add debugging to include process id for better scale up debug aids use part of the resv[] area of the cm_msg to include local and remote process ids. Add more debug messages to help isolate problems related to many process problems. Signed-off-by: Arlin Davis commit c269c9ab83a72a2b4ffa972697b83572410d9cea Author: Arlin Davis Date: Fri Dec 3 10:25:46 2010 -0800 cma: disconnect can block for excessive times waiting for rdma_cm DREP timeout rdma_cm uses the same timeout values for connect and disconnect request/reply. Disconnect abrupt option allows DAT consumers to specify a prompt disconnect with immediate event. If the remote node goes down or is non-responsive a CM disconnect event could take minutes. Add a time limit waiting for event and move EP to disconnected state to prevent callback from issuing duplicate disconnect event via callback. The EP to CM linking will cleanup/cancel any pending events before destroying cm_id. Signed-off-by: Arlin Davis commit 4c8275ce6d6243fab26e09bff4227db600197c30 Author: Arlin Davis Date: Tue Nov 16 14:48:10 2010 -0800 ucm: configure the recv channel FD to non-blocking Signed-off-by: Arlin Davis commit 551ae2d65d6bf891183b0f9d6c68612120147d07 Author: Stan Smith Date: Fri Oct 29 10:11:41 2010 -0700 windows: Missing librdmacm include path for build Signed-off-by: stan smith commit 15148cdd23f641bd7d7642a17f7155c18ba0d76c Author: Arlin Davis Date: Thu Oct 28 11:12:33 2010 -0700 debug build: only timestamp if sending to stdout to avoid performance hit Signed-off-by: Arlin Davis commit f80928c991c6df0b6e9b344067f7f9c004c17263 Author: Arlin Davis Date: Thu Oct 28 11:11:12 2010 -0700 common: print out errors on free build and not just debug builds Signed-off-by: Arlin Davis commit 7479741ae44627c32af8f8265507ce589c96d8ed Author: Arlin Davis Date: Fri Oct 22 11:58:19 2010 -0700 cma: fix debug build issue Signed-off-by: Arlin Davis commit 4ae116163655e5042f57ec22233624065d652552 Author: Arlin Davis Date: Fri Oct 22 10:15:15 2010 -0700 scm, ucm: MPI spawn test on oversubcribed server taking excessive time to complete Simultanious DREQ processing from user and CM thread caused some improper state change on UCM. State change can incorrectly change from FREE back to DISC in certain corner cases. Add checking on internal disconnect call to prevent double callback events and improper state change. For SCM, a remote DREQ will shutdown socket which will cause POLLERR on the disconnected FD. This will in turn cause the cm_thread to wakeup continuously unnecessarily. Fix thread thrashing by moving CM object to FREE state and removing object FD from pollfd array. Signed-off-by: Arlin Davis commit e26513e47d75f96de47020951f1813c1a09d238d Author: Arlin Davis Date: Fri Oct 22 10:04:21 2010 -0700 common: add high resolution time stamps and thread id to sdtout debug logs Signed-off-by: Arlin Davis commit 794e3807b019df7163b09745048980632a48fcc2 Author: ardavis Date: Fri Oct 22 10:01:12 2010 -0700 common: modify debug in dat_evd_dequeue to reduce noise, only output on non-empty Signed-off-by: Arlin Davis commit 779f2a93f95d7e1d6b18061401cffb0ee56a2b37 Author: sean.hefty@intel.com Date: Tue Oct 19 13:54:42 2010 -0700 cma: rdma_destroy_id called twice during device open bind error Signed-off-by: Pradeep Satyanarayana commit 9c4026b3658f4f350d2b9cf4cbbda0cdc8f26482 Author: ardavis Date: Tue Oct 19 09:52:45 2010 -0700 common: dat_evd_dequeue (poll_cq) fails with invalid parameter after EP (qp) free Failure occured during Intel MPI spawn test on windows. The QP's need to be flushed and processed via EVD's during the EP (QP) destroy to avoid an error on poll_cq. IBAL provider was not moving to ERR state during QP destroy. Better flush CQ processing was added and pushed down to the provider level via dapls_ib_qp_free() where it can move QP to ERR, flush CQ, and then free QP after flushing. Because there is no QP_ERR_FLUSH state on a QP the spin on poll_cq (until empty) after modify_qp to ERR could return empty and before all WQE's are flushed. This could result in a CQE being added to CQ with a invalid QP reference. So, an additional check was added to flush_evds for the recv_q to poll_cq until all recv's pending are complete. For transmit_q there is no quarantee that the posted work is signaled and so the best that can be done is poll_cq until empty. Signed-off-by: Arlin Davis Signed-off-by: Sean Hefty commit 3685811d2c481d1e55d79962710f8779553c0d88 Author: ardavis Date: Mon Oct 11 12:24:31 2010 -0700 ucm: allow configuration of CM burst (signal) threshold on posting Add new DAPL_UCM_TX_BURST environment variable, default=50. Every 50 posted send messages will signal event which is 10 percent blocks of default 500 message limit. Signed-off-by: Arlin Davis commit 167f4d8e50f96f771d1ca50042f61713800e9987 Author: ardavis Date: Mon Oct 11 12:23:50 2010 -0700 cma: fix debug build Signed-off-by: Arlin Davis commit af828468ce884615b39afacae4e5270e38fba9a6 Author: ardavis Date: Thu Oct 7 14:29:21 2010 -0700 windows: debug version of windows does not build. Signed-off-by: Sean Hefty commit 3da73eccadfbec9b8725c53cf37eb9802342c4d0 Author: ardavis Date: Thu Oct 7 11:14:03 2010 -0700 Allow DAPL out of band connection models to use ibacm to obtain path record data. This will enable support for a wider range of topologies, where the SL is required from the SA to prevent deadlock. DAPL will obtain path record data using rdma_getaddrinfo, provided that IB ACM support is enabled. On failure, dapl will fall back to using its default SL value. The IB ACM can be configured to cache path information or always query the SA to ensure that the SL that is obtained is current. Signed-off-by: Sean Hefty commit 8be031e229dfc6afcf7b637d2ea78e43048b7223 Author: ardavis Date: Mon Sep 27 11:12:08 2010 -0700 ucm: add missing map file for UCM provider Signed-off-by: Arlin Davis commit 78ae5ca6bc5ca16772d70e4c4e7b76982efac0fa Author: ardavis Date: Fri Sep 24 10:47:30 2010 -0700 ibal: delay QP transition during disconnect phase ibal provider calls ib_cm_drep in response to receiving a dreq. The result is that the user's QP is transitioned through the error state, which fails any outstanding send operations and flushes all receives. The disconnect request is then reported to the user. Since a user can receive errors from the QP before they are aware of a pending disconnect request, the application may respond to the errors as, well, actual errors. Fix this by delaying the QP transition until the user responds to the dreq. This fixes an error with Intel MPI running over the ibal dapl provider with a 'spawn' test. Signed-off-by: Sean Hefty commit 17d4b3d1ef11ca4de535e64dfffa20e4771bfb1d Author: ardavis Date: Thu Sep 23 13:50:05 2010 -0700 Revert "ibal: delay QP transition during disconnect phase" This reverts commit 4eda455d9bc80c35743b3a2f6773e6c4a500affc. commit 4eda455d9bc80c35743b3a2f6773e6c4a500affc Author: Arlin Davis Date: Wed Sep 22 10:35:24 2010 -0700 ibal: delay QP transition during disconnect phase The ibal provider calls ib_cm_drep in response to receiving a dreq. The result is that the user's QP is transitioned through the error state, which fails any outstanding send operations and flushes all receives. The disconnect request is then reported to the user. Since a user can receive errors from the QP before they are aware of a pending disconnect request, the application may respond to the errors as, well, actual errors. Fix this by delaying the QP transition until the user responds to the dreq. Signed-off-by: Sean Hefty --- commit 6fefe33f9e691d4527a6e077ae1fe71bf138a41c Author: Arlin Davis Date: Mon Sep 20 10:42:41 2010 -0700 common: restructure EVD processing to handle EP destruction phase EVD processing in the common code will return unformated events if EP context is invalid as a result of destruction. During EP destruction, add changes to flush EVD and process DTO completions before the EP freeing is called. Simplified the locking in the EVD code to eliminate the unecessary and very confusing condition checking of evd_producer_locking_needed. new dapls_ep_flush_cqs() call created to syncronize flush and event processing. unnecessary KDAPL code removed in the EVD processing. Signed-off-by: Arlin Davis Signed-off-by: Sean Hefty commit 9a52436fab39201ccccc76cde10c0fc6f54f5585 Author: Arlin Davis Date: Mon Sep 13 16:19:44 2010 -0700 ibal: sync QP destruction and device close Make QP destruction synchronous to ensure that no callbacks are in progress for a QP after dapl has destroyed it. This fixes a use after free error accessing the dapl ep structure from a qp callback that results in an application crash. Signed-off-by: Sean Hefty commit 8b9b644ad2b33f1e21a43be364feee6dd4fc13ec Author: Arlin Davis Date: Mon Sep 13 15:06:42 2010 -0700 ucm: remove unnecessary debug warning in async callback The switch() cases print when necessary. signed-off-by: stan smith commit 9073d757198ea2aa43a7b97e75e64fcb1b4c40cf Author: Arlin Davis Date: Mon Aug 9 14:28:20 2010 -0700 Release 2.0.30 Signed-off-by: Arlin Davis commit f85be199252d12d27c7b7814771a4ca83a43d0c8 Author: Arlin Davis Date: Mon Aug 9 14:25:09 2010 -0700 common: increase default logging to include warnings Signed-off-by: Arlin Davis commit 59489448a7918ab2a1a4b9bcac7e4661cdd97a23 Author: Arlin Davis Date: Mon Aug 9 14:19:50 2010 -0700 common: add more debug levels for cm logging DAPL_DBG_TYPE_CM_EST = 0x8000, DAPL_DBG_TYPE_CM_WARN = 0x10000 Add level for connection establishment and events and for retries/timer events. Signed-off-by: Arlin Davis commit 70c509bca8409d55ad7c4a248f453956d163778b Author: Arlin Davis Date: Mon Aug 2 09:51:30 2010 -0700 common: cleanup CR linkings after DTO error on EP Add cleanup to remove CR from SP and EP during DTO errors in dapli_evd_cqe_to_event. dapl_sp_remove_ep needs to remove cr_ptr reference from EP before freeing cr object. Signed-off-by: Arlin Davis commit 319430b3bbfb8692dd3d21a21633bfee74cf5b7c Author: Arlin Davis Date: Mon Aug 2 09:49:23 2010 -0700 ucm: cleanup CM debug warning messages Signed-off-by: Arlin Davis commit 7118731a890e9188bb02dc7a5b21ffd832855e9e Author: Arlin Davis Date: Fri Jul 23 15:17:53 2010 -0700 scm, ucm: improperly handles pkey check/query in host order Convert consumer input to network order before verbs query pkey check. Signed-off-by: Arlin Davis commit c5504925b8b98006f421d53475e8ecd55b76f9dd Author: Arlin Davis Date: Mon Jul 12 15:57:34 2010 -0700 The linux compatability header file _errno.h is moving out of verbs.h. Include _errno.h in the windows osd header files, similar to how errno.h is included in the linux osd header files. Signed-off-by: Sean Hefty commit 455e9d6d0aeb753a9ecb4a130b0b237e1ffd4146 Author: Arlin Davis Date: Wed Jun 30 12:03:41 2010 -0700 windows: update SOURCES files to link winverbs.lib, which is needed for common ofa providers. Signed-off-by: Sean Hefty commit b441934f5e55582ef01a91c01da720334345a452 Author: Arlin Davis Date: Thu Jun 17 12:58:22 2010 -0700 Release 2.0.29 Signed-off-by: Arlin Davis commit 6c6a482b8ad33d134f0631019b249bd0fea71007 Author: Arlin Davis Date: Thu Jun 17 12:40:21 2010 -0700 scm, ucm: add pkey, pkey_index, sl override for QP's On a per open basis, add environment variables DAPL_IB_SL and DAPL_IB_PKEY and use on connection setup (QP modify) to override default values of 0 for SL and PKEY index. If pkey is provided then find the pkey index with ibv_query_pkey for dev_attr.max_pkeys. Will be used for RC and UD type QP's. Signed-off-by: Arlin Davis commit 876942781e9bf72302184f3534a2ddc4068550ac Author: Arlin Davis Date: Thu Jun 10 11:40:45 2010 -0700 cma: remove dependency on rdma_cma_abi.h Signed-off-by: Arlin Davis commit b34ea37650b5eefeedfc463345775ff568df259e Author: Arlin Davis Date: Wed Jun 2 14:13:05 2010 -0700 configure: need a false conditional for verbs attr.link_layer member check Signed-off-by: Arlin Davis commit 977f11871d3d4e98f602f890ade1c31cf4169c9c Author: Arlin Davis Date: Wed Jun 2 10:05:03 2010 -0700 ucm: incorrectly freeing port on passive side after reject cm_release was incorrectly freeing a client port assuming it was the server listening port. Move the listening port cleanup to remove_conn_listner and only cleanup client ports in cm_release. Error Messages indicating problem: CM_REQ retry 1 [lid, port, qpn]: 9 ff9a 340085 -> 9 6fa 34004e Time(ms) 1999 > 1600 DUPLICATE: op REQ st CM_CONNECTED [lid, port, qpn]: 9 6fa 0x0 <- 0x9 ff9a 0x340085 Signed-off-by: Arlin Davis commit 7aedfb1e9dcb9e2841ebe3496bb9aae33c1f6a5b Author: Arlin Davis Date: Wed Jun 2 09:45:42 2010 -0700 ucm: modify debug CM output for consistency, all ports, qpn in hex Signed-off-by: Arlin Davis commit 8e776ff0621cee1824be224b7a32f79e89b0ebc2 Author: Arlin Davis Date: Mon May 24 16:44:25 2010 -0700 Release 2.0.28 Signed-off-by: Arlin Davis commit 8fdbd949ef464aa57b13743ab087ea72f035fbc3 Author: Arlin Davis Date: Mon May 24 16:28:05 2010 -0700 config: add conditional check for new verbs port_attr.link_layer Check for link_layer type ETHERNET and set global for GID configuration on modify QP. Signed-off-by: Arlin Davis commit 1ce0875fb2ac6120cfee006b48a20a4ec38f599b Author: Arlin Davis Date: Mon May 24 10:30:28 2010 -0700 dat.conf: update manpage with latest provider information, add examples Add information regarding OpenFabrics provider choices and explain cma, scm, and ucm providers. Signed-off-by: Arlin Davis commit 9c42d5872feb07f25f003e01263a3062ebc3bdbb Author: Arlin Davis Date: Wed May 19 16:38:53 2010 -0700 cma, scm: new provider entries for Mellanox RDMA over Ethernet device Add options for netdev eth2 and eth3 for cma and for device mlx4_0 port 1 and 2 for scm. ofa-v2-cma-roe-eth2 u2.0 nonthreadsafe default libdaplofa.so.2 dapl.2.0 "eth2 0" "" ofa-v2-cma-roe-eth3 u2.0 nonthreadsafe default libdaplofa.so.2 dapl.2.0 "eth3 0" "" ofa-v2-scm-roe-mlx4_0-1 u2.0 nonthreadsafe default libdaploscm.so.2 dapl.2.0 "mlx4_0 1" "" ofa-v2-scm-roe-mlx4_0-2 u2.0 nonthreadsafe default libdaploscm.so.2 dapl.2.0 "mlx4_0 2" "" Signed-off-by: Arlin Davis commit d947e05317fe7fef19c90f772ec8f458ff52b196 Author: Arlin Davis Date: Wed May 19 15:17:58 2010 -0700 dapltest: server info devicename is not large enough for dapl_name storage Server info device name is a 80 char array but the dapl device name that is copied is 256 bytes. Increase started_server.devicename definition. Chalk one up for windows SDK OACR (auto code review). Signed-off-by: Sean Hefty commit c7a7a886af194cf735ee1eb62d9e14967d51249a Author: Arlin Davis Date: Wed May 19 14:48:49 2010 -0700 windows: comp_channel.cpp is included by util.c in the openib_common. Remove it from device.c in individual providers to avoid duplicate definitions. Line endings were corrected to linux format from windows as part of the change. Signed-off-by: Sean Hefty commit bcaa400778d14a977d5cd224056baa0cff06126d Author: Arlin Davis Date: Wed May 19 14:45:55 2010 -0700 windows: need to include linux directory to pick up _errno.h Signed-off-by: Sean Hefty commit c616a8549db461e39feed71f0f10228313d17b90 Author: Arlin Davis Date: Mon May 17 16:22:30 2010 -0700 scm: check for hca object before signaling thread There may not be an hca object attached to cm object when freeing during cleanup. Signed-off-by: Arlin Davis commit 1dbba72741da267f71903a9f2ec03628f3e8a47a Author: Arlin Davis Date: Mon May 17 16:15:21 2010 -0700 scm, cma: fini code can be called multiple times and hang via fork The providers should protect against forked child exits and not cleanup until the parent init actually exits. Otherwise, the child will hang trying to cleanup dapl thread. Modify to check process id for proper init to fini cleanup and limit cleanup to parent only. Signed-off-by: Arlin Davis commit b35cb1b16a9dda349dbb19bce9f9bd4afb7240a4 Author: Arlin Davis Date: Fri May 14 16:20:52 2010 -0700 scm: add option to use other network devices with environment variable DAPL_SCM_NETDEV New environment variable can be used to set the netdev for sockets to use instead of the default network device returned using gethostname. Signed-off-by: Arlin Davis commit cfdf8bb8951b1c19b8e42d58e4ec26070fdc078e Author: Arlin Davis Date: Fri May 14 10:27:50 2010 -0700 scm: cr_thread occasionally segv's when disconnecting all-to-all MPI static connections Note: no valid calltrace for segv on cr_thread because of state changing in switch statement from another thread, jumped unknown location. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x41a65940 (LWP 1328)] 0x00002b2e7d9d5134 in ?? () Add cm object locking on all state change/checking. When freeing CM object wakeup cr_thread to process state change to CM_FREE. Signed-off-by: Arlin Davis commit 4b04afc32940ac42fb2a9bc789a537b527d149fe Author: Arlin Davis Date: Thu May 13 10:31:17 2010 -0700 scm: SOCKOPT ERR Connection timed out on large clusters Large scale all to all connections on +1000 cores the listen backlog is reached and SYN's are dropped which causes the connect to timeout. Retry connect on timeout errors. Signed-off-by: Arlin Davis commit 625369f991982f020c04156f312ecf2ecafd77b3 Author: Arlin Davis Date: Mon May 10 12:46:17 2010 -0700 ucm: UD mode, active side cm object released to soon, the RTU could be lost. Will see following message with DAPL_DBG_TYPE set for Errors & Warnings (0x3): ucm_recv: NO MATCH op REP 0x120 65487 i0x60005e c0x60005e < 0xd2 19824 0x60006a The cm object was released on the active side after the connection was established, RTU sent. This is a problem if the RTU is lost and the remote side retries the REPLY. The RTU is never resent. Keep the cm object until the EP is destroyed. Signed-off-by: Arlin Davis commit 83eec7f19a7442fe568dea685cee7b02fef2f4d1 Author: Arlin Davis Date: Mon May 10 12:35:51 2010 -0700 cma, ucm: cleanup issues with dat_ep_free on a connected EP without disconnecting. During EP free, disconnecting with ABRUPT close flag, the disconnect should wait for the DISC event to fire to allow the CM to be properly destroyed upon return. The cma must also release the lock when calling the blocking rdma_destroy_id given the callback thread could attempt to acquire the lock for reference counting. Signed-off-by: Arlin Davis commit da83172db68d05f54b2c1c77b84ecf86dea0c693 Author: Arlin Davis Date: Wed Apr 28 15:37:27 2010 -0700 ucm: increase default UCM retry count for connect reply to 15 On very large clusters UCM is timing out with retries at 10. Signed-off-by: Arlin Davis commit 5c710a197bb60268e99e8d1cd7fa26f89b366172 Author: Arlin Davis Date: Tue Apr 27 11:20:08 2010 -0700 scm: remove modify QP to ERR state during disconnect on UD type QP The disconnect on a UD type QP should not modify QP to error since this is a shared QP. The disconnect should be treated as a NOP on the UD type QP and only be transitioned during the QP destroy (dat_ep_free). Signed-off-by: Arlin Davis commit 64c8009f7ba48c22a6829862447ab5f67c66ba55 Author: Arlin Davis Date: Thu Apr 8 16:32:02 2010 -0700 windows: remove static paths from dapltest scripts signed-off-by: stan smith commit 84b78b0b586ee25c7ab78e2c5f7f19a3ce3f21ee Author: Arlin Davis Date: Thu Apr 8 09:38:57 2010 -0700 common: EP links to EVD, PZ incorrectly released before provider CM objects freed. unlink/clear references after ALL CM objects linked to EP are freed. Otherwise, event processing via CM objects could reference the handles still linked to EP. After CM objects are freed (blocking) these handles linked to EP are guaranteed not to refereence from underlying provider. Signed-off-by: Arlin Davis commit 297e149e7af631663ecc60472a3ee093a7f72059 Author: Arlin Davis Date: Wed Apr 7 11:12:21 2010 -0700 common: remove unnecessary lmr lkey hashing and duplicate lkey checking lmr lkey hashing is too restrictive given the returned lkey could be the same value for different regions on some rdma devices. Actually, this checking is really unecesssary and requires considerable overhead for hashing so just remove hashing of lmr lkey's. Let verbs device level do the checking and validation. Signed-off-by: Arlin Davis commit 96fba2ee7a0a1766f200c9486e62aad46d18bb09 Author: Arlin Davis Date: Mon Mar 29 12:20:34 2010 -0800 ibal: output completion code in deciaml & hex as intended sign-off-by: stan smith commit 753f7d35c814367f431deeb307e6decd933a8b5a Author: Arlin Davis Date: Tue Mar 16 15:02:44 2010 -0800 ucm: set timer during RTU_PENDING state change. The timer thread may pick up an unitialized timer value and timeout before the reply was sent. Signed-off-by: Arlin Davis commit 9fc851021d91b282054cf28b4f83f7e5d376f228 Author: Arlin Davis Date: Tue Mar 16 14:47:58 2010 -0800 ucm: fix issues with new EP to CM linking changes Add EP locking around QP modify Remove release during disconnect event processing Add check in cm_free to check state and schedule thread if necessary. Add some additional debugging Add processing in disconnect_clean for conn_req timeout Remove extra CR's Signed-off-by: Arlin Davis commit a5da5e4dac52366a9fe9efeb9a128bd4511481e2 Author: Arlin Davis Date: Tue Mar 16 14:18:06 2010 -0800 scm: add EP locking and cm checking to socket cm disconnect Signed-off-by: Arlin Davis commit 7f733cd1a9acd4b9b270a807673290362050053d Author: Arlin Davis Date: Tue Mar 16 09:44:44 2010 -0800 scm: new cm_ep linking broke UD mode over socket cm Add EP locking around modify_qp for EP state. Add new dapli_ep_check for debugging EP Cleanup extra CR's Change socket errno to dapl_socket_errno() abstraction Signed-off-by: Arlin Davis commit a528267020972e0c449f240ba72a0cc80a5d372e Author: Arlin Davis Date: Tue Mar 16 09:17:01 2010 -0800 openib common: add some debug prints to help isolate QP type issues Signed-off-by: Arlin Davis commit fdfdc439d091c878c74d23b9ac46a3320379199d Author: Arlin Davis Date: Tue Mar 16 09:15:12 2010 -0800 common: dapl_event_str function missing 2 IB extended events Add all IB extended events in event string print function Signed-off-by: Arlin Davis commit 2bf3eb939e9a584ae0fe2de70f16cdcca8acf014 Author: Arlin Davis Date: Tue Mar 16 09:12:11 2010 -0800 common: dat_ep_connect should not set timer UD endpoints connect for UD type is simply AH resolution and doesn't need timed. The common code is not designed to handle multiple timed events on connect requests so just ignore timing UD AH requests. Signed-off-by: Arlin Davis commit 73ca06debe4735dfc11f44076a13dde079657b2e Author: Arlin Davis Date: Mon Mar 15 10:23:47 2010 -0800 ucm: fix error path during accept_usr reply failure if accept_usr fails when sending reply the EP was being linked to CM instead of properly unlinked. Signed-off-by: Arlin Davis commit 944ef4445faceeb90bb61d4e377274ad0fd6711f Author: Arlin Davis Date: Mon Mar 8 13:56:28 2010 -0800 ibal: add missing windows makefile Signed-off-by: Arlin Davis commit 1d53e8eb90e6f74b41e7767e1c71851ff4ec73fd Author: Arlin Davis Date: Mon Mar 8 12:53:45 2010 -0800 ibal: changes for EP to CM linking and synchronization. Windows IBAL changes to allocate and manage CM objects and to link them to the EP. This will insure the CM IBAL objects and cm_id's are not destroy before EP. Remove windows only ibal_cm_handle in EP structure. Signed-off-by: Arlin Davis commit 4b939076aa32bb52957fcc6791e187c9433d4c24 Author: Arlin Davis Date: Wed Feb 24 12:00:07 2010 -0800 scm: add support for canceling conn request that times out. print warning message during timeout. Signed-off-by: Arlin Davis commit f38fc04d517ee6c0560b271298293c56cc619522 Author: Arlin Davis Date: Wed Feb 24 11:28:04 2010 -0800 scm, cma, ucm: consolidate dat event/provider event translation Signed-off-by: Arlin Davis commit 41739dab38a4be8076ecd9e61b5e175cf91ab322 Author: Arlin Davis Date: Wed Feb 24 11:26:25 2010 -0800 common: missed linking changes from atomic to acquire/release Signed-off-by: Arlin Davis commit 7ff4f840bf1150fa2c2f541c93d810622ea9733b Author: Arlin Davis Date: Wed Feb 24 10:03:57 2010 -0800 common: add CM-EP linking to support mutiple CM's and proper protection during destruction Add linking for CM to EP, including reference counting, to insure syncronization during creation and destruction. A cm_list_head has been added to the EP object to support multiple CM objects (UD) per EP. If the CM object is linked to an EP it cannot be destroyed. Signed-off-by: Arlin Davis commit c9fbd6e7a8131d4077039d5da716b618727d4009 Author: Arlin Davis Date: Tue Feb 23 16:26:41 2010 -0800 Release 2.0.27-1 Signed-off-by: Arlin Davis commit 454c27b1f357c7c3070e459b25d12929f86304ca Author: Arlin Davis Date: Mon Feb 22 09:42:17 2010 -0800 windows: add scm makefile Signed-off-by: Arlin Davis commit 66ac48d5280bcf0453760c6e22909de6b8519b6d Author: Arlin Davis Date: Mon Feb 22 09:41:13 2010 -0800 Windows does not require rdma_cma_abi.h, move the include from common code and to OSD file. Signed-off-by: stan smith commit c05c41c31f01e1ddef91e92998ca66d258fafe3d Author: Arlin Davis Date: Fri Feb 19 14:52:01 2010 -0800 Windows patch to fix IB_INVALID_HANDLE name collision signed-off-by: stan smith commit 712e7e5ba71f8a4344dfff481a9be870eefefe25 Author: Arlin Davis Date: Mon Feb 8 13:49:35 2010 -0800 scm: dat_ep_connect fails on 32bit servers memcpy for remote IA address uses incorrect sizeof for a pointer type. Signed-off-by: Arlin Davis commit 3040fa78d7d22c8f76c88dc77cedde09f016eb67 Author: Arlin Davis Date: Fri Feb 5 11:51:16 2010 -0800 undefined symbol: dapls_print_cm_list call prototype should be dependent on DAPL_COUNTERS. Signed-off-by: Arlin Davis commit cbeebe422b952d679f49429be8ba045a62d7f4ac Author: Arlin Davis Date: Fri Feb 5 11:39:21 2010 -0800 Cleanup CM object lock before freeing CM object memory Running windows application verifiier for uDAPL validation for all 3 providers. Cleanup memory lock leaks found by verifier. Signed-off-by: Arlin Davis commit 855a8e4aa83fa2e4f7847122415106f49286f4ca Author: Arlin Davis Date: Wed Feb 3 16:21:30 2010 -0800 destroy verbs completion channels created via ia_open or ep_create. Completion channels are created with ia_open for CNO events and with ep_create in cases where DAT allows EP(qp) to be created with no EVD(cq) and IB doesn't. These completion channels need to be destroyed at close along with a CQ for the EP without CQ case. Signed-off-by: Arlin Davis commit 4da540591148e47dd912851cc7314776f2f7622e Author: Arlin Davis Date: Wed Feb 3 11:06:45 2010 -0800 Update Copyright file and include the 3 license files in distribution Signed-off-by: Arlin Davis commit 9011abd4b1470c65bfe81eef5a2f3a81060cec81 Author: Arlin Davis Date: Tue Feb 2 14:43:03 2010 -0800 When copying private_data out of rdma_cm events, use the reported private_data_len for the size, and not IB maximums. This fixes a bug running over the librdmacm on windows, where DAPL accessed invalid memory. Signed-off-by: Sean Hefty Signed-off-by: Arlin Davis commit 5da33bb3b9c230c08492f85d13caa330ce65906e Author: Sean Hefty Date: Thu Jan 28 10:19:20 2010 -0800 dapl/cma: fix referencing freed address DAPL uses a pointer to reference the local and remote addresses of an endpoint. It expects that those addresses are located in memory that is always accessible. Typically, for the local address, the pointer references the address stored with the DAPL HCA device. However, for the cma provider, it changes this pointer to reference the address stored with the rdma_cm_id. This causes a problem when that endpoint is connected on the passive side of a connection. When connect requests are given to DAPL, a new rdma_cm_id is associated with the request. The DAPL code replaces the current rdma_cm_id associated with a user's endpoint with the new rdma_cm_id. The old rdma_cm_id is then deleted. But the endpoint's local address pointer still references the address stored with the old rdma_cm_id. The result is that any reference to the address will access freed memory. Fix this by keeping the local address pointer always pointing to the address associated with the DAPL HCA device. This is about the best that can be done given the DAPL interface design. Signed-off-by: Sean Hefty commit 66dbb5f20bf494eb3f5041655b478059165c5f1b Author: Sean Hefty Date: Tue Jan 26 15:13:03 2010 -0800 dapl: move close device after async thread is done using it Before calling ibv_close_device, wait for the asynchronous processing thread to finish using the device. This prevents a use after free error. Signed-off-by: Sean Hefty commit 560b235adc799fa710571ca63cbc3e4fa6374ff2 Author: Arlin Davis Date: Mon Jan 11 09:03:10 2010 -0800 Release 2.0.26-1 Signed-off-by: Arlin Davis commit 73dfb32ace6aff2fdb21e54689342fd551822286 Author: Arlin Davis Date: Tue Dec 22 14:00:33 2009 -0800 openib_common: add check for both gid and global routing in RTR check for valid gid pointer along with global route setting during transition to RTR. Add more GID information to debug print statement in qp modify call. Signed-off-by: Arlin Davis commit 7aab18fd8ff3f201b0a4b6c76896667b29f103c4 Author: Arlin Davis Date: Fri Dec 4 12:31:22 2009 -0800 openib_common: remote memory read privilege set multi times duplicate setting of read privilege in dapls_convert_privileges Signed-off-by: Arlin Davis commit 016e2c40b8ac2fe18993e9fb7122ecb9b439e5eb Author: Arlin Davis Date: Fri Dec 4 12:25:30 2009 -0800 ucm, scm: DAPL_GLOBAL_ROUTING enabled causes segv socket cm and ud cm providers support QP modify with is_global set and GRH. New v2 providers didn't pass GID information in modify_qp RTR call and incorrectly byte swapped the already network order GID. Add debug print of GID during global modify. Signed-off-by: Arlin Davis commit 7b0c596c7b4ad619f65da9f79dcbc4376e651dde Author: Arlin Davis Date: Tue Nov 24 22:16:58 2009 -0800 Release 2.0.25-1 Signed-off-by: Arlin Davis commit 3197bffff478ad7ff5eff9220fa0528e42e6b56e Author: Arlin Davis Date: Tue Nov 24 22:15:46 2009 -0800 winof scm: initialize opt for NODELAY setsockopt Signed-off-by: Arlin Davis commit 8559ec069329249592f367b5b8f61427cbad0a46 Author: Arlin Davis Date: Tue Nov 24 11:29:46 2009 -0800 Release 2.0.25 Signed-off-by: Arlin Davis commit 0983c66cbd9511128c1fa221470c4c983903e420 Author: Arlin Davis Date: Tue Nov 24 08:58:44 2009 -0800 winof cma: windows definition for EADDRNOTAVAIL missing Signed-off-by: stan smith commit 4fbbcfa1d7bf7a843b27e351d35f3ffbc2ac4db8 Author: Arlin Davis Date: Tue Nov 24 08:54:26 2009 -0800 scm: client side setsockopt NODELAY fails if data arrives before setting Move setsockopt before connect to avoid race with data. Seems to fail on windows. Not seen on linux. Signed-off-by: Arlin Davis commit 9dfa9a06d55101fed0773028ce7ab85330514c67 Author: Arlin Davis Date: Wed Nov 18 09:52:40 2009 -0800 cma: setup_listener Cannot assign requested address Colliding with RDS port of 18634. rdma_cm can return either EADDRINUSE or EADDRNOTAVAIL if the bind fails. Add check for either and return proper DAT_CONN_QUAL_IN_USE. Signed-off-by: Arlin Davis commit 0698fb56d533a5225cbc3a5a4b8ab2e2d56b7502 Author: Arlin Davis Date: Wed Nov 18 09:43:38 2009 -0800 common: seg fault in dapl_evd_wait with multi-thread application using CNO's. If we are dealing with event streams besides a CQ event stream, be conservative and set producer side locking. Otherwise, no. Check for CNO is missing, CNO is not considered CQ event stream. Signed-off-by: Arlin Davis commit 4d26a280572a58248b0796e4d5ed01ea5d67be46 Author: Arlin Davis Date: Wed Nov 18 09:37:48 2009 -0800 ucm: inbound DREQ/DREP handshake should transition QP. During release, when receiving a disconnect request from remote peer instead of a disconnect call from the client, the QP didn't get properly set in ERR state and didn't flush the queue during disconnect processing. Signed-off-by: Arlin Davis commit 87965cd15bbfa38b00ed2d77a4ea5a76f76cf4a3 Author: Arlin Davis Date: Mon Nov 2 08:24:53 2009 -0800 winof: Remove duplicate include of comp_channel.cpp from cm.c as it is included in opensm_ucb/device.c. Signed-off-by: stan smith commit 737fa288b72fad19a1fc3e762eb9f2c471ce6ddd Author: Arlin Davis Date: Fri Oct 30 13:19:21 2009 -0800 Release 2.0.24 Signed-off-by: Arlin Davis commit 9fe7506ff9ddf1ae6297cfc6a9dd4d6a57e1939e Author: Arlin Davis Date: Fri Oct 30 12:57:22 2009 -0800 winof: Utilize WinOF version of inet_ntop() for Windows OSes which do not support inet_ntop(). Signed-off-by: stan smith commit d56c645a2bf234e9e0cf215b112c2aa9d5e01945 Author: Arlin Davis Date: Fri Oct 30 07:17:26 2009 -0800 ucm: windows build issue with new CQ completion channel Signed-off-by: Arlin Davis commit 2d2e7e1e185c08542ee31b0e77561a1eeb4bde6c Author: Arlin Davis Date: Fri Oct 30 06:35:33 2009 -0800 winof: add ucm provider to windows build Signed-off-by: Arlin Davis commit 94b2206093607214e0a9709651460692e8196e1c Author: Arlin Davis Date: Fri Oct 30 06:32:56 2009 -0800 winof: add missing build files for ibal, scm Signed-off-by: Arlin Davis commit 66b76d7a8035b9164b69781d7630a0c77ce1bb5a Author: Arlin Davis Date: Wed Oct 28 09:52:50 2009 -0800 scm: connection peer resets under heavy load, incorrect event on error Under heavy load, we get a peer reset from the remote stack. In this case retry the socket connection for this QP setup. Add debugging with PID's and socket ports to help isolate these types of socket scaling issues. Report correct UD event during error, check remote_ah creation. Fix dapl_poll return codes for single event type only. Signed-off-by: Arlin Davis commit f8108a9bda0200355107fdd6c43cb5885f47d648 Author: Arlin Davis Date: Wed Oct 28 09:47:37 2009 -0800 ucm: increase default reply and rtu timeout values. Signed-off-by: Arlin Davis commit 9c13d0d01c78eeb5071e802fbb53811cdb377059 Author: Arlin Davis Date: Wed Oct 28 07:48:20 2009 -0800 ucm: change some debug message levels and add check for valid UD REPLY during retries. Signed-off-by: Arlin Davis commit 1c404bb3dcc0a45e21ef3aa973d59714413beae0 Author: Arlin Davis Date: Tue Oct 27 10:37:45 2009 -0800 ucm: increase timers during subsequent retries check/process create_ah errors during connect phase cleanup some debug messaging. Signed-off-by: Arlin Davis commit cd8c48586f53e846de4fbe10994b73ba457f6406 Author: Arlin Davis Date: Mon Oct 19 10:38:36 2009 -0700 ucm, scm: address handles need destroyed when freeing Endpoints with UD QP's. Signed-off-by: Arlin Davis commit ce19f5744c0dd9461c09d999b309e8f0e2242767 Author: Arlin Davis Date: Fri Oct 16 14:42:00 2009 -0700 openib_common: ignore pd free errors, clear pd_handle and return. some older adapters have some issues with pd free so just clear handle and return Signed-off-by: Arlin Davis commit 81f5ac17d9039e2edcd8324f7d5ed5f66fcff9f2 Author: Arlin Davis Date: Fri Oct 16 08:52:21 2009 -0700 ucm: using UD type QP's, ucm reports wrong reject event when user rejects AH resolution request. During rejects, both usr and ucm internal, the qp_type does not get initialized so the check for UD type QP messages fail on active side and the wrong event gets generated. Initialize saddr.ib information before sending reject back to active side. Signed-off-by: Arlin Davis commit f0214e5a7a81a68819d308cb921eb75f5246207d Author: Arlin Davis Date: Fri Oct 16 07:57:25 2009 -0700 ucm, scm, cma: Fix CNO support on DTO type EVD's EVD wait_object should be used for CNO processing and not the direct CQ event channels. Add proper checking for DTO type EVD's with CNO at wait and wakeup. UCM missing support for collective EVD's under a CNO. Add support to create common channel for collective EVD's during device open. Add support in cm_thread to check this channel. Also, during disconnect, move QP to error to properly flush queue instead of moving to reset and init. Signed-off-by: Arlin Davis commit 960950a7d9f5437dd831bd56ca2ad0c06cb4e324 Author: Arlin Davis Date: Thu Oct 15 09:19:45 2009 -0700 ucm: fix lock init bug in ucm_cm_find the lock should be setup as pointer to lock not lock structure. Cleanup lock and list in cm_find function and cm_print function. Add debug aid by passing process id in msg resv area. cleanup cr references and change to cm for consistency. Signed-off-by: Arlin Davis commit f86fec772f2d82eaf60228d288b295e0b7b86c59 Author: Arlin Davis Date: Wed Oct 14 10:03:47 2009 -0700 ucm: fix build problem with latest windows ucm changes define dapls_thread_signal as inline Signed-off-by: Arlin Davis commit 87b6c8ba92f3063a35d49bdb49d6cd0a5100a36c Author: Sean Hefty Date: Wed Oct 14 09:34:22 2009 -0700 Signed-off-by: Sean Hefty commit 9fdd8d74f2cba83e9cf513256933f5241495c1da Author: Sean Hefty Date: Wed Oct 14 09:34:18 2009 -0700 The HCA should not be closed until all resources have been released. This results in a hang on windows, since closing the device frees the event processing thread. Signed-off-by: Sean Hefty commit f9833db469f2d686842bb1d52d1ea53b74fa72a8 Author: Sean Hefty Date: Wed Oct 14 09:34:13 2009 -0700 Fix build warning when compiling on 32-bit systems. Signed-off-by: Sean Hefty commit c80515bd4b1bd11a125dc17e3f7db44240ee1fff Author: Sean Hefty Date: Wed Oct 14 09:34:07 2009 -0700 Trying to deregister the same memory region twice leads to an application crash on windows. Signed-off-by: Sean Hefty commit 6aa2c0d901daa9cfca7e771c1df2ead074d230bd Author: Arlin Davis Date: Wed Oct 14 07:59:23 2009 -0700 dat: reduce debug message level when parsing for location of dat.conf Don't output failover to default /etc/dat.conf from sysconfdir at ERROR level. Reduce to DAT_OS_DBG_TYPE_SR. Signed-off-by: Arlin Davis commit e4038e078747201b57203f16ba793b7fc22c12f2 Author: Arlin Davis Date: Thu Oct 8 16:23:22 2009 -0700 ucm: update ucm provider for windows environment add dapls_thread_signal abstraction and a new cm_thread function specific for windows. Signed-off-by: Sean Hefty Signed-off-by: Arlin Davis commit d80ce42390eb57b9c4f816b4df063f90bd5699bc Author: Arlin Davis Date: Thu Oct 8 16:02:52 2009 -0700 ucm: add timer/retry CM logic to the ucm provider add reply, rtu and retry count options via environment variables. Times in msecs. DAPL_UCM_RETRY 10 DAPL_UCM_REP_TIME 400 DAPL_UCM_RTU_TIME 200 Add RTU_PENDING and DISC_RECV states Add check timer code to the cm_thread and the option to the select abstaction to take timeout values in msecs. DREQ, REQ, and REPLY will all be timed and retried. Split out reply code and disconnect_final code to better facilitate retry timers. Add checking for duplicate messages. Added new UD extension events for errors. DAT_IB_UD_CONNECTION_REJECT_EVENT DAT_IB_UD_CONNECTION_ERROR_EVENT Signed-off-by: Arlin Davis commit 1186bfc949f4bb7278c30c2c59b7fcb6d5142638 Author: Arlin Davis Date: Fri Oct 2 14:49:52 2009 -0700 Release 2.0.23 Signed-off-by: Arlin Davis commit a5f1220cfd96983c9c89a595d80fab7ddcb1a954 Author: Arlin Davis Date: Fri Oct 2 14:48:15 2009 -0700 cma: cannot reuse the cm_id and qp for new connection, must reallocate a new one. When merging common code base the dapls_ib_reinit_ep mistakely modified QP to reset then init for all providers. Will not work for rdma_cm (cma provider) since the cm_id cannot be reused. Add build check for _OPENIB_CMA_ to pull in correct free and reallocate method for reinit_ep. Signed-off-by: Arlin Davis commit 7b07435495de0938e59be064fe8642cfd739f1ac Author: Arlin Davis Date: Fri Oct 2 13:50:12 2009 -0700 scm, cma: update DAPL cm protocol revision with latest address/port changes CM protocol changed, roll revision to 6. The socket cm could be competing with address space if application is using sockets above to exchange information like dapltest, and MPI consumers. Adjust port on listen and connect to reduce the chance of port collision with application above. Signed-off-by: Arlin Davis commit 9cc1e76b672f7ff1231b4d113bd4dd1a016d1410 Author: Arlin Davis Date: Fri Oct 2 12:47:37 2009 -0700 ucm: modify IB address format to align better with sockaddr_in6 Restructure the dcm_addr union to map the IB side closer to sockaddr6 and initialize family to AF_INET6 to insure callee allocates enough memory for ucm dat_ia_address type. Put qpn in flowinfo and gid in sin6_addr. Change the test suites to print address information based on AF_INET or AF_INET6 instead of using specific IB address union from the provider. Signed-off-by: Arlin Davis commit f50dbe6e82bd471845adf27829b2e07234a0a86a Author: Sean Hefty Date: Wed Sep 30 14:29:03 2009 -0700 Add definition for getpid similar to that used by the other dtest apps. Signed-off-by: Sean Hefty commit 51147412fad72c00115b595955760e80ff0be7d5 Author: Sean Hefty Date: Wed Sep 30 14:28:57 2009 -0700 WinOF provides a common implementation of gettimeofday that should be used instead. Signed-off-by: Sean Hefty commit 732fc84cee036126282715ea157bdb619fc11ec7 Author: Sean Hefty Date: Wed Sep 30 14:27:50 2009 -0700 The completion manager was updated to provide an abstraction that better mimicked how fd's were used. Update dapl to use this abstraction, rather than the older completion manager api. This helps minimize changes between linux and windows. Signed-off-by: Sean Hefty commit fc1855b7738838d3865389405f017b87d223f743 Author: Arlin Davis Date: Wed Sep 30 14:26:47 2009 -0700 dtestcm: remove IB verb definitions Remove gid and qp_type references from test app. Print address infomation in sockaddr and ucm provider format with qpn and lid. Signed-off-by: Arlin Davis commit 36a885d4267be7b3c6c1086372d321121ae03dee Author: Arlin Davis Date: Wed Sep 30 10:44:14 2009 -0700 dtest, dtestx: remove IB verb definitions remove gid and qp_type checking from test suite. Print address infomation in sockaddr and ucm provider format with qpn and lid. Signed-off-by: Arlin Davis commit 23445bbbd3a09f7f5e666a000d5c7c3b22dd95b3 Author: Arlin Davis Date: Mon Sep 28 10:59:36 2009 -0700 scm: tighten up socket options to insure similiar behavior on Windows and Linux. Add IPPROTO_TCP to create socket. Specify device IP address when binding instead of INADDR_ANY and remove setsocketopt REUSEADDR on the listen socket to avoid any issues with portability. Don't want duplicate port bindings. Signed-off-by: Arlin Davis commit b31b64d60abe7c6c1a83484db97176d225076b30 Author: Arlin Davis Date: Mon Sep 28 10:46:26 2009 -0700 cma: improve serialization of destroy and event processing WinOF testing with slightly different scheduler and verbs showed some issues with cleanup. Add better protection around destroy and event processing thread. Remove destroy flag and add refs counting to conn objects to block destroy until all references are cleared. Add locking aroung ref counting and passive and active event processing. Signed-off-by: Arlin Davis commit a4adf463695ba75beaa1fe79d514346bf5fe2cb5 Author: Arlin Davis Date: Mon Sep 28 10:42:52 2009 -0700 scm: improve serialization of destroy and state changes WinOF testing with slightly different scheduler and verbs showed some issues with cleanup. Add better protection around destroy and move state change before socket send to insure correct state in multi-thread environment targeting the same device on send and recv. Change DCM_RTU_PENDING to DCM_REP_PENDING and and add static definition to local routines for better readability. Signed-off-by: Arlin Davis commit 29358ccc587db55fe5f5a1b14eed9e0e31f5f02c Author: Arlin Davis Date: Thu Sep 17 08:56:06 2009 -0700 common: no cleanup/release code for timer thread dapl_set_timer() creates a thread to process timers for dat_ep_connect but provides no mechanism to destroy/exit during dapl library unload. Timers are initialized in library init code and should be released in the fini code. Add a dapl_timer_release call to the dapl_fini function to check state of timer thread and destroy before exiting. Signed-off-by: Arlin Davis commit e287ce12f5b0108ef83186aae305f25af8cdd02c Author: Arlin Davis Date: Thu Sep 17 08:53:29 2009 -0700 scm, cma: dapli_thread doesn't always get teminated on library close. DAPL doesn't actually wait for the async processing thread to exit before allowing the library to close. It will wait up to 10 seconds, which under heavy load isn't enough time. Since the thread is created by an application level thread, it will continue to run as long as the application runs. But if the application closes the library, then all library data and code is invalid, which can result in the thread running something that's not library code and accessing freed memory. With this change, I was able to run mpi ping-pong, 16 ranks on a single system (scm provider) without crashes 1300 times. Signed-off-by: Sean Hefty commit 5bffe521c6ad7a5ce10457a5d7b25814522a0cde Author: Arlin Davis Date: Wed Sep 9 13:10:35 2009 -0700 ucm: tighten up locking with CM processing, state changes tighten up locking on CM processing and state changes and reduce the send completion threshold to 50 from 100 to replenish the request message faster. Signed-off-by: Arlin Davis commit e38daa8448bc3b73c53e54ffc9ac47b9cfc2af89 Author: Arlin Davis Date: Wed Sep 9 09:44:03 2009 -0700 ucm: For UD type QP's, return CR p_data with CONN_EST event on passive side. Intel MPI uses the p_data provided with CONN_EST as a reference to the UD pair and remote rank. The ucm provider was overwriting the CR p_data with the ACCEPT p_data. Change to save CR p_data but also provide storage for user provided ACCEPT p_data in case the REPLY is lost and needs retransmitted. p_data size was provided to event processing in network order instead of host order. For new QP's create new address handles and do not use existing AH's created for the CM. Different PD's are associated with each. Signed-off-by: Arlin Davis commit 0bc6a0954bc1a1a61e1b1cbc5c280f69ed168453 Author: Arlin Davis Date: Tue Sep 8 09:14:46 2009 -0700 ucm: cleanup extra cr/lf Signed-off-by: Arlin Davis commit 6e7df65a884b4e068135e64dcb3ec660f4c7ab14 Author: Arlin Davis Date: Tue Sep 8 09:11:37 2009 -0700 ucm: fix issues with UD QP's. private data size not in host order when processing connection events. ud extentions event should include original ia_addr and qpn used during connection and not the IB qpn. ucm QP service resource cleanup in wrong order. cleanup extra cr/lf device.c Signed-off-by: Arlin Davis commit e7c3090945c13f80abb929643fc975465afeeb53 Author: Arlin Davis Date: Thu Sep 3 10:45:56 2009 -0700 winof: Convert windows version of dapl and dat libaries to use private heaps. This allows for better support of memory registration caching by upper level libaries (MPI) that use SecureMemoryCacheCallback. It also makes it easier to debug heap corruption issues. Signed-off-by: Sean Hefty commit bc3c8a34558880c8d09a03e3eb7c3f50d7762c67 Author: Arlin Davis Date: Wed Sep 2 14:01:51 2009 -0700 dtest, dtestx: modifications for UD QP testing with ucm provider. remote_addr is wrong for IP remote address. The dtestx requires the server connect back to the client for the UD test. With the ucm provider you need to provide the QPN and the LID which you cannot get until the dtest client starts. So, for now, don't support UD testing on UCM providers. Signed-off-by: Arlin Davis commit e4555143ca71ebe18d8c9f027e2e7a5282088a30 Author: Arlin Davis Date: Wed Sep 2 13:54:59 2009 -0700 scm, ucm: UD QP support was broken when porting to common openib code base. create remote_ah was moved out of modify_qp_state function but not included in the RTU and ACCEPT code for UD QP's. qp type check should be on daddr not saddr in ucm cm code. QP number must be converted to host order before supplying remote_ah, and qp number to consumer. Modify QP state to RTR for UD QP mask setting incorrect. Signed-off-by: Arlin Davis commit 375d368494bb2f9bb44c82073abc60e01ac28615 Author: Arlin Davis Date: Tue Sep 1 13:02:24 2009 -0700 cma: cleanup warning with unused local variable, ret, in disconnect Signed-off-by: Arlin Davis commit 72d1c0c984919809ecd94b2e4ede31ec56668518 Author: Arlin Davis Date: Tue Sep 1 12:36:31 2009 -0700 cma: remove debug message after rdma_disconnect failure DAPL automatically calls rdma_disconnect() when a disconnect request is received. If the user also calls disconnect, that calls rdma_disconnect() as well, but the connection has already been disconnected by DAPL and is no longer valid. The result is that the user's call to rdma_disconnect() will fail. Do not display an error message if this occurs. Locking could be added to prevent calling rdma_disconnect() multiple times, but since the librdmacm provides synchronization to trap this, we might as well take advantage of it. Signed-off-by: Sean Hefty commit 290c568030da6df398a4afb932b5d4f9bd585c26 Author: Arlin Davis Date: Tue Sep 1 12:27:43 2009 -0700 scm: socket errno check needs O/S dependent wrapper Intel MPI checks the uDAPL error code when calling dat_psp_create() to see if the port number that it provides is in use or not. Convert winsock error codes to unix errno values. This fixes the following error reported by Intel MPI: 'DAPL provider is not found and fallback device is not enabled' Signed-off-by: Sean Hefty commit 03b6d1b58ae03058a509c54ffe27147cc44d1851 Author: Arlin Davis Date: Tue Sep 1 12:13:16 2009 -0700 dapltest: update script files for WinOF Cleanup 64-bit paths now that WinOF is always installed into '\Program Files\WinOF'. Signed-off-by: Arlin Davis commit e38585be89e9fa8f139002a3fe1a82eb86438f93 Author: Arlin Davis Date: Tue Sep 1 12:10:21 2009 -0700 cma: conditional check for new rdma_cm definition. RDMA_CM_EVENT_TIMEWAIT_EXIT is new to OFED 1.4 add conditional check so dapl can build and run against older OFED 1.3 stacks Signed-off-by: Arlin Davis commit 83af586b77aa905b63de6dd6010cd60e91487a9e Author: Arlin Davis Date: Thu Aug 20 09:13:43 2009 -0700 Release 2.0.22 Signed-off-by: Arlin Davis commit 48bc0dc95093ccbfe5e01cef4877c128e2caaf77 Author: Arlin Davis Date: Thu Aug 20 09:12:47 2009 -0700 dapltest: add mdep processor yield and use with dapltest Be thread scheduler friendly and release the current thread thus allowing other threads to run. Signed off by Stan Smith stan.smith@intel.com commit e13f255a06b9d2a2ed4eec9a62f9fe105d0c26d7 Author: Arlin Davis Date: Tue Aug 18 10:15:15 2009 -0700 ucm: Add new provider using a DAPL based IB-UD cm mechanism for MPI implementations. New provider uses it's own CM protocol on top of IB-UD queue pairs. During device open, this provider creates a UD queue pair and returns local address information via dat_ia_query. This 24 byte opaque address must be exchange out-of-band before connecting to a server via dat_ep_connect. This provider is targeted for MPI implementations that already exchange address information during mpi_init phase. Future release may provide some ARP mechanism via multicast. dtest, dtestx, and dtestcm was modified to report the lid and qpn information on the server side so you can provide appropriate destination address information for the client test suite. dapltest will not work with this provider. Signed-off-by: Arlin Davis commit 38d224dd95896c7e60f0bc0ffa52b26ab78f489b Author: Arlin Davis Date: Tue Aug 4 20:54:12 2009 -0700 Release 2.0.21 Signed-off-by: Arlin Davis commit ed4999a26043c9c3c73c792b21d24ced1df1553c Author: Arlin Davis Date: Tue Aug 4 20:49:09 2009 -0700 scm: Fix disconnect. QP's need to move to ERROR state in order to flush work requests and notify consumer. Moving to RESET removed all requests but did not notify consumer. Signed-off-by: Arlin Davis commit 512f1d7a480f06a1fa491d21870e560ad111c4d0 Author: Arlin Davis Date: Tue Aug 4 20:48:03 2009 -0700 modify dtest.c to cleanup CNO wait code and consolidate into collect_event() call. After waking up from CNO wait the consumer must check all EVD's. The EVD's under the CNO could be dropped if already triggered or could come in any order. DT_RetToString changed to DT_RetToStr and DT_EventToSTr changed to DT_EventToStr for consistency. Signed-off-by: Arlin Davis commit 024e36975d37a1556bf68145e1573f637d269bfc Author: Arlin Davis Date: Tue Aug 4 20:47:17 2009 -0700 CNO events, once triggered will not be returned during the cno wait. Check for triggered state before going to sleep in cno_wait. Reset triggered EVD reference after reporting. Signed-off-by: Arlin Davis commit 6d6c72a49158d10825929111d6b4df1c6d2bb589 Author: Arlin Davis Date: Sun Aug 2 14:21:09 2009 -0700 CNO support broken in both CMA and SCM providers. CQ thread/callback mechanism was removed by mistake. Still need indirect DTO callbacks when CNO is attached to EVD's. Add CQ event channel to cma provider's thread and add to select for rdma_cm and async channels. For scm provider there is not easy way to add this channel to the select across sockets on windows. So, for portablity reasons 2 thread is started to process the ASYNC and CQ channels for events. Must disable EVD (evd_endabled=FALSE) during destroy to prevent EVD events firing for CNOs and re-arming CQ while CQ is being destroyed. Change dtest to check EVD after CNO timesout. Signed-off-by: Arlin Davis commit 6fe8bd1d8f44777211e816b72e0b2a6d22900207 Author: Arlin Davis Date: Thu Jul 30 08:02:30 2009 -0700 common osd: include winsock2.h for IPv6 definitions. Signed-off-by: Arlin Davis commit bd26383900d18962aeeff54fa59922009091ecfc Author: Arlin Davis Date: Wed Jul 29 08:02:15 2009 -0700 common osd: include w2tcpip.h for sockaddr_in6 definitions. Signed-off-by: Arlin Davis commit f25544f14554200a6714accef5f761b0269b5819 Author: Sean Hefty Date: Mon Jul 27 15:07:33 2009 -0700 DAPL introduced the concept of directly waiting on the CQ for events by adding a compile time flag and special handling in the common code. Rather than using the compile time flag and modifying the common code, let the provider implement the best way to wait for CQ events. This simplifies the code and allows the common openib providers to optimize for Linux and Windows platforms independently, rather than assuming a specific implementation for signaling events. Signed-off-by: Sean Hefty commit 1548405a377d2bd17938df69419e9bcf3364d91a Author: Arlin Davis Date: Thu Jul 16 12:41:22 2009 -0700 dapltest: Implement a malloc() threshold for the completion reaping. change byte vector allocation to stack in functions: DT_handle_send_op, DT_handle_rdma_op & DT_handle_recv_op. When allocation size is under the threshold, use a stack local allocation instead of malloc/free. Move redundant bzero() to be called only in the case of using local stack allocation as DT_Mdep_malloc() already does a bzero(). Consolidate error handling return and free()check to a single point by using goto. Signed-off-by: Stan Smith commit f6311ca7295230bf9efbcddc639fa8e1065b1f3d Author: Arlin Davis Date: Thu Jul 16 12:32:09 2009 -0700 scm: handle connected state when freeing CM objects The QP could be freed before being disconnected so the provider needs process disconnect before freeing the CM object. The disconnect clean will finish the destroy process during the disc callback. Signed-off-by: Arlin Davis commit 4387359106ce398b29847982883016f7fd48b372 Author: Arlin Davis Date: Wed Jul 8 12:49:43 2009 -0700 scm, dtest: changes for winof gettimeofday and FD_SETSIZE settings. scm changes to set FD_SETSIZE with expected value and prevent windows override. dtest: remove gettimeofday implementation for windows specific implemenation etc\user\gtod.c general EOL cleanup Signed-off-by: Arlin Davis commit 3542a83d8a31f5ac68adf3aa44e3ebf1265068df Author: Arlin Davis Date: Mon Jul 6 09:24:07 2009 -0700 scm: set TCP_NODELAY sockopt on the server side for sends. scm provider sends small messages from both server and client sides. Set NODELAY on both sides to avoid send delays either way. Signed-off-by: Arlin Davis commit 9d591180392856935b9c3befbab2243dd8daf628 Author: Arlin Davis Date: Thu Jul 2 14:16:52 2009 -0700 windows: remove obsolete files in dapl/udapl source tree SOURCES,makefile,udapl.r,udapl_exports.src,udapl_sources.c Signed-off-by: Arlin Davis commit 85c238ee0a41dd0a4a24b3d422f34674b0183161 Author: Arlin Davis Date: Thu Jul 2 14:11:20 2009 -0700 dtestcm: add UD type QP option to test Add -u for UD type QP's during connection setup. Will setup UD QPs and provide remote AH in connect establishment event. Measures setup/exchange rates. Signed-off-by: Arlin Davis commit 89a2211526e37b1db58fc0ea663b330bc19125c8 Author: Arlin Davis Date: Thu Jul 2 14:07:36 2009 -0700 scm: destroy QP called before disconnect Handle the case where QP is destroyed before disconnect processing. Windows supports reinit_qp during a disconnect call by destroying the QP and recreating the QO instead of state change from reset to init. Call disconnect in destroy CM code to handle this unexpected state. Signed-off-by: Arlin Davis commit 6eb35b7d69a896c256b1031337d3353575cd07b4 Author: Arlin Davis Date: Thu Jul 2 14:03:12 2009 -0700 cma: add support for rdma_cm TIME_WAIT event. Nothing to process, simply ack the event. Signed-off-by: Arlin Davis commit b6c56b3052ecd3e36c32092ee62ff0c724da5ad4 Author: Arlin Davis Date: Wed Jul 1 07:58:32 2009 -0700 scm: remove old udapl_scm code replaced by openib_scm. Signed-off-by: Arlin Davis commit 5bbae42a56e1cca678d590ac4c841dd61e839d74 Author: Arlin Davis Date: Wed Jul 1 07:53:18 2009 -0700 winof: fix build issues after consolidating cma, scm code base. Signed-off-by: Arlin Davis commit 6bd1d931c4d0d4cbafac383f225140120aee4c51 Author: Arlin Davis Date: Wed Jul 1 07:51:59 2009 -0700 cma: lock held when exiting as a result of a rdma_create_event_channel failure. Signed-off-by: Arlin Davis commit b8a14ff1cc257defa2f74373d143600f5f471823 Author: Sean Hefty Date: Mon Jun 29 12:34:54 2009 -0700 windows: all dlist functions have been moved to the header file. remove references to dlist.c Signed-off-by: Sean Hefty commit 1a081a0a467e4773a641e8edc876a7a4d7a30ca8 Author: Arlin Davis Date: Mon Jun 29 12:13:48 2009 -0700 dtestcm windows: add build infrastructure for new dtestcm test suite Signed-off-by: Arlin Davis commit c37d7a25dca97011ea76e2a541f936d10ca658e0 Author: Arlin Davis Date: Mon Jun 29 08:57:46 2009 -0700 openib_common: reorganize provider code base to share common mem, cq, qp, dto functions add new openib_common directory with cq, qp, util, dto, mem function calls and definitions. This basically leaves the unique CM and Device definitions and functions to the individual providers directory of openib_scm and openib_cma. modifications to dapl_cr_accept required. ep->cm_handle is allocated and managed entirely in provider so dapl common code should not update ep_handle->cm_handle from the cr->cm_handle automatically. The provider should determine which cm_handle is required for the accept. openib_cma defines _OPENIB_CMA_ and openib_scm defines _OPENIB_SCM_ for provider specific build needs in common code. commit 961a4083ffb646c070137abd33e9ba2ea9482685 Author: Arlin Davis Date: Fri Jun 26 14:45:34 2009 -0700 scm: fixes and optimizations for connection scaling Prioritize accepts on listen ports via FD_READ process the accepts ahead of other work to avoid socket half_connection (SYN_RECV) stalls. Fix dapl_poll to return DAPL_FD_ERROR on all event error types. Add new state for socket released, but CR not yet destroyed. This enables scm to release the socket resources immediately after exchanging all QP information. Also, add state to str call. Only add the CR reference to the EP if it is RC type. UD has multiple CR's per EP so when a UD EP disconnect_clean was called, from a timeout, it destroyed the wrong CR. Signed-off-by: Arlin Davis commit a60a9e1fce5588cb23f41391b48acf04edd82499 Author: Arlin Davis Date: Fri Jun 26 14:31:19 2009 -0700 scm: double the default fd_set_size Signed-off-by: Arlin Davis commit 17d5e1692db4ae1eb09aa919d5607f22851d7ec5 Author: Arlin Davis Date: Fri Jun 26 14:28:30 2009 -0700 scm: EP reference in CR should be cleared during ep_destroy The EP reference in the CR should be set to null during the EP free call to insure no further reference back to a mem freed EP. Signed-off-by: Arlin Davis commit ebb820364cec9d72285c005a0874e7d459a9ff7d Author: Arlin Davis Date: Fri Jun 26 14:23:35 2009 -0700 dtestx: fix conn establishment event checking not catching error cases on client side when checking for event number and UD type && should have been || Signed-off-by: Arlin Davis commit 747b793898042e3011fbad4b2d1285d2c040cb13 Author: Arlin Davis Date: Fri Jun 26 14:18:37 2009 -0700 dtestcm: new test to measure dapl connection rates. new test suite added to measure connection rates of providers. Used to compare cma, scm, and other providers under development. dtestcm USAGE s: server c: connections (default = 1000) b: burst rate of conn_reqs (default = 100) m: multi-listens (set to burst setting ) v: verbose w: wait on event (default, polling) d: delay before accept h: hostname/address of server, specified on client P: provider name (default = OpenIB-v2-ib0) Signed-off-by: Arlin Davis commit d58fbc3a870a060ead882e1d15c6d245cdf39096 Author: Arlin Davis Date: Fri Jun 19 20:59:16 2009 -0700 Release 2.0.20 Signed-off-by: Arlin Davis commit beebe0066b47d7bf476925ff280bad2a3db38324 Author: Arlin Davis Date: Fri Jun 19 20:52:51 2009 -0700 common,scm: add debug capabilities to print in-process CM lists Add a new debug bit DAPL_DBG_TYPE_CM_LIST. If set, the pending CM requests will be dumped when dat_print_counters is called. Only provided when built with -DDAPL_COUNTERS Add new dapl_cm_state_str() call for state to string conversion for debug prints. Signed-off-by: Arlin Davis commit b1c51f1e68993d9306e3ebd48bd3a1f0e9878fa3 Author: Arlin Davis Date: Tue Jun 16 09:22:31 2009 -0700 scm: disconnect EP before cleaning up orphaned CR's during dat_ep_free There is the possibility of dat_ep_free being called with RC CR's still in connected state. Call disconnect on the CR before marking for destroy. Signed-off-by: Arlin Davis commit 531d223455a88c885d6c5f7b1d7e158c1079fbce Author: Arlin Davis Date: Wed Jun 10 12:05:17 2009 -0700 dapltest: windows scripts updated Support added for provider specification and general simplification of internal workings. Signed-off-by: Stan Smith commit 049d1ea08643d4c4eff761741641d37bb3f01fc1 Author: Arlin Davis Date: Wed Jun 10 09:18:09 2009 -0700 scm: private data is not handled properly via CR rejects. For both RC and UD connect requests, the private data is not being received on socket and passed back via the active side REJECT event. UD requires new extended reject event type of DAT_IB_UD_CONNECTION_REJECT_EVENT to distiquish between RC and UD type rejects. cr_thread exit/cleanup processing fixed to insure all items are off the list before exiting. Signed-off-by: Arlin Davis commit 3c26870e276a934e2009090e0fca8bdc36c1be67 Author: Arlin Davis Date: Wed Jun 10 09:09:56 2009 -0700 scm: cleanup orphaned UD CR's when destroying the EP UD CR objects are kept active because of direct private data references from CONN events. The cr->socket is closed and marked inactive but the object remains allocated and queued on the CR resource list. There can be multiple CR's associated with a given EP and there is no way to determine when consumer is finished with event until the dat_ep_free. Schedule destruction for all CR's associated with this EP during free call. cr_thread will complete cleanup with state of SCM_DESTROY. Signed-off-by: Arlin Davis commit 73abd3f58fa7b14241fad98912ef27c7b4fdb47e Author: Arlin Davis Date: Wed Jun 10 09:05:32 2009 -0700 scm: provider specific query for default UD MTU is wrong. Change the provider specific query DAT_IB_TRANSPORT_MTU to report 2048 for new default MTU size. Signed-off-by: Arlin Davis commit 27c0d7edc4c931b808a7c5a24bd5aa2625b48aa1 Author: Arlin Davis Date: Wed Jun 10 10:06:59 2009 -0700 scm: update CM code to shutdown before closing socket data could be lost without calling shutdown on the socket before closing. Update to shutdown and then close. Add definition for SHUT_RW to SD_BOTH for windows. Signed-off-by: Arlin Davis --- commit 536ec3103c15c1fed4367326c9117660345e0eab Author: Arlin Davis Date: Thu Jun 4 13:48:18 2009 -0700 dapltest: windows script dt-cli.bat updated scn should be scm Signed-off-by: Arlin Davis commit e8991b8f0877b0e2e857717e1140c679e9266abe Author: Sean Hefty Date: Thu Jun 4 08:19:12 2009 -0700 dapl/windows cma provider: add support for network devices based on index The linux cma provider provides support for named network devices, such as 'ib0' or 'eth0'. This allows the same dapl configuration file to be used easily across a cluster. To allow similar support on Windows, allow users to specify the device name 'rdma_devN' in the dapl.conf file. The given index, N, is map to a corresponding IP address that is associated with an RDMA device. Signed-off-by: Sean Hefty commit 79fa3e7d241f740bc886dd075f24fcbc611306de Author: Arlin Davis Date: Thu Jun 4 08:00:29 2009 -0700 openib: remove 1st gen provider, replaced with openib_cma and openib_scm Signed-off-by: Arlin Davis commit 624039247cdc0db7aa040dfbb4dced00f2cf9006 Author: Arlin Davis Date: Fri May 29 08:21:10 2009 -0700 dapltest: update windows script files Enhancement to take DAPL provider name as cmd-line arguement. Signed-off-by: Arlin Davis commit b93baa07b7bbaeb7a55fa817c354d0c94783d61f Author: Arlin Davis Date: Thu May 28 15:30:05 2009 -0700 dapltest: update windows batch files in sripts directory Signed-off-by: Arlin Davis commit 2f185c6b5e464c4fc9e84ad3e90cc2b86aebf9aa Author: Arlin Davis Date: Mon May 18 14:00:02 2009 -0700 windows_osd/linux_osd: new dapl_os_gettid macro to return thread id Change dapl_os_getpid inline to macro on windows and add dapl_os_gettid macros on linux and windows to return thread id. Signed-off-by: Arlin Davis commit 984303824cd0c3e248a789066cf665ced8e1ae5b Author: Arlin Davis Date: Mon May 18 13:53:59 2009 -0700 windows: missing build files for common and udapl sub-directories Add dapl/dapl_common_src.c and dapl/dapl_udapl_src.c Signed-off-by: Arlin Davis commit 3be4ccf9681a975e74a5aa05e3f7912477f342a7 Author: Arlin Davis Date: Mon May 18 09:06:19 2009 -0700 windows: add build files for openib_scm, remove /Wp64 build option. Add build files for windows socket cm and change build option on windows providers. The new Win7 WDK issues a depreciated compiler option warning for /Wp64 (Enable 64-bit porting warnings) Signed-off-by: Arlin Davis commit 163112cfeb6e409886b3cb7f85da7ce003300d5c Author: Arlin Davis Date: Mon May 18 08:50:35 2009 -0700 scm: multi-hca CM processing broken. Need cr thread wakeup mechanism per HCA. Currently there is only one pipe across all device opens. This results in some posted CR work getting delayed or not processed at all. Provide pipe for each device open and cr thread created and manage on a per device level. Signed-off-by: Arlin Davis commit e6e799f623df6ef136ffc5388251d3f3a38c8a91 Author: Arlin Davis Date: Fri May 15 11:06:19 2009 -0700 dtest: add connection timers on client side Add timers for active connections and print results. Allow polling or wait on conn event. Signed-off-by: Arlin Davis commit d656bbf619123deaed6e8985e52207e5415f359f Author: Arlin Davis Date: Fri May 15 09:48:38 2009 -0700 linux_osd: use pthread_self instead of getpid for debug messages getpid provides process ids which are not unique. Use unique thread id's in debug messages to help isolate issues across many device opens with multiple CM threads. Signed-off-by: Arlin Davis commit 92bb0d2933d3d1546e18f0479475f3daf5b92052 Author: Arlin Davis Date: Fri May 1 10:18:05 2009 -0700 windows ibal-scm: dapl/dirs file needs updated to remove ibal-scm Signed-off-by: Arlin Davis commit 9c37d9d667fb7e8f21841bbec4a84b2c652fffe1 Author: Arlin Davis Date: Wed Apr 29 23:13:36 2009 -0700 Release 2.0.19 Signed-off-by: Arlin Davis commit 0ef94459e0a0175233b43b3fcbaaac2596e1042d Author: Arlin Davis Date: Wed Apr 29 14:33:28 2009 -0700 scm, cma: dat max_lmr_block_size is 32 bit, verbs max_mr_size is 64 bit mismatch of device attribute size restricts max_lmr_block_size to 32 bit value. Add check, if larger then limit to 4G-1 until DAT v2 spec changes. Consumers should use max_lmr_virtual_address for actual max registration block size until attribute interface changes. Signed-off-by: Arlin Davis commit f91f27eaaab28b13a631adf75b933b7be3afbc0f Author: Arlin Davis Date: Wed Apr 29 10:51:03 2009 -0700 scm: increase default MTU size from 1024 to 2048 Signed-off-by: Arlin Davis commit 8d6846056f4c86b6a06346147df55d37c4ba9933 Author: Arlin Davis Date: Wed Apr 29 10:49:09 2009 -0700 openib_scm, cma: use direct SGE mappings from dat_lmr_triplet to ibv_sge no need to rebuild scatter gather list given that DAT v2.0 is now aligned with verbs ibv_sge. Fix ib_send_op_type_t typedef. Signed-off-by: Arlin Davis commit c61f75b3412935e7d4a7a1acc9c495dcb4ac7e24 Author: Arlin Davis Date: Wed Apr 29 08:39:37 2009 -0700 dtest: add flush EVD call after data transfer errors Flush and print entries on async, request, and receive queues after any data transfer error. Will help identify failing operation during operations without completion events requested. Fix -B0 so burst size of 0 works. Signed-off-by: Arlin Davis commit c88a191c7a408b0fb3dfb418a77a5b3b5afc778e Author: Arlin Davis Date: Wed Apr 22 13:16:19 2009 -0700 dtest/dapltest: Cleanup code with Lindent Signed-off-by: Arlin Davis commit 8699a9f1bd2bb45b04b87f887698707ba7b62d0a Author: Arlin Davis Date: Tue Apr 21 15:51:24 2009 -0700 ibal-scm: remove, obsolete Signed-off-by: Arlin Davis commit 67ddd6bfba46f1f7a61b772257132f1257d05c96 Author: Arlin Davis Date: Tue Apr 21 15:44:15 2009 -0700 scm, cma provider: Cleanup code with Lindent Signed-off-by: Arlin Davis commit d0898091090ff19be7929fed0d14f1ca696d5e53 Author: Arlin Davis Date: Tue Apr 21 15:39:01 2009 -0700 udapl: Cleanup code with Lindent Signed-off-by: Arlin Davis commit a688d1cfb52fde256c5bfd95a27f940dd17e7ced Author: Arlin Davis Date: Tue Apr 21 15:31:20 2009 -0700 dapl common: Cleanup code with Lindent Signed-off-by: Arlin Davis commit 2bded73c7f68cfb870e432ab3ebae7427d595cbe Author: Arlin Davis Date: Tue Apr 21 12:52:29 2009 -0700 dat: Cleanup code with Lindent Signed-off-by: Arlin Davis commit 31e7b9210fc5334ff3be62558e74e3fdf01d6cbd Author: Arlin Davis Date: Mon Apr 20 12:28:08 2009 -0700 Release 2.0.18 Signed-off-by: Arlin Davis commit 29bf0a24f54c45d2742026756f31f1a1f26fb6f3 Author: Arlin Davis Date: Thu Apr 16 14:35:18 2009 -0700 dapltest: reset server listen ports to avoid collisions during long runs If server is running continuously the port number increments from base without reseting between tests. This will eventually cause collisions in port space. Signed-off-by: Arlin Davis commit c27af8de0501d132b8152ec8546023cdba212de5 Author: Sean Hefty Date: Thu Apr 16 10:21:51 2009 -0700 To avoid duplicating port numbers between different tests, the next port number to use must increment based on the number of endpoints per thread * the number of threads. Signed-off-by: Sean Hefty commit 3084310197c20aaa50abe82260fc835786f591f5 Author: Sean Hefty Date: Thu Apr 16 10:21:45 2009 -0700 dapltest assumes that events across multiple endpoints occur in a specific order. Since this is a false assumption, avoid this by directing events to per endpoint EVDs, rather than using shared EVDs. Signed-off-by: Sean Hefty commit ef87a0a462f4fa07ac252e28d3aeb44af73cc202 Author: Sean Hefty Date: Thu Apr 16 10:21:41 2009 -0700 Synchronization is missing between removing items from an EVD and queuing them. Since the removal thread is the user's, but the queuing thread is not, the synchronization must be provided by DAPL. Hold the evd lock around any calls to dapls_rbuf_*. Signed-off-by: Sean Hefty commit f5e86d28f803162ffdf94b41ec7435dec92f728d Author: Sean Hefty Date: Thu Apr 16 10:21:26 2009 -0700 Communication to the CR thread is done using an internal socket. When a new connection request is ready for processing, an object is placed on the CR list, and data is written to the internal socket. The write causes the CR thread to wake-up and process anything on its cr list. If multiple objects are placed on the CR list around the same time, then the CR thread will read in a single character, but process the entire list. This results in additional data being left on the internal socket. When the CR does a select(), it will find more data to read, read the data, but not have any real work to do. The result is that the thread spins in a loop checking for changes when none have occurred until all data on the internal socket has been read. Avoid this overhead by reading all data off the internal socket before processing the CR list. Signed-off-by: Sean Hefty commit 2ab52e9b1ab37c6eb44206c135e0568a8c2d01fa Author: Sean Hefty Date: Thu Apr 16 10:21:13 2009 -0700 The dapl connect call takes as input an address (sockaddr) and a port number as separate input parameters. It modifies the sockaddr address to set the port number before trying to connect. This leads to a situation in dapltest with multiple threads that reference the same buffer for their address, but specify different port numbers, where the different threads end up trying to connect to the same remote port. To solve this, do not modify the caller's address buffer and instead use a local buffer. This fixes an issue seen running multithreaded tests with dapltest. Signed-off-by: Sean Hefty commit 7947026ede478f08b4a7b8cb607f457765bf2afa Author: Sean Hefty Date: Thu Apr 16 10:21:03 2009 -0700 Windows socket calls should check return values against SOCKET_ERROR to determine if an error occurred. Signed-off-by: Sean Hefty commit e66e42fc44c50c8202f7c98f76d799a69aa3f1b6 Author: Arlin Davis Date: Fri Apr 10 08:33:41 2009 -0700 Build: add new file dapl/openib_cma/linux/openib_osd.h to EXTRA_DIST Fix rpmbuild problem with new cma osd include file. Signed-off-by: Arlin Davis commit acb213adb3268e9bf6999e2bf040d4a71212b701 Author: Arlin Davis Date: Fri Apr 10 08:32:24 2009 -0700 dapl scm: reduce wait time for thread startup. thread startup wait reduce to 2ms to reduce open times. Signed-off-by: Arlin Davis commit 55459699fa9c0e5fb7e2b17822f0916412c64b35 Author: Arlin Davis Date: Fri Apr 10 08:31:22 2009 -0700 dapl-scm: getsockopt optlen needs initialized to size of optval Signed-off-by: Arlin Davis commit d710c5327e05a40796341d16b45a2b098b03f588 Author: Sean Hefty Date: Fri Apr 10 08:17:32 2009 -0700 The connection request thread adds sockets to a select list unless the cr->socket is invalid and the cr request state is set to destroy. If the cr->socket is invalid, but the cr->state is not destroy, then the cr->socket is added to an FD set for select/poll. This results in select/poll returning an error when select is called. As a result, the cr thread never actually blocks during this state. Fix this by only destroying a cr based on its state being set to destroy and skip adding cr->sockets to the FD set when they are invalid. Signed-off-by: Sean Hefty commit 0be961c432f897d4f92d9a24dcb7c42ad30ea160 Author: Sean Hefty Date: Fri Apr 10 08:08:16 2009 -0700 Make sure all locks are initialized properly and don't zero their memory once they are. Signed-off-by: Sean Hefty commit 9abdc26cd6154aa55588759ba54c9ca69e3fe2b5 Author: Sean Hefty Date: Fri Apr 10 08:08:13 2009 -0700 The lock functions are defined just a few lines beneath the prototypes as inline. Remove the duplicate prototypes. Signed-off-by: Sean Hefty commit 9578c4aeb9878d98374e4b7abc02db182aef82c6 Author: Sean Hefty Date: Fri Apr 10 08:08:07 2009 -0700 Make sure all locks are initialized and don't zero out their memory once they are. Signed-off-by: Sean Hefty commit 97edcbb662b489303ef68c0da02831efaddeed91 Author: Sean Hefty Date: Fri Apr 10 08:08:03 2009 -0700 The IBAL library allocates a small number of threads for callbacks to the user. If the user blocks all of the callback threads, no additional callbacks can be invoked. The DAPL IBAL provider cancels listen requests from within an IBAL callback, then waits for a second callback to confirm that the listen has been canceled. If there is a single IBAL callback thread, or multiple listens are canceled simultaneously, then the provider can deadlock waiting for a cancel callback that never occurs. This problem is seen when running dapltest with multiple threads. Signed-off-by: Sean Hefty commit 3e56e63bcb68de352edadafdcfcc4cb222c08c7b Author: Sean Hefty Date: Fri Apr 10 08:07:57 2009 -0700 We need to check the return value from select for errors before checking the FD sets. An item may be in an FD set but select could have returned an error. Signed-off-by: Sean Hefty commit a8a977becaeefe0d7f8e01e01631a11988d2d54e Author: Sean Hefty Date: Fri Apr 10 08:07:53 2009 -0700 Signed-off-by: Sean Hefty commit ecc79cc0a1ae2bdbb3dfd19e15b3b562ac9a2957 Author: Sean Hefty Date: Fri Apr 10 08:07:49 2009 -0700 Enable building with CQ_WAIT_OBJECTS support to directly wait on CQ completion channels in the Windows version of the openib_scm provider. Also minor fixup to use DAPL_DBG_TYPE_UTIL for debug log messages instead of DAPL_DBG_TYPE_CM. Signed-off-by: Sean Hefty commit 73728763666a46df5789af93b50db53cdf64afd6 Author: Sean Hefty Date: Fri Apr 10 08:07:44 2009 -0700 The IBAL-SCM provider will run into an inifinite loop if the check for cr->socket > SCM_MAX_CONN - 1 fails. The code continues back to the start of the while loop without moving to the next connection request entry in the list. Signed-off-by: Sean Hefty commit 9b1b396539926d36ffacfff04fbe7c081e436b45 Author: Sean Hefty Date: Fri Apr 10 08:07:40 2009 -0700 next_cr is set just before and inside the check if ((cr->socket == DAPL_INVALID_SOCKET && cr->state == SCM_DESTROY) Remove setting it inside the if statement. Signed-off-by: Sean Hefty commit 7b49a9850f62276bb7bfccb2d85a1e94e311813c Author: Sean Hefty Date: Fri Apr 10 08:07:35 2009 -0700 Some errors on windows are more easily interpretted in hex than decimal. Signed-off-by: Sean Hefty commit 08ee072a1396ac2c28983878dbc6b02feb035787 Author: Sean Hefty Date: Fri Apr 10 08:07:32 2009 -0700 The WinOF HCA driver cannot handle transitioning from RTS -> RESET -> INIT -> ERROR. Simply delete the QP and re-create it to reinitialize the endpoint until the bug is fixed. Signed-off-by: Sean Hefty commit 51ef5d96ce67d6141ec02b2a318f1b6e12be1bcf Author: Sean Hefty Date: Fri Apr 10 08:07:23 2009 -0700 Signed-off-by: Sean Hefty commit a8582be0e1fc89e856f1d0b43a3c1b271295a352 Author: Sean Hefty Date: Fri Apr 10 08:07:18 2009 -0700 Convert the openib_cma provider to common code between linux and windows. Signed-off-by: Sean Hefty commit cc2a71dfe0c35a70f6b1ba66070a3a06059a8bb5 Author: Sean Hefty Date: Fri Apr 10 08:06:53 2009 -0700 Move from using pipes to sockets for internal communication. This avoids issues with windows only supporting select() on sockets. Remove windows specific definition of dapl_dbg_log. Update to latest windows libibverbs implementation using completion channel abstraction to improve windows scalability and simplify porting where FD's are accessed directly in Linux. Signed-off-by: Sean Hefty commit b3ad2ed97399a24a869841e17d1314e11c379aae Author: Arlin Davis Date: Tue Mar 31 05:41:50 2009 -0800 Release 2.0.17 Signed-off-by: Arlin Davis commit 5d732929f8a90a490994e8e35a3666c3647ad4fe Author: Arlin Davis Date: Tue Mar 31 05:22:11 2009 -0800 dapl: ia64 build problem on SuSE 11, atomic.h no longer exists. Add autotools check for SuSE 11 and include intrinsics.h Signed-off-by: Arlin Davis commit d7b8654db3a1f4ead16cb2e6d15f0902a322a188 Author: Arlin Davis Date: Mon Mar 16 13:23:50 2009 -0800 Release 2.0.16 Fix changelog year in spec file. Signed-off-by: Arlin Davis commit 08d9e26a85911f99d47cbb92ec8bccfc7f073be0 Author: Arlin Davis Date: Mon Mar 16 13:15:22 2009 -0800 Release 2.0.16 Signed-off-by: Arlin Davis commit 42c97b2a11d63ac6ba8a15fe8c82061e7da6e136 Author: Arlin Davis Date: Fri Mar 13 12:39:12 2009 -0800 uDAPL: scm provider, remove query gid/lid from connection setup phase move lid/gid queries from the connection setup phase and put them in the open call to avoid overhead of more fd's during connections. No need to query during connection setup since uDAPL binds to specific hca/ports via dat_ia_open. Signed-off-by: Arlin Davis commit 775394b73980a7bc0af018a33d2a5bb795469c78 Author: Arlin Davis Date: Thu Mar 12 12:44:43 2009 -0800 Build: missing new linux/osd include file in EXTRA_DIST Add dapl/openib_scm/linux/openib_osd.h to EXTRA_DIST Signed-off-by: Arlin Davis commit 647e288c1c9af5261495a5ed88e6ecbe1daf6d6e Author: Arlin Davis Date: Thu Mar 12 12:11:21 2009 -0800 Build: spec files missing Requires(post) statements for sed/coreutils needed for anaconda install Signed-off-by: Arlin Davis commit 1f5b3b7cab0785b64e8dab035dd4cd27111497d3 Author: Arlin Davis Date: Wed Mar 4 10:04:13 2009 -0800 dapl scm: remove unecessary thread when using direct objects A thread is created for processing events on devices without direct event objecti support. Since all openfabrics devices support direct events there is no need to start a thread. Move this under Signed-off-by: Arlin Davis commit 66e4236e2c57dbaf860b7c20809b65a4fbbafa6f Author: Arlin Davis Date: Tue Mar 3 11:08:12 2009 -0800 dtestx: add missing F64u definition for windows Signed-off-by: Arlin Davis commit d9e771da16ec2b360a222ceccbbca5d088e20ee5 Author: Arlin Davis Date: Tue Mar 3 09:25:26 2009 -0800 uDAPL common: add 64 bit counters for IA, EP, and EVD's. -DDAPL_COUNTERS to build-in counters for cma and scm providers. New extension calls in dat_ib_extensions.h for counters dat_print_counters, dat_query_counters Counters for operations, async errors, and data Update dtestx (-p) with print and query counter examples Signed-off-by: Arlin Davis commit 5e6ad3cdaa1d72523ad6b38d8306e0a2d0f1ada6 Author: Sean Hefty Date: Tue Feb 17 07:24:27 2009 -0800 Modify the openib_scm provider to support both OFED and WinOF releases. This takes advantage of having a libibverbs compatibility library. Signed-off-by: Sean Hefty commit 0425c24c3b66e672bba346a1d0946b11c7b8b11e Author: Stan Smith Date: Fri Jan 30 09:52:33 2009 -0800 Update the dapl.git tree with the latest SVN version of the ibal-scm provider. Signed-off-by: Sean Hefty commit 83543b6cca342e25fd6408454f1261ec6835a172 Author: Stan Smith Date: Fri Jan 30 09:52:25 2009 -0800 Merge SVN IBAL provider code back into the main git tree. Signed-off-by: Sean Hefty commit be0b6122d0fe4f93afc8cf3ec961702faf82fb44 Author: Sean Hefty Date: Fri Jan 30 09:52:11 2009 -0800 Changes to dtest to support building on Windows. Signed-off-by: Sean Hefty commit 9f87610c4b37e4db4d74205c14028582a2f6a79e Author: Stan Smith Date: Fri Jan 30 09:48:26 2009 -0800 Add return codes to various functions. Add script (batch file) for Windows testing. Signed-off-by: Sean Hefty commit 723067550265defdcfe6e00460a4f89f7a81fbf1 Author: Sean Hefty Date: Fri Jan 30 09:46:40 2009 -0800 Merge OFED and WinOF trees for common dapl code. Signed-off-by: Sean Hefty commit 5b37e080e1ecc6903b3ab1ac9b0d4c9f8a18b790 Author: Arlin Davis Date: Fri Jan 16 08:16:13 2009 -0800 dtest/dapltest: use $(top_builddir) for .la files during test builds Signed-off-by: Arlin Davis commit bd655d4fdd7e63e7fdeed3979926da5582f71e4b Author: Arlin Davis Date: Wed Nov 26 07:12:30 2008 -0800 Release 2.0.15 Signed-off-by: Arlin Davis commit 5d5dec42717c963d1644ee3e716459dc5d58e930 Author: Arlin Davis Date: Mon Oct 27 08:48:53 2008 -0800 dapltest: transaction test moves to cleanup stage before rdma_read processing is complete With multiple treads, the transaction server tread can move to cleanup stage and unregister memory before the remote client process has completed the rdma read. In lieu of a rewrite to add sync messages at the end of transaction test phase, just add a delay before cleanup. Signed-off-by: Arlin Davis commit 101a843e59b881bc131dfd5c2aec7e54d44f35c0 Author: Arlin Davis Date: Tue Oct 14 11:56:35 2008 -0700 Current static registration (SR) assumes DAT_OVERRIDE or /etc/dat.conf. Change SR to include sysconfdir. SR file access in the following order: - DAT_OVERRIDE - sysconfdir - /etc if DAT_OVERRIDE is set, assume administration override and do not failover to other locations. Add debug messages for each failure and retries. Signed-off-by: Arlin Davis Acked-by: Doug Ledford commit c98d2169b839a73d76691acf510dd8976ddc850a Author: Arlin Davis Date: Fri Oct 3 08:00:56 2008 -0700 Release 2.0.14 Signed-off-by: Arlin Davis commit c26d0bb065f3734f09058e1e6d26dde4a3738e55 Author: Arlin Davis Date: Fri Oct 3 05:40:04 2008 -0700 dat.conf: add ofa-v2-iwarp entry for iwarp devices Signed-off-by: Arlin Davis commit d54c35c8a9ba33a464ca15f4a65b914688e5194d Author: Arlin Davis Date: Fri Oct 3 05:30:10 2008 -0700 dapl: adjust max_rdma_read_iov to 1 for query on iWARP devices iWarp spec allows only one iov on rdma reads Signed-off-by: Arlin Davis commit 9584df22d0cb3aa5a2a2a04bf427524d17650ef7 Author: Arlin Davis Date: Wed Oct 1 08:17:49 2008 -0700 dtest: reduce default IOV's during dat_ep_create for iWARP devices iWarp adapters tend to have less IOV resources then IB adapters. Signed-off-by: Arlin Davis commit 8ca9898621acf5b9769d46ea34ee8ca1eecaf2ff Author: Arlin Davis Date: Fri Sep 26 12:43:13 2008 -0700 dtest: fix 32-bit build issues in dtest and dtestx examples. Signed-off-by: Arlin Davis commit 42a3a4edf30115a35d9d599b51f8756814e62368 Author: Arlin Davis Date: Fri Sep 26 08:48:31 2008 -0700 Revert "Release 2.0.14" This reverts commit 816d1c3acfb4a457c6b1cc07d657f018312f2a63. missed some fixes for package release. commit 816d1c3acfb4a457c6b1cc07d657f018312f2a63 Author: Arlin Davis Date: Wed Sep 24 12:13:37 2008 -0700 Release 2.0.14 Signed-off-by: Arlin Davis commit c00d858da3113ce5463d408ab5e13e17cc9529e4 Author: Arlin Davis Date: Wed Sep 24 08:33:32 2008 -0700 build: $(DESTDIR) prepend needed on install hooks for dat.conf All install directives that automake creates automatically have $(DESTDIR) prepended to them so that a make DESTDIR= install will work. The hand written install hooks for dat.conf was missing DESTDIR. Signed-off-by: Doug Ledford commit 860db3be4907c8ff290ce7c6b631b2117f5080bd Author: Arlin Davis Date: Wed Sep 24 08:26:28 2008 -0700 dapl scm: UD shares EP's which requires serialization add locking around the modify_qp state changes to avoid unnecessary modify_qp calls during multiple resolve remote AH connection events on a single EP. Signed-off-by: Arlin Davis commit f2c214647b5ce53e52052d6b6bea3fbace7cc20a Author: Arlin Davis Date: Sat Sep 20 16:02:00 2008 -0700 dtestx: Add new options to test UD. - many to one/many EP remote AH resolution, data flow - bi-directional EP remote AH resolution, data flow Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 3c218b5ed65d0b7349a86eb0fe6f6bf57e3eccd6 Author: Arlin Davis Date: Sat Sep 20 15:58:59 2008 -0700 dapl: fixes for IB UD extensions in common code and socket cm provider. - Manage EP states base on attribute service type. - Allow multiple connections (remote_ah resolution) and accepts on UD type endpoints. - Supply private data on CR conn establishment - Add UD extension conn event type - DAT_IB_UD_PASSIVE_REMOTE_AH Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 01cdd688ddebec8df6f17f92c3b72a410f50dd6f Author: Arlin Davis Date: Sat Sep 20 15:49:40 2008 -0700 dapl: add provider specific attribute query option for IB UD MTU size Signed-off by: Arlin Davis ardavis@ichips.intel.com commit ee3d9ce2389a14c85405dfdff67f04a5f5679e32 Author: Arlin Davis Date: Mon Sep 1 15:52:37 2008 -0700 Release 2.0.13 Signed-off by: Arlin Davis ardavis@ichips.intel.com commit f37589927fabf0feb3a09c4c7c03e18df5749fef Author: Arlin Davis Date: Mon Sep 1 12:24:49 2008 -0700 dapl build: add correct CFLAGS, set non-debug build by default for v2 Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 280f3aec6d0fa9d7e36f75711471e35333ee34cf Author: Arlin Davis Date: Mon Sep 1 12:22:19 2008 -0700 dapl providers: fix compiler warnings in cma and scm providers Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 60c0589a2aba520ae67b1c8eaad5a167edb6fba3 Author: Arlin Davis Date: Mon Sep 1 12:20:08 2008 -0700 dat: fix compiler warnings in dat common code Signed-off by: Arlin Davis ardavis@ichips.intel.com commit fb3e368db07d02a3daa1d12d71f62ac4e7a5ef23 Author: Arlin Davis Date: Mon Sep 1 12:18:48 2008 -0700 dapl: fix compiler warnings in common code Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 38a53ae75bce5059a84262fe1b40eacf92b22287 Author: Arlin Davis Date: Mon Sep 1 12:16:58 2008 -0700 dtest/dapltest: fix compiler warnings Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 45900087764917b354411fdd2b3880473d553ab8 Author: Arlin Davis Date: Fri Aug 22 14:51:22 2008 -0700 dapl cma: debug message during query needs definition for inet_ntoa Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 99d46313a03af18771966cf86fcc934d179627b5 Author: Arlin Davis Date: Thu Aug 21 12:54:58 2008 -0700 Release 2.0.12 Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 0b2a3fac8d28d5b3c2e1416fa696fe4cbc672f00 Author: Arlin Davis Date: Wed Aug 20 18:51:00 2008 -0700 dapl scm: fix corner case that delivers duplicate disconnect events Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 96f6822b90fa880a6c6a64b1e183064a449f7237 Author: Arlin Davis Date: Wed Aug 20 18:47:19 2008 -0700 dat: include stddef.h for NULL definition in dat_platform_specific.h Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 283e37c09ad072d69d29e28225e9a6e8bf3f75f0 Author: Arlin Davis Date: Wed Aug 20 18:27:08 2008 -0700 dapl: add debug messages during async and overflow events Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 4a7965ac07b7f2ee1deb5b144ed50b30c1749d38 Author: Arlin Davis Date: Wed Aug 20 18:24:33 2008 -0700 dapltest: add check for duplicate disconnect events in transaction test Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 7e8986f2c6496851b724a007458881c3248ac998 Author: Arlin Davis Date: Wed Aug 20 18:22:42 2008 -0700 dtestx: fix stack corruption problem with hostname strcpy Signed-off by: Arlin Davis ardavis@ichips.intel.com commit ee2a553762abd6ebede99db5d26d1ba1d74ba3cb Author: Arlin Davis Date: Thu Aug 14 09:42:57 2008 -0700 dapl scm: use correct device attribute for max_rdma_read_out, max_qp_init_rd_atom Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 142a8e4a99259fa6fe31f74ce6d0dac1017f381b Author: Arlin Davis Date: Thu Aug 14 09:19:53 2008 -0700 dapl scm: change IB RC qp inline and timer defaults. rnr nak can be the result of any operation not just message send recevier not ready. Timer is much too large given this case. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 36088a92d87e833bae535fcea0c45417dec34e65 Author: Arlin Davis Date: Thu Aug 14 09:12:38 2008 -0700 dapl scm: add mtu adjustments via environment, default = 1024. DAPL_IB_MTU adjusts path mtu setting for RC qp's. Default setting is min of 1024 and active mtu on IB device. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit a7dabdc4c1ddc62cc0384d60e8157ee829f12898 Author: Arlin Davis Date: Wed Aug 13 14:17:40 2008 -0700 dapl scm: change connect and accept to non-blocking to avoid blocking user thread. The connect socket that is used to exchange QP information is now non-blocking and the data exchange is done via the cr thread. New state RTU_PENDING added. On the passive side there is a new state ACCEPT_DATA used to avoid read blocking on the user accept call. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 7e25c0f21d755cce3aa7aff993fb0baddaafc0e8 Author: Arlin Davis Date: Tue Jul 29 08:18:25 2008 -0700 dapl scm: update max_rdma_read_iov, max_rdma_write_iov EP attributes during query Signed-off by: Arlin Davis ardavis@ichips.intel.com commit fd9909618fdfff0eb2c8ce97bff61ea98ec44a8e Author: Arlin Davis Date: Sun Jul 20 13:20:45 2008 -0700 Release 2.0.11 Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 0003bb7866af3ba73cc79c703b565a8012439bb1 Author: Arlin Davis Date: Sun Jul 20 13:17:22 2008 -0700 dtestx: add -d option to test new IB UD extension. modify dtestx to connect peer UD QP's and exchange/verify messages as an example for new extension. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 9816ac15f98f6e73cf7b371ac6e1e312d4171c0b Author: Arlin Davis Date: Sun Jul 20 13:13:09 2008 -0700 dapl scm: add support for UD extensions in Openfabrics socket cm provider add qp_type in connection information exchange add new post_send_ud call changes to connection manager to support qp types beyond RC. changes to connection events to use new extended event calls. exchange address handle information during connection phase. changes to modify_qp to handle both RC and UD types. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 927dac5b61e64868089acd49d468b98327e14a1a Author: Arlin Davis Date: Sun Jul 20 13:07:34 2008 -0700 dapl: add support for UD extensions in common code. allow EP create for extended service types. extend connection event types to include UD AH resolution/exchange. add new extended connect and connect request upcalls for providers. - dapls_evd_post_cr_event_ext - dapls_evd_post_connection_event_ext Signed-off by: Arlin Davis ardavis@ichips.intel.com commit be3d6a53f3340294697706ce50a05faf151aacc7 Author: Arlin Davis Date: Sun Jul 20 12:57:49 2008 -0700 dat: New definitions for IB unreliable datagram extension Extend EP dat_service_type, with DAT_IB_SERVICE_TYPE_UD Add IB extension call dat_ib_post_send_ud(). Add address handle definition for UD calls. Add IB event definitions to provide remote AH via connect and connect requests Roll IB extension version to 2.0.2 Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 8f65d4c96a7e13f7092d82f2f5aad477a61a57c1 Author: Arlin Davis Date: Fri Jul 18 07:46:20 2008 -0700 dat: allow TYPE_ERR messages to be turned off with DAT_DBG_TYPE Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 4fefc6bca4e21c9d757923bf13bc93c62dbff17d Author: Arlin Davis Date: Wed Jun 25 08:02:11 2008 -0700 dapltest: manpage - rdma write example incorrect parameter for rdma write should be RW and not WR Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 68638bde71b529a142c13ac332cd44435cabc896 Author: Arlin Davis Date: Mon Jun 23 15:26:30 2008 -0700 dapl: remove needless terminating 0 in dto_op_str functions. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit cb1f2a144ecd375d2143d6e176a6a92a18556d7e Author: Arlin Davis Date: Mon Jun 23 10:52:46 2008 -0700 Release 2.0.10 Signed-off by: Arlin Davis ardavis@ichips.intel.com commit d9b3c06ae98ac4d3b264384f6510137166d78cb0 Author: Arlin Davis Date: Mon Jun 23 10:35:17 2008 -0700 remove reference to doc/dat.conf in makefile.am Signed-off by: Arlin Davis ardavis@ichips.intel.com commit b052d402e09ac78281a25af2c8fe902fa71f5c6f Author: Arlin Davis Date: Thu Jun 19 13:34:49 2008 -0700 dapl scm: fix ibv_destroy_cq busy error condition during dat_evd_free. Problem surfaced while running Intel MPI 3.1 and mpich2-test suite. dapli_destroy_cm was incorrectly removing reference to qp_handle in endpoint and destroy_cq and destroy_pd code was ignoring verbs errors. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit e466d8e330c45176c5f00efda79ad745bf3f71a4 Author: Arlin Davis Date: Wed Jun 18 14:21:28 2008 -0700 dapl scm: add stdout logging for uname and gethostbyname errors during open. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 8e1f4db702cacdd2b9b95083db54ec38c9d2f5e5 Author: Arlin Davis Date: Wed Jun 18 14:19:51 2008 -0700 dapl scm: support global routing and set mtu based on active_mtu Signed-off by: Arlin Davis ardavis@ichips.intel.com commit fc65a08727c59c304dad20337a8bff803f2302c0 Author: Arlin Davis Date: Wed Jun 18 13:59:44 2008 -0700 dapl scm: Adding socket cm provider for better scalability on large homogeneous clusters. Bring socket cm provider back to life with some changes: better threading support for exchanging QP information. Avoid blocking during connect to support dynamic connection model with MPI implementations. consumer control of ack timeout/retries. disconnect/reject capabilities via socket exchange. version support for wire protocol to insure compatibility with peer scm provider. Add gids to exchange. validated with Intel MPI on a 14,000+ core fabric using IB DDR. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 0855af175fec2f1bec8391ebae2a2cdff26a3359 Author: Arlin Davis Date: Wed Jun 11 10:43:24 2008 -0700 dapl: add opcode to string function to report opcode during failures. Need to use cookie opcode during failures in lieu of cqe opcode. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit ec6296e7f0a843c69231f8284ae780014fa26fbe Author: Arlin Davis Date: Mon Jun 16 14:59:43 2008 -0700 dapl: remove unused iov buffer allocation on the endpoint provider's manage iov space on stack during posting. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit c678414ced8bc9cbe21b2fc1d54aa2af73ba6528 Author: Arlin Davis Date: Mon Jun 16 13:59:11 2008 -0700 dapl: endpoint pending request count is wrong The code assumes every cookie allocated during posting of requests gets completed. This incorrect assumption results in wrong pending count. Remove request_pending field and replace with direct call, dapl_cb_pending, to provide accurate data to consumer. Add debug print if consumer overruns request queue. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit c446a3a3f3ecbd91ab583fee35bf613ab10defcd Author: Arlin Davis Date: Mon Jun 2 12:40:45 2008 -0700 dapl extension: dapli_post_ext should always allocate cookie for requests. extension didn't allocate cookie if completion was suppressed which resulted segfault during provider post call. Provider's expect cookie for wr_id, even with surpressed completions, to handle events during errors. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 2583f07d9d0f55eee14e0b0e6074bc6fd0712177 Author: Arlin Davis Date: Tue May 20 14:35:43 2008 -0700 Release 2.0.9 Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 9b38e7b792c48ea63c2078fc6c10bb843d96bd06 Author: Arlin Davis Date: Tue May 20 21:56:06 2008 -0700 dtest,dtestx,dapltest: fix build issues with Redhat EL5.1 need include files/definitions for sleep, getpid, gettimeofday Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 8084ebf39729bac310447467b518df4248e9e2b6 Author: Arlin Davis Date: Tue May 20 14:31:09 2008 -0700 dapl: Fix long delays with the cma provider open call when DNS is not configure on server. Open call should default to netdev names when resolving local IP address for cma binding to match dat.conf settings. The open code attempts to resolve with IP or Hostname first and if there is no DNS services setup the failover to netdev name resolution is delayed for as much as 20 seconds. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 2f603b03f4cebe7c414cbaeecb7155f7bf1fb115 Author: Arlin Davis Date: Tue May 20 14:30:05 2008 -0700 dapl: change cma provider to use max_rdma_read_in,out from ep_attr instead of HCA max values when connecting. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 7a0e5fad6de7c6affc4ba3c608b0c56f4206c48c Author: Arlin Davis Date: Wed Apr 30 14:48:21 2008 -0700 Release 2.0.8 Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 561f09ab6f9fd46a6075ecb54ca7693f2b12f311 Author: Arlin Davis Date: Wed Apr 30 13:51:41 2008 -0700 dapl: fix post_send, post_recv to handle 0 byte's and NULL iov handles Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 0289daa3fcc4451bace8cc6b6e20ddb7bbade07e Author: Arlin Davis Date: Wed Apr 30 13:25:53 2008 -0700 dat: udat_sr_parser ia_name will fail on comments, turn down debug message Signed-off by: Arlin Davis ardavis@ichips.intel.com commit b93b91d48186d100c48f1a479776d56476847607 Author: Arlin Davis Date: Tue Apr 29 16:15:44 2008 -0700 dat: cleanup error handling with static registry parsing of dat.conf change asserts to return codes, add log messages, and report errors via open instead of asserts during dat library load. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit b6b1f152efabe064ab8bdcdeecbd1edd30eb732f Author: Arlin Davis Date: Mon Apr 28 10:14:20 2008 -0700 dapl: cma provider needs to support lower inline send default for iWARP IB and iWARP work best with different defaults. Add transport check and set default accordingly. 64 for iWARP, 200 for IB. DAPL_MAX_INLINE environment variable is still used to override. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit be32d7d5beeeceac5dbb1974d3217265dc4d5461 Author: Arlin Davis Date: Mon Apr 28 09:44:12 2008 -0700 dtestx: need to include string.h for memset/strcpy declarations Signed-off by: Arlin Davis ardavis@ichips.intel.com commit a192465714e7607529303a80d8f9a312e0c7aec6 Author: Arlin Davis Date: Mon Apr 28 08:41:05 2008 -0700 dapl: add vendor_err with DTO error logging DAPL_GET_CQE_VENDOR_ERR added to get vendor_err via cq entry. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 6ac657a4e7e5e27254a024fca7fdead569043f9a Author: Arlin Davis Date: Fri Apr 25 15:12:34 2008 -0700 dapl: add check before destroying cm event channel in release library may be loaded and unloaded without calling open in which case the cm event channel is not created. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit c1eb23352f44aec6faeef37d8f0c3180f6259cf8 Author: Arlin Davis Date: Tue Apr 22 12:55:13 2008 -0700 dapl: evd_alloc doesn't check for direct_object_create errors. Fix error check in dapls_ib_wait_object_create() and dat_evd_alloc. When attempting to create large number of evd's that exceed open files limit the error was not propagated up causing a segfault. Note: there are 3 FD's required for each EVD 2 for pipe, and one for cq event_channel. Change the error reporting to indicate correct return code and send to log with non-debug builds. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit c5c6229b3e7744782cace0ca1f5f1fa89198bd3a Author: Arlin Davis Date: Mon Apr 14 13:10:13 2008 -0700 dapl: change packaging to modify OFA provider contents of dat.conf instead of file replacement. Change the packaging to update only the OFA provider contents in dat.conf. This allows other dapl providers, other then OFA, to co-exist and configure properly. Adding manpage to explain syntax of this static configuration file. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit d32b27d991bc1314eea055ce3f55bb585b11aaac Author: Arlin Davis Date: Fri Apr 11 11:37:48 2008 -0700 dapl openib_cma: fix hca query to use correct max_rd_atom values Signed-off by: Arlin Davis ardavis@ichips.intel.com commit ac4ccfd144c01b7f4285b0cecc6218c58d0482a8 Author: Arlin Davis Date: Wed Apr 9 17:26:06 2008 -0700 dat: add logging by default during library load failures. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 1794e94754a1e58fcf214c2802e950124bbd1316 Author: Arlin Davis Date: Tue Apr 8 17:32:03 2008 -0700 dtest: add private data validation with connect and accept. Include code, with build option, to validate private data with consumer rejects. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 46f21284bc05e76e82b9ad6cd9f1dbc9bcde0a28 Author: Arlin Davis Date: Tue Apr 8 17:25:11 2008 -0700 dapl: add hooks in evd connection callback code to deliver private data with consumer reject. PEER rejects can include private data. The common code didn't support delivery via the connect event data structure. Add the necessary hooks in dapl_evd_connection_callback function and include checks in openib_cma provider to check and delivery properly. Also, fix the private data size check in dapls_ib_reject_connection function. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 90e04c6f76dd5cfebd2f2867bfe22e85b0c2f461 Author: Arlin Davis Date: Mon Apr 7 15:47:57 2008 -0700 dapl: increase reject private data size to avoid odd byte offets. remove reject type checking on passive side since it will always be non-consumer from active side. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 353a1c8a00bb2a1380fd7a372973a5a70828da35 Author: Arlin Davis Date: Fri Apr 4 16:04:11 2008 -0800 dapl: update vendor information for OFA v2 provider. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit dbf1ea37f43caec61911dea06af801c2f906db0a Author: Arlin Davis Date: Fri Apr 4 16:03:03 2008 -0800 dapl: add provider vendor revision data in private data with reject Add 1 byte header containing provider/vendor major revision to distinguish between consumer and non-consumer rejects. Validate size of consumer reject privated data. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 0f71b9be594739a1fba7d74929eacd42a8cee392 Author: Arlin Davis Date: Thu Apr 3 17:06:27 2008 -0800 dapl: add support for logging errors in non-debug build. Add debug logging (stdout, syslog) for error cases during device open, cm, async, and dto operations. Default settings are ERR for DAPL_DBG_TYPE, and stdout for DAPL_DBG_DEST. Change default configuration to build non-debug. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit bea882ad9b11ac7188628a939f5227e22c914169 Author: Arlin Davis Date: Thu Apr 3 16:23:29 2008 -0800 dapl: add support for private data in CR reject. Private data support via dat_cr_reject was added to the v2 DAT specification but dapl was never extended to support at the provider level. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit b5b096b6b6949fcb9fa711ab4784f41f1bb87525 Author: Arlin Davis Date: Tue Apr 1 11:02:37 2008 -0800 dapl: calculate private data size based on transport type and cma_hdr overhead Need to adjust CM private date size based on different transport types. Add hca_ptr to dapls_ib_private_data_size call for transport type validation via verbs device. Add definitions to include iWARP size of 512 and subtract 36 bytes for cma_hdr overhead. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 632af34f0ea15e12b572c656fe2ef561a0ad62b7 Author: Arlin Davis Date: Wed Mar 26 17:58:17 2008 -0800 Remove improperly licensed GETOPT code from dtest source tree. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 88069fdd21f92923388dec7adbde0d1bc334e7c4 Author: Arlin Davis Date: Tue Mar 18 15:04:34 2008 -0800 remove unnecessary assert from dapl_ep_free. dat_ep_free must handle the case where a consumer calls free in CONNECTED or DISCONNECT_PENDING states. After free calls disconnect, there may be a pending event, in which case the providers dapls_ib_qp_free will block accordingly and handle pending events. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit b3f020e5cba765077049a8cf61c4ce5009fa1031 Author: Patrick Marchand Latifi Date: Fri Mar 14 14:31:40 2008 -0700 fix openib_scm compiler warning Cast to socklen_t since accept(2) expects an unsigned argument. Makes the openib_scm provider now build successfully when using make VERBS= (the -Werror flag was causing the build failure) Signed-off-by: Patrick Marchand Latifi commit 441996f05d3cc8b09c94c166ef736bc50c24de7e Author: Patrick Marchand Latifi Date: Fri Mar 14 14:31:34 2008 -0700 fix provider-specific compiler warnings Initialize ds_array_start_p otherwise the compiler would claim that this variable could be used with an uninitialized value. Makes the uDAPL providers now build successfully when using make VERBS= (the -Werror flag was causing the build failure) Signed-off-by: Patrick Marchand Latifi commit 5a710fc43ad004ecb4603db1359abb4a4fcd77e3 Author: Arlin Davis Date: Tue Mar 11 09:25:07 2008 -0800 uDAPL: fix query to adjust max sge for default inline of 64 bytes and include missing max_rdma_write_iov ep_attr field Signed-off by: Arlin Davis ardavis@ichips.intel.com commit e2c6bf57f78dfebc21e168df01e5876202053e08 Author: Patrick Marchand Latifi Date: Fri Mar 7 09:39:22 2008 -0800 uDAT: fix reuse of va_list in debugging mode Make sure we reinitialize the va_list since va_list is undefined if a function traverses the va_list with va_arg. This patch fixes the uDAT debugging case when both stdout and syslog output is wanted. Signed-off-by: Patrick Marchand Latifi commit 4c9cd7a7268c0d8afb5b4d9b31537bc50cac18fe Author: Arlin Davis Date: Thu Mar 6 15:40:35 2008 -0800 Add hostname and process id to debug output to aid scale-up and out debug. Signed-off by: Arlin Davis ardavis@ichips.intel.com commit 460aa6f089fcdb34d78af1c8391cbecbcc6b0db3 Author: Patrick Marchand Latifi Date: Sat Feb 23 21:03:21 2008 -0800 fix reuse of va_list in debugging mode Make sure we reinitialize the va_list since va_list is undefined if a function traverses the va_list with va_arg. This patch fixes the debugging case when both stdout and syslog output is wanted. Signed-off-by: Patrick Marchand Latifi commit da80af8c76f220508407a2e171c8b28b43b35bf9 Author: Patrick Marchand Latifi Date: Tue Feb 19 16:54:45 2008 -0800 Fix memory leak in provider specific post send/recv if there's more than DEFAULT_DS_ENTRIES iovecs. Signed-off-by: Patrick Marchand Latifi commit d78ee9f95fbe48f71eb247b01c598994edfa4d17 Author: Patrick Marchand Latifi Date: Tue Feb 19 03:19:42 2008 -0800 Guarantee NUL termination if hostname gets truncated. Signed-off-by: Patrick Marchand Latifi commit 3484fa0d2b1a5549d83ecc82d89b72bb86f8fe4e Author: Patrick Marchand Latifi Date: Tue Feb 19 03:19:37 2008 -0800 Make sure we don't leak the hash table if dapl_hca_alloc fails. Signed-off-by: Patrick Marchand Latifi commit e4ed56be6bd64684564169d89df7ca30faffdb53 Author: Patrick Marchand Latifi Date: Tue Feb 19 03:19:32 2008 -0800 Fix memory leak. Signed-off-by: Patrick Marchand Latifi commit 9efd005b185cfd970d2f8c58f05cf2eaae0dcdc8 Author: Patrick Marchand Latifi Date: Tue Feb 19 03:19:27 2008 -0800 Fix memory leak in error path. Signed-off-by: Patrick Marchand Latifi commit d971e799bb5385a8c847cf3f863f19854e95c1b2 Author: Patrick Marchand Latifi Date: Tue Feb 19 03:19:22 2008 -0800 Fix memory leak Signed-off-by: Patrick Marchand Latifi commit c21f2f455af7934675a58ff825bed6cf54d457c9 Author: Patrick Marchand Latifi Date: Tue Feb 19 03:19:17 2008 -0800 Fix memory leak. Signed-off-by: Patrick Marchand Latifi commit ee46aa47e2a4deeded347fe18bd6321db61c6594 Author: Arlin Davis Date: Fri Feb 15 10:10:01 2008 -0800 Release 2.0.7 Signed-off by: Arlin Davis commit f0ca504bc2639cb7a48528d45e9026b54dab3e57 Author: Arlin Davis Date: Thu Feb 14 09:46:56 2008 -0800 uDAT: Make sure we initialize the dictionary entry early enough so that we can base our cleanup decisions on that variable being initialized. Signed-off-by: Patrick Marchand Latifi commit 6b11838043a6012668c7e1a22a869e9e84dc40d6 Author: Arlin Davis Date: Thu Feb 14 09:46:18 2008 -0800 uDAT: Make sure we stay within bounds when manipulating the ia_name. Signed-off-by: Patrick Marchand Latifi Signed-off by: Arlin Davis commit 3eab70b4d34f850661b51dc1b856cd8d672a5cc9 Author: Arlin Davis Date: Thu Feb 14 09:44:56 2008 -0800 uDAT: Make sure we stay within bounds when manipulating the ia handle. Fix typo in comment. Signed-off-by: Patrick Marchand Latifi commit 7fe64f10874667062e067efb7ea8c3d385ae90b7 Author: Arlin Davis Date: Thu Feb 14 09:43:39 2008 -0800 uDAT: Zero-out memory otherwise we might base our cleanup decisions on uninitialized memory. Signed-off-by: Patrick Marchand Latifi commit f510e7e8f5b72a6262a7f8b255926cf96c65b654 Author: Arlin Davis Date: Wed Feb 13 20:39:26 2008 -0800 Modify default configure options to match rpm spec file --enable-debug, --enable-ext-type=ib Signed-off by: Arlin Davis commit 75273f1a5c599777bb43add93f30563689fdbc10 Author: Arlin Davis Date: Mon Feb 11 15:43:03 2008 -0800 udapl OFA provider: set listen backlog to default cma backlog max. Signed-off by: Arlin Davis commit 7f173ecd7e18f25bc21a42651603922e7d71f7c7 Author: Arlin Davis Date: Mon Feb 11 14:50:33 2008 -0800 The OFA dapl provider is checking for incorrect return code from rdma_bind_addr and rdma_listen calls. This causes an error to be returned back to the consumer instead of correctly incrementing the seed port and re-calling the OFA provider until a valid port is issued. The seed value (1000) is also incorrect and should start a non-privledged port (1024) to avoid EPERM errors when seeding the starting port value. Signed-off by: Arlin Davis commit 7bcb67ba7c9b37d7c122773f542c7f7f718d4a49 Author: Arlin Davis Date: Mon Feb 4 16:16:10 2008 -0800 Release 2.0.6 - ChangeLog commit bead5f36542a8a4c790bda8ecc8dde3e630c15e6 Author: Arlin Davis Date: Mon Feb 4 16:14:02 2008 -0800 Release 2.0.6 Signed-off by: Arlin Davis commit 8c5beb870048aca286f7396549771ccb075c5c1b Author: Arlin Davis Date: Mon Feb 4 16:12:47 2008 -0800 Fix OFED v2 package to build against and target /dat2/include directory. Prevous patch missed dat_osd.h, dapltest/dtest incorrect. Signed-off by: Arlin Davis commit 42a63bb0271f91541e7b3c3967a9a977ef6660ae Author: Arlin Davis Date: Mon Feb 4 13:00:45 2008 -0800 uDAT/DAPL: Fix package to build against and target /dat2/include directory. Signed-off by: Arlin Davis commit b3294c738d61f44ae4d0888662bdd6b64f6d6b1f Author: Arlin Davis Date: Tue Jan 29 16:34:49 2008 -0800 Release 2.0.5 - ChangeLog updated Signed-off by: Arlin Davis commit 356cf91905d39ade06d76ab9ace6203cd7907d93 Author: Arlin Davis Date: Tue Jan 29 16:33:10 2008 -0800 libdat: rename libdat.so to libdat2.so to coexist with v1 devel Signed-off by: Arlin Davis commit d9a9f46ee220ec9c479756acc306ed68060a662f Author: Arlin Davis Date: Mon Jan 28 13:55:35 2008 -0800 Release 2.0.4 - README Signed-off by: Arlin Davis commit 533983cec914a7ecc6829934a56f867d7870e301 Author: Arlin Davis Date: Mon Jan 28 12:06:03 2008 -0800 Release 2.0.4 Changelog Signed-off by: Arlin Davis commit bfc5bd4b4190c7302b08c3922c17e2131bfbe605 Author: Arlin Davis Date: Mon Jan 28 12:04:18 2008 -0800 Relase package 2.0.4 commit 95935648f81ac5177ae7120b35e55483902b8c64 Author: Arlin Davis Date: Wed Jan 23 16:40:48 2008 -0800 dapltest does not include definitions for inet_ntoa. At load time the symbol was resolved but with the default definition of int, instead of char*, it caused segfault. Add correct include files in dapl_mdep_user.h for linux. Signed-off by: Arlin Davis commit 3c1bb0e56c14c5ad50876820e25933c1f4c3dde4 Author: Arlin Davis Date: Wed Jan 23 14:46:30 2008 -0800 Add freeaddrinfo to deallocate getaddrinfo buffer. Cleanup a few printf messages. Signed-off by: Arlin Davis commit a4a8ad5eb1b15be19b3a343dee71ad3013d3f4bd Author: Arlin Davis Date: Wed Jan 23 14:25:21 2008 -0800 Fix for uDAPL v2 using extended operation. After extension completion, the DTO cookie must be checked for type before deallocating to handle inbound immediate data in receive. The sample dtestx client will fail when running loopback if the rdma immediate is received from remote before the rdma immediate request completion fires. Bug causes following dtestx client error: dat_ib_post_rdma_write_immed returned DAT_INSUFFICIENT_RESOURCES : DAT_RESOURCE_MEMORY Signed-off by: Arlin Davis commit 6dcf1763c153c27c29ba76bac35be4f6935ddd96 Author: Arlin Davis Date: Thu Jan 17 11:30:27 2008 -0800 WinOF: update dapltest,dtest directories for windows build WinOF: add README.windows Signed-off by: Stan Smith Signed-off by: Arlin Davis commit 9bececbb32dd31d4a3528e8f000a773e5c593430 Author: Arlin Davis Date: Thu Jan 17 11:24:46 2008 -0800 WinOF: update dtestx for windows build Signed-off by: Stan Smith Signed-off by: Arlin Davis commit 4dc8c5defef0f52da751a1eca4d4f35de911c3c0 Author: Arlin Davis Date: Thu Jan 17 11:23:21 2008 -0800 WinOF: add build enviroment, cleanup old makefiles Signed-off by: Stan Smith Signed-off by: Arlin Davis commit 5a9e035fa33a6307b3d2b370f64639b14dfca87e Author: Arlin Davis Date: Tue Jan 15 16:59:34 2008 -0800 WinOF: name collision with ibal verbs ib_cm_handle_t Signed-off by: Stan Smith Signed-off by: Arlin Davis commit 7c5418a781c1dfdb37b09450b5df40363dce84b4 Author: Arlin Davis Date: Tue Jan 15 16:06:10 2008 -0800 dtest: dat_evd_query for correct size Signed-off by: Arlin Davis commit 6de5e635c01e78bde6e153b727926da900677d52 Author: Arlin Davis Date: Tue Jan 15 16:03:27 2008 -0800 dapltest: WinOF support. Signed-off by: Stan Smith commit c680e95b96e57bd8b69b1c73e95730854fcea028 Author: Arlin Davis Date: Tue Jan 15 14:54:57 2008 -0800 openib_cma: fix cleanup issues in destroy_cm_id add macros to convert SID and PORT fix init/responder settings in accept Signed-off by: Arlin Davis commit f8f867e52ffc36a31830dd4003eb2a4b4d265c93 Author: Arlin Davis Date: Tue Jan 15 14:49:54 2008 -0800 Modifications for WinOF build and endian support for RMR info Signed-off by: Stan Smith Signed-off by: Arlin Davis commit 4c1fc48d2825efcffaa8cdf7efbdd2d41aeb56ab Author: Arlin Davis Date: Tue Jan 15 14:39:18 2008 -0800 WinOF: DAT_API changes, white space and tab cleanup IBAL provider code added Common code: initialize cookie pool buffer add dapl extension DTO counter add get_cqe_op_str debug call remove excess dbg in evd_dequeue add dbg assert to sp_search_cr IBAL provider support _VENDOR_IBAL_ Signed-off by: Stan Smith Signed-off by: Arlin Davis commit 68f2ad0af3623dec27b1223aeaca6357348eef4b Author: Arlin Davis Date: Fri Jan 4 08:32:39 2008 -0800 Windows specific - IBAL support in evd_create Build IB extensions by default Common code - check return status, evd_free, evd_wait add dapl_event_str function definitions for dat_os_library_error, dat_os_ungetc Signed-off by: Stan Smith Signed-off by: Arlin Davis commit d21f36406408245ac979f0b9594e7d1d0b9a3852 Author: Arlin Davis Date: Fri Jan 4 08:32:19 2008 -0800 Common code - Missing DAT_API defs casting to fix build issues bitmaps for extension debug DAPL_BAD_PTR macro Signed-off by: Stan Smith Signed-off by: Arlin Davis commit 258678a381c6a0170020c48b0ba627e820abd3e7 Author: Arlin Davis Date: Fri Jan 4 08:31:59 2008 -0800 Common code - Add DAT_API definitions for dat_redirection.h, udat_redirection.h Signed-off by: Stan Smith Signed-off by: Arlin Davis commit 87d0b46a0c0f25e8828d7425e0173a0304a23f8b Author: Arlin Davis Date: Fri Jan 4 08:31:27 2008 -0800 Windows specific - Add dapl_ep fields ibal_cm_handle, recv_disc, sent_disc for IBAL provider Support for direct object on CQ INIT and FINI changes setup dat.conf default path, fix sr parsing Common code - Add Stan Smith as contributor O/S independent dat_os_library_error() Signed-off by: Stan Smith Signed-off by: Arlin Davis commit b3ba3dc9743baf3bff243e8969edf3395d1118dd Author: Arlin Davis Date: Tue Dec 11 14:44:24 2007 -0800 2/2 uDAPL changes to sync common code base with WinOF - add DAT_API to specify calling conventions (windows=__stdcall, linux= ) - cleanup platform specific definitions for windows - c++ support - add handle check macros DAT_IA_HANDLE_TO_UL and DAT_UL_TO_IA_HANDLE commit 92d7eef38877ad472a91e5e9f88e4e49657716bf Author: Arlin Davis Date: Tue Dec 11 14:43:05 2007 -0800 1/2 uDAT changes to sync common code base with WinOF - add DAT_API to specify calling conventions (windows=__stdcall, linux= ) - cleanup platform specific definitions for windows - c++ support - add handle check macros DAT_IA_HANDLE_TO_UL and DAT_UL_TO_IA_HANDLE Signed-off by: Arlin Davis Signed-off by: Stan Smith commit 95764c6da28284d29071cf01d1a09bdcb967a971 Author: Arlin Davis Date: Tue Dec 4 13:19:27 2007 -0800 - Fix size of evd request queue on creation - Add query and checking of DTO request queue Signed-off by: Arlin Davis commit 9bc97e65c1240224d7dc9d6ac9a48e7aed199ee6 Merge: 11a165a abb4356 Author: Arlin Davis Date: Tue Nov 27 13:31:32 2007 -0800 master_dat2.0_merge commit abb4356cd765d38cf5cff2dfbdb610b380f944a2 Author: Arlin Davis Date: Tue Nov 20 12:10:39 2007 -0800 Release 2.0.3 commit d2c66eb7363234c5a9fb82aa92df1c132e46477e Author: Arlin Davis Date: Tue Nov 20 12:07:58 2007 -0800 - Lower default settings (rdma ops, inline sends) for latest iWARP/IB devices - Add missing ia_query for max_iov_segments_per_rdma_write - Cleanup CMA code no longer supported by rdma_cm Signed-off by: Arlin Davis commit 3a3519167bd65bd999424788f139b930b099b405 Author: Arlin Davis Date: Mon Nov 19 15:26:44 2007 -0800 Change dapltest timers to use gettimeofday instead of get_cycles for better portability. Signed-off by: Arlin Davis commit 11a165a1868b1748fe476e08fc40af620f961cd2 Author: Arlin Davis Date: Wed Oct 31 10:58:51 2007 -0800 - DAT/DAPL Version 1.2.3 Release 1 Signed-off by: Arlin Davis commit bc2d39a78e31c5e9463c8fa16f0ecaf49f75a15f Author: Arlin Davis Date: Wed Oct 31 10:55:48 2007 -0800 ChangeLog update commit 7d3ec3d68a756f895a6c6ba8ed3d7a1d602468e9 Author: Arlin Davis Date: Wed Oct 31 10:55:05 2007 -0800 - DAT/DAPL Version 2.0.2 Release 1 Signed-off by: Arlin Davis commit 43931378b9d4f5f721da828623f1e391f32f446b Author: Arlin Davis Date: Tue Oct 30 09:06:24 2007 -0800 - Add ChangeLog - update cma provider to report remote and local ports via dat_ep_query. Signed-off by: Arlin Davis commit a65da8a86ed637bacc32e3518d6c37eeb3b496bf Author: Arlin Davis Date: Thu Oct 25 14:37:14 2007 -0700 Fix dapltest endian issue with mem_handle, mem_address. Signed-off-by: Shirley Ma commit 8196f1655fe6088c66dafa6ad8e4474ea8ebe1d9 Author: Arlin Davis Date: Thu Oct 25 14:36:12 2007 -0700 Fix dapltest endian issue with mem_handle, mem_address. Signed-off-by: Shirley Ma commit 39667dbb0160d395fb20eb53a1b4e995e2e623dd Author: Arlin Davis Date: Tue Oct 16 14:23:17 2007 -0700 Fix dtest to build properly with extensions. Modify dat.h dat_event to include event_extension_data[8]. Extend struct dat_event outside of extension build switch to enable non-extended applications to work with extended libraries. Otherwise, there is a potential for the event callee to write back too much event data and exceed callers non-extended event buffer. Signed-off by: Arlin Davis commit d7134fb2bcad6f4f68410af997f8791edd788cfb Author: Arlin Davis Date: Tue Oct 16 14:10:52 2007 -0700 Use inet_ntoa instead of open coding it. IP addresses were being reversed on PowerPC. On PowerPC the timebase ticks at a different frequency to the CPU. dapltest currently assumes a 1:1 relationship, and gives bogus values when scaling timebase to real time. To fix this, look at the timebase field in /proc/cpuinfo instead. To keep things consistent with x86, scale that value to MHz. Signed-off-by: Anton Blanchard commit c6710c291a4f7c0845a4535767d41d66f092fabf Author: Arlin Davis Date: Tue Oct 16 14:09:56 2007 -0700 Use inet_ntoa instead of open coding it. IP addresses were being reversed on PowerPC. On PowerPC the timebase ticks at a different frequency to the CPU. dapltest currently assumes a 1:1 relationship, and gives bogus values when scaling timebase to real time. To fix this, look at the timebase field in /proc/cpuinfo instead. To keep things consistent with x86, scale that value to MHz. Signed-off-by: Anton Blanchard commit 9446029979a55e6e477fb31cfdf9ce0dc77ffa8f Author: Arlin Davis Date: Tue Oct 16 14:02:36 2007 -0700 Minor clean-up of cr/lf Signed-off by: Arlin Davis commit 33fd0628497911df11dea640aea4660e54989ed6 Author: Arlin Davis Date: Tue Oct 2 16:01:37 2007 -0700 Final changes for 2.0.1-1 package, OFED 1.3 ALPHA Fix build issue with SLES 10, gcc++ compiler Signed-off-by: Jimmy Hill Signed-off-by: Arlin Davis commit bc5f16991d75ff9d09e3e3a3cc8c2d6801a9d61f Author: Arlin Davis Date: Tue Oct 2 14:50:02 2007 -0700 Final changes for package 1.2.2-1, OFED 1.3 ALPHA Signed-off by: Arlin Davis commit 52bc16939e87587f8208e775dd061f54196a9acb Author: Arlin Davis Date: Tue Oct 2 11:58:46 2007 -0700 Change v2 dat.conf provider names to associate with ib net devices Signed-off by: Arlin Davis commit d22e62f989dd16d503d5430ffe6f55075139e057 Author: Arlin Davis Date: Tue Oct 2 11:43:34 2007 -0700 Change DT_Mdep_GetTime to use gettimeofday() which has more resolution than times(). Signed-off-by: Anton Blanchard commit a64eae5bd36598a5c93010e07869e95599aa8ceb Author: Arlin Davis Date: Tue Oct 2 11:41:40 2007 -0700 Change v2 dat.conf provider names to associate with ib net devices Signed-off by: Arlin Davis commit 870764dfad8df0ffe6d3d449e7a8e296cfee8ef5 Author: Arlin Davis Date: Tue Oct 2 11:35:21 2007 -0700 Change DT_Mdep_GetTime to use gettimeofday() which has more resolution than times(). Signed-off-by: Anton Blanchard commit 66bf23e3e53f370c92803f162144947f29ce06d8 Author: Arlin Davis Date: Tue Oct 2 11:30:15 2007 -0700 Change DT_Mdep_GetTime to use gettimeofday() which has more resolution than times(). Signed-off-by: Anton Blanchard commit c220760bbb1f6357b6e187ff6c5e576dd74fd504 Author: Arlin Davis Date: Tue Oct 2 10:39:09 2007 -0700 Fix dapl to compile as both 32bit and 64bit on PowerPC. Instead of using the kernel atomic routines, code them explicitely like x86 does. Signed-off-by: Anton Blanchard commit 9ffdf3722e5a9cde3fd6add5d7b3940a7ea9f71f Author: Arlin Davis Date: Fri Sep 28 17:04:54 2007 -0700 Clean up packaging, modify dat.conf for v2.0 cma provider name change to ofa Signed-off by: Arlin Davis commit 493e65b5b47f47e4824f775959fd98e56aeaccc4 Author: Arlin Davis Date: Fri Sep 28 17:03:41 2007 -0700 Clean up packaging, modify dat.conf for cma provider name change to ofa Signed-off by: Arlin Davis commit 99f0a0bf0a0d99fee0729fba0fcdf6f3e89e2ec4 Author: Arlin Davis Date: Thu Sep 20 12:25:55 2007 -0700 Modifications to coexist with 2.0 libraries - fix RPM specfile, configure.in, 1.2.2 package - modify dat.conf Signed-off by: Arlin Davis commit 7ff4a8a8e861b0701b5b2a6fc95e6aa8b36d2662 Author: Arlin Davis Date: Thu Sep 20 10:55:19 2007 -0700 Modifications to coexist with 1.2 libraries - cleanup CR-LF in dtestx - fix RPM specfile, 2.0.1 package Signed-off by: Arlin Davis commit 230767742b8287490373c09d1bd346337b375b48 Author: Arlin Davis Date: Fri Jun 22 11:48:20 2007 -0700 Update copyright in specfile commit 5294cbe5e58f67d0a98862edea3684fff6e773bb Author: Arlin Davis Date: Fri Jun 22 11:47:14 2007 -0700 Update Copyright in specfile commit 3654c6ef425f94b9f27a593b0b8c1f3d7cc39029 Author: Arlin Davis Date: Wed Jun 6 13:20:38 2007 -0700 Update specfile to reflect DAT/DAPL 1.2.1 release commit babb95eff1bcef88bed46e92c323193d8f039eff Author: Arlin Davis Date: Wed Jun 6 11:48:07 2007 -0700 More changes to the release notes commit 0f299bf1deb9198b2f008c3ffa717bef252b6097 Author: Arlin Davis Date: Tue Jun 5 15:56:17 2007 -0700 Update release notes commit ad70f98a228ade4a863ca349990eaa7ab1e82ec2 Author: Arlin Davis Date: Tue Jun 5 15:52:18 2007 -0700 Add release notes updated for OFED 1.2 release commit f332badb80f0b1d88bf2d70dba0c90afc40f088f Author: Arlin Davis Date: Thu May 31 12:43:28 2007 -0700 Add provider specific interface to uDAPL for extensions support. Fix memory leak with extensions, missing cookie deallocation when processing extended DTO events Remove unnecessary check on dats_set_ia_handle in dat_ia_openv Clean up specfile and some extra LF's commit 4d7e30586402149228a30bea3036466395577ec4 Author: Arlin Davis Date: Wed May 16 12:56:39 2007 -0700 add iwarp extension include file commit d9963cc9984c06f147b92877945e847f657cd512 Author: Arlin Davis Date: Wed May 16 12:52:38 2007 -0700 clean up some CR's in include files commit 80f4e8c4be02bac5d472e1e6c4937079882a0388 Author: Arlin Davis Date: Wed May 9 16:21:16 2007 -0700 Take out references to specific 1.1 verbs definitions (ibv_comp_channel). commit 544fbb873d5320e9606f176c4b71bcba0e257d7d Author: Arlin Davis Date: Wed May 9 12:51:53 2007 -0700 Bug Fixes: - 606: Return local and remote ports with dat_ep_query - 585: Add bonding example to dat.conf commit e64079f7b961aa9a672711f0e933a77f3999d302 Author: Arlin Davis Date: Mon May 7 15:54:59 2007 -0700 Update dapltest to use default device OpenIB-cma Fix dapltest manpage, example for performance test wrong commit 7cda2304a6880371ec2d9451a4f83a7a254bc474 Author: Arlin Davis Date: Mon May 7 12:49:18 2007 -0700 Fix issues with IB DTO extensions - debug print_cqe updated for latest IBV definitions - dapli_evd_cq_to_event modified to handle both post and receive extensions - dtestx example tested with rdma_write_imm, fetch_add, and cmp_swap - modify cookie DTO types to support extensions properly commit 82a6750d31cd432c7e09298fc98c0e7e74abd012 Author: Arlin Davis Date: Fri May 4 17:17:41 2007 -0700 Add new dapl functions for 2.0 (stubs for now) - dapl_ep_post_send_invalidate - dapl_ep_post_rdma_read_to_rmr - dapl_ia_ha - dapl_csp_create, query, free - dapl_cno_trigger - dapl_cno_fd_create - dapl_extensions Add new 2.0 parameters to existing API's - dapl_cr_reject - dapl_rmr_bind commit 8679aaf56c781715adc132a38a731e36194570f1 Author: Arlin Davis Date: Thu May 3 09:44:43 2007 -0700 update dtestx.c, default provider OpenIB-cma commit 527f6d19125e9eec7ecef03a8633626b0043a2f4 Author: Arlin Davis Date: Wed May 2 17:27:44 2007 -0700 Added IB extensions and dtestx as an example program using rdma write with immediate and atomic operations commit 83ac961b505346708f12d59152146f3b04c8306f Author: Arlin Davis Date: Mon Apr 30 10:55:59 2007 -0700 Fixes atomic operation build problem with ia64 and RHEL5. commit 04da88bb70ee33b249a4cf2f5a92122eeec83e3c Author: Arlin Davis Date: Thu Apr 26 17:29:37 2007 -0700 Update README and dapltest manpage commit 9a951d0a8713657da90568c0613eb48f5010cf1e Author: Arlin Davis Date: Tue Apr 3 16:35:17 2007 -0700 Cleanup RPM specfile for the dapl package, move to 1.2-1 release. commit a93f0ffcd6a46735c97ec34de564a7a91f9fc5c2 Author: Arlin Davis Date: Tue Apr 3 14:38:31 2007 -0700 Add support for multiple IB devices to dat.conf to support IPoIB HA failover. commit 5434b720b36de2f262a02ff9dfccd99953c09e59 Author: Arlin Davis Date: Thu Mar 15 10:46:33 2007 -0800 Fix ia64 builds on SUSE commit b0f9eef1aa7f279802da233480cf6c495e16565b Author: Arlin Davis Date: Wed Mar 14 13:29:08 2007 -0800 DAT 2.0 support for new DAT_VA_TYPE added to uDAPL and openib-cma provider commit 61858b925f4c1a6f9edba6389a5bd601daf936e9 Author: Arlin Davis Date: Wed Mar 14 11:08:19 2007 -0800 change DAT_VERSION major and minor numbers to 2.0 commit 6dcb2e083bda8f2521bd3515b329c5465e1ac724 Author: Arlin Davis Date: Wed Mar 14 10:43:56 2007 -0800 add provider support to dtest, set default to OpenIB-cma commit ff8eb667c1000be6c68ca291e7ed7bd080cb73f4 Author: Arlin Davis Date: Tue Mar 13 16:20:20 2007 -0800 add provider option to dtest, set default to OpenIB-cma commit 76a43cace54567135bac7ae54e336c6595b65fd9 Author: Arlin Davis Date: Fri Mar 9 13:09:14 2007 -0800 Initial build with DAT 2.0 definitions and IB extensions. IB extensions configurable with --enable-ext-type=ib commit 921687efed992e6ab72dfb731687b6816324a024 Author: Arlin Davis Date: Thu Mar 8 16:01:29 2007 -0800 Update the README commit 52ed210ae99b291f72441e71459006b5f2c851ce Author: Arlin Davis Date: Wed Mar 7 15:34:41 2007 -0800 - Fix bug 408, dapltest compilation failure on 32 bit arch - Update libdat.spec.in file to build uDAPL RPMs correctly commit e3f6aca57a8fa5cbaaf872bf6844feb7d5e1e66c Author: Arlin Davis Date: Mon Mar 5 14:15:49 2007 -0800 Fix build issues with dtest and dapltest. Define build tree path to dat/include. commit f1f829a28e645831c3bcd1eb2d465fcb7a1fd5d8 Author: Arlin Davis Date: Wed Feb 28 17:14:55 2007 -0800 Add dapltest headers to EXTRA_DIST Modify dtest to delay before accepting Signed-off-by: Vladimir Sokolovsky Signed-off-by: Arlin Davis commit 46b830a4664d5fee2daf1ebdc4e95ecb7c580e80 Author: Arlin Davis Date: Mon Feb 26 13:54:15 2007 -0800 Adding dtest and dapltest to the build. Manual pages created. commit d245664e27148e54469268ad81f41b2a894a131a Author: Arlin Davis Date: Fri Jan 19 16:21:30 2007 -0800 uDAPL changes to support exchanging and validation of the device responder_resources and the initiator_depth during connection establishment commit 2280f833090aa9f750d5be8f9b06e7e08e642da5 Author: Arlin Davis Date: Wed Dec 6 11:49:27 2006 -0800 Update cma provider to sync with rdma_ucm changes commit 89448545b415b6dff57e3314b020619f6b979ef8 Author: Arlin Davis Date: Mon Dec 4 13:54:20 2006 -0800 Update autogen to create config directory commit 0a917b104eba0aae6c6ef49c7990a2dc7efc759d Author: Arlin Davis Date: Tue Nov 7 20:22:05 2006 +0000 r10074: Added support for new ib verbs client register event. No extra processing required at the uDAPL level. Fix some issues supporting create qp without recv cq handle or recv qp resources. IB verbs assume a recv_cq handle and uDAPL dapl_ep_create assumes there is always recv_sge resources specified. Fix some timeout and long disconnect delay issues discovered during scale-out testing. Added support to retry rdma_cm address and route resolution with configuration options. Provide a disconnect call when receiving the disconnect request to guarantee a disconnect reply and event on the remote side. The rdma_disconnect was not being called from dat_ep_disconnect() as a result of the state changing to DISCONNECTED in the event callback. Here are the new options (environment variables) with the default setting: DAPL_CM_ARP_TIMEOUT_MS 4000 DAPL_CM_ARP_RETRY_COUNT 15 DAPL_CM_ROUTE_TIMEOUT_MS 4000 DAPL_CM_ROUTE_RETRY_COUNT 15 commit c73aeb904504a0bc6cce0fb1248af9ba39521395 Author: Arlin Davis Date: Thu Oct 12 22:41:33 2006 +0000 r9802: Remove Socket CM provider from build and dat.conf configuration. No longer needed nor supported. commit b1d94b26610f682cdd43bde2aecf5004e0865422 Author: Steve Wise Date: Tue Sep 12 18:15:39 2006 +0000 r9442: Update obsolete CLK_TCK to CLOCKS_PER_SEC Signed-off-by: Steve Wise Signed-off-by: James Lentini commit 99a5dddd07d4c271ebb075b5b0f800101f850a56 Author: Arlin Davis Date: Thu Sep 7 18:09:11 2006 +0000 r9346: inadvertently added evdtest to makefile when testing dat_evd_set_unwaitable fix with openib_cma provider commit b53a87c856d9754313da9543a1dac5c6f1307085 Author: Arlin Davis Date: Wed Sep 6 20:36:09 2006 +0000 r9315: Fill out some unitialized fields in the ia_attr structure returned by dat_ia_query(). Signed-off by: Arlin Davis Signed-off by: Robert Walsh commit b6c4e84399d0aa44c72c6ca870409c3666d7e79b Author: Arlin Davis Date: Fri Aug 11 20:44:23 2006 +0000 r8895: Update dtest to support multiple segments on rdma write and change makefile to use OpenIB-cma by default. commit 4737c63d79b23c3aff329e864dd50e3cffb6a17f Author: Arlin Davis Date: Wed Jul 19 17:15:06 2006 +0000 r8592: Add support for dat_evd_set_unwaitable on a DTO evd in openib_cma provider commit 25fb8c376547de895a170194c09b2d72dfea789d Author: Arlin Davis Date: Mon Jul 17 22:59:17 2006 +0000 r8565: Added errno reporting (message and return codes) during open to help diagnose create thread issues. commit f3a1ed6232ccdee7d193e8e3b9b0013b2bd222af Author: Anton Blanchard Date: Mon Jul 17 21:26:03 2006 +0000 r8562: Fix some suspicious inline assembly: - EIEIO_ON_SMP and ISYNC_ON_SMP are in kernel UP build optimisations, we shouldnt export them to userspace. Replace it with lwsync and isync. - The comment says its implemenenting cmpxchg64 but in fact its implementing cmpxchg32. Fix the comment. Signed-off-by: Anton Blanchard Signed-off-by: James Lentini commit 63759108a1376b6e45a4491551f71d8cafdcddc1 Author: James Lentini Date: Wed Jul 12 14:56:26 2006 +0000 r8503: Fix IA64 build problems reported by John Partridge Signed-off-by: James Lentini commit 51362c9781cb65fd8f9a3cb5b7c12c88e4c8527a Author: Arlin Davis Date: Thu Jun 22 22:02:56 2006 +0000 r8182: Lower the reject debug message level so we don't see warnings when consumers reject. Signed-off-by: Arlin Davis Signed-off-by: James Lentini commit f14889bb0cd22e897148ea2f6931a6b4f23143b0 Author: Arlin Davis Date: Thu Jun 22 21:13:37 2006 +0000 r8181: Added support for active side TIMED_OUT event from a provider. Signed-off-by: Arlin Davis Signed-off-by: James Lentini commit 14fc704ae20b6a3ad0d433d7de9c02ce99e095b3 Author: Arlin Davis Date: Thu Jun 22 20:58:06 2006 +0000 r8180: Fix bug in dapls_ib_get_dat_event() call after adding new unreachable event. Signed-off-by: Arlin Davis Signed-off-by: James Lentini commit 893698c31a0d8e60227806d992485a44375840cb Author: James Lentini Date: Mon Jun 19 17:20:45 2006 +0000 r8112: Update for new rdma_create_id() function signature. Signed-off-by: James Lentini commit 53483d84b0d02c432d9435d2f8e840cab3ded320 Author: Arlin Davis Date: Wed Jun 14 16:17:39 2006 +0000 r8008: Set max rdma read per EP attributes Signed-off-by: Arlin Davis Signed-off-by: James Lentini commit 6cb854cd72d9492ddc1c5da01dbfb24b3f30af83 Author: Arlin Davis Date: Mon Jun 12 15:42:50 2006 +0000 r7931: Report the proper error and timeout events. Signed-off-by: Arlin Davis Signed-off-by: James Lentini commit 44a97ff1f599f4bf882a801ead7aa495ea9ba936 Author: Arlin Davis Date: Mon Jun 12 14:51:14 2006 +0000 r7928: Socket CM fix to guard against using a loopback address as the local device address. Signed-off-by: Arlin Davis Signed-off-by: James Lentini commit 152219cf83c61e459fdf3de03d4e83ddba045230 Author: Arlin Davis Date: Tue Jun 6 21:46:44 2006 +0000 r7755: Use the uCM set_option feature to adjust connect request timeout and retry values. Also, a fix to disallow any event after a disconnect event. Signed-off-by: Arlin Davis Signed-off-by: James Lentini commit 3a0686a2624ed28c7ea37b650415801f1cedbd10 Author: James Lentini Date: Wed May 31 19:55:57 2006 +0000 r7608: Correct comment. Signed-off-by: James Lentini commit eb760157c90f59183b424ac8e71474fe0b46094c Author: James Lentini Date: Thu May 18 21:54:12 2006 +0000 r7347: Undo inadvertent change. Signed-off-by: James Lentini commit 27256222b42fecfac8a44b3f82fe2524ecc72de2 Author: James Lentini Date: Thu May 18 21:50:27 2006 +0000 r7346: Fix for uCMA provider to return the correct event as a result of rejects. Also, ran into a segv bug with dapl_ep_create when creating without a conn_evd. Signed-off by: Arlin Davis Signed-off-by: James Lentini commit b1b6e16f3e41e123cd347bc78b01e3272076362b Author: Arlin Davis Date: Fri May 12 19:50:19 2006 +0000 r7141: Update the uDAPL openib_cma provider to work with the new uCMA event channel interface. Signed-off-by: Arlin Davis Signed-off-by: James Lentini commit 27f9f0c106662cc7b41bcb747495860a1b6c7133 Author: Steve Wise Date: Tue May 2 21:33:35 2006 +0000 r6873: Transaction test change to comply with the iWARP MPA protocol's "Connection Startup Rules". Signed-off-by: Steve Wise Signed-off-by: James Lentini commit 060d09f974ffbe73672e17641b2f18d3821d31a7 Author: Arlin Davis Date: Fri Apr 28 13:44:17 2006 +0000 r6736: getaddrinfo() fix for debug builds and some additional debug messages for connect errors and rejects. Signed-off-by: Arlin Davis Signed-off-by: James Lentini commit 4e8b95bbeaf6e5c27de59ef347ec2ef0aa2e5e6b Author: James Lentini Date: Wed Apr 19 16:49:34 2006 +0000 r6520: Fix compilation warning. Signed-off-by: James Lentini commit 115fcc396164066326f9447d71af798a381d063f Author: Steve Wise Date: Wed Apr 19 16:32:01 2006 +0000 r6518: Do not always generate an event for an abrupt disconnect. Signed-off-by: Steve Wise Signed-off-by: James Lentini commit f959bb786cd884bf4d2a5da4d299da6297d65293 Author: James Lentini Date: Wed Apr 19 16:30:37 2006 +0000 r6517: Generate a disconnect event for providers that do not generate one automatically. Signed-off-by: James Lentini commit bb467511cf6e217147817ba12bbe800aae97cab5 Author: James Lentini Date: Wed Apr 19 16:25:33 2006 +0000 r6516: Fix compilation error. Signed-off-by: James Lentini commit 117a9856c269bf08b738a1923c92f5a1949f6cc1 Author: James Lentini Date: Mon Apr 10 20:16:44 2006 +0000 r6392: Fix for RDMA cm id destruction and debug builds. Signed-off by: Arlin Davis Signed-off-by: James Lentini commit 5f56b2b7339c17276188464dfff12b1be9e1dbb7 Author: James Lentini Date: Thu Apr 6 15:32:47 2006 +0000 r6289: Set max_iov_segments_per_rdma_read and max_rdma_read_iov using the correct attribute. Signed-off-by: James Lentini commit 304f48370adcaa12463c1a7d99e513164b83810c Author: Steve Wise Date: Thu Apr 6 15:16:10 2006 +0000 r6286: Set the IA attribute max_iov_segments_per_rdma_read and the EP attribute max_rdma_read_iov based on the openib max_sge_rd device attribute. Signed-off-by: Steve Wise Signed-off-by: James Lentini commit fe27222d2a00d7c5c4d98f39d2926fe14c7f32bc Author: James Lentini Date: Tue Apr 4 18:29:00 2006 +0000 r6221: Change the mechanism by which library init and fini functions are specified Signed-off-by: James Lentini commit 5a0598b90ab021cb2115e3791cb38dcfc0347948 Author: James Lentini Date: Mon Apr 3 17:29:55 2006 +0000 r6182: Remove unused variables. Signed-off-by: James Lentini commit b8084c4edc21b5ac2191ec654a882b65bad0c77d Author: James Lentini Date: Mon Apr 3 15:29:30 2006 +0000 r6179: Fix dapltest compiler warnings. Signed-off-by: James Lentini commit abdbec194670d72012d481b98b2e6f728e9c5b48 Author: James Lentini Date: Mon Apr 3 14:08:48 2006 +0000 r6168: Fixed debug prints of 64-bit values and removed compile warnings. Signed-off-by: James Lentini commit 52de2a35e02ddeb15887d0d690b52a4e02812e57 Author: James Lentini Date: Tue Mar 21 22:28:10 2006 +0000 r5939: Move libdat.spec to libdat.spec.in Signed-off-by: James Lentini commit 6b1a6356a1757ae9b9d1557bd2ae67e0913d04c2 Author: Arlin Davis Date: Fri Mar 17 22:02:18 2006 +0000 r5879: Add GNU Autotools support and an RPM spec file Signed-off-by: Arlin Davis Signed-off-by: James Lentini commit 9d00582b8be33add8d3e4173e8311b1a222b0b34 Author: Arlin Davis Date: Thu Mar 16 22:40:18 2006 +0000 r5871: Fixes a corner case where a CMA event was not acknowledged during disconnect processing. Signed-off-by: Arlin Davis Signed-off-by: James Lentini commit ede1d714a8e7ae99246eb382c1c1165f238cf7c3 Author: James Lentini Date: Mon Mar 13 18:15:49 2006 +0000 r5789: Reduces some debug output in the async thread and fixes listen processing of EBUSY. Signed-off by: Arlin Davis Signed-off by: James Lentini commit afd558cbdada66e01aa553364b9a126da00dbe65 Author: Arlin Davis Date: Wed Mar 8 14:24:26 2006 +0000 r5684: Remove unused NO_EP_STATE. Signed-off-by: Arlin Davis Signed-off-by: James Lentini commit 4c36aca16b9b492a91c0b05002af5fc954f3b44e Author: James Lentini Date: Tue Feb 28 15:41:03 2006 +0000 r5529: Fix to destroy QPs in all cases and close the HCA. Signed-off by: Arlin Davis Signed-off by: James Lentini commit 5874fdb26436c58365a7096b9b68c8e45a51d7a3 Author: James Lentini Date: Mon Jan 9 20:17:33 2006 +0000 r4855: Make use of dat_evd_wait the default. Signed-off-by: James Lentini commit 254bd0e349bafbd970d6475efcafd7e52f05415e Author: Arlin Davis Date: Mon Jan 9 16:59:38 2006 +0000 r4852: Fix disconnect event processing and update dtest to validate. Signed-off-by: Arlin Davis Signed-off-by: James Lentini commit f69d737ee51f6b00a1e6cf8531695a61a322651b Author: Arlin Davis Date: Fri Dec 16 02:03:05 2005 +0000 r4502: Query for rd_atomic values. Signed-off-by: Arlin Davis Signed-off-by: James Lentini commit 86566b556920a51f1e538d245674058682012668 Author: James Lentini Date: Fri Dec 16 01:57:30 2005 +0000 r4501: Allow a network name, network address, or device name in the dat.conf file. Singed-off-by: Arlin Davis Signed-off-by: James Lentini commit 9e0ca3d4ccb92b9c0337efbadce405076a365f0f Author: Roland Dreier Date: Wed Dec 14 20:44:36 2005 +0000 r4466: Change libibverbs API for listing all known devices from ibv_get_devices() to ibv_get_device_list(), and update all in-tree uses of this API. Signed-off-by: Roland Dreier commit 73a80143ab7b3f9aad19f84f904f99b489dca6cf Author: James Lentini Date: Mon Dec 5 16:37:46 2005 +0000 r4308: Fix a gcc 4.0 warning Signed-off-by: James Lentini commit aa8b16b7e83f321eaaa18b38e6c165c2f120bcec Author: Arlin Davis Date: Thu Dec 1 15:03:10 2005 +0000 r4279: Added CMA API support. Signed-off-by: Arlin Davis Signed-off-by: James Lentini commit 74d3c32e42ab54f3d6f2eec3d0a66d08f800e075 Author: James Lentini Date: Thu Nov 10 21:39:34 2005 +0000 r4018: Fixed some problems with the free build openib_scm version and turned down some debugging and added some debug prints for uAT path records. Signed-off by: Arlin Davis Signed-off by: James Lentini commit 70a2f23c5604e55f8f76672f78b4bf92f6a79b98 Author: James Lentini Date: Mon Oct 31 18:27:13 2005 +0000 r3917: Fix printing of debug statements. Signed off by: Aniruddha Bohra Signed off by: James Lentini Date: Wed Oct 26 21:10:26 2005 +0000 r3882: uDAPL provider for OpenIB socket CM. Signed-off by: Arlin Davis Signed-off by: James Lentini commit 42a64ec2ec1d8ec71492bfebba077b006684ce97 Author: James Lentini Date: Thu Oct 13 20:45:22 2005 +0000 r3774: Fix the async error handling and callback mappings. Updated TODO list. Signed-off by: Arlin Davis Signed-off by: James Lentini commit fea8ed1188fbeef8291cfd7e681cd48c06ff5bde Author: Robert Walsh Date: Fri Oct 7 21:15:00 2005 +0000 r3693: Update some more ignores. commit 303147143afa9aa72906246a9f1973e4172f75b8 Author: Todd Bowman Date: Thu Oct 6 21:13:32 2005 +0000 r3687: Add PPC64 support for udapl Signed-off-by: Todd Bowman Signed-off-by: James Lentini commit 103c7db321e24a7b5b06c7c26b0e0a65d1dd11ce Author: Todd Bowman Date: Thu Oct 6 15:22:08 2005 +0000 r3683: Remove the dtest qualifier from the sdp range. Signed-off-by: Todd Bowman Signed-off-by: James Lentini commit 33fbf9c81ac29492394e419588d856533e7fffb8 Author: James Lentini Date: Mon Oct 3 14:59:22 2005 +0000 r3637: Support CQ_WAIT_OBJECT with channels and sync with latest verbs. Signed-off by: Arlin Davis Signed-off by: James Lentini commit f01dac62b08d8f4fd417c336be48fb3bc8cd15c5 Author: James Lentini Date: Thu Sep 29 18:13:25 2005 +0000 r3619: Makefile fix. Signed-off-by: James Lentini commit 634b199218b775a8ed071c1faea519c4cc4ee4e3 Author: James Lentini Date: Wed Sep 28 21:50:13 2005 +0000 r3606: Fixes IA64 build problems (atomics) with the latest Redhat EL4.0 update and adds support for SuSe. Signed-off by: Arlin Davis Signed-off by: James Lentini commit 3a23c7135905666ff969b86dab3e90f90ac73008 Author: Robert Walsh Date: Tue Sep 27 16:59:14 2005 +0000 r3567: Setup svn:ignore on a bunch of directories. commit d41ea62125636a58e8748871e372810c09865b0a Author: James Lentini Date: Thu Sep 22 21:24:38 2005 +0000 r3525: Improve dtest and measure RDMA reads Signed-off by: Arlin Davis Signed-off-by: James Lentini commit 32258d13af6aaf76078ec6ba187d8129a0f70397 Author: James Lentini Date: Wed Sep 21 19:54:07 2005 +0000 r3513: Temporary workaround for the RDMA read performance anomaly Signed-off by: Arlin Davis Signed-off by: James Lentini commit 990bdc4320809e0b989c90c24bef361c1bc91c7f Author: James Lentini Date: Tue Sep 20 17:00:37 2005 +0000 r3494: Moved dapl_evd_modify_cno.c to match SourceForge Signed-off-by: James Lentini commit 4509fb64fdbf99db7bdcaad4d8e3884718184d86 Author: James Lentini Date: Tue Sep 20 16:17:59 2005 +0000 r3493: Support ib_cm_init_qp_attr(), add cm event processing on a per device basis, and add copyrights for kDAPL cm work that was used in uDAPL. Signed-off by: Arlin Davis Signed-off by: James Lentini commit c1d45137c2e26024142f24207344e3e48a577b83 Author: Sean Hefty Date: Thu Sep 15 21:43:21 2005 +0000 r3453: Bind communication identifiers to a device to support device removal. Export per HCA CM devices to userspace. Signed-off-by: Sean Hefty commit 5146689f1dbbce01cc46e23d749c28828e7e3ca8 Author: James Lentini Date: Wed Sep 14 17:44:44 2005 +0000 r3432: Request address resolution using ATS. Signed-off-by: James Lentini commit 780b8237f2bf6884cf1abcc11190f97ed5c0a343 Author: James Lentini Date: Mon Sep 12 19:14:43 2005 +0000 r3378: Added DAPL documentation. Signed-off-by: James Lentini commit 8911b60eb16770d28907c14e45556444317dd276 Author: James Lentini Date: Mon Sep 12 19:10:13 2005 +0000 r3377: Removed executable premission. Signed-off-by: James Lentini commit dec4d2eafebdfe7e6b495a36dd16bd5a98417e04 Author: Sean Hefty Date: Fri Sep 9 21:51:58 2005 +0000 r3349: Update DAPL to match the verbs and CM event processing APIs. Signed-off-by: Sean Hefty Signed-off-by: James Lentini commit d06dcfd25e5d37310d089bcb7f3d3d75fcece75a Author: Arlin Davis Date: Tue Sep 6 19:34:46 2005 +0000 r3326: Changes to support async events. Also consolidated the uAT,uCM,uCQ threads into one processing thread. Signed-off-by: Arlin Davis Signed-off-by: James Lentini commit 1dd8c28ce515675ee8df37cc1596bca17587eaf6 Author: James Lentini Date: Mon Aug 29 15:07:44 2005 +0000 r3232: validate default settings so they don't exceed device maximums Signed-off by: Arlin Davis Signed-off by: James Lentini commit ac5308b4aac7de79a356439dfec2312faf7705ae Author: James Lentini Date: Mon Aug 29 14:15:23 2005 +0000 r3227: Support for ibv_query_port, device, and gid. Signed-off by: Arlin Davis Signed-off by: James Lentini commit ef8c7a3a4896487ff0d37a7d7234746c15fe5cf7 Author: Sean Hefty Date: Sun Aug 21 22:30:08 2005 +0000 r3143: - Add user specified context to all uCM events. Users will not retrieve any events associated with the context after destroying the corresponding cm_id. - Provide the ib_cm_init_qp_attr() call to userspace clients of the CM. This call may be used to set QP attributes properly before modifying the QP. - Fixes some error handling syncrhonization and cleanup issues. - Performs some minor code cleanup. - Replaces the ucm_simple test program with a userspace version of cmpost. - Updates DAPL to the new API. Signed-off-by: Sean Hefty commit ec0f86d7c55830c6dffded585c04754cc6ac2a83 Author: James Lentini Date: Tue Aug 16 14:10:13 2005 +0000 r3107: Removed unused debug counter macros Signed-off-by: James Lentini commit 49087ba27bd93769bb64d7ac5c454de1b94005bc Author: James Lentini Date: Tue Aug 16 14:07:42 2005 +0000 r3106: Implemented debug counters Signed-off by: Arlin Davis Signed-off by: James Lentini commit f98e3af7dfc56b288cc77a9103b90f8d6a927fc5 Author: James Lentini Date: Thu Aug 11 20:23:56 2005 +0000 r3072: Update from SourceForge DAPL: use the LMR context in calls to dapls_hash_remove() Signed-off-by: James Lentini commit 878e524c5cc63a62802d28fdc215a2b69ceb1141 Author: James Lentini Date: Thu Aug 11 20:07:06 2005 +0000 r3071: Updates from SourceForge DAPL: EVD updates Signed-off-by: James Lentini commit 8dc70f7d972615f40e624d8f1272e5e7c16ba34f Author: James Lentini Date: Thu Aug 11 19:57:40 2005 +0000 r3070: Update from SourceForge DAPL: set async evd to null in dapli_ia_release_hca Signed-off-by: James Lentini commit f2801ae6caf010d660fe302970dabddc8948e1bf Author: James Lentini Date: Thu Aug 11 19:46:39 2005 +0000 r3069: Updates from SourceForge DAPL: size EP IOV correctly Signed-off-by: James Lentini commit c87fd235eaf0b3a30e005422f7d347c406c14f2c Author: James Lentini Date: Thu Aug 11 19:35:05 2005 +0000 r3068: Update from SourceForge DAPL: removed duplicate ia pointer in SP structure and fixed the spelling of ib_hca_transport_t. Signed-off-by: James Lentini commit a88bebc09a9655e462b3d32dfddec823024eab59 Author: James Lentin Date: Thu Aug 11 19:24:56 2005 +0000 r3067: Update from SourceForge DAPL: use include guard Signed-off-by: James Lentin commit d2da08920de882a9a266f0606b81150c625fa003 Author: James Lentini Date: Thu Aug 11 19:21:56 2005 +0000 r3066: Update from SourceForge DAPL: optimization to dapl_ep_query Signed-off-by: James Lentini commit 4ca3b0cbc59227a90b5450eea1ffeeb91826dd6d Author: James Lentini Date: Thu Aug 11 18:39:34 2005 +0000 r3065: Update from DAPL SourceForge: indicate which handle is invalid Signed-off-by: James Lentini commit 6d8f34137776c32149251bdec493c017b399cd10 Author: James Lentini Date: Thu Aug 11 18:35:58 2005 +0000 r3064: Update from DAPL SourceForge: set ep param values. Signed-off-by: James Lentini commit 0f35002a1942303ff46cb9a2b70056f9a38aebdb Author: James Lentini Date: Thu Aug 11 18:33:47 2005 +0000 r3063: Updates from DAPL SourceForge: QP state and connection event fix. Signed-off-by: James Lentini commit 3fc876339693c6f0eed5e57780e5342f301bd95c Author: James Lentini Date: Thu Aug 11 18:23:33 2005 +0000 r3062: Update from DAPL SourceForge: remove unused DAPL_CNO_PROXY_CALL Signed-off-by: James Lentini commit 70f8e7a2e6bde4e757ddc8c7f59d3a5c6a13adf9 Author: Hal Rosenstock Date: Fri Aug 5 17:59:38 2005 +0000 r2989: Fix dtest makefile Signed-off-by: Hal Rosenstock Signed-off-by: James Lentini commit 864695cfef37d84359ada8838ab4cd4f4dafc6bb Author: James Lentini Date: Fri Aug 5 17:57:31 2005 +0000 r2988: Remove kernel directory. Signed-off-by: James Lentini commit 9c4e246a5baf43cadc6380e91fd5a6e319777278 Author: James Lentini Date: Fri Aug 5 17:56:56 2005 +0000 r2987: Remove kernel code directory. Signed-off-by: James Lentini commit 26706cb0de471ba47279de0cb949ba5a41de82cc Author: James Lentini Date: Fri Aug 5 16:41:12 2005 +0000 r2986: Add uDAPL to the trunk Signed-off-by: James Lentini commit 76aa2de7fe38a8595d88669842450084cfa88316 Author: Roland Dreier Date: Thu Nov 4 17:54:50 2004 +0000 r1139: Copy roland-merge branch to trunk commit 3bd72a559dfe22685aae33599c99d021d2ae4aca Author: Roland Dreier Date: Tue Jul 20 21:34:32 2004 +0000 r502: Move 2.6-only source away from trunk commit 4f05b6ed3fd1d14161664c677264846eeb51dba5 Author: Roland Dreier Date: Tue Jul 20 21:34:32 2004 +0000 r502: Move 2.6-only source away from trunk commit 6da8b951c069072a2afc6aba03a3dca2c44db022 Author: Roland Dreier Date: Tue Jul 20 01:41:16 2004 +0000 r497: Move 2.6-only tree to gen2