diff options
author | Jakub Kicinski <[email protected]> | 2018-04-24 21:22:38 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2018-04-25 09:56:10 +0200 |
commit | 61dd8f0007799e88d35624f63e24e98a978df9d9 (patch) | |
tree | 9836369a1a82db98f3bfba063747349f3ae6f7a1 /lib/mpi/mpiutil.c | |
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 <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions