IB/mlx4: Load balance ports in port aggregation mode
[linux-2.6-block.git] / drivers / infiniband / hw / mlx4 / main.c
index ca522382dedc5b3c34898f193542a620e046a6f7..2ed5b996b2f43611584c1d7328bd8b839a0e8f9b 100644 (file)
@@ -2153,6 +2153,7 @@ static void *mlx4_ib_add(struct mlx4_dev *dev)
        MLX4_INIT_DOORBELL_LOCK(&ibdev->uar_lock);
 
        ibdev->dev = dev;
+       ibdev->bond_next_port   = 0;
 
        strlcpy(ibdev->ib_dev.name, "mlx4_%d", IB_DEVICE_NAME_MAX);
        ibdev->ib_dev.owner             = THIS_MODULE;