]> 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)
commitf5b1fb477e724b734b3e9f429ebfb008c796b1ec
tree07e7fab4e9b517c31297c61aa7a9aa8edcb1a75b
parent04770ffe965bf2dfe9a41ec0a051b02e6d013d76
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