summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorYi Zou <yi.zou@intel.com>2009-02-27 14:06:37 -0800
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-03-13 15:09:00 -0500
commit211c738d86f3f423f1b218ab3a356c9538e38047 (patch)
treeb94677af2975bd2a455beb9ad3056e86d73cba70 /include
parent7687fb9209422d35334995b8ace38de92e595d16 (diff)
downloadlinux-3.10-211c738d86f3f423f1b218ab3a356c9538e38047.tar.gz
linux-3.10-211c738d86f3f423f1b218ab3a356c9538e38047.tar.bz2
linux-3.10-211c738d86f3f423f1b218ab3a356c9538e38047.zip
[SCSI] net, fcoe: add ETH_P_FCOE for Fibre Channel over Ethernet (FCoE)
This adds eth type ETH_P_FCOE for Fibre Channel over Ethernet (FCoE), consequently, the ETH_P_FCOE from fc_fcoe.h and fcoe skb->protocol is not set as ETH_P_FCOE. Signed-off-by: Yi Zou <yi.zou@intel.com> Acked-by: David Miller <davem@davemloft.net> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/if_ether.h1
-rw-r--r--include/scsi/fc/fc_fcoe.h7
2 files changed, 1 insertions, 7 deletions
diff --git a/include/linux/if_ether.h b/include/linux/if_ether.h
index 7f3c735f422..59d197cb485 100644
--- a/include/linux/if_ether.h
+++ b/include/linux/if_ether.h
@@ -78,6 +78,7 @@
#define ETH_P_PAE 0x888E /* Port Access Entity (IEEE 802.1X) */
#define ETH_P_AOE 0x88A2 /* ATA over Ethernet */
#define ETH_P_TIPC 0x88CA /* TIPC */
+#define ETH_P_FCOE 0x8906 /* Fibre Channel over Ethernet */
#define ETH_P_EDSA 0xDADA /* Ethertype DSA [ NOT AN OFFICIALLY REGISTERED ID ] */
/*
diff --git a/include/scsi/fc/fc_fcoe.h b/include/scsi/fc/fc_fcoe.h
index f271d9cc0fc..ccb3dbe9046 100644
--- a/include/scsi/fc/fc_fcoe.h
+++ b/include/scsi/fc/fc_fcoe.h
@@ -25,13 +25,6 @@
*/
/*
- * The FCoE ethertype eventually goes in net/if_ether.h.
- */
-#ifndef ETH_P_FCOE
-#define ETH_P_FCOE 0x8906 /* FCOE ether type */
-#endif
-
-/*
* FC_FCOE_OUI hasn't been standardized yet. XXX TBD.
*/
#ifndef FC_FCOE_OUI