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

Max Matveev makc at sgi.com
Fri Oct 12 05:50:01 PDT 2007


>>>>> "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.

max



More information about the general mailing list