Subject: eBPF - little-endian load instructions?

From: Johannes Berg <[email-masked]>
Date: Tue, 11 Apr 2017 12:38:34 +0200

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