summaryrefslogtreecommitdiff
path: root/lib/test_bpf.c
AgeCommit message (Expand)AuthorFilesLines
2018-11-04test_bpf: Fix testing with CONFIG_BPF_JIT_ALWAYS_ON=y on other archesThadeu Lima de Souza Cascardo1-1/+1
2018-04-26bpf: fix selftests/bpf test_kmod.sh failure when CONFIG_BPF_JIT_ALWAYS_ON=yYonghong Song1-5/+26
2018-01-31bpf: introduce BPF_JIT_ALWAYS_ON configAlexei Starovoitov1-4/+7
2017-08-09bpf: add BPF_J{LT,LE,SLT,SLE} instructionsDaniel Borkmann1-0/+364
2017-06-20net: introduce __skb_put_[zero, data, u8]yuan linyu1-1/+1
2017-06-14test_bpf: Add test to make conditional jump cross a large number of insns.David Daney1-0/+32
2017-05-31bpf: fix stack_depth usage by test_bpf.koAlexei Starovoitov1-1/+24
2017-05-25test_bpf: Add a couple of tests for BPF_JSGE.David Daney1-0/+38
2017-05-03test_bpf: Use ULL suffix for 64-bit constantsGeert Uytterhoeven1-5/+5
2017-05-02bpf, arm64: fix jit branch offset related to ldimm64Daniel Borkmann1-0/+45
2017-05-02bpf, arm64: implement jiting of BPF_XADDDaniel Borkmann1-0/+105
2016-10-20bpf, test: fix ld_abs + vlan push/pop stress testDaniel Borkmann1-1/+1
2016-09-15test_bpf: fix the dummy skb after dissector changesJakub Kicinski1-0/+1
2016-05-16bpf: prepare bpf_int_jit_compile/bpf_prog_select_runtime apisDaniel Borkmann1-1/+4
2016-04-06lib/test_bpf: Add additional BPF_ADD testsNaveen N. Rao1-0/+128
2016-04-06lib/test_bpf: Add test to check for result of 32-bit add that overflowsNaveen N. Rao1-0/+64
2016-04-06lib/test_bpf: Add tests for unsigned BPF_JGTNaveen N. Rao1-0/+29
2016-04-06lib/test_bpf: Fix JMP_JSET testsNaveen N. Rao1-4/+4
2015-12-18bpf, test: add couple of test casesDaniel Borkmann1-0/+120
2015-11-05bpf: add mod default A and X test casesYang Shi1-0/+30
2015-08-06test_bpf: add tests checking that JIT/interpreter sets A and X to 0.Nicolas Schichan1-0/+158
2015-08-06test_bpf: add more tests for LD_ABS and LD_IND.Nicolas Schichan1-0/+296
2015-08-06test_bpf: add module parameters to filter the tests to run.Nicolas Schichan1-0/+71
2015-08-06test_bpf: test LD_ABS and LD_IND instructions on fragmented skbs.Nicolas Schichan1-0/+142
2015-08-06test_bpf: allow tests to specify an skb fragment.Nicolas Schichan1-1/+38
2015-08-06test_bpf: avoid oopsing the kernel when generate_test_data() fails.Nicolas Schichan1-0/+5
2015-07-30test_bpf: assign type to native eBPF test casesDaniel Borkmann1-0/+2
2015-07-20test_bpf: add bpf_skb_vlan_push/pop() testsAlexei Starovoitov1-3/+95
2015-07-08test_bpf: extend tests for 32-bit endianness conversionXi Wang1-0/+6
2015-05-27test_bpf: add similarly conflicting jump test case only for classicDaniel Borkmann1-0/+57
2015-05-25test_bpf: add more eBPF jump torture casesDaniel Borkmann1-0/+67
2015-05-22test_bpf: Add backward jump test caseMichael Holzheu1-0/+16
2015-05-14test_bpf: fix sparse warningsMichael Holzheu1-61/+61
2015-05-14test_bpf: add tests related to BPF_MAXINSNSDaniel Borkmann1-9/+308
2015-05-12test_bpf: add 173 new testcases for eBPFMichael Holzheu1-0/+2192
2015-05-11test: bpf: extend "load 64-bit immediate" testcaseXi Wang1-1/+2
2015-04-30test_bpf: indicate whether bpf prog got jited in test suiteDaniel Borkmann1-1/+11
2014-12-08test: bpf: expand DIV_KX to DIV_MOD_KXDenis Kirjanov1-2/+8
2014-10-30test: bpf: add a testcase reduced from nmapAlexei Starovoitov1-0/+43
2014-09-22net: bpf: fix compiler warnings in test_bpfAlexei Starovoitov1-2/+2
2014-09-09net: filter: add "load 64-bit immediate" eBPF instructionAlexei Starovoitov1-0/+21
2014-09-05net: bpf: make eBPF interpreter images read-onlyDaniel Borkmann1-1/+1
2014-08-25bpf: x86: add missing 'shift by register' instructions to x64 eBPF JITAlexei Starovoitov1-0/+38
2014-08-02net: filter: split 'struct sk_filter' into socket and bpf partsAlexei Starovoitov1-12/+12
2014-07-24net: filter: rename 'struct sock_filter_int' into 'struct bpf_insn'Alexei Starovoitov1-2/+2
2014-06-11net: filter: fix nlattr and nlattr_nest BPF testsAlexei Starovoitov1-13/+21
2014-06-02net: filter: fix length calculation in BPF testsuiteChema Gonzalez1-5/+16
2014-06-01net: filter: add test for loading SKF_AD_OFF limitsDaniel Borkmann1-0/+22
2014-06-01net: filter: add slot overlapping test with fully filled M[]Daniel Borkmann1-1/+74
2014-05-30net: filter: use block statements in tcpdump testsDaniel Borkmann1-68/+75