[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1428443685.25985.212.camel@edumazet-glaptop2.roam.corp.google.com>
Date: Tue, 07 Apr 2015 14:54:45 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: David Miller <davem@...emloft.net>
Cc: romieu@...zoreil.com, netdev@...r.kernel.org, nix@...eri.org.uk,
rl@...lgate.ch, gurligebis@...too.org, alexander.h.duyck@...hat.com
Subject: Re: [PATCH net-next 1/4] via-rhine: commit receive buffer address
before descriptor status update.
On Tue, 2015-04-07 at 17:27 -0400, David Miller wrote:
> That's exactly dma_wmb().
>
> It barriers cpu writes so that the device sees things in a certain
> order.
>
> It's what all the most common ethernet chip drivers use in their
> descriptor handling routines now.
To be fair, only 2 drivers currently use dma_wmb()
--
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