]> www.infradead.org Git - users/jedix/linux-maple.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)
committerJoe Jin <joe.jin@oracle.com>
Tue, 28 Aug 2012 07:23:18 +0000 (15:23 +0800)
commitafb3abd355004a187688b12f19761e8b3a0e4612
treea7c28e7c198c02019d05c267afbad090cc094005
parent63e8d97113178783e1f12c537a92c87a33116c22
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.

(cherry picked from commit db0ea84845538f15ab1b44da4af4b4fd7adc4d85)
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>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/bnx2x/bnx2x_stats.c