[Openib-windows] [PATCH] fix init values for al debug

Fabian Tillier ftillier at silverstorm.com
Wed Jun 21 02:51:45 PDT 2006


Hi Yossi,

On 6/19/06, Yossi Leybovich <sleybo at mellanox.co.il> wrote:
>
>
> > -----Original Message-----
> > From: ftillier.sst at gmail.com [mailto:ftillier.sst at gmail.com]
> > On Behalf Of Fabian Tillier
> > Sent: Monday, June 19, 2006 11:23 AM
> > To: Yossi Leybovich
> > Cc: openib-windows at openib.org
> > Subject: Re: [Openib-windows] [PATCH] fix init values for al debug
> >
> > Hi Yossi,
> >
> > On 6/18/06, Yossi Leybovich <sleybo at mellanox.co.il> wrote:
> > > Fab
> > >
> > > This patch set the initial values of the debug level/flag
> > to the right
> > > values
> >
> > Is there code to set the most significant bit (CL_ERROR) in
> > IBAL?  If not, could you add that?  You should be able to
> > copy what was done in IPoIB.
> >
> It's the same as IPOIB (AL_DBG_ERROR = (CL_DBG_ERROR | AL_DBG_ERR)
> Both IBAL and IPoIB initial value of the flags is 0x00000fff
> Did you mean that the value should be 0x80000fff ? (for CL_PRINT to work
> in case of error prints)
> We need to do it both in the inf file and ipoib_driver.c ( and same in
> IBAL )

IPoIB, when it reads the flags, if the ERROR flag is set (lowest bit),
it will set the CL_ERROR bit too.  So there's no need to have it in
the flags in the registry or INF.  Something similar for IBAL would be
good.

- Fab




More information about the ofw mailing list