Cleanup. Remove unused functions.
This commit was SVN r16778.
Этот коммит содержится в:
родитель
71715b05ec
Коммит
267cd2342a
@ -957,10 +957,6 @@ int mca_btl_openib_put( mca_btl_base_module_t* btl,
|
||||
ib_rc = ibv_post_send(endpoint->qps[qp].lcl_qp, &frag->wr_desc.sr_desc, &bad_wr);
|
||||
if(ib_rc)
|
||||
rc = OMPI_ERROR;
|
||||
|
||||
/* mca_btl_openib_post_srr_all(openib_btl, 1); */
|
||||
/* mca_btl_openib_endpoint_post_rr_all(endpoint, 1); */
|
||||
|
||||
}
|
||||
return rc;
|
||||
}
|
||||
@ -1029,10 +1025,6 @@ int mca_btl_openib_get( mca_btl_base_module_t* btl,
|
||||
} else {
|
||||
rc = ORTE_SUCCESS;
|
||||
}
|
||||
#if 0
|
||||
mca_btl_openib_post_srr_all(openib_btl, 1);
|
||||
mca_btl_openib_endpoint_post_rr_all(endpoint, 1);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
@ -503,16 +503,6 @@ extern mca_btl_base_descriptor_t* mca_btl_openib_prepare_dst(
|
||||
uint8_t order,
|
||||
size_t reserve,
|
||||
size_t* size);
|
||||
/**
|
||||
* Return a send fragment to the modules free list.
|
||||
*
|
||||
* @param btl (IN) BTL module
|
||||
* @param frag (IN) IB send fragment
|
||||
*
|
||||
*/
|
||||
extern void mca_btl_openib_send_frag_return(mca_btl_base_module_t* btl,
|
||||
mca_btl_openib_frag_t* frag);
|
||||
|
||||
|
||||
/**
|
||||
* Fault Tolerance Event Notification Function
|
||||
@ -577,19 +567,6 @@ static inline int mca_btl_openib_post_srr(mca_btl_openib_module_t* openib_btl,
|
||||
return OMPI_SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
static inline int mca_btl_openib_post_srr_all(mca_btl_openib_module_t *openib_btl,
|
||||
const int additional)
|
||||
{
|
||||
int qp;
|
||||
for(qp = 0; qp < mca_btl_openib_component.num_srq_qps; qp++){
|
||||
if(BTL_OPENIB_QP_TYPE_SRQ(qp)) {
|
||||
mca_btl_openib_post_srr(openib_btl, additional, qp);
|
||||
}
|
||||
}
|
||||
return OMPI_SUCCESS;
|
||||
}
|
||||
|
||||
#define BTL_OPENIB_EAGER_RDMA_QP(QP) \
|
||||
((QP) == mca_btl_openib_component.eager_rdma_qp)
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user