diff options
author | 2018-07-06 15:13:23 -0700 | |
---|---|---|
committer | 2018-07-07 01:45:31 +0200 | |
commit | 9fb410a89e8fa92f8ebc7aa95563442a14da21eb (patch) | |
tree | 2e8fd0bfafbfffba139074dfbf7e8f0406caee31 /net/core | |
parent | nfp: bpf: support u32 divide using reciprocal_div.h (diff) | |
download | wireguard-linux-9fb410a89e8fa92f8ebc7aa95563442a14da21eb.tar.xz wireguard-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 'net/core')
0 files changed, 0 insertions, 0 deletions