[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <adaac5x3966.fsf@cisco.com>
Date: Mon, 21 Aug 2006 17:29:05 -0700
From: Roland Dreier <rdreier@...co.com>
To: David Miller <davem@...emloft.net>
Cc: linas@...tin.ibm.com, arnd@...db.de, shemminger@...l.org,
akpm@...l.org, netdev@...r.kernel.org, jklewis@...ibm.com,
linux-kernel@...r.kernel.org, linuxppc-dev@...abs.org,
Jens.Osterkamp@...ibm.com, jgarzik@...ox.com
Subject: Re: [RFC] HOWTO use NAPI to reduce TX interrupts
David> Don't touch interrupts until both RX and TX queue work is
David> fullydepleted. You seem to have this notion that RX and TX
David> interrupts are seperate. They aren't, even if your device
David> can generate those events individually. Whatever interrupt
David> you get, you shut down all interrupt sources and schedule
David> the ->poll(). Then ->poll() does something like:
This is a digression from spidernet, but what if a device is able to
generate separate MSIs for TX and RX? Some people from IBM have
suggested that it is beneficial for throughput to handle TX work and
RX work for IP-over-InfiniBand in parallel on separate CPUs, and
handling everything through the ->poll() method would defeat this.
- R.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists