1
1

The ib_inline_max should be updated only when SEND qp is created.

This commit was SVN r16973.
Этот коммит содержится в:
Pavel Shamis 2007-12-17 10:30:30 +00:00
родитель f79e344ea4
Коммит fcbca510d8

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

@ -265,8 +265,9 @@ static int xoob_qp_create(mca_btl_base_endpoint_t* endpoint, xoob_qp_type type)
BTL_ERROR(("error creating qp errno says %s", strerror(errno)));
return OMPI_ERROR;
}
if (SEND == type) {
openib_btl->ib_inline_max = qp_init_attr.cap.max_inline_data;
}
attr.qp_state = IBV_QPS_INIT;
attr.pkey_index = openib_btl->pkey_index;
attr.port_num = openib_btl->port_num;