be2net: get rid of custom busy poll code
authorEric Dumazet <edumazet@google.com>
Thu, 2 Feb 2017 18:16:00 +0000 (10:16 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Feb 2017 21:06:55 +0000 (16:06 -0500)
commitfb6113e688e0bf5bc3081d6ff02e8ad77fed3c7a
treedca1ecdb2b0154304c564b597eb04517fcd09745
parent94b5e0f970258828bf163b5ef076da4e4b0802e0
be2net: get rid of custom busy poll code

Compared to custom busy_poll, the generic NAPI one is better, since
it allows to use GRO, and it removes a lot of code and extra locked
operations in fast path.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Sathya Perla <sathya.perla@broadcom.com>
Cc: Ajit Khaparde <ajit.khaparde@broadcom.com>
Cc: Sriharsha Basavapatna <sriharsha.basavapatna@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be.h
drivers/net/ethernet/emulex/benet/be_main.c