diff options
author | Jesper Dangaard Brouer <brouer@redhat.com> | 2018-09-03 10:55:02 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-09-07 08:34:08 +0300 |
commit | 2a68d85fe1b7511731dedf73c4003fec2880f1ce (patch) | |
tree | 0fd8afe6f8e64c2e2bab87e74b5d3252affa5579 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | e1302542e37ebbc1de70982e93bd777397f90712 (diff) | |
download | linux-2a68d85fe1b7511731dedf73c4003fec2880f1ce.tar.xz |
xdp: explicit inline __xdp_map_lookup_elem
The compiler chooses to not-inline the function __xdp_map_lookup_elem,
because it can see that it is used by both Generic-XDP and native-XDP
do redirect calls (xdp_do_generic_redirect_map and xdp_do_redirect_map).
The compiler cannot know that this is a bad choice, as it cannot know
that a net device cannot run both XDP modes (Generic or Native) at the
same time. Thus, mark this function inline, even-though we normally
leave this up-to the compiler.
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions