]> git.baikalelectronics.ru Git - kernel.git/commit
net: bcmgenet: move NAPI initialization to ring initialization
authorDoug Berger <opendmb@gmail.com>
Wed, 25 Oct 2017 22:04:14 +0000 (15:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Oct 2017 01:14:54 +0000 (10:14 +0900)
commit3e222a771e47acff124b583a89b87b7222897064
treeaf8948032dade67fe34b2366a8d7753fca018cc9
parent207cf32e3643543f24c6a72a7d7d5c22db5628d9
net: bcmgenet: move NAPI initialization to ring initialization

Since each ring has its own NAPI instance it might as well be
initialized along with the other ring context.

Signed-off-by: Doug Berger <opendmb@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c