[openib-general] Re: [PATCH 9 of 18] ipath - char devices for diagnostics and lightweight subnet management
Bryan O'Sullivan
bos at pathscale.com
Thu Mar 23 15:58:52 PST 2006
On Thu, 2006-03-23 at 11:18 -0800, Roland Dreier wrote:
> But I still (after all this discussion)
> don't understand why you need to have two SMA implementations to
> handle this along with the code to switch between the two modes like:
I'm a bit confused by your question. We only have one SMA
implementation, which is in userspace. The stuff that's in our core
driver is purely for supporting it. That same code is also used during
diags, too, to let userspace send and receive low-level packets.
The code in ipath_mad.c simply handles requests for ib_mad, if the
in-kernel SMA is being used.
> You also have all the functions like recv_subn_get_nodeinfo() etc. for
> handling SM queries. Presumably all this is duplicated in the
> userspace SMA.
Only a very small subset of SMA functionality is present in the
userspace SMA.
<b
More information about the general
mailing list