Now transmits packets on our own allocated IPoIB queue pair. :)
authorMichael Brown <mcb30@etherboot.org>
Sun, 16 Sep 2007 21:53:57 +0000 (22:53 +0100)
committerMichael Brown <mcb30@etherboot.org>
Sun, 16 Sep 2007 21:53:57 +0000 (22:53 +0100)
src/drivers/net/mlx_ipoib/mt25218.c

index 32cb0f7..6cef592 100644 (file)
@@ -1311,9 +1311,9 @@ static int arbel_probe ( struct pci_device *pci,
        /* Initialise hardware */
        if ( ( rc = ib_driver_init ( pci, &qph ) ) != 0 )
                goto err_ipoib_init;
+       mlx->bcast_av = ib_data.bcast_av;
 #if ! CREATE_OWN
        mlx->ipoib_qph = qph;
-       mlx->bcast_av = ib_data.bcast_av;
        mlx->snd_cqh = ib_data.ipoib_snd_cq;
        mlx->rcv_cqh = ib_data.ipoib_rcv_cq;
        mac = ( ( struct ib_mac * ) netdev->ll_addr );