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)
commite2aadb4aa9fe4619a78dd925a4756535e9bf3d74
treee5ec665f54ec9cd25d3c107ea0d9470978266046
parentb2e97eca88f07d1a4dae691ad8d751ba1de15645
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