[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20170207234940.GN22796@orbyte.nwl.cc>
Date: Wed, 8 Feb 2017 00:49:40 +0100
From: Phil Sutter <phil@....cc>
To: Stephen Hemminger <stephen@...workplumber.org>
Cc: netdev@...r.kernel.org
Subject: Re: [iproute PATCH 1/2] testsuite: skip link show test on big endian
systems
On Tue, Feb 07, 2017 at 03:12:49PM -0800, Stephen Hemminger wrote:
> On Wed, 8 Feb 2017 00:04:21 +0100
> Phil Sutter <phil@....cc> wrote:
>
> > Netlink protocol is in host byte order, so the provided binary netlink
> > message buffer being in little endian format will cause the test to fail
> > on big endian systems.
> >
> > Signed-off-by: Phil Sutter <phil@....cc>
>
> Maybe better to figure out how to generate the files in host order?
Yes, I had thought about that as well. Not sure whether it's worth the
effort though to write a program which constructs the messages and dumps
them into a file for 'ip monitor' to read. I think there's a certain
chance this will eventually test the message builder instead of iproute.
:)
Cheers, Phil
Powered by blists - more mailing lists