bnx2x: fix rx ring size report
authorVladislav Zolotarov <vladz@broadcom.com>
Tue, 30 Aug 2011 00:08:41 +0000 (00:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Sep 2011 18:49:29 +0000 (14:49 -0400)
commitc2188952fc7d2ca54bb8aca1bc502618a7488baf
tree564a468b59b094d8ce22b8f270e9a88c8be07918
parent5f837363457a2280530373267f86092625d15a4d
bnx2x: fix rx ring size report

Store the size in bp, read from bp when queried.

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x/bnx2x_cmn.c
drivers/net/bnx2x/bnx2x_ethtool.c