1
1

fix spelling. threashold -> threshold.

This commit was SVN r9577.
Этот коммит содержится в:
Gleb Natapov 2006-04-08 08:13:37 +00:00
родитель f37a77dd08
Коммит 98282a3567
4 изменённых файлов: 8 добавлений и 8 удалений

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

@ -124,7 +124,7 @@ struct mca_btl_mvapi_component_t {
uint32_t ib_static_rate;
uint32_t ib_src_path_bits;
uint32_t use_eager_rdma;
uint32_t eager_rdma_threashold;
uint32_t eager_rdma_threshold;
uint32_t eager_rdma_num;
uint32_t max_eager_rdma;
}; typedef struct mca_btl_mvapi_component_t mca_btl_mvapi_component_t;

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

@ -202,8 +202,8 @@ int mca_btl_mvapi_component_open(void)
0, (int*) &mca_btl_mvapi_component.use_eager_rdma);
if (mca_btl_mvapi_component.use_srq)
mca_btl_mvapi_component.use_eager_rdma = 0;
mca_btl_mvapi_param_register_int("eager_rdma_threashold", "Open rdma channel for eager messages after this number of messages received from peer (zero to disable)",
100, (int*)&mca_btl_mvapi_component.eager_rdma_threashold);
mca_btl_mvapi_param_register_int("eager_rdma_threshold", "Open rdma channel for eager messages after this number of messages received from peer (zero to disable)",
100, (int*)&mca_btl_mvapi_component.eager_rdma_threshold);
mca_btl_mvapi_param_register_int("max_eager_rdma", "Maximum number of eager RDMA connections",
16, (int*)&mca_btl_mvapi_component.max_eager_rdma);
mca_btl_mvapi_param_register_int("eager_rdma_num", "Number of RDMA buffers for eager messages",
@ -643,7 +643,7 @@ int mca_btl_mvapi_handle_incoming_hp(
mvapi_btl->eager_rdma_buffers_count <
mca_btl_mvapi_component.max_eager_rdma &&
OPAL_THREAD_ADD32(&endpoint->eager_recv_count, 1) ==
mca_btl_mvapi_component.eager_rdma_threashold)
mca_btl_mvapi_component.eager_rdma_threshold)
mca_btl_mvapi_endpoint_connect_eager_rdma(endpoint);
/* repost receive descriptors */

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

@ -116,7 +116,7 @@ struct mca_btl_openib_component_t {
uint32_t ib_static_rate;
uint32_t ib_src_path_bits;
uint32_t use_eager_rdma;
uint32_t eager_rdma_threashold;
uint32_t eager_rdma_threshold;
uint32_t eager_rdma_num;
uint32_t max_eager_rdma;

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

@ -190,8 +190,8 @@ int mca_btl_openib_component_open(void)
0, (int*) &mca_btl_openib_component.use_eager_rdma);
if (mca_btl_openib_component.use_srq)
mca_btl_openib_component.use_eager_rdma = 0;
mca_btl_openib_param_register_int("eager_rdma_threashold", "Open rdma channel for eager messages after this number of messages received from peer",
100, (int*) &mca_btl_openib_component.eager_rdma_threashold);
mca_btl_openib_param_register_int("eager_rdma_threshold", "Open rdma channel for eager messages after this number of messages received from peer",
100, (int*) &mca_btl_openib_component.eager_rdma_threshold);
mca_btl_openib_param_register_int("max_eager_rdma", "Maximum number of eager RDMA connections",
16, (int*)&mca_btl_openib_component.max_eager_rdma);
mca_btl_openib_param_register_int("eager_rdma_num", "Number of RDMA buffers for eager messages",
@ -651,7 +651,7 @@ int mca_btl_openib_handle_incoming_hp(
openib_btl->eager_rdma_buffers_count <
mca_btl_openib_component.max_eager_rdma &&
OPAL_THREAD_ADD32(&endpoint->eager_recv_count, 1) ==
mca_btl_openib_component.eager_rdma_threashold)
mca_btl_openib_component.eager_rdma_threshold)
mca_btl_openib_endpoint_connect_eager_rdma(endpoint);
/* repost receive descriptors */