[openib-general] Re: mthca: gid index bug?

Roland Dreier rdreier at cisco.com
Mon Feb 6 09:51:26 PST 2006


 > 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?

Thanks,
  Roland



More information about the general mailing list