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

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

Comments

Yi Zou - Oct. 6, 2008, 10:09 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
Roland Dreier - Oct. 6, 2008, 10:33 p.m.
>  #define ETH_P_AOE	0x88A2		/* ATA over Ethernet		*/
 >  #define ETH_P_TIPC	0x88CA		/* TIPC 			*/
 > +#define ETH_P_FCOE      0x8906          /* Fibre Channel over Ethernet  */

trivial -- but the patch format makes it pretty obvious -- it would
probably be nice to use tabs to align things on the FCOE line the same
way the other lines in the file do, rather than using spaces.
--
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
Yi Zou - Oct. 6, 2008, 11:11 p.m.
> >  #define ETH_P_TIPC	0x88CA		/* TIPC
*/
> > +#define ETH_P_FCOE      0x8906          /* Fibre Channel over
Ethernet
>*/
>
>trivial -- but the patch format makes it pretty obvious -- it would
>probably be nice to use tabs to align things on the FCOE line the same
>way the other lines in the file do, rather than using spaces.

Thanks, will fix this and resubmit.

yi
--
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

Patch

diff --git a/include/linux/if_ether.h b/include/linux/if_ether.h
index 723a1c5..e225b41 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.