RDMA/rxe: Move rxe_init_av() to rxe_av.c
authorKamal Heib <kamalheib1@gmail.com>
Tue, 29 Jan 2019 10:08:49 +0000 (12:08 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 4 Feb 2019 22:57:49 +0000 (15:57 -0700)
commitfa40718804a1c164b62c95ca626f26308be44257
treeefc38591c95a5a4be5cbe5edb7a6b36a977f59e0
parentc3c668e742397dfc107e44c09606cc68b37df30d
RDMA/rxe: Move rxe_init_av() to rxe_av.c

Move the function rxe_init_av() to rxe_av.c file and use it instead of
calling rxe_av_from_attr() and rxe_av_fill_ip_info(), also remove the
unused rxe_dev parameter from rxe_init_av().

Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/sw/rxe/rxe_av.c
drivers/infiniband/sw/rxe/rxe_loc.h
drivers/infiniband/sw/rxe/rxe_qp.c
drivers/infiniband/sw/rxe/rxe_verbs.c