bnx2x: pfc statistics counts pfc events twice
authorYuval Mintz <yuvalmin@broadcom.com>
Mon, 12 Mar 2012 11:22:04 +0000 (11:22 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Mar 2012 00:01:25 +0000 (17:01 -0700)
commitdb0ea84845538f15ab1b44da4af4b4fd7adc4d85
tree9e4bb6e1f614d0bf42451926b0a3240448c256c0
parent930c514f6960454a5082f7e533bd2867df6fe9cb
bnx2x: pfc statistics counts pfc events twice

When pfc statistics were counted, the delta change from last count
was summed twice. This fixes the issue.

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c