[SCSI] bnx2i: Added jumbo MTU support for the no shost case
authorEddie Wai <eddie.wai@broadcom.com>
Wed, 16 Feb 2011 21:04:29 +0000 (15:04 -0600)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 24 Feb 2011 17:39:30 +0000 (12:39 -0500)
For scenarios where the shost is not being passed to bnx2i for the
iSCSI offload connection request, the code would consult the routing
table to select the CNIC device.
This code path will erroneously error out if the corresponding L2
interface's MTU has been setup to > 1500.

Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/bnx2i/bnx2i.h

index e1ca5fe7e6bb432f753d90192b1544a1fa805c42..275685392e0188b8f0ff0161fb72b8ed635b60fe 100644 (file)
@@ -360,7 +360,7 @@ struct bnx2i_hba {
                #define ADAPTER_STATE_LINK_DOWN         2
                #define ADAPTER_STATE_INIT_FAILED       31
        unsigned int mtu_supported;
-               #define BNX2I_MAX_MTU_SUPPORTED         1500
+               #define BNX2I_MAX_MTU_SUPPORTED         9000
 
        struct Scsi_Host *shost;