]> 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)
commit94b752baeb89d74fd5c1cd861fea9b5c7ed5461f
tree9e4bb6e1f614d0bf42451926b0a3240448c256c0
parentb0495462c64ae97081b598f42da7320c63017585
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