]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: Correct EEE statistics gathering
authorYuval Mintz <yuvalmin@broadcom.com>
Mon, 23 Jul 2012 21:16:06 +0000 (21:16 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 24 Jul 2012 20:54:15 +0000 (13:54 -0700)
commit73c2b33ec6524ff6c691c80f5e5b2b2fd5b7ac0e
tree63d5c97df001707fb0351709d598ac8f99204a5c
parentb8eb8b6c7ef5754d31d0e3960bbbe57d4ffca87a
bnx2x: Correct EEE statistics gathering

In boards with 4-ports, Tx LPI statistics were gathered incorrectly.
This patch guarantees that each pmf will only query its own port for
these statistics.

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_reg.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c