]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcc44defe30ac22cd08b8745aa9123cd973928a8f
tree9e4bb6e1f614d0bf42451926b0a3240448c256c0
parentf7046f906ee14f39b42199588580557bf35b28bb
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