[openib-general] Reuse pd amd mr

john t johnt1johnt2 at gmail.com
Mon Sep 18 07:36:33 PDT 2006


Hi Dotan,

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 ?

Regards,
John T



On 9/18/06, Dotan Barak <dotanb at dev.mellanox.co.il> wrote:
>
> Hi john.
>
> john t wrote:
> > Hi
> >
> > I have two HCA cards each having one port. I want to use same memory
> > buffer to store packets arriving on the two ports. Can I do this,
> > meaning can I use same pd (protection domain) and mr (memory
> > registration) for the two QPs (one QP on each port), though the
> > context ( i.e. ib device) for each QP is different?
>
> if the context is different how can you create 2 QPs using the same PD?
> The context is a driver abstraction and the HCA is not aware of it ...
>
> anyway, if you have 2 QPs and 1 MR which are in the same PD, the QPs can
> listen/send the packets on any port and write to the same MR
> (in different address of course, the order of the packet arrival in
> those QPs is "random" ...)
>
> Dotan
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20060918/b107f346/attachment.html>


More information about the general mailing list