[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CANEJEGuLoC0NWzwP1ZTAw0nwY7uWumJpTy5LQGdaQihVzPmg0w@mail.gmail.com>
Date: Thu, 1 Aug 2013 09:12:23 -0700
From: Grant Grundler <grundler@...gle.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: Ming Lei <ming.lei@...onical.com>,
"David S. Miller" <davem@...emloft.net>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Oliver Neukum <oneukum@...e.de>,
Freddy Xin <freddy@...x.com.tw>,
Ben Hutchings <bhutchings@...arflare.com>,
netdev <netdev@...r.kernel.org>, linux-usb@...r.kernel.org
Subject: Re: [PATCH 4/4] USBNET: ax88179_178a: enable tso if host supports sg dma
On Thu, Aug 1, 2013 at 8:36 AM, Eric Dumazet <eric.dumazet@...il.com> wrote:
...
>> 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)
Ah ok - thanks for clarifying. I couldn't find the implementation and
this documentation also helped:
http://kernelnewbies.org/EndianIssues
I don't remember implementing in-place endian correction for
arch/parisc (which is BE). I was expecting to find a generic
definition that did a load/swap/store and didn't.
thanks,
grant
--
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