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

Roland Dreier rdreier at cisco.com
Tue Feb 28 09:26:23 PST 2006


    Michael> I'd like to point out that other protocols maintain stuff
    Michael> in /proc/net/tcp6 Assuming I want to use sysfs, where do
    Michael> I stick my directory?  /sys/class/net/sdp? 
    Michael> /sys/class/infiniband/sdp?

Hmm, I wasn't aware of /proc/net/tcp et al.  But it is clearly the
sort of legacy stuff (unfortunately used by netstat) that we don't
want to add more of.

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.

netlink (maybe using the netlink connector, depending on whether you
think it makes things better or worse) seems like the best solution to
me.  debugfs is also a possibility, but you may want the socket
information available without debugfs being mounted.

 - R.



More information about the general mailing list