diff options
author | Yi Zou | 2009-05-17 14:34:35 +0200 |
---|---|---|
committer | David S. Miller | 2009-05-18 06:04:10 +0200 |
commit | 63f39bd17aa700595fa3e34a61c5c07551dd1b7d (patch) | |
tree | 8e8e17b25b31271581d88d50ffc23e315906e2fc /drivers/net/ixgbe/ixgbe.h | |
parent | ixgbe: Enable FCoE redirection table feature in 82599 (diff) | |
download | kernel-qcow2-linux-63f39bd17aa700595fa3e34a61c5c07551dd1b7d.tar.gz kernel-qcow2-linux-63f39bd17aa700595fa3e34a61c5c07551dd1b7d.tar.xz kernel-qcow2-linux-63f39bd17aa700595fa3e34a61c5c07551dd1b7d.zip |
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 { (&(((struct ixgbe_adv_tx_context_desc *)((R).desc))[i])) #define IXGBE_MAX_JUMBO_FRAME_SIZE 16128 +#ifdef IXGBE_FCOE +/* Use 3K as the baby jumbo frame size for FCoE */ +#define IXGBE_FCOE_JUMBO_FRAME_SIZE 3072 +#endif /* IXGBE_FCOE */ #define OTHER_VECTOR 1 #define NON_Q_VECTORS (OTHER_VECTOR) |