[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CADVnQy=0-fjoRDp_u2RzO7dkUmg84V2Q+tNXW0ir=M23V8hALw@mail.gmail.com>
Date: Tue, 13 Aug 2013 13:54:15 -0400
From: Neal Cardwell <ncardwell@...gle.com>
To: Dmitry Kravkov <dmitry@...adcom.com>
Cc: David Miller <davem@...emloft.net>,
Netdev <netdev@...r.kernel.org>, eilong@...adcom.com,
Ariel Elior <ariele@...adcom.com>
Subject: Re: [PATCH net v5 1/5] bnx2x: protect different statistics flows
On Mon, Aug 12, 2013 at 7:24 PM, Dmitry Kravkov <dmitry@...adcom.com> wrote:
> 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@...adcom.com>
> Signed-off-by: Ariel Elior <ariele@...adcom.com>
> Signed-off-by: Eilon Greenstein <eilong@...adcom.com>
> ---
> 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@...gle.com>
Thanks!
neal
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists