RDMA: Add and use rdma_for_each_port