diff options
| author | Jakub Sitnicki <[email protected]> | 2020-05-31 08:28:45 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-06-01 22:21:03 +0000 |
| commit | b4b8a3bf9ef0fbbf343b624d68ea328dd4edd5c4 (patch) | |
| tree | eaf9771a8c2940eaaae4cb817fd602c306813f53 /net/tipc/node.c | |
| parent | selftests/bpf, flow_dissector: Close TAP device FD after the test (diff) | |
| download | kernel-b4b8a3bf9ef0fbbf343b624d68ea328dd4edd5c4.tar.gz kernel-b4b8a3bf9ef0fbbf343b624d68ea328dd4edd5c4.zip | |
selftests/bpf: Convert test_flow_dissector to use BPF skeleton
Switch flow dissector test setup from custom BPF object loader to BPF
skeleton to save boilerplate and prepare for testing higher-level API for
attaching flow dissector with bpf_link.
To avoid depending on program order in the BPF object when populating the
flow dissector PROG_ARRAY map, change the program section names to contain
the program index into the map. This follows the example set by tailcall
tests.
Signed-off-by: Jakub Sitnicki <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions
