[openib-general] Fix for ibping

Viswanath Krishnamurthy viswa.krish at gmail.com
Wed Apr 12 18:07:04 PDT 2006


The mad_register_agent function in mad.c kernel file was checking for
rmpp_version.
This was failing and this failure was propagated to umad (thru ioctl)



On 12 Apr 2006 20:46:33 -0400, Hal Rosenstock <halr at voltaire.com> wrote:
>
> On Wed, 2006-04-12 at 18:25, Viswanath Krishnamurthy wrote:
> > The RMPP version needs to be 1.
>
> Thanks. I'm not sure what changed here to require this. I need to do
> some more digging.
>
> -- Hal
>
> > [root at subnetmgr5 src]# svn diff ibping.c
> > Index: ibping.c
> > ===================================================================
> > --- ibping.c    (revision 6446)
> > +++ ibping.c    (working copy)
> > @@ -336,7 +336,7 @@
> >                 exit(0);
> >         }
> >
> > -       if (mad_register_client(ping_class, 0) < 0)
> > +       if (mad_register_client(ping_class, 1) < 0)
> >                 IBERROR("can't register to ping class %d",
> > ping_class);
> >
> >         if (ib_resolve_portid_str(&portid, argv[0], dest_type, sm_id)
> > < 0)
> >
> >
> >
> > ______________________________________________________________________
> >
> > _______________________________________________
> > openib-general mailing list
> > openib-general at openib.org
> > http://openib.org/mailman/listinfo/openib-general
> >
> > To unsubscribe, please visit
> http://openib.org/mailman/listinfo/openib-general
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20060412/67e2a4cc/attachment.html>


More information about the general mailing list