myri10ge: get rid of custom busy poll code
authorEric Dumazet <edumazet@google.com>
Thu, 2 Feb 2017 18:50:48 +0000 (10:50 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Feb 2017 21:18:00 +0000 (16:18 -0500)
commit362108b5adddac6f496acc40696e499defd56d62
tree356660f0c4971657a9ee8d342a9658793b076afd
parentfb6113e688e0bf5bc3081d6ff02e8ad77fed3c7a
myri10ge: get rid of custom busy poll code

Compared to custom busy_poll, the generic NAPI one is simpler and
removes a lot of code. It removes one atomic in the fast path (when
busy poll is not in action) since we do not have to use an extra
spinlock.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/myricom/myri10ge/myri10ge.c