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

Moni Shoua monis at Voltaire.COM
Thu Apr 16 05:04:38 PDT 2009


Moni Shoua wrote:
> For each rdma_cm_id that is attached to a device print a set of fields
> that describe the connection that this id represents.
> 
> Below is an example of the output  of 'cat /proc/rdma_cm'
> This example is for a host with that runs a rping server and a rping client.
> 
> TP DEV     PO NDEV SRC                                                 DST                                                 PS   ST QPN
> 0  mthca0  0       0.0.0.0:7174                                                                                            262  8  0
> 1  mthca0  1  ib0  192.30.3.249:34478                                  192.30.3.248:7174                                   262  5  328710
> 1  mthca0  1  ib0  192.30.3.249:7174                                   192.30.3.248:47625                                  262  5  328711
> 
> Signed-off-by: Moni Shoua <monis at voltaire.com>
> 
After getting no response to my question from netdev (is using procfs would be accepted)
and after a little studying I'm convinced that the right place to put these files is debugfs, as Roland suggested.
I'll send a patch that does it soon.

thanks

 MoniS



More information about the general mailing list