***SPAM*** Re: [ofa-general] ***SPAM*** Re: [PATCH] opensm/osm_helper.c: Add more info for traps 144 and 256-259 in osm_dump_notice
Hal Rosenstock
hal.rosenstock at gmail.com
Tue Apr 14 06:33:14 PDT 2009
Hi Sasha,
On Tue, Apr 14, 2009 at 5:47 AM, Sasha Khapyorsky <sashak at voltaire.com> wrote:
<snip...>
>> + case 257:
>> + case 258:
>> + sprintf(buff,
>> + "\t\t\t\tlid1.....................%u\n"
>> + "\t\t\t\tlid2.....................%u\n"
>> + "\t\t\t\tkey......................0x%x\n"
>> + "\t\t\t\tsl.......................%d\n"
>> + "\t\t\t\tqp1......................0x%x\n"
>> + "\t\t\t\tqp2......................0x%x\n"
>> + "\t\t\t\tgid1.....................0x%016" PRIx64 " : "
>> + "0x%016" PRIx64 "\n"
>> + "\t\t\t\tgid2.....................0x%016" PRIx64 " : "
>> + "0x%016" PRIx64 "\n",
>
> Isn't IPv6 address format preferable for GIDs printing?
Yes but it's consistent with other GID printing in this file so I
didn't want this to stand out as different.
-- Hal
> Sasha
More information about the general
mailing list