diff options
author | Jiong Wang <jiong.wang@netronome.com> | 2018-07-06 15:13:23 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2018-07-07 01:45:31 +0200 |
commit | 9fb410a89e8fa92f8ebc7aa95563442a14da21eb (patch) | |
tree | 2e8fd0bfafbfffba139074dfbf7e8f0406caee31 /tools/bpf/bpftool/prog.c | |
parent | 2a952b03d1a011e2e7ddc9ca59cbb21df7dc3525 (diff) | |
download | linux-9fb410a89e8fa92f8ebc7aa95563442a14da21eb.tar.gz linux-9fb410a89e8fa92f8ebc7aa95563442a14da21eb.tar.bz2 linux-9fb410a89e8fa92f8ebc7aa95563442a14da21eb.zip |
nfp: bpf: migrate to advanced reciprocal divide in reciprocal_div.h
As we are doing JIT, we would want to use the advanced version of the
reciprocal divide (reciprocal_value_adv) to trade performance with host.
We could reduce the required ALU instructions from 4 to 2 or 1.
Signed-off-by: Jiong Wang <jiong.wang@netronome.com>
Reviewed-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