]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] bnx2fc: Tx/Rx byte counts reset to 0 when exceeding 32 bit values
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Sat, 22 Dec 2012 03:40:32 +0000 (19:40 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 29 Jan 2013 23:48:48 +0000 (10:48 +1100)
commita2bbc606f7f253e80165beaf49dfc83ffebaee79
tree87651ed3f79d359f93e074cb0a6473bb34f120a9
parentd694af88179852c5f6074a155633dddb91c4fdf2
[SCSI] bnx2fc: Tx/Rx byte counts reset to 0 when exceeding 32 bit values

Since the FW counters are 32-bit, accumulate the stats in the driver.

[jejb: fix checkpatch warning]
Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bnx2fc/bnx2fc.h
drivers/scsi/bnx2fc/bnx2fc_fcoe.c