Priorities really shouldn't be less than 0.
This commit was SVN r27098.
Этот коммит содержится в:
родитель
dacb07000d
Коммит
c8cee23ee7
@ -307,7 +307,7 @@ static int udcm_send_request (mca_btl_base_endpoint_t *lcl_ep,
|
||||
#define UDCM_GRH_SIZE (sizeof (struct ibv_grh))
|
||||
|
||||
/* Priority of this connection module */
|
||||
static int udcm_priority = -1;
|
||||
static int udcm_priority = 0;
|
||||
|
||||
/* Number of receive work requests to post */
|
||||
static int udcm_recv_count = UDCM_MIN_RECV_COUNT;
|
||||
@ -362,7 +362,7 @@ static void udcm_component_register(void)
|
||||
false, false, udcm_priority, &udcm_priority);
|
||||
if (udcm_priority > 100) {
|
||||
udcm_priority = 100;
|
||||
} else if (udcm_priority < -1) {
|
||||
} else if (udcm_priority < 0) {
|
||||
udcm_priority = 0;
|
||||
}
|
||||
|
||||
|
@ -215,7 +215,7 @@ static mca_oob_t *mca_oob_ud_component_init(int *priority)
|
||||
/* set the priority so that we will select this component
|
||||
* only if someone directs to do so
|
||||
*/
|
||||
*priority = -1;
|
||||
*priority = 0;
|
||||
|
||||
opal_hash_table_init (&mca_oob_ud_component.ud_peers, 1024);
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user