commit | 9fb410a89e8fa92f8ebc7aa95563442a14da21eb | [log] [tgz] |
---|---|---|
author | Jiong Wang <jiong.wang@netronome.com> | Fri Jul 06 15:13:23 2018 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Sat Jul 07 01:45:31 2018 +0200 |
tree | 2e8fd0bfafbfffba139074dfbf7e8f0406caee31 | |
parent | 2a952b03d1a011e2e7ddc9ca59cbb21df7dc3525 [diff] |
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>