summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_def.h
diff options
context:
space:
mode:
authorQuinn Tran <quinn.tran@cavium.com>2018-08-02 22:16:56 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2018-08-02 22:56:18 +0200
commit0eaaca4c1bd6349fff3a47228c4db8e9e5cf7cdf (patch)
tree0b1fac5be94305844c3ff22bbcb1326ad727edb1 /drivers/scsi/qla2xxx/qla_def.h
parentscsi: qla2xxx: Fix stalled relogin (diff)
downloadlinux-0eaaca4c1bd6349fff3a47228c4db8e9e5cf7cdf.tar.xz
linux-0eaaca4c1bd6349fff3a47228c4db8e9e5cf7cdf.zip
scsi: qla2xxx: Save frame payload size from ICB
Save frame payload size from init control block. This field/data is used to register with switch database. This allows the init control block temp buf to be reused. [mkp: remove unused variable] Signed-off-by: Quinn Tran <quinn.tran@cavium.com> Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
-rw-r--r--drivers/scsi/qla2xxx/qla_def.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h
index 0fc563572fad..d1ff1b8f1ae5 100644
--- a/drivers/scsi/qla2xxx/qla_def.h
+++ b/drivers/scsi/qla2xxx/qla_def.h
@@ -3848,6 +3848,7 @@ struct qla_hw_data {
atomic_t num_pend_mbx_stage1;
atomic_t num_pend_mbx_stage2;
atomic_t num_pend_mbx_stage3;
+ uint16_t frame_payload_size;
uint32_t login_retry_count;
/* SNS command interfaces. */