<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Sean,</p>
<p><br>
</p>
<p>Thanks for that suggestion. I have put in an extra poll which seems to be working, but I may have to revist the problem and do as you suggest with the FI_TRANSMIT_COMPLETE flag before end of test..<br>
</p>
<p><br>
</p>
<p>JB<br>
</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Hefty, Sean <sean.hefty@intel.com><br>
<b>Sent:</b> 08 April 2020 20:37:16<br>
<b>To:</b> Biddiscombe, John A.; libfabric-users@lists.openfabrics.org<br>
<b>Subject:</b> RE: Progress question</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">> Is there a right way to handle this (I guess I need a flush operation of some kind, but<br>
> I'm not sure where to put it).<br>
<br>
For fabtests, we handle this sort of situation by adding a 'finalize' step at the end of all tests.  Fabtests is easier, since most are client-server based.  But the finalize step sends a message to the peer using FI_TRANSMIT_COMPLETE and waiting for the send
 completion.  Prior to adding a finalize step, we would see a similar issue where sends would never be received.  This shows up fairly easily when using socket based providers, with the sends being buffered in the kernel.<br>
<br>
- Sean<br>
</div>
</span></font>
</body>
</html>