diff options
| author | Maciej Fijalkowski <[email protected]> | 2022-04-13 17:30:05 +0200 |
|---|---|---|
| committer | Daniel Borkmann <[email protected]> | 2022-04-15 21:10:32 +0200 |
| commit | d090c885860f6ef85aa080bdfc94e69c525490a2 (patch) | |
| tree | 1eb73dcbf3b225dc2ea066e33191d1c52f76659c /tools/perf/scripts/python/bin/export-to-postgresql-report | |
| parent | 0bd5ab511e30a8c462c377d0fdda3374fc6200a4 (diff) | |
ixgbe, xsk: Decorate IXGBE_XDP_REDIR with likely()
ixgbe_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
ixgbe_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 <[email protected]>
Signed-off-by: Maciej Fijalkowski <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions