net: stmmac: Use netif_tx_napi_add() for TX polling function
authorFrode Isaksen <fisaksen@baylibre.com>
Tue, 30 Jul 2019 11:38:14 +0000 (13:38 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 31 Jul 2019 23:09:36 +0000 (19:09 -0400)
commit4d97972b45f080db4c6d27cc0b54321d9cd7be17
tree46b070c5e3361becc4c70f26a0aeca2aa0d668bf
parent5c725b6b65067909548ac9ca9bc777098ec9883d
net: stmmac: Use netif_tx_napi_add() for TX polling function

This variant of netif_napi_add() should be used from drivers
using NAPI to exclusively poll a TX queue.

Signed-off-by: Frode Isaksen <fisaksen@baylibre.com>
Tested-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c