[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100228.184933.158431788.davem@davemloft.net>
Date: Sun, 28 Feb 2010 18:49:33 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: vladz@...adcom.com
Cc: netdev@...r.kernel.org, sgruszka@...hat.com, eilong@...adcom.com
Subject: Re: [PATCH 1/1] bnx2x: Tx barriers and locks
From: "Vladislav Zolotarov" <vladz@...adcom.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@...hat.com>
> Signed-off-by: Vladislav Zolotarov <vladz@...adcom.com>
> Signed-off-by: Eilon Greenstein <eilong@...adcom.com>
Applied, thanks everyone.
--
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