diff options
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_attr.c | 1 | ||||
-rw-r--r-- | drivers/scsi/qla2xxx/qla_def.h | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/drivers/scsi/qla2xxx/qla_attr.c b/drivers/scsi/qla2xxx/qla_attr.c index 43e400894733..40b5d656ab6c 100644 --- a/drivers/scsi/qla2xxx/qla_attr.c +++ b/drivers/scsi/qla2xxx/qla_attr.c | |||
@@ -1071,6 +1071,7 @@ qla2x00_get_fc_host_stats(struct Scsi_Host *shost) | |||
1071 | pfc_host_stat->invalid_tx_word_count = stats->inval_xmit_word_cnt; | 1071 | pfc_host_stat->invalid_tx_word_count = stats->inval_xmit_word_cnt; |
1072 | pfc_host_stat->invalid_crc_count = stats->inval_crc_cnt; | 1072 | pfc_host_stat->invalid_crc_count = stats->inval_crc_cnt; |
1073 | if (IS_FWI2_CAPABLE(ha)) { | 1073 | if (IS_FWI2_CAPABLE(ha)) { |
1074 | pfc_host_stat->lip_count = stats->lip_cnt; | ||
1074 | pfc_host_stat->tx_frames = stats->tx_frames; | 1075 | pfc_host_stat->tx_frames = stats->tx_frames; |
1075 | pfc_host_stat->rx_frames = stats->rx_frames; | 1076 | pfc_host_stat->rx_frames = stats->rx_frames; |
1076 | pfc_host_stat->dumped_frames = stats->dumped_frames; | 1077 | pfc_host_stat->dumped_frames = stats->dumped_frames; |
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index fe1eada6cfc2..2b1bc57adf2d 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h | |||
@@ -864,7 +864,8 @@ struct link_statistics { | |||
864 | uint32_t prim_seq_err_cnt; | 864 | uint32_t prim_seq_err_cnt; |
865 | uint32_t inval_xmit_word_cnt; | 865 | uint32_t inval_xmit_word_cnt; |
866 | uint32_t inval_crc_cnt; | 866 | uint32_t inval_crc_cnt; |
867 | uint32_t unused1[0x1b]; | 867 | uint32_t lip_cnt; |
868 | uint32_t unused1[0x1a]; | ||
868 | uint32_t tx_frames; | 869 | uint32_t tx_frames; |
869 | uint32_t rx_frames; | 870 | uint32_t rx_frames; |
870 | uint32_t dumped_frames; | 871 | uint32_t dumped_frames; |