***SPAM*** Re: [ofa-general] [PATCH v3 1/3] Create a new library libibnetdisc

Sasha Khapyorsky sashak at voltaire.com
Thu Apr 23 00:02:10 PDT 2009


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



More information about the general mailing list