cxgb4: get rid of custom busy poll code
authorEric Dumazet <edumazet@google.com>
Thu, 2 Feb 2017 19:44:27 +0000 (11:44 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Feb 2017 21:18:01 +0000 (16:18 -0500)
commit5226b7919641f285bf0f8db84deeb3920b160ec7
tree0a3beb0933d67fad17d40f11cd56c2c03b200611
parent362108b5adddac6f496acc40696e499defd56d62
cxgb4: get rid of custom busy poll 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 of code, we also remove one spin_lock()
from driver fast path.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Ganesh Goudar <ganeshgr@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/cxgb4.h
drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
drivers/net/ethernet/chelsio/cxgb4/cxgb4_uld.c
drivers/net/ethernet/chelsio/cxgb4/sge.c