diff options
author | Yi Zou <yi.zou@intel.com> | 2009-05-17 08:34:35 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-05-18 00:04:10 -0400 |
commit | 63f39bd17aa700595fa3e34a61c5c07551dd1b7d (patch) | |
tree | 8e8e17b25b31271581d88d50ffc23e315906e2fc /drivers/net/ixgbe/ixgbe.h | |
parent | 29ebf6f8c8a99bbda053f1fbdff0570cc5d866b3 (diff) |
ixgbe: Enable jumbo frame for FCoE feature in 82599
Enable jumbo frame when FCoE feature is enabled in 82599. Use 3K
as the receive queue buffer size for receive queues used by FCoE
to address for max Fiber Channel frame size as 2148 bytes (with
max 2112 bytes of payload).
Signed-off-by: Yi Zou <yi.zou@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, 4 insertions, 0 deletions
diff --git a/drivers/net/ixgbe/ixgbe.h b/drivers/net/ixgbe/ixgbe.h index 94b04657576b..3f83a12785db 100644 --- a/drivers/net/ixgbe/ixgbe.h +++ b/drivers/net/ixgbe/ixgbe.h | |||
@@ -222,6 +222,10 @@ struct ixgbe_q_vector { | |||
222 | (&(((struct ixgbe_adv_tx_context_desc *)((R).desc))[i])) | 222 | (&(((struct ixgbe_adv_tx_context_desc *)((R).desc))[i])) |
223 | 223 | ||
224 | #define IXGBE_MAX_JUMBO_FRAME_SIZE 16128 | 224 | #define IXGBE_MAX_JUMBO_FRAME_SIZE 16128 |
225 | #ifdef IXGBE_FCOE | ||
226 | /* Use 3K as the baby jumbo frame size for FCoE */ | ||
227 | #define IXGBE_FCOE_JUMBO_FRAME_SIZE 3072 | ||
228 | #endif /* IXGBE_FCOE */ | ||
225 | 229 | ||
226 | #define OTHER_VECTOR 1 | 230 | #define OTHER_VECTOR 1 |
227 | #define NON_Q_VECTORS (OTHER_VECTOR) | 231 | #define NON_Q_VECTORS (OTHER_VECTOR) |