I need to know the number of iovec attached to the fragment.
This commit was SVN r8447.
Этот коммит содержится в:
родитель
e5158142b9
Коммит
1b667067d6
@ -38,7 +38,7 @@ extern "C" {
|
|||||||
#endif
|
#endif
|
||||||
OMPI_DECLSPEC OBJ_CLASS_DECLARATION(mca_btl_tcp_frag_t);
|
OMPI_DECLSPEC OBJ_CLASS_DECLARATION(mca_btl_tcp_frag_t);
|
||||||
|
|
||||||
|
#define MCA_BTL_TCP_FRAG_IOVEC_NUMBER 4
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TCP fragment derived type.
|
* TCP fragment derived type.
|
||||||
@ -49,7 +49,7 @@ struct mca_btl_tcp_frag_t {
|
|||||||
struct mca_btl_base_endpoint_t *endpoint;
|
struct mca_btl_base_endpoint_t *endpoint;
|
||||||
struct mca_btl_tcp_module_t* btl;
|
struct mca_btl_tcp_module_t* btl;
|
||||||
mca_btl_tcp_hdr_t hdr;
|
mca_btl_tcp_hdr_t hdr;
|
||||||
struct iovec iov[4];
|
struct iovec iov[MCA_BTL_TCP_FRAG_IOVEC_NUMBER];
|
||||||
struct iovec *iov_ptr;
|
struct iovec *iov_ptr;
|
||||||
size_t iov_cnt;
|
size_t iov_cnt;
|
||||||
size_t iov_idx;
|
size_t iov_idx;
|
||||||
|
@ -60,7 +60,7 @@ void mca_btl_tcp_proc_destruct(mca_btl_tcp_proc_t* proc)
|
|||||||
/* release resources */
|
/* release resources */
|
||||||
if(NULL != proc->proc_endpoints) {
|
if(NULL != proc->proc_endpoints) {
|
||||||
free(proc->proc_endpoints);
|
free(proc->proc_endpoints);
|
||||||
OBJ_DESTRUCT(&proc->proc_lock);
|
OBJ_DESTRUCT(&proc->proc_lock);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user