[ofa-general] Re: [PATCH] rdma_cm: Add proc entry to monitor rdma_cm connections

Roland Dreier rdreier at cisco.com
Tue Mar 31 13:29:21 PDT 2009


 > Well, squeezing things through the INET_DIAG netlink interface would
 > be nice, but several other modern things have not bothered - like sctp,
 > or even netlink itself, they use proc/net exclusively. (not that I
 > think that is ideal, but..)

Tell you what -- if you can get consensus from netdev about adding rdma
connection stats to /proc/net then I withdraw my objection.  But I
really thing everyone is going to agree that adding more proc files is
not a good idea.

 > Also keep in mind, patching things like lsof and netstat to use
 > proc/net files is alot simpler than trying to work netlink into those
 > programs for the first time..

OK but eg ifconfig already doesn't work for IPoIB -- and the answer is
"just use ip instead if you care".

 - R.



More information about the general mailing list