]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
netxen: napi and irq cleanup
authorDhananjay Phadke <dhananjay@netxen.com>
Tue, 18 Mar 2008 02:59:49 +0000 (19:59 -0700)
committerJeff Garzik <jeff@garzik.org>
Wed, 26 Mar 2008 03:16:16 +0000 (23:16 -0400)
commit05aaa02d799e8e9548d57ac92fcb05e783027341
treebecfc839727f798364c13549e332de0830d7676f
parent443be7960be77f3345b44491c700ae4471b0fe57
netxen: napi and irq cleanup

o separate and simpler irq handler for msi interrupts, avoids few checks
  than legacy mode.
o avoid redudant tx_has_work() and rx_has_work() checks in interrupt
  and napi, which can uncork irq based on racy (lockless) access to tx
  and rx ring indices. If we get interrupt, there's sufficient reason to
  schedule napi.
o replenish rx ring more often, remove self-imposed threshold rcv_free
  that prevents posting rx desc to card. This improves performance in
  low memory.

Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Tested-by: Vernon Mauery <mauery@us.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/netxen/netxen_nic.h
drivers/net/netxen/netxen_nic_init.c
drivers/net/netxen/netxen_nic_isr.c
drivers/net/netxen/netxen_nic_main.c