<div>Hi Dotan,</div>
<div> </div>
<div>This may be a very basic question. When u said "QPs can listen/send the packets on any port and write to the same MR", does it mean QPs can listen/send packets to any port on the same HCA or to also ports on different HCA ?
</div>
<div> </div>
<div>Regards,</div>
<div>John T</div>
<div><br><br> </div>
<div><span class="gmail_quote">On 9/18/06, <b class="gmail_sendername">Dotan Barak</b> <<a href="mailto:dotanb@dev.mellanox.co.il">dotanb@dev.mellanox.co.il</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi john.<br><br>john t wrote:<br>> Hi<br>><br>> I have two HCA cards each having one port. I want to use same memory
<br>> buffer to store packets arriving on the two ports. Can I do this,<br>> meaning can I use same pd (protection domain) and mr (memory<br>> registration) for the two QPs (one QP on each port), though the<br>> context ( 
i.e. ib device) for each QP is different?<br><br>if the context is different how can you create 2 QPs using the same PD?<br>The context is a driver abstraction and the HCA is not aware of it ...<br><br>anyway, if you have 2 QPs and 1 MR which are in the same PD, the QPs can
<br>listen/send the packets on any port and write to the same MR<br>(in different address of course, the order of the packet arrival in<br>those QPs is "random" ...)<br><br>Dotan<br></blockquote></div><br>