[openib-general] [ANNOUNCE] GSI Implementation Candidate
Dror Goldenberg
gdror at mellanox.co.il
Wed Aug 4 14:26:54 PDT 2004
> -----Original Message-----
> From: Roland Dreier [mailto:roland at topspin.com]
> Sent: Wednesday, August 04, 2004 7:23 AM
> To: Dror Goldenberg
> Cc: Grant Grundler; openib-general at openib.org
> Subject: Re: [openib-general] [ANNOUNCE] GSI Implementation Candidate
>
>
> Dror> It is not possible to turn off PD check on a MR in
> Dror> Tavor. You will have to create an MR for each PD that you
> Dror> need. One way to go is to map all kernel apps to the same
> Dror> PD, but you probably don't want to do such a thing.
>
> It's no big deal to create one more MR with translation off for each
> kernel PD (in fact mthca does it already for access to address
> vectors). So this is a perfectly reasonable solution, it just means
> our API can't perfectly match the verbs extensions.
If you want to follow the VE API, then here is an idea. The consumer gets
the reserved LKey value through query HCA. If you allocate an MR with
translation
off for each different PD you allocate, then you can provide the consumer
with this
MR. Obviously you need to do that only for kernel consumers only, and you
have a hidden
assumption that a consumer doesn't create more than one PD. If you can not
assume
that , then it won't work... Obviously, you'd need to create the PD (if it
hasn't
been created yet) when the CA is queried, which is also a bit ugly.
Bottom line, is that I am not so sure that it is so important to match the
exact verbs in this case.
-Dror
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20040805/37a57700/attachment.html>
More information about the general
mailing list