[ofa-general] Re: problems using smpdump

Sasha Khapyorsky sashak at voltaire.com
Wed Jan 28 14:08:59 PST 2009


On 23:48 Wed 28 Jan     , Or Gerlitz wrote:
> 
> I don't have the spec in front of me, but looking on the LRH structure
> in include/rdma/ib_pack.h the SL field spans eight bit, so I think
> there may be another bug somewhere in the umad code which lets the
> consumer set a value larger then 0xff.

umad_set_addr() gets sl as 'int' (historically :( ) - the value if
truncated later.

Sasha



More information about the general mailing list