sfc-falcon: get rid of custom busy polling code
authorEric Dumazet <edumazet@google.com>
Fri, 3 Feb 2017 02:22:28 +0000 (18:22 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Feb 2017 14:56:50 +0000 (09:56 -0500)
commit86bc8b310f1f323ccc9a311933e35d3442473034
tree143747f915cc43d84e5c247e16e52ce47992a825
parente7fe9491261ee07b0c7456df42c34ca6a8538804
sfc-falcon: get rid of custom busy polling code

In linux-4.5, busy polling was implemented in core
NAPI stack, meaning that all custom implementation can
be removed from drivers.

Not only we remove lot's of tricky code, we also remove
one lock operation in fast path.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Edward Cree <ecree@solarflare.com>
Cc: Bert Kenward <bkenward@solarflare.com>
Acked-by: Bert Kenward <bkenward@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/falcon/efx.c
drivers/net/ethernet/sfc/falcon/net_driver.h
drivers/net/ethernet/sfc/falcon/rx.c