aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/bpf_helpers_doc.py
diff options
context:
space:
mode:
authorLorenzo Bianconi <[email protected]>2020-07-14 13:56:42 +0000
committerDaniel Borkmann <[email protected]>2020-07-16 15:00:32 +0000
commit05500125021191f703d3759a7e94a37b7257d959 (patch)
treebbad9a6d54a3590b69b9e9d003023f0b2e64ef42 /scripts/bpf_helpers_doc.py
parentsamples/bpf: xdp_redirect_cpu: Load a eBPF program on cpumap (diff)
downloadkernel-05500125021191f703d3759a7e94a37b7257d959.tar.gz
kernel-05500125021191f703d3759a7e94a37b7257d959.zip
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 <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/9c632fcea5382ea7b4578bd06b6eddf382c3550b.1594734381.git.lorenzo@kernel.org
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions