OSDN Git Service

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)
commit7587935cfa119e122215e37e002a481d7374198b
treeaf8948032dade67fe34b2366a8d7753fca018cc9
parent28c2d1a7a0bfdf3617800d2beae1c67983c03d15
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