Re: [PATCH][3/26] IB/mthca: improve CQ locking part 1
From: Jeff Garzik (jgarzik_at_pobox.com)
Date: 03/04/05
- Previous message: Pierre Ossman: "Re: intel 8x0 went silent in 2.6.11"
- In reply to: Roland Dreier: "[PATCH][3/26] IB/mthca: improve CQ locking part 1"
- Next in thread: Greg KH: "Re: [PATCH][3/26] IB/mthca: improve CQ locking part 1"
- Reply: Greg KH: "Re: [PATCH][3/26] IB/mthca: improve CQ locking part 1"
- Reply: Roland Dreier: "Re: [PATCH][3/26] IB/mthca: improve CQ locking part 1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 03 Mar 2005 19:35:00 -0500 To: Roland Dreier <roland@topspin.com>
Roland Dreier wrote:
> @@ -783,6 +777,11 @@
> cq->cqn & (dev->limits.num_cqs - 1));
> spin_unlock_irq(&dev->cq_table.lock);
>
> + if (dev->mthca_flags & MTHCA_FLAG_MSI_X)
> + synchronize_irq(dev->eq_table.eq[MTHCA_EQ_COMP].msi_x_vector);
> + else
> + synchronize_irq(dev->pdev->irq);
> +
Tangent: I think we need a pci_irq_sync() rather than putting the above
code into each driver.
Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- Previous message: Pierre Ossman: "Re: intel 8x0 went silent in 2.6.11"
- In reply to: Roland Dreier: "[PATCH][3/26] IB/mthca: improve CQ locking part 1"
- Next in thread: Greg KH: "Re: [PATCH][3/26] IB/mthca: improve CQ locking part 1"
- Reply: Greg KH: "Re: [PATCH][3/26] IB/mthca: improve CQ locking part 1"
- Reply: Roland Dreier: "Re: [PATCH][3/26] IB/mthca: improve CQ locking part 1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|