[ofa-general] Re: [PATCH v2 RESEND] rdma_cm: Add debugfs entries to monitor rdma_cm connections

Thierry chocapiiic.tiery at gmail.com
Wed Jun 24 09:03:58 PDT 2009


Hi,

I have already worked on monitoring rdma connection from kernel (and
also user) part. I used netlink to send data to userland and I made a
simple program to get theses information and print it. As it is a very
simple implementation (I am still a student and I just started to work
in kernelland few months ago), it should not be a very strong code but
it can give ideas, if never you need...

Kind regards,

Thierry



On Wed, Jun 24, 2009 at 5:55 PM, Moni Shoua<monis at voltaire.com> wrote:
> Roland Dreier wrote:
>>  > This patch was sent on Apr, 23 2009. Nothing was changed except for fixing offsets and verifying it under 2.6.30
>>
>> Jason had some concerns about this as I recall -- did you every reach consensus?
>> _______________________________________________
>> general mailing list
>> general at lists.openfabrics.org
>> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
>>
>> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
>>
>
> I believe that Jason and I still disagree but...
>
> Jason suggests that I implement this feature with netlink. This approach might have an advantage but if I understand it right this approach requires a patch also to some user application in order to take advantage of this patch.
>
> Also, I think that there is a value for a virtual text file under debugfs to monitor rdma_cm connections easily and without any other special app besides 'cat' (just like in IPoIB).
>
> Finally, this implementation doesn't contradict  netlink implementation in the future (and it won't be the first time).
>
> BTW, this feature was suggested several times (first under procfs and later under debugfs) and Jason is the only one that objected to the concept, other agreed that the place should be a file system and only had comments to the implementation itself and to these comments I already answered.
>
>
>
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
>
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
>



More information about the general mailing list