summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorYi Zou <yi.zou@intel.com>2009-08-14 12:41:57 +0000
committerDavid S. Miller <davem@davemloft.net>2009-08-14 16:12:09 -0700
commitbb2af4f54ffa8245d5ce278cae9c66198bc14d8b (patch)
tree3e35b71afd57fe94e978c85287d0a1f556af4ab0 /include/linux
parent36a82236314b5ebd6e3e1eb8bb7b850c83e53c3a (diff)
downloadop-kernel-dev-bb2af4f54ffa8245d5ce278cae9c66198bc14d8b.zip
op-kernel-dev-bb2af4f54ffa8245d5ce278cae9c66198bc14d8b.tar.gz
net: Add NETIF_F_FCOE_MTU to indicate support for a different MTU for FCoE
Add NETIF_F_FCOE_MTU to indicate that the NIC can support a secondary MTU for converged traffic of LAN and Fiber Channel over Ethernet (FCoE). The MTU for FCoE is 2158 = 14 (FCoE header) + 24 (FC header) + 2112 (FC max payload) + 4 (FC CRC) + 4 (FCoE trailer). 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 'include/linux')
-rw-r--r--include/linux/netdevice.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 9f25ab2..9192cdf 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -701,6 +701,7 @@ struct net_device
/* the GSO_MASK reserves bits 16 through 23 */
#define NETIF_F_FCOE_CRC (1 << 24) /* FCoE CRC32 */
#define NETIF_F_SCTP_CSUM (1 << 25) /* SCTP checksum offload */
+#define NETIF_F_FCOE_MTU (1 << 26) /* Supports max FCoE MTU, 2158 bytes*/
/* Segmentation offload features */
#define NETIF_F_GSO_SHIFT 16
OpenPOWER on IntegriCloud