]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: net: cpsw: dual_emac: simplify napi usage
authorMugunthan V N <mugunthanvnm@ti.com>
Tue, 4 Aug 2015 10:36:19 +0000 (16:06 +0530)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Aug 2015 04:59:27 +0000 (21:59 -0700)
commitc754c1dfc53dd2e25b3759a33b851060d3bb8495
tree658aaaaa7f0599962ea6505074eb98e038e5fdac
parent97048c02e981db0cf327ad6343e6173c4fa30dee
drivers: net: cpsw: dual_emac: simplify napi usage

Since interrupt is shared between the two ethernet interface and
in isr only one napi is scheduled at an instance so having two
napis doesn't make any difference. So making napi also as a
common resource for the dual ethernet interfaces.

Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ti/cpsw.c