mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 14:12:06 +00:00
[SCSI] qla2xxx: Add LIP count to FC-transport statistics.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:
parent
e5f5f6f72b
commit
032d8dd739
@ -1071,6 +1071,7 @@ qla2x00_get_fc_host_stats(struct Scsi_Host *shost)
|
||||
pfc_host_stat->invalid_tx_word_count = stats->inval_xmit_word_cnt;
|
||||
pfc_host_stat->invalid_crc_count = stats->inval_crc_cnt;
|
||||
if (IS_FWI2_CAPABLE(ha)) {
|
||||
pfc_host_stat->lip_count = stats->lip_cnt;
|
||||
pfc_host_stat->tx_frames = stats->tx_frames;
|
||||
pfc_host_stat->rx_frames = stats->rx_frames;
|
||||
pfc_host_stat->dumped_frames = stats->dumped_frames;
|
||||
|
@ -864,7 +864,8 @@ struct link_statistics {
|
||||
uint32_t prim_seq_err_cnt;
|
||||
uint32_t inval_xmit_word_cnt;
|
||||
uint32_t inval_crc_cnt;
|
||||
uint32_t unused1[0x1b];
|
||||
uint32_t lip_cnt;
|
||||
uint32_t unused1[0x1a];
|
||||
uint32_t tx_frames;
|
||||
uint32_t rx_frames;
|
||||
uint32_t dumped_frames;
|
||||
|
Loading…
Reference in New Issue
Block a user