diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2009-02-06 18:19:29 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-07 05:43:09 -0500 |
commit | eebbbdba5eb44406061e4dff130257b654773d3f (patch) | |
tree | ec8d2464ca663f92ea37af967be146be774dff06 /drivers/net/igb/igb.h | |
parent | dda0e0834c839c0e4b1717cbe9c22c35ca935809 (diff) |
igb: cleanup igb_netpoll to be more friendly with napi & GRO
This patch cleans up igb_netpoll so that it is more friendly with both the
current napi and newly introduced GRO features.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb/igb.h')
-rw-r--r-- | drivers/net/igb/igb.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/igb/igb.h b/drivers/net/igb/igb.h index 88fdfe4961d8..0519ae408af9 100644 --- a/drivers/net/igb/igb.h +++ b/drivers/net/igb/igb.h | |||
@@ -280,9 +280,8 @@ struct igb_adapter { | |||
280 | #define IGB_FLAG_HAS_MSI (1 << 0) | 280 | #define IGB_FLAG_HAS_MSI (1 << 0) |
281 | #define IGB_FLAG_MSI_ENABLE (1 << 1) | 281 | #define IGB_FLAG_MSI_ENABLE (1 << 1) |
282 | #define IGB_FLAG_DCA_ENABLED (1 << 2) | 282 | #define IGB_FLAG_DCA_ENABLED (1 << 2) |
283 | #define IGB_FLAG_IN_NETPOLL (1 << 3) | 283 | #define IGB_FLAG_QUAD_PORT_A (1 << 3) |
284 | #define IGB_FLAG_QUAD_PORT_A (1 << 4) | 284 | #define IGB_FLAG_NEED_CTX_IDX (1 << 4) |
285 | #define IGB_FLAG_NEED_CTX_IDX (1 << 5) | ||
286 | 285 | ||
287 | enum e1000_state_t { | 286 | enum e1000_state_t { |
288 | __IGB_TESTING, | 287 | __IGB_TESTING, |