diff options
author | Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com> | 2009-07-16 11:50:12 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-07-17 12:47:33 -0400 |
commit | f4ec443b2b27ecb401eee35a7bea330438556c7e (patch) | |
tree | 32cdb246f0d9789589e6eddac104642c65c357bf /drivers/net/ixgbe/ixgbe.h | |
parent | c482c568577a2b31716e1019f2868bda7cf5629c (diff) |
ixgbe: Remove legacy descriptor support
The ethtool offline test is the only consumer of the legacy descriptors.
Update that path to only use advanced descriptors, and remove all support
for legacy descriptors.
Signed-off-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@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/ixgbe/ixgbe.h')
-rw-r--r-- | drivers/net/ixgbe/ixgbe.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/ixgbe/ixgbe.h b/drivers/net/ixgbe/ixgbe.h index cd22323cfd22..2a93e116f5a7 100644 --- a/drivers/net/ixgbe/ixgbe.h +++ b/drivers/net/ixgbe/ixgbe.h | |||
@@ -229,10 +229,6 @@ struct ixgbe_q_vector { | |||
229 | #define IXGBE_TX_CTXTDESC_ADV(R, i) \ | 229 | #define IXGBE_TX_CTXTDESC_ADV(R, i) \ |
230 | (&(((struct ixgbe_adv_tx_context_desc *)((R).desc))[i])) | 230 | (&(((struct ixgbe_adv_tx_context_desc *)((R).desc))[i])) |
231 | 231 | ||
232 | #define IXGBE_GET_DESC(R, i, type) (&(((struct type *)((R).desc))[i])) | ||
233 | #define IXGBE_TX_DESC(R, i) IXGBE_GET_DESC(R, i, ixgbe_legacy_tx_desc) | ||
234 | #define IXGBE_RX_DESC(R, i) IXGBE_GET_DESC(R, i, ixgbe_legacy_rx_desc) | ||
235 | |||
236 | #define IXGBE_MAX_JUMBO_FRAME_SIZE 16128 | 232 | #define IXGBE_MAX_JUMBO_FRAME_SIZE 16128 |
237 | #ifdef IXGBE_FCOE | 233 | #ifdef IXGBE_FCOE |
238 | /* Use 3K as the baby jumbo frame size for FCoE */ | 234 | /* Use 3K as the baby jumbo frame size for FCoE */ |