]> git.baikalelectronics.ru Git - kernel.git/commit
rdma_rxe: Ensure rdma_rxe init occurs at correct time
authorStephen Bates <sbates@raithlin.com>
Fri, 23 Sep 2016 15:32:11 +0000 (09:32 -0600)
committerDoug Ledford <dledford@redhat.com>
Thu, 6 Oct 2016 17:50:04 +0000 (13:50 -0400)
commitda0f4d23150582d5fc3f952ebc6c9cd5d1408f4a
treeb51a0beea2637cd12f83d7f67f9f9990a5a8db90
parentda283e649a0f2b4f19f048e36f86b239ee57e884
rdma_rxe: Ensure rdma_rxe init occurs at correct time

There is a problem when CONFIG_RDMA_RXE=y and CONFIG_IPV6=y. This
results in the rdma_rxe initialization occurring before the IPv6
services are ready. This patch delays the initialization of rdma_rxe
until after the IPv6 services are ready. This fix is based on one
proposed by Logan Gunthorpe on a much older code base.

Signed-off-by: Stephen Bates <sbates@raithlin.com>
Reviewed-by: Yonatan Cohen <yonatanc@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/sw/rxe/rxe.c