diff options
author | James Smart <James.Smart@Emulex.Com> | 2006-08-02 15:24:34 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-08-06 12:27:31 -0400 |
commit | 64ba88182962698a8cb75792372c1dddaef82989 (patch) | |
tree | 67520a9f5b946559e4baba69f3cab37a2a7c3a77 /drivers/scsi/lpfc/lpfc_sli.c | |
parent | 0dfda7751e969902f7231fc547ca8c9e0fb9ee13 (diff) |
[SCSI] lpfc 8.1.7 : Add statistics reset callback for FC transport
Signed-off-by: James Smart <James.Smart@emulex.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_sli.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_sli.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c index 350a625fa224..f453fccd67c8 100644 --- a/drivers/scsi/lpfc/lpfc_sli.c +++ b/drivers/scsi/lpfc/lpfc_sli.c | |||
@@ -1792,6 +1792,9 @@ lpfc_sli_brdrestart(struct lpfc_hba * phba) | |||
1792 | 1792 | ||
1793 | spin_unlock_irq(phba->host->host_lock); | 1793 | spin_unlock_irq(phba->host->host_lock); |
1794 | 1794 | ||
1795 | memset(&psli->lnk_stat_offsets, 0, sizeof(psli->lnk_stat_offsets)); | ||
1796 | psli->stats_start = get_seconds(); | ||
1797 | |||
1795 | if (skip_post) | 1798 | if (skip_post) |
1796 | mdelay(100); | 1799 | mdelay(100); |
1797 | else | 1800 | else |