Files
linux/drivers/net/ethernet
Maciej Fijalkowski d090c88586 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 <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-5-maciej.fijalkowski@intel.com
2022-04-15 21:10:32 +02:00
..
2022-02-07 19:53:38 -08:00
2022-01-09 16:52:18 -08:00
2022-03-04 12:02:19 +00:00
2022-04-08 11:52:48 +01:00
2022-01-09 16:52:18 -08:00
2022-03-04 12:02:19 +00:00
2022-04-05 17:32:05 -07:00
2022-02-11 14:39:08 -08:00
2022-03-04 12:02:19 +00:00
2022-03-04 12:02:19 +00:00
2022-02-12 18:20:04 +01:00