sfc: get rid of custom busy polling code
authorEric Dumazet <edumazet@google.com>
Fri, 3 Feb 2017 01:13:19 +0000 (17:13 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Feb 2017 14:56:50 +0000 (09:56 -0500)
commite7fe9491261ee07b0c7456df42c34ca6a8538804
tree81f8654dcf1879e40f2670b1b29c9d7ae812c9ac
parent8fe809a992639b2013c0d8da2ba55cdea28a959a
sfc: 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/efx.c
drivers/net/ethernet/sfc/net_driver.h
drivers/net/ethernet/sfc/rx.c