]> 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)
commit22a31e333037e41eadff1f68920c273bdea2ab55
tree658aaaaa7f0599962ea6505074eb98e038e5fdac
parentfe5774054a1938d99ff93a26b5b1893dcc7171d7
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