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)
commit5a0266af10246c84a6c712f365788800c7e23fd4
treea49b1c47c0057fa39b58691267f6f2e040c142a8
parentadb3505086def6d3e37013ec6cf8313cc719cbb6
drivers: net: cpsw: fix disabling of tx interrupt in rx isr

In commit 'c03abd84634d ("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