aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/trace_helpers.c
diff options
context:
space:
mode:
authorJiong Wang <jiong.wang@netronome.com>2018-06-26 19:48:52 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2018-06-27 10:57:15 +0200
commitcc0dff6dc3b44e33cd6b935893db66563ef15ba0 (patch)
tree86c9772fd43babab2377bbb7f66f486f7e4656f3 /tools/testing/selftests/bpf/trace_helpers.c
parentMerge branch 'Multipath-tests-for-tunnel-devices' (diff)
downloadlinux-dev-cc0dff6dc3b44e33cd6b935893db66563ef15ba0.tar.xz
linux-dev-cc0dff6dc3b44e33cd6b935893db66563ef15ba0.zip
nfp: bpf: allow source ptr type be map ptr in memcpy optimization
Map read has been supported on NFP, this patch enables optimization for memcpy from map to packet. This patch also fixed one latent bug which will cause copying from unexpected address once memcpy for map pointer enabled. The fixed code path was not exercised before. Reported-by: Mary Pham <mary.pham@netronome.com> Reported-by: David Beckett <david.beckett@netronome.com> Signed-off-by: Jiong Wang <jiong.wang@netronome.com> Reviewed-by: Jakub Kicinski <jakub.kicinski@netronome.com> Acked-by: Song Liu <songliubraving@fb.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/testing/selftests/bpf/trace_helpers.c')
0 files changed, 0 insertions, 0 deletions