netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: vladz@broadcom.com
Cc: netdev@vger.kernel.org, sgruszka@redhat.com, eilong@broadcom.com
Subject: Re: [PATCH 1/1] bnx2x: Tx barriers and locks
Date: Sun, 28 Feb 2010 18:49:33 -0800 (PST)	[thread overview]
Message-ID: <20100228.184933.158431788.davem@davemloft.net> (raw)
In-Reply-To: <1267351922.10409.2.camel@lb-tlvb-vladz>

From: "Vladislav Zolotarov" <vladz@broadcom.com>
Date: Sun, 28 Feb 2010 12:12:02 +0200

> [Resending with the proper subject. Sorry for the mess. ]
> 
> This patch is based on the RFC of Stanislaw Gruszka.
> 
> More specifically it fixes two possible races:
> - One, described by Stanislaw, may lead to permanent disabling of the Tx
> queue.
> This is fixed by adding the smp_wmb() to propagate the BD consumer
> change towards the memory.
> - Second may lead to bnx2x_start_xmit() returning NETDEV_TX_BUSY.
> This is fixed by taking a tx_lock() before rechecking the number of
> available Tx BDs.
> 
> thanks,
> vlad 
> 
> Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
> Signed-off-by: Vladislav Zolotarov <vladz@broadcom.com>
> Signed-off-by: Eilon Greenstein <eilong@broadcom.com>

Applied, thanks everyone.

  reply	other threads:[~2010-03-01  2:49 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-28 10:12 [PATCH 1/1] bnx2x: Tx barriers and locks Vladislav Zolotarov
2010-03-01  2:49 ` David Miller [this message]
2010-03-01 13:33 ` Stanislaw Gruszka
2010-03-01 17:59   ` Michael Chan
2010-03-02 10:38     ` Vladislav Zolotarov
2010-03-02 11:38       ` Stanislaw Gruszka
2010-03-02 11:30     ` Stanislaw Gruszka
2010-03-02 12:50       ` Vladislav Zolotarov
2010-03-02 13:55         ` Stanislaw Gruszka
2010-03-02 16:18           ` Michael Chan
2010-03-02 16:59             ` Stanislaw Gruszka
2010-03-02 17:26               ` Michael Chan
2010-03-08 15:38                 ` Stanislaw Gruszka
2010-03-02 16:21           ` Vladislav Zolotarov
  -- strict thread matches above, loose matches on Subject: below --
2010-02-28 10:03 Vladislav Zolotarov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100228.184933.158431788.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=eilong@broadcom.com \
    --cc=netdev@vger.kernel.org \
    --cc=sgruszka@redhat.com \
    --cc=vladz@broadcom.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).