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)
commit7ce103b4cbb20babf19b881e28228b7fd40ce0b3
tree07e7fab4e9b517c31297c61aa7a9aa8edcb1a75b
parentca444073a2de97809d63e613d01203f4f4644cfb
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