The definitions in fip.h are swapped.  The VLAN discovery code in both
fipvlan and fcoemon have been sending to the ENode address when they should
be sending to the FCF address.  I'm kind of surprised this has been working
so well.

Signed-off-by: Chris Leech <[email protected]>
---

 include/fip.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/fip.h b/include/fip.h
index ae8a365..2b00b7c 100644
--- a/include/fip.h
+++ b/include/fip.h
@@ -27,8 +27,8 @@
 #define ETH_P_FIP      0x8914
 
 #define FIP_ALL_FCOE_MACS      { 0x01, 0x10, 0x18, 0x01, 0x00, 0x00 }
-#define FIP_ALL_FCF_MACS       { 0x01, 0x10, 0x18, 0x01, 0x00, 0x01 }
-#define FIP_ALL_ENODE_MACS     { 0x01, 0x10, 0x18, 0x01, 0x00, 0x02 }
+#define FIP_ALL_ENODE_MACS     { 0x01, 0x10, 0x18, 0x01, 0x00, 0x01 }
+#define FIP_ALL_FCF_MACS       { 0x01, 0x10, 0x18, 0x01, 0x00, 0x02 }
 
 struct fiphdr {
        uint8_t         fip_version;    /* version, upper 4 bits only */

_______________________________________________
devel mailing list
[email protected]
http://www.open-fcoe.org/mailman/listinfo/devel

Reply via email to