1
1

Use the RDMA limit not the eager one when we schedule a receive (for the

PUT protocol).

This commit was SVN r10456.
Этот коммит содержится в:
George Bosilca 2006-06-21 15:51:56 +00:00
родитель f27591444a
Коммит 31365fa799

Просмотреть файл

@ -624,7 +624,7 @@ void mca_pml_ob1_recv_request_schedule(mca_pml_ob1_recv_request_t* recvreq)
* If more than one NIC is available - try to use both for anything
* larger than the eager limit
*/
if(num_btl_avail == 1 || bytes_remaining < bml_btl->btl_eager_limit) {
if(num_btl_avail == 1 || bytes_remaining < bml_btl->btl_max_rdma_size) {
size = bytes_remaining;
/* otherwise attempt to give the BTL a percentage of the message
@ -662,7 +662,7 @@ void mca_pml_ob1_recv_request_schedule(mca_pml_ob1_recv_request_t* recvreq)
* If more than one NIC is available - try to use both for anything
* larger than the eager limit
*/
if(num_btl_avail == 1 || bytes_remaining < bml_btl->btl_eager_limit) {
if(num_btl_avail == 1 || bytes_remaining < bml_btl->btl_max_rdma_size) {
size = bytes_remaining;
/* otherwise attempt to give the BTL a percentage of the message
@ -675,7 +675,7 @@ void mca_pml_ob1_recv_request_schedule(mca_pml_ob1_recv_request_t* recvreq)
}
/* makes sure that we don't exceed BTL max rdma size */
if (bml_btl->btl_max_rdma_size != 0 && size > bml_btl->btl_max_rdma_size) {
if( size > bml_btl->btl_max_rdma_size ) {
size = bml_btl->btl_max_rdma_size;
}
if(mca_pml_ob1.leave_pinned_pipeline) {