Thread (16 messages) 16 messages, 6 authors, 2013-08-13

Re: [PATCH net v5 1/5] bnx2x: protect different statistics flows

flat view

From: Neal Cardwell <ncardwell@google.com>
Date: 2013-08-13 17:54:16

On Mon, Aug 12, 2013 at 7:24 PM, Dmitry Kravkov [off-list ref] wrote:
quoted hunk ↗ jump to hunk
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 <redacted>
Signed-off-by: Ariel Elior <redacted>
Signed-off-by: Eilon Greenstein <redacted>
---
 drivers/net/ethernet/broadcom/bnx2x/bnx2x.h       |  2 +
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c  |  1 +
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_stats.c | 66 ++++++++++++++++++-----
 3 files changed, 57 insertions(+), 12 deletions(-)
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
index d80e34b..98be67f 100644
Acked-by: Neal Cardwell <ncardwell@google.com>

Thanks!

neal
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help