]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0c9f025d45075516dbe5977c3feaf20bd98b747c
tree537fea40023473a486903f3f2f50d3f8d0e20c39
parent23a8c8c8392303e92fda7676d511f742978439d9
net: bcmgenet: Use netif_tx_napi_add() for TX NAPI

Before commit da2fe94f89f7 ("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: da2fe94f89f7 ("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