net: bcmgenet: rework Rx NAPI code
authorPetri Gynther <pgynther@google.com>
Wed, 25 Mar 2015 19:35:15 +0000 (12:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Mar 2015 21:26:15 +0000 (14:26 -0700)
commit3ab113399b633bacb500a903d2f96f25ded2226c
tree1839afd7a798bf9ef73ceeb56eb2de3adbf2abd8
parente2aadb4aa9fe4619a78dd925a4756535e9bf3d74
net: bcmgenet: rework Rx 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