summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMaciej Fijalkowski <maciej.fijalkowski@intel.com>2022-04-13 18:30:04 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2022-04-15 22:10:25 +0300
commit0bd5ab511e30a8c462c377d0fdda3374fc6200a4 (patch)
treeae1494d61b6bab91252b086bd13f54fb89e11860 /tools/perf/scripts/python/export-to-sqlite.py
parent2be4a677ccb2cae1f72a9467e922642655efc0be (diff)
downloadlinux-0bd5ab511e30a8c462c377d0fdda3374fc6200a4.tar.xz
ice, xsk: Decorate ICE_XDP_REDIR with likely()
ice_run_xdp_zc() suggests to compiler that XDP_REDIRECT is the most probable action returned from BPF program that AF_XDP has in its pipeline. Let's also bring this suggestion up to the callsite of ice_run_xdp_zc() so that compiler will be able to generate more optimized code which in turn will make branch predictor happy. Suggested-by: Jesper Dangaard Brouer <brouer@redhat.com> Signed-off-by: Maciej Fijalkowski <maciej.fijalkowski@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20220413153015.453864-4-maciej.fijalkowski@intel.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions