1
linux/drivers/net/e1000e
Andy Gospodarek 679e8a0f0a e1000e: stop unnecessary polling when using msi-x
The last hunk of this commit:

    commit 12d04a3c12
    Author: Alexander Duyck <alexander.h.duyck@intel.com>
    Date:   Wed Mar 25 22:05:03 2009 +0000

        e1000e: commonize tx cleanup routine to match e1000 & igb

changed the logic for determining if we should call napi_complete or
not at then end of a napi poll.

If the NIC is using MSI-X with no work to do in ->poll, net_rx_action
can just spin indefinitely on older kernels and for 2 jiffies on newer
kernels since napi_complete is never called and budget isn't
decremented.

Discovered and verified while testing driver backport to an older
kernel.

Signed-off-by: Andy Gospodarek <andy@greyhouse.net>
Acked-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-06-19 01:12:51 -07:00
..
82571.c e1000e: Fixes possible phy corrupton on 82571 designs. 2009-06-09 05:25:35 -07:00
defines.h e1000e: Fixes possible phy corrupton on 82571 designs. 2009-06-09 05:25:35 -07:00
e1000.h Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2009-06-15 03:02:23 -07:00
es2lan.c e1000e: add support for 82577/82578 GbE LOM parts 2009-06-03 02:46:34 -07:00
ethtool.c e1000e: Expose MDI-X status via ethtool change 2009-06-09 05:25:36 -07:00
hw.h e1000e: Fixes possible phy corrupton on 82571 designs. 2009-06-09 05:25:35 -07:00
ich8lan.c e1000e: workaround a Tx hang on 82577/82578 2009-06-03 02:46:36 -07:00
lib.c e1000e: add support for 82577/82578 GbE LOM parts 2009-06-03 02:46:34 -07:00
Makefile
netdev.c e1000e: stop unnecessary polling when using msi-x 2009-06-19 01:12:51 -07:00
param.c e1000e: enable CRC stripping by default 2009-06-03 02:46:31 -07:00
phy.c e1000e: add support for 82577/82578 GbE LOM parts 2009-06-03 02:46:34 -07:00