From 98282a35675dcfb42e3fec6ced9bedb027407a69 Mon Sep 17 00:00:00 2001 From: Gleb Natapov Date: Sat, 8 Apr 2006 08:13:37 +0000 Subject: [PATCH] fix spelling. threashold -> threshold. This commit was SVN r9577. --- ompi/mca/btl/mvapi/btl_mvapi.h | 2 +- ompi/mca/btl/mvapi/btl_mvapi_component.c | 6 +++--- ompi/mca/btl/openib/btl_openib.h | 2 +- ompi/mca/btl/openib/btl_openib_component.c | 6 +++--- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/ompi/mca/btl/mvapi/btl_mvapi.h b/ompi/mca/btl/mvapi/btl_mvapi.h index a0e86587cc..6692c33fdc 100644 --- a/ompi/mca/btl/mvapi/btl_mvapi.h +++ b/ompi/mca/btl/mvapi/btl_mvapi.h @@ -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; diff --git a/ompi/mca/btl/mvapi/btl_mvapi_component.c b/ompi/mca/btl/mvapi/btl_mvapi_component.c index 1b55d1c914..8ba6b80cc1 100644 --- a/ompi/mca/btl/mvapi/btl_mvapi_component.c +++ b/ompi/mca/btl/mvapi/btl_mvapi_component.c @@ -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 */ diff --git a/ompi/mca/btl/openib/btl_openib.h b/ompi/mca/btl/openib/btl_openib.h index 6dac327c84..4d8bc61be1 100644 --- a/ompi/mca/btl/openib/btl_openib.h +++ b/ompi/mca/btl/openib/btl_openib.h @@ -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; diff --git a/ompi/mca/btl/openib/btl_openib_component.c b/ompi/mca/btl/openib/btl_openib_component.c index a372b33dbb..a6b51e23b6 100644 --- a/ompi/mca/btl/openib/btl_openib_component.c +++ b/ompi/mca/btl/openib/btl_openib_component.c @@ -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 */