On Tue, Jan 18, 2022 at 09:03:47PM +0800, Cheng Xu wrote: > Before calling ib_register_device(), the driver must call > ib_device_set_netdev(), otherwise ib_register_device() will failed > due to NULL netdev in ib_device structure, the call stack is: You'll need to fix some core stuff to allow an ib_device to defer attaching the netdev, nothing does that today. Jason