]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDMA/erdma: Defer probing if netdevice can not be found
authorCheng Xu <chengyou@linux.alibaba.com>
Mon, 20 Mar 2023 08:46:52 +0000 (16:46 +0800)
committerLeon Romanovsky <leon@kernel.org>
Mon, 20 Mar 2023 10:53:24 +0000 (12:53 +0200)
commit6bd1bca858f1734a75572a788213d1e1143f2f0a
tree8e236247b975520f0018fbbeb128b089517ef644
parent0dd83a4d7756713f81990d6c5547500f212a1190
RDMA/erdma: Defer probing if netdevice can not be found

ERDMA device may be probed before its associated netdevice, returning
-EPROBE_DEFER allows OS try to probe erdma device later.

Fixes: d55e6fb4803c ("RDMA/erdma: Add the erdma module")
Signed-off-by: Cheng Xu <chengyou@linux.alibaba.com>
Link: https://lore.kernel.org/r/20230320084652.16807-5-chengyou@linux.alibaba.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/erdma/erdma_main.c