[SCSI] fnic: FC stat param seconds_since_last_reset not getting updated
authorNarsimhulu Musini <nmusini@cisco.com>
Mon, 9 Sep 2013 20:31:45 +0000 (13:31 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 11 Sep 2013 19:47:44 +0000 (12:47 -0700)
commit1adee040114461787c031a792a9392a8b4866fc3
treed1906072190719e2fe7994fb2e5bf6839b53075a
parent984f1733fcee3fbc78d47e26c5096921c5d9946a
[SCSI] fnic: FC stat param seconds_since_last_reset not getting updated

Code to reset fc_host statistics.
echo 1 > /sys/class/fc_host/hostX/statistics/reset_statistics clears fc_host stats,
the code also issues command to fnic firmware to clear vnic stats.

Signed-off-by: Narsimhulu Musini <nmusini@cisco.com>
Signed-off-by: Hiral Patel <hiralpat@cisco.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/fnic/fnic.h
drivers/scsi/fnic/fnic_main.c