]> git.baikalelectronics.ru Git - kernel.git/commit
r8169: remove non-NAPI context invocation of rtl8169_rx_interrupt.
authorFrancois Romieu <romieu@fr.zoreil.com>
Tue, 15 Mar 2011 16:29:31 +0000 (17:29 +0100)
committerFrancois romieu <romieu@fr.zoreil.com>
Mon, 9 May 2011 19:03:06 +0000 (21:03 +0200)
commitda4a949e2bcec51ec4fc6da40f114d726e052636
treebba00e8cfca8932133a1645c00089c04ea0915c7
parentd11112caa2f5a4e42e7808ca22feb11e81cab8a6
r8169: remove non-NAPI context invocation of rtl8169_rx_interrupt.

Invocation of rtl8169_rx_interrupt from rtl8169_reset_task was originally
intended to retrieve as much packets as possible from the rx ring when a
reset was needed. Nowadays rtl8169_reset_task is only scheduled, with
some delay
a. from the tx timeout watchdog
b. when resuming
c. from rtl8169_rx_interrupt itself

It's dubious that the loss of outdated packets will matter much for a)
and b). c) does not need to call itself again.

Signed-off-by: Francois Romieu <romieu@fr.zoreil.com>
Cc: Realtek linux nic maintainers <nic_swsd@realtek.com>
drivers/net/r8169.c