commit | 61dd8f0007799e88d35624f63e24e98a978df9d9 | [log] [tgz] |
---|---|---|
author | Jakub Kicinski <jakub.kicinski@netronome.com> | Tue Apr 24 21:22:38 2018 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Wed Apr 25 09:56:10 2018 +0200 |
tree | 9836369a1a82db98f3bfba063747349f3ae6f7a1 | |
parent | 6c59500c2dbfae0e3c90854ef443948d2889495d [diff] |
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>