IB/mlx4: Take source mac from AH instead from the port
authorMoni Shoua <monis@mellanox.com>
Thu, 14 Jan 2016 15:47:38 +0000 (17:47 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 19 Jan 2016 20:24:53 +0000 (15:24 -0500)
commit1049f138166ad6ca2e1c8edd2317a71f5b21b9fe
tree84264b56d98327257344a85868bc93b142ec08ff
parent4e4081673445485aa6bc90383bdb83e7a96cc48a
IB/mlx4: Take source mac from AH instead from the port

In commit dbf727de7440 ("IB/core: Use GID table in AH creation and dmac
resolution") we copy source mac to mlx4_ah from the attributes of
gid at ib_ah_attr.grh.sgid_index. Now we can use it.

Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx4/qp.c