https://github.com/torvalds/linux
Revision f63a975e8f07a75dbf0386402788330d0bebd8d8 authored by Mugunthan V N on 10 April 2014, 08:53:24 UTC, committed by David S. Miller on 11 April 2014, 20:27:41 UTC
When the Ethernet interface is put down and up with heavy Ethernet
traffic, then there is prossibility of an interrupt waiting in irq
controller to be processed, so when the interface is brought up again
just after enable interrupt, it goes to ISR due to the previous
unhandled interrutp and in ISR napi is not scheduled as the napi
is not enabled in ndo_open which results in disabled interrupt for
CPSW and no packets are received in cpsw. So this patch moves enabling
of interupts after napi_enable and clearing CPDMA interrupts.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 16e5c57
History
Tip revision: f63a975e8f07a75dbf0386402788330d0bebd8d8 authored by Mugunthan V N on 10 April 2014, 08:53:24 UTC
drivers: net: cpsw: enable interrupts after napi enable and clearing previous interrupts
Tip revision: f63a975
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1.1 KB
.mailmap -rw-r--r-- 4.4 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 93.6 KB
Kbuild -rw-r--r-- 2.5 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 271.2 KB
Makefile -rw-r--r-- 49.4 KB
README -rw-r--r-- 18.3 KB
REPORTING-BUGS -rw-r--r-- 7.3 KB

README

back to top