diff options
author | Pieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com> | 2017-10-20 20:49:52 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-22 05:09:32 +0300 |
commit | 62d3f60b4d065c09a3ccb9e862e71ae870c2d27b (patch) | |
tree | 158ed57202d29ae5bd195c1bd8d7e05e81fd0ff7 /tools/testing/selftests/bpf/bpf_helpers.h | |
parent | 0cea8e28df721f929ee3e1fa32489c012100f5a1 (diff) | |
download | linux-62d3f60b4d065c09a3ccb9e862e71ae870c2d27b.tar.xz |
nfp: use struct fields for 8 bit-wide access
Use direct access struct fields rather than PREP_FIELD()
macros to manipulate the jump ID and length, both of which
are exactly 8-bits wide. This simplifies the code somewhat.
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Signed-off-by: Pieter Jansen van Vuuren <pieter.jansenvanvuuren@netronome.com>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/bpf/bpf_helpers.h')
0 files changed, 0 insertions, 0 deletions