diff options
author | Bastien Curutchet (eBPF Foundation) <bastien.curutchet@bootlin.com> | 2025-02-21 11:04:57 +0100 |
---|---|---|
committer | Martin KaFai Lau <martin.lau@kernel.org> | 2025-03-19 15:59:27 -0700 |
commit | 0f9ff4cb687d014fba2a59a6f182e855a9a721ad (patch) | |
tree | 13ac87b6d65e7edea448def7efef94cccef9ba46 /tools/testing/selftests/safesetid | |
parent | a2598045ead99b51b00e81d46560757b9a95bd84 (diff) |
selftests/bpf: test_xdp_vlan: Rename BPF sections
The __load() helper expects BPF sections to be names 'xdp' or 'tc'
Rename BPF sections so they can be loaded with the __load() helper in
upcoming patch.
Rename the BPF functions with their previous section's name.
Update the 'ip link' commands in the script to use the program name
instead of the section name to load the BPF program.
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Signed-off-by: Bastien Curutchet (eBPF Foundation) <bastien.curutchet@bootlin.com>
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://patch.msgid.link/20250221-xdp_vlan-v1-1-7d29847169af@bootlin.com
Diffstat (limited to 'tools/testing/selftests/safesetid')
0 files changed, 0 insertions, 0 deletions