Re: [PATCH v2 09/13] can: pruss CAN driver.

From: Subhasish Ghosh
Date: Fri Feb 18 2011 - 03:15:03 EST


On 02/18/2011 08:07 AM, Subhasish Ghosh wrote:
--------------------------------------------------
From: "Kurt Van Dijck" <kurt.van.dijck@xxxxxx>

...
+ /* register interrupt handler */
+ err = request_irq(priv->trx_irq, &omapl_rx_can_intr, IRQF_SHARED,
+ "pru_can_irq", ndev);
you're doing a lot of work _in_ the irq handler. Maybe threaded irq?

SG -Ok, will do

No, please use NAPI instead.

We are using h/w filters, so the number of interrupts coming into the processor are not hogging it.
I feel that we may not require an interrupt mitigation.

-Subhasish

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/