diff options
author | Dmitry Kravkov <dmitry@broadcom.com> | 2013-08-13 02:24:59 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-08-13 16:04:28 -0700 |
commit | 507393eb2909ddf39edf3f8f4cd0fd914b720006 (patch) | |
tree | b6698cefef1be7ac49d3c1db4ec5a6dd56a90a6b /drivers/i2c | |
parent | 205057aeb3c488fbd4a9c3a0542e05dcf4fda149 (diff) |
bnx2x: protect different statistics flows
Add locking to protect different statistics flows from
running simultaneously.
This in order to serialize statistics requests sent to FW,
otherwise two outstanding queries may cause FW assert.
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Acked-by: Neal Cardwell <ncardwell@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/i2c')
0 files changed, 0 insertions, 0 deletions