On Thu, 24 Sep 2015 12:50:59 +0300
"Michael S. Tsirkin" wrote:
> On Thu, Sep 24, 2015 at 09:25:45AM +0200, Greg Kurz wrote:
> > On Wed, 23 Sep 2015 19:45:08 +0100
> > David Woodhouse wrote:
> >
> > > Commit 7d82410950aa ("virtio: add explicit big-endian
On Thu, Sep 24, 2015 at 09:25:45AM +0200, Greg Kurz wrote:
> On Wed, 23 Sep 2015 19:45:08 +0100
> David Woodhouse wrote:
>
> > Commit 7d82410950aa ("virtio: add explicit big-endian support to memory
> > accessors") accidentally changed the virtio_net header used by
> >
On Thu, 2015-09-24 at 12:55 +0300, Michael S. Tsirkin wrote:
>
> I'm fine with this patch
>
> Acked-by: Michael S. Tsirkin
Thanks. In fact Dave has already merged it.
> but if you want to re-work it along the lines suggested
> by Greg, that's also fine with me.
If I'm going
On Wed, Sep 23, 2015 at 07:45:08PM +0100, David Woodhouse wrote:
> Commit 7d82410950aa ("virtio: add explicit big-endian support to memory
> accessors") accidentally changed the virtio_net header used by
> AF_PACKET with PACKET_VNET_HDR from host-endian to big-endian.
>
> Since
On Wed, 23 Sep 2015 19:45:08 +0100
David Woodhouse wrote:
> Commit 7d82410950aa ("virtio: add explicit big-endian support to memory
> accessors") accidentally changed the virtio_net header used by
> AF_PACKET with PACKET_VNET_HDR from host-endian to big-endian.
>
Hi David,
Commit 7d82410950aa ("virtio: add explicit big-endian support to memory
accessors") accidentally changed the virtio_net header used by
AF_PACKET with PACKET_VNET_HDR from host-endian to big-endian.
Since virtio_legacy_is_little_endian() is a very long identifier,
define a VIO_LE macro and use