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>
Showing
- drivers/net/netxen/netxen_nic.h 1 addition, 4 deletionsdrivers/net/netxen/netxen_nic.h
- drivers/net/netxen/netxen_nic_init.c 4 additions, 72 deletionsdrivers/net/netxen/netxen_nic_init.c
- drivers/net/netxen/netxen_nic_isr.c 4 additions, 13 deletionsdrivers/net/netxen/netxen_nic_isr.c
- drivers/net/netxen/netxen_nic_main.c 39 additions, 74 deletionsdrivers/net/netxen/netxen_nic_main.c
Loading
Please register or sign in to comment