[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1491907114.31620.18.camel@sipsolutions.net>
Date: Tue, 11 Apr 2017 12:38:34 +0200
From: Johannes Berg <johannes@...solutions.net>
To: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Cc: Daniel Borkmann <dborkman@...hat.com>,
Alexei Starovoitov <ast@...nel.org>
Subject: eBPF - little-endian load instructions?
Hi,
Looking at (e)BPF for wifi, I notice that everything is big endian in
loads from the frame - and wifi is all little endian.
Obviously, this can be worked around by doing byte-loads and swapping
in the program, but it'll be more efficient to not do that.
Do you think it's possible to add little-endian load instructions? Or
perhaps there should be a conversion function from BE to LE?
Thanks,
johannes
Powered by blists - more mailing lists