diff options
author | Eddie Wai <eddie.wai@broadcom.com> | 2011-02-16 16:04:29 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2011-02-24 12:39:30 -0500 |
commit | 45188354ebd15be7fb15d2b144a1a0ecd2e797a9 (patch) | |
tree | 9e65ef608ce284b8f2cf2d0172266a9d621c625f /drivers/scsi/bnx2i/bnx2i.h | |
parent | 8a4a0f3ad071e258a9637c5491c34005a9a97903 (diff) |
[SCSI] bnx2i: Added jumbo MTU support for the no shost case
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>
Diffstat (limited to 'drivers/scsi/bnx2i/bnx2i.h')
-rw-r--r-- | drivers/scsi/bnx2i/bnx2i.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/bnx2i/bnx2i.h b/drivers/scsi/bnx2i/bnx2i.h index e1ca5fe7e6bb..275685392e01 100644 --- a/drivers/scsi/bnx2i/bnx2i.h +++ b/drivers/scsi/bnx2i/bnx2i.h | |||
@@ -360,7 +360,7 @@ struct bnx2i_hba { | |||
360 | #define ADAPTER_STATE_LINK_DOWN 2 | 360 | #define ADAPTER_STATE_LINK_DOWN 2 |
361 | #define ADAPTER_STATE_INIT_FAILED 31 | 361 | #define ADAPTER_STATE_INIT_FAILED 31 |
362 | unsigned int mtu_supported; | 362 | unsigned int mtu_supported; |
363 | #define BNX2I_MAX_MTU_SUPPORTED 1500 | 363 | #define BNX2I_MAX_MTU_SUPPORTED 9000 |
364 | 364 | ||
365 | struct Scsi_Host *shost; | 365 | struct Scsi_Host *shost; |
366 | 366 | ||