IB/mthca: Use correct GID in MADs sent on port 2
authorMichael S. Tsirkin <mst@mellanox.co.il>
Sat, 21 Jan 2006 22:02:59 +0000 (14:02 -0800)
committerRoland Dreier <rolandd@cisco.com>
Sat, 21 Jan 2006 22:02:59 +0000 (14:02 -0800)
commitf9e61929e5e1dacc2afefbde6abc3e6571ca2887
treee54745b6a461d8217afa2e4e063985c2fc344679
parentb36f170b617a7cd147b694dabf504e856a50ee9d
IB/mthca: Use correct GID in MADs sent on port 2

mthca_create_ah() includes the port number in the GID index. The reverse
needs to be done in mthca_read_ah().

Noted by Hal Rosenstock.

Signed-off-by: Michael S. Tsirkin <mst@mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/mthca/mthca_av.c