[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20110323083357.457f10aa@nehalam>
Date: Wed, 23 Mar 2011 08:33:57 -0700
From: Stephen Hemminger <shemminger@...tta.com>
To: Stanislaw Gruszka <sgruszka@...hat.com>
Cc: netdev@...r.kernel.org, Andrew Gallatin <gallatin@...i.com>,
Brice Goglin <brice@...i.com>
Subject: Re: [RFC] myri10ge: small rx_done refactoring
On Wed, 23 Mar 2011 13:52:04 +0100
Stanislaw Gruszka <sgruszka@...hat.com> wrote:
> Add lro_enable variable to read NETIF_F_LRO flag only once per napi poll
> call. This should fix theoretical race condition with
> myri10ge_set_rx_csum() and myri10ge_set_flags() where flag NETIF_F_LRO
> can be changed.
You may need a barrier or the race may still be there.
The driver seems to use mb() where wmb() is intended, and never use rmb()?
--
--
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