From: Mike Christie <[EMAIL PROTECTED]>

The intel stack which probably most people are going to test with
uses the new header format. We do not have a way to config old or
new like is done with scst fcoe target, and I do not really care to
add much code for that anyways so this just sets the default to the
new format.

The next patch will remove all the old format code.

Signed-off-by: Mike Christie <[EMAIL PROTECTED]>
---
 usr/fcoe/fcoe_if.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/usr/fcoe/fcoe_if.c b/usr/fcoe/fcoe_if.c
index cc61408..68be336 100644
--- a/usr/fcoe/fcoe_if.c
+++ b/usr/fcoe/fcoe_if.c
@@ -159,7 +159,7 @@ int fcoe_create_interface(char *ifname)
        }
 
        fc = (struct fcoe_softc *)fdev->drv_priv;
-       fc->fcoe_hlen = sizeof(struct fcoe_hdr_old);
+       fc->fcoe_hlen = sizeof(struct fcoe_hdr);
 
        /* todo */
        fdev->fd_link_status = TRANS_LINK_UP;
-- 
1.5.5.1

_______________________________________________
Stgt-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/stgt-devel

Reply via email to