]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
[SCSI] libfcoe: Move FCOE_MTU definition from fcoe.h to libfcoe.h
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Fri, 25 Feb 2011 23:03:12 +0000 (15:03 -0800)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 1 Mar 2011 00:33:12 +0000 (18:33 -0600)
both fcoe and bnx2fc drivers can access the common definition of
FCOE_MTU.

Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/fcoe/fcoe.h
include/scsi/libfcoe.h

index d775128398e9111fc31a3ddfce852fd19a228172..408a6fd78fb43b77834246044d065da1b4cdde65 100644 (file)
 #define FCOE_MIN_XID           0x0000  /* the min xid supported by fcoe_sw */
 #define FCOE_MAX_XID           0x0FFF  /* the max xid supported by fcoe_sw */
 
-/*
- * Max MTU for FCoE: 14 (FCoE header) + 24 (FC header) + 2112 (max FC payload)
- * + 4 (FC CRC) + 4 (FCoE trailer) =  2158 bytes
- */
-#define FCOE_MTU       2158
-
 unsigned int fcoe_debug_logging;
 module_param_named(debug_logging, fcoe_debug_logging, int, S_IRUGO|S_IWUSR);
 MODULE_PARM_DESC(debug_logging, "a bit mask of logging levels");
index e5024634bfab6dbc834f4d68540900cfca6bc926..8c1638b8c28e776b9261cd604a1036708a8f6933 100644 (file)
 
 #define FCOE_MAX_CMD_LEN       16      /* Supported CDB length */
 
+/*
+ * Max MTU for FCoE: 14 (FCoE header) + 24 (FC header) + 2112 (max FC payload)
+ * + 4 (FC CRC) + 4 (FCoE trailer) =  2158 bytes
+ */
+#define FCOE_MTU       2158
+
 /*
  * FIP tunable parameters.
  */