On 15:41 Fri 17 Apr     , Hefty, Sean wrote:
> >+void
> >+ibnd_debug(int i)
> >+{
> >+    if (i) {
> >+            ibdebug++;
> >+            madrpc_show_errors(1);
> >+            umad_debug(i);
> >+    } else {
> >+            ibdebug = 0;
> >+            madrpc_show_errors(0);
> >+            umad_debug(0);
> >+    }
> >+}
> 
> Where does the definition for ibdebug come from?

It is in ibdiag_common.c. Every infiniband-ibdiag tool is linked with
it. And yes, using this in this library can be problematic since
introduces a "hidden" dependency.

Sasha
_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to