]> git.baikalelectronics.ru Git - kernel.git/commit
net: korina: don't use overflow and underflow interrupts
authorRoman Yeryomin <leroi.lists@gmail.com>
Sun, 17 Sep 2017 17:24:15 +0000 (20:24 +0300)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Sep 2017 23:50:06 +0000 (16:50 -0700)
commit2296375f89c86059b2506dbb7eb288aae3ec6f10
tree07e7fab4e9b517c31297c61aa7a9aa8edcb1a75b
parenta8e5c7fab5a6d8d23a2e66172b32b6871e7e90ee
net: korina: don't use overflow and underflow interrupts

When such interrupts occur there is not much we can do.
Dropping the whole ring doesn't help and only produces high packet loss.
If we just ignore the interrupt the mac will drop one or few packets instead of the whole ring.
Also this will lower the irq handling load and increase performance.

Signed-off-by: Roman Yeryomin <roman@advem.lv>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/korina.c