Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[SCSI] fcoe: set default FIP mode as FIP_MODE_FABRIC

Since sometimes current FIP_MODE_AUTO mode falls back to non-FIP
mode while DCB link still getting ready in fabric mode with
its peer switch, it falls back after few libfc flogi retries
and that is not we want while working with FIP enabled
switches in FABRIC mode, therefore sets default as FIP_MODE_FABRIC
as discussed and agreed before in this mail thread
http://www.open-fcoe.org/pipermail/devel/2010-August/010511.html

Signed-off-by: Vasu Dev <vasu.dev@intel.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>

authored by

Vasu Dev and committed by
James Bottomley
3067817a 60a3c4df

+1 -1
+1 -1
drivers/scsi/fcoe/fcoe.c
··· 117 117 118 118 static void fcoe_get_lesb(struct fc_lport *, struct fc_els_lesb *); 119 119 120 - module_param_call(create, fcoe_create, NULL, (void *)FIP_MODE_AUTO, S_IWUSR); 120 + module_param_call(create, fcoe_create, NULL, (void *)FIP_MODE_FABRIC, S_IWUSR); 121 121 __MODULE_PARM_TYPE(create, "string"); 122 122 MODULE_PARM_DESC(create, " Creates fcoe instance on a ethernet interface"); 123 123 module_param_call(create_vn2vn, fcoe_create, NULL,