aboutsummaryrefslogtreecommitdiff
path: root/tools/perf
diff options
context:
space:
mode:
authorJakub Kicinski <[email protected]>2018-03-28 17:48:36 -0700
committerAlexei Starovoitov <[email protected]>2018-03-28 19:36:14 -0700
commit41aed09cf61c00ef6c3b2648d5a193cbaf2a74d0 (patch)
tree7ba8625d79f116af1aca358f991d9b7fb1fcdfb4 /tools/perf
parentb556ddd9c19983f3f13ab0d524f884349fead115 (diff)
nfp: bpf: add support for atomic add of unknown values
Allow atomic add to be used even when the value is not guaranteed to fit into a 16 bit immediate. This requires the value to be pulled as data, and therefore use of a transfer register and a context swap. Track the information about possible lengths of the value, if it's guaranteed to be larger than 16bits don't generate the code for the optimized case at all. Signed-off-by: Jakub Kicinski <[email protected]> Reviewed-by: Quentin Monnet <[email protected]> Reviewed-by: Jiong Wang <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf')
0 files changed, 0 insertions, 0 deletions