[openib-general] Proposed device enumeration & async event APIs
Fab Tillier
ftillier at infiniconsys.com
Sat Sep 11 10:27:14 PDT 2004
> From: Roland Dreier [mailto:roland at topspin.com]
> Sent: Friday, September 10, 2004 7:25 PM
>
> Fab> Great! I didn't see a way for a client to associate a
> Fab> context or some such thing with a device when the device is
> Fab> added. I would think this would be beneficial in order to
> Fab> avoid requiring clients to search a list for a matching
> Fab> device. I'm suggesting something like this:
>
> Hmm... it's an interesting idea but as far as I can see it just hides
> the linear search in the access layer. It feels to me like it ends up
> making the code more complicated for a pretty nominal gain.
>
Like Sean said, if the common case is going to be a single device, then the
gain is likely not worth the complication in the code. I don't feel really
strongly about it, it was just a thought based on how the device related
notifications worked in IBAL, which I found to be useful. No biggie either
way, and it should be simple enough to change down the road if we see a
need.
- Fab
More information about the general
mailing list