diff options
author | Eddie Wai <eddie.wai@broadcom.com> | 2013-07-28 22:03:58 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-07-30 01:03:07 -0400 |
commit | b3bd2d65e6faf4f6fe6f87d6a5163859af391109 (patch) | |
tree | 8db302a6037003679c6b61b236eae929c5f6fb6c /drivers/scsi | |
parent | 6cdcdbba600c0537f5c61a9ffa45e708950c1aa6 (diff) |
cnic: Update TCP options setup for iSCSI.
Update TCP delayed ACK and timestamp options setup to match latest bnx2x
firmware.
Signed-off-by: Eddie Wai <eddie.wai@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi')
-rw-r--r-- | drivers/scsi/bnx2i/57xx_iscsi_hsi.h | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/drivers/scsi/bnx2i/57xx_iscsi_hsi.h b/drivers/scsi/bnx2i/57xx_iscsi_hsi.h index f2db5fe7bdc2..62f00da09ad1 100644 --- a/drivers/scsi/bnx2i/57xx_iscsi_hsi.h +++ b/drivers/scsi/bnx2i/57xx_iscsi_hsi.h | |||
@@ -581,8 +581,10 @@ struct iscsi_kwqe_init1 { | |||
581 | #define ISCSI_KWQE_INIT1_DELAYED_ACK_ENABLE_SHIFT 4 | 581 | #define ISCSI_KWQE_INIT1_DELAYED_ACK_ENABLE_SHIFT 4 |
582 | #define ISCSI_KWQE_INIT1_KEEP_ALIVE_ENABLE (0x1<<5) | 582 | #define ISCSI_KWQE_INIT1_KEEP_ALIVE_ENABLE (0x1<<5) |
583 | #define ISCSI_KWQE_INIT1_KEEP_ALIVE_ENABLE_SHIFT 5 | 583 | #define ISCSI_KWQE_INIT1_KEEP_ALIVE_ENABLE_SHIFT 5 |
584 | #define ISCSI_KWQE_INIT1_RESERVED1 (0x3<<6) | 584 | #define ISCSI_KWQE_INIT1_TIME_STAMPS_ENABLE (0x1<<6) |
585 | #define ISCSI_KWQE_INIT1_RESERVED1_SHIFT 6 | 585 | #define ISCSI_KWQE_INIT1_TIME_STAMPS_ENABLE_SHIFT 6 |
586 | #define ISCSI_KWQE_INIT1_RESERVED1 (0x1<<7) | ||
587 | #define ISCSI_KWQE_INIT1_RESERVED1_SHIFT 7 | ||
586 | u16 cq_num_wqes; | 588 | u16 cq_num_wqes; |
587 | #elif defined(__LITTLE_ENDIAN) | 589 | #elif defined(__LITTLE_ENDIAN) |
588 | u16 cq_num_wqes; | 590 | u16 cq_num_wqes; |
@@ -593,8 +595,10 @@ struct iscsi_kwqe_init1 { | |||
593 | #define ISCSI_KWQE_INIT1_DELAYED_ACK_ENABLE_SHIFT 4 | 595 | #define ISCSI_KWQE_INIT1_DELAYED_ACK_ENABLE_SHIFT 4 |
594 | #define ISCSI_KWQE_INIT1_KEEP_ALIVE_ENABLE (0x1<<5) | 596 | #define ISCSI_KWQE_INIT1_KEEP_ALIVE_ENABLE (0x1<<5) |
595 | #define ISCSI_KWQE_INIT1_KEEP_ALIVE_ENABLE_SHIFT 5 | 597 | #define ISCSI_KWQE_INIT1_KEEP_ALIVE_ENABLE_SHIFT 5 |
596 | #define ISCSI_KWQE_INIT1_RESERVED1 (0x3<<6) | 598 | #define ISCSI_KWQE_INIT1_TIME_STAMPS_ENABLE (0x1<<6) |
597 | #define ISCSI_KWQE_INIT1_RESERVED1_SHIFT 6 | 599 | #define ISCSI_KWQE_INIT1_TIME_STAMPS_ENABLE_SHIFT 6 |
600 | #define ISCSI_KWQE_INIT1_RESERVED1 (0x1<<7) | ||
601 | #define ISCSI_KWQE_INIT1_RESERVED1_SHIFT 7 | ||
598 | u8 cq_log_wqes_per_page; | 602 | u8 cq_log_wqes_per_page; |
599 | #endif | 603 | #endif |
600 | #if defined(__BIG_ENDIAN) | 604 | #if defined(__BIG_ENDIAN) |