OSDN Git Service

net: bcmgenet: Use netif_tx_napi_add() for TX NAPI
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 23 Jan 2020 17:49:34 +0000 (09:49 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 25 Jan 2020 09:31:28 +0000 (10:31 +0100)
commit148965df1a990af98b2c84092c2a2274c7489284
tree537fea40023473a486903f3f2f50d3f8d0e20c39
parent61b1f2aff41141cd39686285c9b290a07e1e3051
net: bcmgenet: Use netif_tx_napi_add() for TX NAPI

Before commit 7587935cfa11 ("net: bcmgenet: move NAPI initialization to
ring initialization") moved the code, this used to be
netif_tx_napi_add(), but we lost that small semantic change in the
process, restore that.

Fixes: 7587935cfa11 ("net: bcmgenet: move NAPI initialization to ring initialization")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Doug Berger <opendmb@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c