<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, "EmojiFont", "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;" dir="ltr">
<p>Sean</p>
<p><br>
</p>
<p>I don't remember exactly what I did wrong, but I think when I created the scalable endpoint, I had the number of contexts requested 1 more than was supported - instead of getting an error when creating the endpoint (or binding the queues), I got an error
 when adding an address to the AV. When I switched the code to using the number of contexts equal to the number of threads I was actually using (not how many were supported) - the problem went away and I realized I had an error during creation (at least I think
 I remember that's what I did wrong). The error appearing at the AV insertion fooled me into looking in the wrong places for the problem. Anyway, it work now thanks.</p>
<p><br>
</p>
<p>JB<br>
</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" face="Calibri, sans-serif" color="#000000"><b>From:</b> Libfabric-users <libfabric-users-bounces@lists.openfabrics.org> on behalf of Hefty, Sean <sean.hefty@intel.com><br>
<b>Sent:</b> 27 September 2021 20:04<br>
<b>To:</b> Biddiscombe, John A.; libfabric-users@lists.openfabrics.org<br>
<b>Subject:</b> Re: [libfabric-users] Trouble with scalable endpoint</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">> I have been using one endpoint for Rx and another scalable one for Tx, so that each<br>
> thread uses one context on send, but receives are shared, it works very well.<br>
> <br>
> I decided to benchmark using a scalable endpoint for Rx as well and so created a single<br>
> scalable endpoint with N Tx contexts/CQs and N Rx contexts/CQs, bound an address vector<br>
> to it - but when I insert an address into the address vector I get an invalid argument<br>
> error.<br>
> <br>
> NB. I have set the AV to use the correct number of bits for Rx context count.<br>
> <br>
> I have no idea why it is unhappy. Are there any other differences I need to look out<br>
> for that might trigger an invalid argument error?<br>
<br>
No clue.  What provider is this?<br>
<br>
- Sean<br>
_______________________________________________<br>
Libfabric-users mailing list<br>
Libfabric-users@lists.openfabrics.org<br>
<a href="https://lists.openfabrics.org/mailman/listinfo/libfabric-users" id="LPlnk231450" previewremoved="true">https://lists.openfabrics.org/mailman/listinfo/libfabric-users</a><br>
</div>
</span></font></div>
</div>
</body>
</html>