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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jan 2020 15:43:15 +0000 (16:43 +0100)
commit0705c8d7aae518e4cb22c68749eaac917e9902b8
tree44a8128a2bd64f9d0a19566cdbb15dee63659d3e
parentd3c0a8be8bbbf3f67ccd88909993b802886b6b18
net: bcmgenet: Use netif_tx_napi_add() for TX NAPI

[ Upstream commit 148965df1a990af98b2c84092c2a2274c7489284 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/broadcom/genet/bcmgenet.c