[openib-general] Re: Re: RFC: SDP plans

Michael S. Tsirkin mst at mellanox.co.il
Tue Feb 28 10:12:10 PST 2006


Quoting r. Roland Dreier <rdreier at cisco.com>:
> 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



More information about the general mailing list