Quoting r. Roland Dreier <[EMAIL PROTECTED]>:
> Subject: Re: mthca: gid index bug?
> 
>  > Roland, in mthca_qp.c we have
>  > 
>  >                 path->mgid_index = ah->grh.sgid_index;
>  > 
>  > Shouldnt the port number be taken into account, like it
>  > is with mthca_av, where we have
>  > av->gid_index = (ah_attr->port_num - 1) * dev->limits.gid_table_len +
> 
> I really don't know.  The PRM just says "index to port GID table".
> Can you check it out at Mellanox and (even better) generate a patch if
> it's wrong?

The existing code is correct. We'll try to clarify this in the next PRM.
Thanks,

-- 
Michael S. Tsirkin
Staff Engineer, Mellanox Technologies
_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to