aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/bpf/prog_tests/recursion.c
diff options
context:
space:
mode:
authorAlexander Lobakin <[email protected]>2022-03-21 10:59:53 +0000
committerTony Nguyen <[email protected]>2022-04-07 15:20:10 +0000
commit07a28842bb4f65e66aa297a031a57dec4828d6a0 (patch)
tree0e2a2c82149075ebbe7982ffed753e505daf1211 /tools/testing/selftests/bpf/prog_tests/recursion.c
parentice: switch: use a struct to pass packet template params (diff)
downloadkernel-07a28842bb4f65e66aa297a031a57dec4828d6a0.tar.gz
kernel-07a28842bb4f65e66aa297a031a57dec4828d6a0.zip
ice: switch: use convenience macros to declare dummy pkt templates
Declarations of dummy/template packet headers and offsets can be minified to improve readability and simplify adding new templates. Move all the repetitive constructions into two macros and let them do the name and type expansions. Linewrap removal is yet another positive side effect. Signed-off-by: Alexander Lobakin <[email protected]> Reviewed-by: Michal Swiatkowski <[email protected]> Tested-by: Marcin Szycik <[email protected]> Tested-by: Sandeep Penigalapati <[email protected]> Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/recursion.c')
0 files changed, 0 insertions, 0 deletions