diff options
author | Alexei Starovoitov <ast@kernel.org> | 2020-06-01 23:49:33 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-06-02 00:48:32 +0300 |
commit | 906312ca0d620cdcdb54d07594d26da0aed7eed2 (patch) | |
tree | 315a7405aabf602bdff8a8d95450829cd25f61ba /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | b36e62eb85215a60916f910070f6d494b4f3e73a (diff) | |
parent | d39aec79e5923bf984df991ffe51d4a2b7a9e746 (diff) | |
download | linux-906312ca0d620cdcdb54d07594d26da0aed7eed2.tar.xz |
Merge branch 'xdp_devmap'
David Ahern says:
====================
Implementation of Daniel's proposal for allowing DEVMAP entries to be
a device index, program fd pair.
Programs are run after XDP_REDIRECT and have access to both Rx device
and Tx device.
v4
- moved struct bpf_devmap_val from uapi to devmap.c, named the union
and dropped the prefix from the elements - Jesper
- fixed 2 bugs in selftests
v3
- renamed struct to bpf_devmap_val
- used offsetofend to check for expected map size, modification of
Toke's comment
- check for explicit value sizes
- adjusted switch statement in dev_map_run_prog per Andrii's comment
- changed SEC shortcut to xdp_devmap
- changed selftests to use skeleton and new map declaration
v2
- moved dev_map_ext_val definition to uapi to formalize the API for devmap
extensions; add bpf_ prefix to the prog_fd and prog_id entries
- changed devmap code to handle struct in a way that it can support future
extensions
- fixed subject in libbpf patch
v1
- fixed prog put on invalid program - Toke
- changed write value from id to fd per Toke's comments about capabilities
- add test cases
====================
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions