bpf: add comments to BPF ld/ldx sizes
authorJesper Dangaard Brouer <brouer@redhat.com>
Wed, 17 Jan 2018 11:05:36 +0000 (12:05 +0100)
committerDaniel Borkmann <daniel@iogearbox.net>
Thu, 18 Jan 2018 21:12:38 +0000 (22:12 +0100)
commitcb5f7334d479414adc6afe60105283277e297489
tree4f64b36c2ef1d8fa30c74a9bd262a247e33e14c9
parenteefa864a81501161c05b35f14197677c937e5b9a
bpf: add comments to BPF ld/ldx sizes

Doc BPF ld/ldx size defines as comments in code, as it makes in
faster to lookup in a programming/review setting, than looking up
the sizes in Documentation/networking/filter.txt.

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
include/uapi/linux/bpf.h
include/uapi/linux/bpf_common.h