Re: [PATCH 9 of 18] ipath - char devices for diagnostics and lightweight subnet management
- From: Roland Dreier <rdreier@xxxxxxxxx>
- Date: Thu, 23 Mar 2006 11:18:53 -0800
Bryan> We have customers who use our driver who do not want a full
Bryan> IB stack present, for example in embedded environments.
I think it's fine that your low-level driver can work without ib_core,
ib_mad and the rest loaded. 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:
+ list_for_each_entry(dd, &ipath_dev_list, ipath_list) {
+ if (!(dd->ipath_flags & IPATH_INITTED))
+ continue;
+ *dd->ipath_statusp &= ~IPATH_STATUS_SMA;
+ if (ipath_verbs_registered)
+ *dd->ipath_statusp |= IPATH_STATUS_OIB_SMA;
+ }
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. Why can't you get down to one NodeInfo query handler?
- R.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH 9 of 18] ipath - char devices for diagnostics and lightweight subnet management
- From: Bryan O'Sullivan
- Re: [PATCH 9 of 18] ipath - char devices for diagnostics and lightweight subnet management
- References:
- [PATCH 0 of 18] [RFC] ipath - almost-final round of patches for submission
- From: Bryan O'Sullivan
- [PATCH 9 of 18] ipath - char devices for diagnostics and lightweight subnet management
- From: Bryan O'Sullivan
- Re: [PATCH 9 of 18] ipath - char devices for diagnostics and lightweight subnet management
- From: Michael S. Tsirkin
- Re: [PATCH 9 of 18] ipath - char devices for diagnostics and lightweight subnet management
- From: Bryan O'Sullivan
- [PATCH 0 of 18] [RFC] ipath - almost-final round of patches for submission
- Prev by Date: Re: [PATCH 1/2] create struct compat_timex and use it everywhere
- Next by Date: Re: 2.6.16-rc5: known regressions [TP 600X S3, vanilla DSDT]
- Previous by thread: Re: [PATCH 9 of 18] ipath - char devices for diagnostics and lightweight subnet management
- Next by thread: Re: [PATCH 9 of 18] ipath - char devices for diagnostics and lightweight subnet management
- Index(es):
Relevant Pages
|