diff options
author | Kumar Kartikeya Dwivedi <memxor@gmail.com> | 2021-07-02 16:48:25 +0530 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-07-07 20:01:45 -0700 |
commit | 36246d5a7aa66e06c231a5578ed69a413ea382d4 (patch) | |
tree | 8d3d3a649503e69af099c6d72fee5b28ec3db980 /scripts/bpf_doc.py | |
parent | 2ea5eabaf04a1829383aefe98ac38a2e5ae2d698 (diff) |
bpf: Tidy xdp attach selftests
Support for cpumap and devmap entry progs in previous commits means the
test needs to be updated for the new semantics. Also take this
opportunity to convert it from CHECK macros to the new ASSERT macros.
Since xdp_cpumap_attach has no subtest, put the sole test inside the
test_xdp_cpumap_attach function.
Signed-off-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Reviewed-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://lore.kernel.org/bpf/20210702111825.491065-6-memxor@gmail.com
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions