summaryrefslogtreecommitdiffstats
path: root/lib/test_bpf.c
AgeCommit message (Expand)AuthorLines
2023-09-15bpf/tests: add tests for cpuv4 instructionsPuranjay Mohan-0/+371
2023-08-18bpf/tests: Enhance output on error and fix typosHelge Deller-5/+7
2023-06-29lib/test_bpf: Call page_address() on page acquired with GFP_KERNEL flagSumitra Sharma-11/+1
2023-05-31bpf/tests: Use struct_size()Su Hui-2/+1
2022-11-11net: remove skb->vlan_presentEric Dumazet-1/+0
2022-06-22test_bpf: fix incorrect netdev featuresJian Shen-2/+2
2022-04-01bpf, tests: Add load store test case for tail callXu Kuohai-0/+30
2022-04-01bpf, tests: Add tests for BPF_LDX/BPF_STX with different offsetsXu Kuohai-4/+281
2021-11-16bpf: Change value of MAX_TAIL_CALL_CNT from 32 to 33Tiezhu Yang-2/+2
2021-10-28bpf, tests: Add module parameter test_suite to test_bpf moduleTiezhu Yang-77/+135
2021-10-07bpf, tests: Add more LD_IMM64 testsJohan Almbladh-3/+117
2021-10-01bpf/tests: Add test of LDX_MEM with operand aliasingJohan Almbladh-0/+58
2021-10-01bpf/tests: Add test of ALU shifts with operand register aliasingJohan Almbladh-13/+149
2021-10-01bpf/tests: Add exhaustive tests of BPF_ATOMIC register combinationsJohan Almbladh-0/+422
2021-10-01bpf/tests: Add exhaustive tests of ALU register combinationsJohan Almbladh-71/+763
2021-10-01bpf/tests: Minor restructuring of ALU testsJohan Almbladh-72/+65
2021-10-01bpf/tests: Add more tests for ALU and ATOMIC register clobberingJohan Almbladh-70/+197
2021-10-01bpf/tests: Add tests to check source register zero-extensionJohan Almbladh-0/+143
2021-10-01bpf/tests: Add exhaustive tests of BPF_ATOMIC magnitudesJohan Almbladh-1/+503
2021-10-01bpf/tests: Add zero-extension checks in BPF_ATOMIC testsJohan Almbladh-5/+17
2021-10-01bpf/tests: Add tests of BPF_LDX and BPF_STX with small sizesJohan Almbladh-0/+254
2021-09-28bpf: Replace "want address" users of BPF_CAST_CALL with BPF_CALL_IMMKees Cook-1/+1
2021-09-28bpf/tests: Add tail call limit test with external function callJohan Almbladh-3/+83
2021-09-28bpf/tests: Fix error in tail call limit testsJohan Almbladh-10/+27
2021-09-28bpf/tests: Add more BPF_END byte order conversion testsJohan Almbladh-0/+122
2021-09-28bpf/tests: Expand branch conversion JIT testJohan Almbladh-34/+91
2021-09-28bpf/tests: Add JMP tests with degenerate conditionalJohan Almbladh-0/+229
2021-09-28bpf/tests: Add JMP tests with small offsetsJohan Almbladh-0/+71
2021-09-28bpf/tests: Add test case flag for verifier zero-extensionJohan Almbladh-0/+3
2021-09-28bpf/tests: Add exhaustive test of LD_IMM64 immediate magnitudesJohan Almbladh-0/+63
2021-09-28bpf/tests: Add staggered JMP and JMP32 testsJohan Almbladh-0/+829
2021-09-28bpf/tests: Add exhaustive tests of JMP operand magnitudesJohan Almbladh-0/+779
2021-09-28bpf/tests: Add exhaustive tests of ALU operand magnitudesJohan Almbladh-0/+772
2021-09-28bpf/tests: Add exhaustive tests of ALU shift valuesJohan Almbladh-0/+260
2021-09-28bpf/tests: Reduce memory footprint of test suiteJohan Almbladh-14/+12
2021-09-28bpf/tests: Allow different number of runs per test caseJohan Almbladh-0/+4
2021-09-10selftests/bpf: Test new __sk_buff field hwtstampVadim Fedorenko-0/+1
2021-08-17bpf: Refactor BPF_PROG_RUN into a functionAndrii Nakryiko-1/+1
2021-08-16bpf, tests: Fix spelling mistake "shoft" -> "shift"Colin Ian King-1/+1
2021-08-10bpf, tests: Add tail call test suiteJohan Almbladh-0/+248
2021-08-10bpf, tests: Add tests for BPF_CMPXCHGJohan Almbladh-0/+166
2021-08-10bpf, tests: Add tests for atomic operationsJohan Almbladh-86/+166
2021-08-10bpf, tests: Add test for 32-bit context pointer argument passingJohan Almbladh-0/+16
2021-08-10bpf, tests: Add branch conversion JIT testJohan Almbladh-0/+43
2021-08-10bpf, tests: Add word-order tests for load/store of double wordsJohan Almbladh-0/+36
2021-08-10bpf, tests: Add tests for ALU operations implemented with function callsJohan Almbladh-0/+141
2021-08-10bpf, tests: Add more ALU64 BPF_MUL testsJohan Almbladh-0/+48
2021-08-10bpf, tests: Add more BPF_LSH/RSH/ARSH tests for ALU64Johan Almbladh-2/+542
2021-08-10bpf, tests: Add more ALU32 tests for BPF_LSH/RSH/ARSHJohan Almbladh-0/+102
2021-08-10bpf, tests: Add more tests of ALU32 and ALU64 bitwise operationsJohan Almbladh-0/+210