third_party_libbpf/include/uapi/linux
Toke Høiland-Jørgensen 031a38cceb bpf, uapi: Remove text about bpf_redirect_map() giving higher performance
The performance of bpf_redirect() is now roughly the same as that of
bpf_redirect_map(). However, David Ahern pointed out that the header file
has not been updated to reflect this, and still says that a significant
performance increase is possible when using bpf_redirect_map(). Remove this
text from the bpf_redirect_map() description, and reword the description in
bpf_redirect() slightly. Also fix the 'Return' section of the
bpf_redirect_map() documentation.

Fixes: 1d233886dd90 ("xdp: Use bulking for non-map XDP_REDIRECT and consolidate code paths")
Reported-by: David Ahern <dsahern@gmail.com>
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Quentin Monnet <quentin@isovalent.com>
Link: https://lore.kernel.org/bpf/20200218130334.29889-1-toke@redhat.com
2020-02-20 17:56:42 -08:00
..
bpf_common.h mirror uapi/linux/bpf_common.h file (#2) 2018-10-12 12:57:55 -07:00
bpf.h bpf, uapi: Remove text about bpf_redirect_map() giving higher performance 2020-02-20 17:56:42 -08:00
btf.h libbpf: Sanitize global functions 2020-01-10 11:15:12 -08:00
if_link.h net: macsec: introduce the macsec_context structure 2020-01-24 14:08:27 -08:00
if_xdp.h libbpf: add flags to umem config 2019-09-26 13:29:16 -07:00
netlink.h sync with latest bpf-next (#6) 2019-01-03 12:44:33 -08:00