Re: [PATCH 4/4] USBNET: ax88179_178a: enable tso if host supports sg dma

Eric Dumazet
2013-08-01T15:36:46Z

On Thu, 2013-08-01 at 08:30 -0700, Grant Grundler wrote:

> http://lxr.free-electrons.com/source/include/linux/byteorder/generic.h#L111
> http://lxr.free-electrons.com/ident?i=__cpu_to_le32s
>
> IIRC, cpu_to_leXX() macros return the endian "corrected" value.
> In other words, they need to be assigned to something, no?
>

Nope, this in in-place byte swapping (for Big Endian only)