1
1

-- Remove a bug on completion Queue support to get.

This commit was SVN r2551.
Этот коммит содержится в:
Weikuan Yu 2004-09-08 21:36:02 +00:00
родитель 8bdce3b145
Коммит 24684bd66a
2 изменённых файлов: 7 добавлений и 8 удалений

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

@ -632,15 +632,12 @@ mca_ptl_elan_init_get_desc (mca_ptl_elan_module_t *ptl,
*size);
#if OMPI_PTL_ELAN_COMP_QUEUE
/* XXX: Chain a QDMA to each queue and
* Have all the srcEvent fired to the Queue
*
* XXX: The chain dma will go directly into a command stream
/* XXX: The chain dma will go directly into a command stream
* so we need addend the command queue control bits.
* Allocate space from command queues hanged off the CTX.
*/
frag->frag_base.frag_header = *hdr;
((mca_ptl_elan_ack_header_t *) &frag->frag_base.frag_header)->frag = frag;
desc->comp_event->ev_Params[1] = elan4_alloccq_space (ctx, 8, CQ_Size8K);
desc->comp_event->ev_CountAndType = E4_EVENT_INIT_VALUE(-32,
E4_EVENT_COPY, E4_EVENT_DTYPE_LONG, 8);
@ -1194,7 +1191,9 @@ ptl_elan_send_comp:
return OMPI_SUCCESS;
}
#endif
if (header->hdr_common.hdr_type == MCA_PTL_HDR_TYPE_ACK) {
/* FIXME: Support Completion Queue with Get */
if (header->hdr_common.hdr_type == MCA_PTL_HDR_TYPE_ACK
|| header->hdr_common.hdr_type == MCA_PTL_HDR_TYPE_FIN_ACK) {
frag = ((mca_ptl_elan_ack_header_t*)header)->frag;
} else {
frag = (mca_ptl_elan_send_frag_t *)

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

@ -102,7 +102,7 @@ do { \
#define OMPI_PTL_ELAN_NUM_PUTGET (8)
#define OMPI_PTL_ELAN_ZERO_FFRAG (0)
#define OMPI_PTL_ELAN_ENABLE_GET (1)
#define OMPI_PTL_ELAN_ENABLE_GET (0)
#define OMPI_PTL_ELAN_COMP_QUEUE (0)
#define OMPI_PTL_ELAN_THREADING \
(OMPI_PTL_ELAN_COMP_QUEUE && OMPI_HAVE_POSIX_THREADS)