- fixed ack header size
- increase fragment size for a single ptl This commit was SVN r1025.
Этот коммит содержится в:
родитель
4702a7002d
Коммит
c312d5cff4
@ -394,6 +394,8 @@ mca_ptl_t** mca_ptl_tcp_module_init(int *num_ptls,
|
||||
/* create a PTL TCP module for selected interfaces */
|
||||
if(mca_ptl_tcp_module_create_instances() != LAM_SUCCESS)
|
||||
return 0;
|
||||
if(mca_ptl_tcp_module.tcp_num_ptls == 1)
|
||||
mca_ptl_tcp_module.tcp_ptls[0]->super.ptl_max_frag_size = 1024 * 1024;
|
||||
|
||||
/* create a TCP listen socket for incoming connection attempts */
|
||||
if(mca_ptl_tcp_module_create_listen() != LAM_SUCCESS)
|
||||
|
@ -111,7 +111,6 @@ int mca_ptl_tcp_peer_send(mca_ptl_base_peer_t* ptl_peer, mca_ptl_tcp_send_frag_t
|
||||
if(mca_ptl_tcp_send_frag_handler(frag, ptl_peer->peer_sd)) {
|
||||
mca_ptl_tcp_send_frag_progress(frag);
|
||||
} else {
|
||||
lam_output(0, "send incomplete\n");
|
||||
ptl_peer->peer_send_frag = frag;
|
||||
lam_event_add(&ptl_peer->peer_send_event, 0);
|
||||
}
|
||||
|
@ -91,7 +91,7 @@ static inline void mca_ptl_tcp_send_frag_init_ack(
|
||||
ack->super.super.frag_size = 0;
|
||||
ack->frag_vec_ptr = ack->frag_vec;
|
||||
ack->frag_vec[0].iov_base = (lam_iov_base_ptr_t)hdr;
|
||||
ack->frag_vec[0].iov_len = sizeof(mca_ptl_base_ack_header_t);
|
||||
ack->frag_vec[0].iov_len = sizeof(mca_ptl_base_header_t);
|
||||
ack->frag_vec_cnt = 1;
|
||||
}
|
||||
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user