Re: [PATCH bpf 1/1] bpf: btf: Fix bitfield extraction for big endian

From: Daniel Borkmann
Date: Tue Jul 10 2018 - 14:39:56 EST


On 07/10/2018 07:18 PM, Martin KaFai Lau wrote:
[...]
> I would prefer to keep it as u16 which is the max width that is allowed for
> this field in the wire format. Keeping the usage consistent can avoid
> accidentally incorrect offsetting or writing wrong data out in other
> cases.

+1