]> 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)
commitda2fe94f89f76129a9b0c52988de13bd46400d5a
treeaf8948032dade67fe34b2366a8d7753fca018cc9
parent145555d2a4572a65eddf1e88b5402ead25a712ac
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