]> git.baikalelectronics.ru Git - kernel.git/commit
net: bcmgenet: rework Tx NAPI code
authorPetri Gynther <pgynther@google.com>
Wed, 25 Mar 2015 19:35:14 +0000 (12:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Mar 2015 21:26:14 +0000 (14:26 -0700)
commit76f6c5db79f51674eb4530d2b5af911c12adf993
treee5ec665f54ec9cd25d3c107ea0d9470978266046
parent0a941929af7dc14dd72be55530aaa0d5cb7afe02
net: bcmgenet: rework Tx NAPI code

Introduce new bcmgenet functions to handle the NAPI calls to:
netif_napi_add()
napi_enable()
napi_disable()
netif_napi_del()

Signed-off-by: Petri Gynther <pgynther@google.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/genet/bcmgenet.c