]> 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)
commitb34f3fd8419dca3847e5f7493bb82298be102253
tree63d5c97df001707fb0351709d598ac8f99204a5c
parent289b3f33bdb96d33554dc903a71a0c39683f1b7d
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