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)
commitc20cd5d753a452807b080bbf390e2f844d7991b3
tree63d5c97df001707fb0351709d598ac8f99204a5c
parent3c4cfadef6a1665d9cd02a543782d03d3e6740c6
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