[Openib-windows] [PATCH] WPP support for IPoIB
Fabian Tillier
ftillier at silverstorm.com
Mon May 8 16:59:37 PDT 2006
Hi Yossi,
On 5/2/06, Yossi Leybovich <sleybo at mellanox.co.il> wrote:
> Fab
>
> This patch add WPP support to IPoIB
> To activate WPP all you need is to define ENABLE_EVENT_TRACING in the
> SOURCE file ( this flag is set in fre version )
> In chk version we are back to the regular debug prints.
I applied this with the following changes:
- made edited lines less than 80 characters
- use CL_TRACE macros in non-WPP case so that output is consistent
with previous stuff. The IPOIB macros check the level, and then call
the complib debug macros for the actual output. This means the
entry/exit marker is the square bracket [ and ], respectively, instead
of '===>' and '<===', so that it is consistent with the output from
the rest of the stack when it uses the CL macros. I did make a change
so that the module name (IPOIB) is displayed with each line of debug
output generated by the driver.
- renamed IPOIB_DBG_ALL to IPOIB_DBG_ERROR in the WPP levels, since it
was only ever used for error prints.
- changed all error prints (those that use TRACE_LEVEL_ERROR) to use
the IPOIB_DBG_ERROR flag only.
This is all committed in revision 335. Let me know if you see any issues.
Thanks,
- Fab
More information about the ofw
mailing list