• Dhananjay Phadke's avatar
    netxen: napi and irq cleanup · 05aaa02d
    Dhananjay Phadke authored
    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: default avatarDhananjay Phadke <dhananjay@netxen.com>
    Tested-by: default avatarVernon Mauery <mauery@us.ibm.com>
    Signed-off-by: default avatarJeff Garzik <jeff@garzik.org>
    05aaa02d
netxen_nic.h 34.4 KB