Quoting r. Roland Dreier <[EMAIL PROTECTED]>:
> I don't think sysfs is really the right place for it either, since the
> one-value-per-file rule is going to make things outrageously
> complicated.

Not complicated really, but it might be expensive. On the other hand,
a simple test shows I can create 64K directories in sysfs without trouble.

> netlink (maybe using the netlink connector, depending on whether you
> think it makes things better or worse) seems like the best solution to
> me.

But this means a library will be required to get at this info, right?

> debugfs is also a possibility, but you may want the socket
> information available without debugfs being mounted.

Yes, I will.

-- 
Michael S. Tsirkin
Staff Engineer, Mellanox Technologies
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to