[Stgt-devel] [PATCH 1/2] fcoe: use new header by default

michaelc at cs.wisc.edu michaelc
Thu Jul 10 22:26:02 CEST 2008

From: Mike Christie <michaelc at cs.wisc.edu>

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 <michaelc at cs.wisc.edu>
 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;

More information about the stgt mailing list