Merge branches 'pm-cpuidle', 'pm-core' and 'pm-sleep'
[linux-block.git] / drivers / infiniband / ulp / ipoib / ipoib_main.c
index ac25fc80fb337277d0fee73898b1555424476cc3..f10d4bcf87d27082b8789e14da4404c33c442b20 100644 (file)
@@ -2200,6 +2200,14 @@ int ipoib_intf_init(struct ib_device *hca, u32 port, const char *name,
                rn->attach_mcast = ipoib_mcast_attach;
                rn->detach_mcast = ipoib_mcast_detach;
                rn->hca = hca;
+
+               rc = netif_set_real_num_tx_queues(dev, 1);
+               if (rc)
+                       goto out;
+
+               rc = netif_set_real_num_rx_queues(dev, 1);
+               if (rc)
+                       goto out;
        }
 
        priv->rn_ops = dev->netdev_ops;