1
1
This commit was SVN r6083.
Этот коммит содержится в:
Tim Woodall 2005-06-17 20:13:24 +00:00
родитель 87a625bc0c
Коммит a2897e4de3

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

@ -372,6 +372,10 @@ int mca_bmi_sm_component_progress(void)
case MCA_BMI_SM_FRAG_ACK: case MCA_BMI_SM_FRAG_ACK:
{ {
/* completion callback */ /* completion callback */
frag->base.des_src = frag->base.des_dst;
frag->base.des_src_cnt = frag->base.des_dst_cnt;
frag->base.des_dst = NULL;
frag->base.des_dst_cnt = 0;
frag->base.des_cbfunc(&mca_bmi_sm[0].super, frag->endpoint, &frag->base, frag->rc); frag->base.des_cbfunc(&mca_bmi_sm[0].super, frag->endpoint, &frag->base, frag->rc);
break; break;
} }
@ -379,6 +383,10 @@ int mca_bmi_sm_component_progress(void)
{ {
/* recv upcall */ /* recv upcall */
mca_bmi_sm_registration_t* reg = mca_bmi_sm[0].sm_reg + frag->tag; mca_bmi_sm_registration_t* reg = mca_bmi_sm[0].sm_reg + frag->tag;
frag->base.des_dst = frag->base.des_src;
frag->base.des_dst_cnt = frag->base.des_src_cnt;
frag->base.des_src = NULL;
frag->base.des_src_cnt = 0;
reg->cbfunc(&mca_bmi_sm[0].super,frag->tag,&frag->base,reg->cbdata); reg->cbfunc(&mca_bmi_sm[0].super,frag->tag,&frag->base,reg->cbdata);
frag->type = MCA_BMI_SM_FRAG_ACK; frag->type = MCA_BMI_SM_FRAG_ACK;
MCA_BMI_SM_FIFO_WRITE(my_smp_rank,peer_smp_rank,frag,rc); MCA_BMI_SM_FIFO_WRITE(my_smp_rank,peer_smp_rank,frag,rc);