netdev
[Top] [All Lists]

Re: FW: Submission for S2io 10GbE driver

To: Anton Blanchard <anton@xxxxxxxxx>
Subject: Re: FW: Submission for S2io 10GbE driver
From: Jeff Garzik <jgarzik@xxxxxxxxx>
Date: Thu, 05 Feb 2004 04:27:25 -0500
Cc: Leonid Grossman <leonid.grossman@xxxxxxxx>, "'Andi Kleen'" <ak@xxxxxxx>, netdev@xxxxxxxxxxx, raghava.vatsavayi@xxxxxxxx, iod00d@xxxxxx
In-reply-to: <20040205032519.GR19011@krispykreme>
References: <20040205015149.GN19011@krispykreme> <005701c3eb92$55dc7650$7310100a@xxxxxxxxxxxx> <20040205032519.GR19011@krispykreme>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703
Anton Blanchard wrote:
Well there are non byteswapping versions on some architectures
(__raw_read*/__raw_write*). However at least on ppc32 they dont contain
memory barriers so you could into trouble using them.


FWIW the __raw_xxx are not supposed to contain memory barriers. That's for when the driver writer decides he is smart enough to do the byte swapping and barriers himself, for possibly increased speed :)

        Jeff




<Prev in Thread] Current Thread [Next in Thread>