Gleb Natapov
a774cd98f8
Put send completions to low prio CQ. Receive is more important.
...
This commit was SVN r16817.
2007-12-02 14:46:37 +00:00
Gleb Natapov
b17f5b7480
Change how default receive queues parameters are calculated. Current default
...
parameters don't make any sense. Credits are never piggybacked. Also make
default queue sizes to be calculated from eager_limit and max_send_size values.
This commit was SVN r16816.
2007-12-02 14:43:28 +00:00
Jeff Squyres
8c0060701c
Stub out the ibcm CPC.
...
This commit was SVN r16800.
2007-11-29 13:23:17 +00:00
Pavel Shamis
8aca6eb31b
OFED 1.3 doesn't implement ibv_resize_cq for connectX.
...
On error exit from ibv_resize_cq we should to check if the function
is implemented.
This commit was SVN r16799.
2007-11-28 15:23:19 +00:00
Gleb Natapov
5f242c77f2
Post each recv wr not separately but in one call to ibv_post_recv().
...
This commit was SVN r16798.
2007-11-28 14:57:15 +00:00
Gleb Natapov
14cffee726
Uninline mca_btl_openib_post_srr() function.
...
This commit was SVN r16797.
2007-11-28 14:52:31 +00:00
Pavel Shamis
1c314ef4c3
If XRC qp was specified in btl_openib_receive_queues we automatically should
...
choose xoob connection module.
This commit was SVN r16796.
2007-11-28 10:33:32 +00:00
Pavel Shamis
488a508732
Removing comments from help file.
...
This commit was SVN r16795.
2007-11-28 10:16:08 +00:00
Pavel Shamis
3e2e4f6d2a
Removing unused lid.
...
This commit was SVN r16794.
2007-11-28 10:06:57 +00:00
Pavel Shamis
aa79bdabc8
Removing port_touse - we don't really need it
...
This commit was SVN r16793.
2007-11-28 09:57:48 +00:00
Pavel Shamis
2ffbe8776a
Fixing compilation problems in openib
...
This commit was SVN r16792.
2007-11-28 09:38:49 +00:00
Gleb Natapov
218adb2a96
Account for eager rdma credit fragments when creating send queue. Create XRC
...
receive QP with zero receive and send queue length. We don't going to use this
QP for send and receives a posted to SRQs.
This commit was SVN r16791.
2007-11-28 07:22:01 +00:00
Gleb Natapov
601952a952
Don't shared endpoint->qps array, only pointer to actual QP. Calculate send
...
queue size for shared QP based on all endpoints that want to use it.
This commit was SVN r16790.
2007-11-28 07:21:07 +00:00
Gleb Natapov
b46c9cc7bc
Make xrc use srq_qp unions instead of the xrc_qp which is exactly like srq_qp.
...
This commit was SVN r16789.
2007-11-28 07:20:26 +00:00
Gleb Natapov
be0981fc07
Change a type of xrc_recv_qp to "struct ibv_qp".
...
This commit was SVN r16788.
2007-11-28 07:19:36 +00:00
Gleb Natapov
bd47da4699
Initial XRC support by Mellanox.
...
This commit was SVN r16787.
2007-11-28 07:18:59 +00:00
Gleb Natapov
b49788c499
Receive queue is not used in case of SRQ QP, so don't create one.
...
This commit was SVN r16786.
2007-11-28 07:17:22 +00:00
Gleb Natapov
923666b75c
Process pending put/get frags on endpoint connection establishment.
...
This commit was SVN r16785.
2007-11-28 07:16:52 +00:00
Gleb Natapov
e502402470
Fix endpoint destructor to not skip closed endpoints.
...
This commit was SVN r16784.
2007-11-28 07:15:54 +00:00
Gleb Natapov
5a4e953aaa
Allow share the same qp for different buffer sizes. Needed for XRC support.
...
This commit was SVN r16783.
2007-11-28 07:15:20 +00:00
Gleb Natapov
b123696d57
Fix async thread creation and destruction. Create async thread only when it is
...
needed instead of creating it and then canceling if it is not needed. Change
error handling during finalize so that it will not skip async thread
destruction. Otherwise async thread may segfault during openib module unloading.
This commit was SVN r16782.
2007-11-28 07:14:34 +00:00
Gleb Natapov
5463eb892c
Send all explicit credits for PP QPs of all orders over smallest PP qp.
...
This commit was SVN r16781.
2007-11-28 07:13:34 +00:00
Gleb Natapov
a9f864d15c
If there is an eager rdma credit, but there is no WQE to send a packet we add it
...
to a pending queue of eager rdma QP instead of correct pending list. This patch
fixes this by getting reed of "eager rdma qp" notion. Packet is always send
over its order QP. The patch also adds two pending queues for high and low prio
packets. Only high prio packets are sent over eager RDMA channel.
This commit was SVN r16780.
2007-11-28 07:12:44 +00:00
Gleb Natapov
6a2d210b7d
Use OMPI object system to make fragment hierarchy more object oriented. The
...
main idea (except of cleanup) is to save on initialisation of unneeded fields
and to use C type checking system to catch obvious errors.
This commit was SVN r16779.
2007-11-28 07:11:14 +00:00
Gleb Natapov
267cd2342a
Cleanup. Remove unused functions.
...
This commit was SVN r16778.
2007-11-28 07:08:56 +00:00
Gleb Natapov
3a63eb6c17
Cleanup macro definitions.
...
This commit was SVN r16554.
2007-10-23 13:33:19 +00:00
Gleb Natapov
d836f3dbbe
Remove unused macro.
...
This commit was SVN r16552.
2007-10-23 13:18:10 +00:00
Gleb Natapov
18ed60edeb
Revert previous commit. There was no memory leak, the pointer is saved inside
...
free list for future use. This patch moves BTL initialization into separate
function too.
This commit was SVN r16551.
2007-10-23 12:57:45 +00:00
Gleb Natapov
657e544e02
Fix memory leak. Define init_data on a stack instead of allocation it each time.
...
This commit was SVN r16550.
2007-10-23 11:10:52 +00:00
Gleb Natapov
9e2d5acf8e
Remove unused filed from openib fragment structure.
...
This commit was SVN r16549.
2007-10-23 07:38:29 +00:00
Jeff Squyres
94b1e9cff9
Update to use BTL_VERBOSE and BTL_ERROR instead of opal_output'ing to
...
the mca_btl_base_output stream directly (and relying on it to be -1 if
we didn't want any output).
This commit was SVN r16449.
2007-10-15 17:53:02 +00:00
Jeff Squyres
3500376d9e
Remove a warning about an unused label.
...
This commit was SVN r16429.
2007-10-11 16:38:37 +00:00
Jeff Squyres
f92154fc72
Gah -- ompi_info doesn't setup the connect pseudo component, so it'll
...
be NULL. Ensure to protect for this.
This commit was SVN r16333.
2007-10-04 18:03:56 +00:00
Jeff Squyres
13fa7ae93e
It's not necessary to link against all 3 libs (in fact, we shouldn't
...
do it -- let libtool pull them in via the .la file if it needs to)
This commit was SVN r16332.
2007-10-04 18:01:30 +00:00
Jeff Squyres
80ce974291
Fixes trac:1156: ensure to finalize the "connect" sub-component.
...
This commit was SVN r16330.
The following Trac tickets were found above:
Ticket 1156 --> https://svn.open-mpi.org/trac/ompi/ticket/1156
2007-10-04 17:36:12 +00:00
Gleb Natapov
60af46d541
We have QP description in component structure, module structure and endpoint.
...
Each one of them has a field to store QP type, but this is redundant.
Store qp type only in one structure (the component one).
This commit was SVN r16272.
2007-09-30 16:14:17 +00:00
Gleb Natapov
9c04b127f5
Forget to put this fix in previous commit.
...
This commit was SVN r16271.
2007-09-30 15:33:20 +00:00
Gleb Natapov
3a15d645be
Remove lcl_qp_attr from endpoint qp description. It is used during init only.
...
This commit was SVN r16270.
2007-09-30 15:29:35 +00:00
Gleb Natapov
c7105eadc7
Update Voltaire copyright.
...
This commit was SVN r16189.
2007-09-24 10:11:52 +00:00
Jeff Squyres
33955a0ed0
Oops -- when converted from uint to int, -1 (the default value,
...
meaning "infinite") is no longer larger than the minimum required
size. So put in an appropriate test to ensure that "infinite" was not
requested.
This commit was SVN r16142.
2007-09-17 19:28:21 +00:00
Jeff Squyres
130a272cec
Fix some compiler warnings about signed/unsigned comparisons.
...
This commit was SVN r16139.
2007-09-17 13:08:45 +00:00
Jeff Squyres
6004e177e0
Fixes trac:1133: if you specify a max freelist size that is too small,
...
you'll get a helpful error message and the openib BTL will deactivate
itself.
This commit was SVN r16133.
The following Trac tickets were found above:
Ticket 1133 --> https://svn.open-mpi.org/trac/ompi/ticket/1133
2007-09-14 21:42:56 +00:00
Brian Barrett
59b22533f2
Enable RDMA for heterogeneous situations. Currently done by overloading
...
the ompi_convertor_need_buffers function to only return 0 if the convertor
is homogeneous (which it never does on the trunk, but does to on v1.2, but
that's a different issue). Only enable the heterogeneous rdma code for
a btl if it supports it (via a flag), as some btls need some work for this
to work properly. Currently only TCP and OpenIB extensively tested
This commit was SVN r15990.
2007-08-28 21:23:44 +00:00
Gleb Natapov
33196d972b
post_send() function is called without endpoint lock held from explicit credits
...
update function so eager_rdma_remote.head have to be updated in a thread safe
manner.
This commit was SVN r15966.
2007-08-27 11:37:01 +00:00
Gleb Natapov
32a61c3bf2
Credit fragment is not protected properly from concurrent access. There is a
...
race that can prevent further explicit credits update from been sent. Fix the
race.
This commit was SVN r15965.
2007-08-27 11:34:59 +00:00
Gleb Natapov
becf4aa9c9
ompi_pointer_array_get_size doesn't return how much elements are actually in an
...
array, so count them by ourselves.
This commit was SVN r15943.
2007-08-22 09:31:12 +00:00
Gleb Natapov
d8f3063895
Create only one CQ for all BTLs on the same HCA. Many BTLs can be created for
...
one HCA. Multiple ports, LMC, multiple BTLs per one LID. Having only one CQ for
all of them substantially reduce polling time.
This commit was SVN r15933.
2007-08-20 12:28:25 +00:00
Brad Benton
1ddba9ec65
Lock the endpoint before doing endpoint_state processing. This ensures
...
that the subsequent unlock is valid.
This commit was SVN r15890.
2007-08-16 18:11:29 +00:00
Tim Prins
5a795128af
Change it so that different components in orte use unique rml tags
...
This commit was SVN r15881.
2007-08-16 14:02:35 +00:00
Jeff Squyres
d7c5fea096
* Fix problem caused by r15848: the test parser was looking for
...
semicolons but the new specitifcation string used colons. The text
parser now looks for colons.
* Changed all opal_output() error messages to
much-more-helpful/descriptive opal_show_help() messages.
* A few minor style/indenting fixes
This commit was SVN r15850.
The following SVN revision numbers were found above:
r15848 --> open-mpi/ompi@dd30597f39
2007-08-14 14:46:13 +00:00