1
1

remove GNI_RDMAMODE_FENCE bit in GNI_PostRdma

The GNI_RDMAMODE_FENCE bit was a left over from
async progress work that is not needed at this point
in the gni BTL.  Removing the bit also allows
for the removal of the GNI_CDM_MODE_BTE_SINGLE_CHANNEL
bit from the GNI_CdmCreate call.
Этот коммит содержится в:
Howard Pritchard 2014-10-09 12:39:02 -06:00
родитель ce8e33447f
Коммит ebc368d26b
2 изменённых файлов: 5 добавлений и 2 удалений

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

@ -36,7 +36,10 @@ static inline void init_gni_post_desc (mca_btl_ugni_base_frag_t *frag,
frag->post_desc.base.remote_addr = (uint64_t) rem_addr;
frag->post_desc.base.remote_mem_hndl = rem_mdh;
frag->post_desc.base.length = bufsize;
#if 0
frag->post_desc.base.rdma_mode = GNI_RDMAMODE_FENCE;
#endif
frag->post_desc.base.rdma_mode = 0;
frag->post_desc.base.src_cq_hndl = cq_hndl;
frag->post_desc.tries = 0;
}

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

@ -269,9 +269,9 @@ int opal_common_ugni_init (void)
mca_btl_ugni_component.rdma_max_retries;
/* Create a communication domain */
/* TODO - bte single should be removed when the IRQ problem is figured out */
modes = GNI_CDM_MODE_FORK_FULLCOPY | GNI_CDM_MODE_CACHED_AMO_ENABLED |
GNI_CDM_MODE_ERR_NO_KILL | GNI_CDM_MODE_FAST_DATAGRAM_POLL | GNI_CDM_MODE_BTE_SINGLE_CHANNEL;
GNI_CDM_MODE_ERR_NO_KILL | GNI_CDM_MODE_FAST_DATAGRAM_POLL;
/* collect uGNI information */
rc = get_ptag(&opal_common_ugni_module.ptag);