diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2020-07-14 16:56:42 +0300 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2020-07-16 18:00:32 +0300 |
commit | 05500125021191f703d3759a7e94a37b7257d959 (patch) | |
tree | bbad9a6d54a3590b69b9e9d003023f0b2e64ef42 /lib | |
parent | ce4dade7f12a8f3e7918184ac851d992f551805d (diff) | |
download | linux-05500125021191f703d3759a7e94a37b7257d959.tar.xz |
selftest: Add tests for XDP programs in CPUMAP entries
Similar to what have been done for DEVMAP, introduce tests to verify
ability to add a XDP program to an entry in a CPUMAP.
Verify CPUMAP programs can not be attached to devices as a normal
XDP program, and only programs with BPF_XDP_CPUMAP attach type can
be loaded in a CPUMAP.
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/9c632fcea5382ea7b4578bd06b6eddf382c3550b.1594734381.git.lorenzo@kernel.org
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions