]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: Avoid sending multiple statistics queries
authorDmitry Kravkov <dmitry@broadcom.com>
Tue, 11 Sep 2012 04:34:08 +0000 (04:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Sep 2012 20:37:51 +0000 (16:37 -0400)
commit15d202324d2ed943efb68463e1519e87fb63742b
treecc52c25b2066fc2e5f25b43a666455b30db5217a
parentc29098a7d0000c700a169772c6a9d706a4b2ab88
bnx2x: Avoid sending multiple statistics queries

During traffic when DCB is enabled, it is possible for multiple instances
of statistics queries to be sent to the chip - this may cause the FW to assert.

This patch prevents the sending of an additional instance of statistics query
while the previous query hasn't completed.

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
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_stats.c