]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: net: cpsw: fix disabling of tx interrupt in rx isr
authorMugunthan V N <mugunthanvnm@ti.com>
Wed, 8 Jul 2015 09:05:22 +0000 (14:35 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Jul 2015 21:52:48 +0000 (14:52 -0700)
commit5ccb4a5bd43ff8060f412cf0ce971bda2eb23079
treea49b1c47c0057fa39b58691267f6f2e040c142a8
parentdfd4cac60b3758ca44241c7237fca034f8161c1c
drivers: net: cpsw: fix disabling of tx interrupt in rx isr

In commit 'c7f7e8631e3a ("net: ethernet: cpsw: don't requests
IRQs we don't use")', common isr is split into tx and rx, but
in rx isr tx interrupt is also disabledi in cpsw_disable_irq().
So tx interrupts are not handled during rx interrupts and rx
napi completion and results in poor tx performance by 40Mbps.
Fixing by disabling only rx interrupt in rx isr.

Cc: Felipe Balbi <balbi@ti.com>
Cc: <stable@vger.kernel.org> # v4.0+
Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c