aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib
diff options
context:
space:
mode:
authorToke Høiland-Jørgensen <toke@redhat.com>2020-02-18 14:03:34 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2020-02-18 15:31:31 +0100
commitf25975f42f2f8f2a01303054d6a70c7ceb1fcf54 (patch)
tree9849341ec8a3232a5c9c909fdca5e12204350b55 /tools/lib
parentbpf, offload: Replace bitwise AND by logical AND in bpf_prog_offload_info_fill (diff)
downloadlinux-dev-f25975f42f2f8f2a01303054d6a70c7ceb1fcf54.tar.xz
linux-dev-f25975f42f2f8f2a01303054d6a70c7ceb1fcf54.zip
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
Diffstat (limited to 'tools/lib')
0 files changed, 0 insertions, 0 deletions