[PATCH 5.10 03/23] RDMA: Lift ibdev_to_node from rds to common code