diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2018-04-25 07:22:38 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-04-25 10:56:10 +0300 |
commit | 61dd8f0007799e88d35624f63e24e98a978df9d9 (patch) | |
tree | 9836369a1a82db98f3bfba063747349f3ae6f7a1 /tools/bpf/bpftool/prog.c | |
parent | 6c59500c2dbfae0e3c90854ef443948d2889495d (diff) | |
download | linux-61dd8f0007799e88d35624f63e24e98a978df9d9.tar.xz |
nfp: bpf: tabularize generations of compare operations
There are quite a few compare instructions now, use a table
to translate BPF instruction code to NFP instruction parameters
instead of parameterizing helpers. This saves LOC and makes
future extensions easier.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions