]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2aee9bf77bca48005568b4ed0ebccd58323cd0b4
tree4f64b36c2ef1d8fa30c74a9bd262a247e33e14c9
parent87495ec9245b96cb9a5a424ae64626ce5275376a
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