OSDN Git Service

IB/mlx4: Create slave AH's directly
authorJason Gunthorpe <jgg@mellanox.com>
Sun, 24 Jun 2018 13:57:50 +0000 (16:57 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 26 Jun 2018 20:37:26 +0000 (14:37 -0600)
commit5e62d5ff1b9a6573d0d6b411893b1c17ccc21ce7
tree4620564b01a73171f1473f068f288b0105e1875a
parentd9c44040ed05991bc43dddb7dbb043891b3bdb1f
IB/mlx4: Create slave AH's directly

Since slave GID's do not exist in the core gid table we can no longer use
the core code to help do this without creating inconsistencies. Directly
create the AH using mlx4 internal APIs.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Reviewed-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/infiniband/hw/mlx4/ah.c
drivers/infiniband/hw/mlx4/mad.c
drivers/infiniband/hw/mlx4/mlx4_ib.h