Patchwork [1/3] net: add ETH_P_FCOE for Fibre Channel over Ethernet (FCoE)

login
register
mail settings
Submitter Yi Zou
Date Oct. 6, 2008, 11:39 p.m.
Message ID <20081006233918.4918.58918.stgit@zyfc9ini.jf.intel.com>
Download mbox | patch
Permalink /patch/3026/
State Not Applicable
Delegated to: David Miller
Headers show

Comments

Yi Zou - Oct. 6, 2008, 11:39 p.m.
Signed-off-by: Yi Zou <yi.zou@intel.com>
---

 include/linux/if_ether.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Pekka Savola - Oct. 7, 2008, 4:43 a.m.
On Mon, 6 Oct 2008, Yi Zou wrote:
> include/linux/if_ether.h |    1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/include/linux/if_ether.h b/include/linux/if_ether.h
> index 723a1c5..e5ae72a 100644
> --- a/include/linux/if_ether.h
> +++ b/include/linux/if_ether.h
> @@ -77,6 +77,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	*/

No problem with this one, but I note that some of the earlier 
codepoints are not in the numerical order, specifically these should 
be higher up in the list:

71 #define ETH_P_MPLS_UC   0x8847          /* MPLS Unicast traffic         */
72 #define ETH_P_MPLS_MC   0x8848          /* MPLS Multicast traffic       */
73 #define ETH_P_ATMMPOA   0x884c          /* MultiProtocol Over ATM       */

Patch

diff --git a/include/linux/if_ether.h b/include/linux/if_ether.h
index 723a1c5..e5ae72a 100644
--- a/include/linux/if_ether.h
+++ b/include/linux/if_ether.h
@@ -77,6 +77,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	*/
 
 /*
  *	Non DIX types. Won't clash for 1500 types.