From 589d53e828fc50587bc7193a7ebe7fb1b5174a22 Mon Sep 17 00:00:00 2001 From: Galen Shipman Date: Wed, 17 Aug 2005 22:52:56 +0000 Subject: [PATCH] only poll high priority qp 1 per progress. This commit was SVN r6918. --- ompi/mca/btl/mvapi/btl_mvapi_component.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/ompi/mca/btl/mvapi/btl_mvapi_component.c b/ompi/mca/btl/mvapi/btl_mvapi_component.c index 1a5a7f22c6..4e2850ddf1 100644 --- a/ompi/mca/btl/mvapi/btl_mvapi_component.c +++ b/ompi/mca/btl/mvapi/btl_mvapi_component.c @@ -558,7 +558,6 @@ int mca_btl_mvapi_component_progress() * we will check the high priority and process them until there are none left. * note that low priority messages are only processed one per progress call. */ - do{ ret = VAPI_poll_cq(mvapi_btl->nic, mvapi_btl->cq_hndl_high, &comp); if(VAPI_OK == ret) { if(comp.status != VAPI_SUCCESS) { @@ -615,9 +614,7 @@ int mca_btl_mvapi_component_progress() break; } } - } - while(VAPI_OK == ret); - + ret = VAPI_poll_cq(mvapi_btl->nic, mvapi_btl->cq_hndl_low, &comp); if(VAPI_OK == ret) { if(comp.status != VAPI_SUCCESS) {