[ofa-general] perfquery looking at the wrong bits ([PATCH])

Hal Rosenstock hrosenstock at xsigo.com
Fri Oct 12 06:22:58 PDT 2007


On Fri, 2007-10-12 at 22:50 +1000, Max Matveev wrote:
> >>>>> "HR" == Hal Rosenstock writes:
> 
>  HR> Here's a patch to fix this for OFED 1.3:
> 
> While you're there, can you change pointer dereference with memcpy,
> e.g.:
> 
>            memcpy (&capmask, pc+2, sizeof(capmask));
>            capmask = ntohs(capmask);
> 
> 
> Those pointer dereferenes are royal pain on ia64 unless you can
> guarantee what pc is always aligned properly.

PATCHv2 shortly. Stay tuned.

-- Hal

> 
> max
> _______________________________________________
> general mailing list
> general at lists.openfabrics.org
> http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general



More information about the general mailing list