diff options
author | Daniel Borkmann <[email protected]> | 2019-04-09 23:20:16 +0200 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2019-04-09 17:05:47 -0700 |
commit | fb2abb73e575b6fcb428f803faf928ef04d5bb1e (patch) | |
tree | cb15ca8b67f832fede7ec54d05a7d68664aa0591 /tools/perf/scripts/python | |
parent | 817998afa038c156bbc1a6e69c48aa26282cc41f (diff) |
bpf, selftest: test {rd, wr}only flags and direct value access
Extend test_verifier with various test cases around the two kernel
extensions, that is, {rd,wr}only map support as well as direct map
value access. All passing, one skipped due to xskmap not present
on test machine:
# ./test_verifier
[...]
#948/p XDP pkt read, pkt_meta' <= pkt_data, bad access 1 OK
#949/p XDP pkt read, pkt_meta' <= pkt_data, bad access 2 OK
#950/p XDP pkt read, pkt_data <= pkt_meta', good access OK
#951/p XDP pkt read, pkt_data <= pkt_meta', bad access 1 OK
#952/p XDP pkt read, pkt_data <= pkt_meta', bad access 2 OK
Summary: 1410 PASSED, 1 SKIPPED, 0 FAILED
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Martin KaFai Lau <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions