* [PATCH v1] rdma_rxe: Ensure rdma_rxe init occurs at correct time
@ 2016-09-23 15:32 Stephen Bates
[not found] ` <1474644731-27818-1-git-send-email-sbates-pv7U853sEMVWk0Htik3J/w@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Stephen Bates @ 2016-09-23 15:32 UTC (permalink / raw)
To: linux-rdma-u79uwXL29TY76Z2rM5mHXA, monis-VPRAkNaXOzVWk0Htik3J/w,
dledford-H+wXaHxf7aLQT0dZR+AlfA, yonatanc-VPRAkNaXOzVWk0Htik3J/w
This patch is based off v4.8-rc6 with the recent rxe bugfix patchset
applied [1].
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 [2].
[1] http://marc.info/?l=linux-rdma&m=147307739626544&w=2
[2] https://github.com/sbates130272/qemu-minimal/blob/rdma/patches/\
0001-Changes-needed-to-use-rxe-compiled-into-the-kernel.patch
Changes since v0:
Improved the commit message
Added a Reviewed-by tag from Yonatan
Signed-off-by: Stephen Bates <sbates-pv7U853sEMVWk0Htik3J/w@public.gmane.org>
Reviewed-by: Yonatan Cohen <yonatanc-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
drivers/infiniband/sw/rxe/rxe.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/infiniband/sw/rxe/rxe.c b/drivers/infiniband/sw/rxe/rxe.c
index 08e09d9..97bc74a 100644
--- a/drivers/infiniband/sw/rxe/rxe.c
+++ b/drivers/infiniband/sw/rxe/rxe.c
@@ -392,5 +392,5 @@ static void __exit rxe_module_exit(void)
pr_info("rxe: unloaded\n");
}
-module_init(rxe_module_init);
+late_initcall(rxe_module_init);
module_exit(rxe_module_exit);
--
2.1.4
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH v1] rdma_rxe: Ensure rdma_rxe init occurs at correct time
[not found] ` <1474644731-27818-1-git-send-email-sbates-pv7U853sEMVWk0Htik3J/w@public.gmane.org>
@ 2016-10-01 23:03 ` Doug Ledford
0 siblings, 0 replies; 2+ messages in thread
From: Doug Ledford @ 2016-10-01 23:03 UTC (permalink / raw)
To: Stephen Bates, linux-rdma-u79uwXL29TY76Z2rM5mHXA,
monis-VPRAkNaXOzVWk0Htik3J/w, yonatanc-VPRAkNaXOzVWk0Htik3J/w
[-- Attachment #1.1: Type: text/plain, Size: 806 bytes --]
On 9/23/2016 11:32 AM, Stephen Bates wrote:
> This patch is based off v4.8-rc6 with the recent rxe bugfix patchset
> applied [1].
>
> 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 [2].
>
> [1] http://marc.info/?l=linux-rdma&m=147307739626544&w=2
>
> [2] https://github.com/sbates130272/qemu-minimal/blob/rdma/patches/\
> 0001-Changes-needed-to-use-rxe-compiled-into-the-kernel.patch
Thanks, applied.
--
Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
GPG Key ID: 0E572FDD
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 884 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-10-01 23:03 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-23 15:32 [PATCH v1] rdma_rxe: Ensure rdma_rxe init occurs at correct time Stephen Bates
[not found] ` <1474644731-27818-1-git-send-email-sbates-pv7U853sEMVWk0Htik3J/w@public.gmane.org>
2016-10-01 23:03 ` Doug Ledford
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox