diff options
author | Eric Dumazet <edumazet@google.com> | 2017-02-02 21:16:00 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-04 00:06:55 +0300 |
commit | fb6113e688e0bf5bc3081d6ff02e8ad77fed3c7a (patch) | |
tree | dca1ecdb2b0154304c564b597eb04517fcd09745 /drivers/net/ethernet/emulex/benet/be.h | |
parent | 94b5e0f970258828bf163b5ef076da4e4b0802e0 (diff) | |
download | linux-fb6113e688e0bf5bc3081d6ff02e8ad77fed3c7a.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/be.h')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be.h b/drivers/net/ethernet/emulex/benet/be.h index 4c30c44b242e..d49528ad7821 100644 --- a/drivers/net/ethernet/emulex/benet/be.h +++ b/drivers/net/ethernet/emulex/benet/be.h @@ -226,11 +226,6 @@ struct be_aic_obj { /* Adaptive interrupt coalescing (AIC) info */ u64 tx_reqs_prev; /* Used to calculate TX pps */ }; -enum { - NAPI_POLLING, - BUSY_POLLING -}; - struct be_mcc_obj { struct be_queue_info q; struct be_queue_info cq; |