aboutsummaryrefslogtreecommitdiffstats
path: root/samples
AgeCommit message (Expand)AuthorFilesLines
2018-10-31Merge tag 'vfio-v4.20-rc1.v2' of git://github.com/awilliam/linux-vfioLinus Torvalds1-19/+117
2018-10-26Merge tag 'char-misc-4.20-rc1' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+1
2018-10-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+1
2018-10-11vfio: add edid support to mbochs sample driverGerd Hoffmann1-19/+117
2018-10-11samples: disable CONFIG_SAMPLES for UMLMasahiro Yamada1-0/+1
2018-10-04bpf, tracex3_user: erase "ARRAY_SIZE" redefinedBo YU1-2/+0
2018-10-02mei: samples: fix a signedness bug in amt_host_if_call()Dan Carpenter1-1/+1
2018-10-01samples/bpf: extend test_cgrp2_attach2 test to use per-cpu cgroup storageRoman Gushchin1-1/+18
2018-09-21samples/bpf: fix compilation failurePrashant Bhole3-11/+12
2018-09-18samples/bpf: fix a compilation failureYonghong Song1-2/+2
2018-09-18samples/bpf: remove duplicated includesYueHaibing3-3/+0
2018-09-01samples/bpf: xdpsock, minor fixesPrashant Bhole2-3/+2
2018-09-01bpf: add TCP_SAVE_SYN/TCP_SAVED_SYN sample programNikita V. Shirokov2-0/+88
2018-08-29samples/bpf: add -c/--copy -z/--zero-copy flags to xdpsockBjörn Töpel1-1/+11
2018-08-16samples/bpf: all XDP samples should unload xdp/bpf prog on SIGTERMJesper Dangaard Brouer2-2/+4
2018-08-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds13-34/+590
2018-08-15Merge tag 'kbuild-v4.19' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds2-14/+14
2018-08-13Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller3-2/+160
2018-08-11Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller2-3/+3
2018-08-10samples/bpf: xdp_redirect_cpu load balance like SuricataJesper Dangaard Brouer2-2/+105
2018-08-10samples/bpf: add Paul Hsieh's (LGPL 2.1) hash function SuperFastHashJesper Dangaard Brouer1-0/+55
2018-08-09samples/bpf: xdp_redirect_cpu adjustment to reproduce teardown race easierJesper Dangaard Brouer2-3/+3
2018-08-03samples/bpf: extend test_cgrp2_attach2 test to use cgroup storageRoman Gushchin1-1/+20
2018-07-27samples: bpf: convert xdpsock_user.c to libbpfJakub Kicinski2-10/+30
2018-07-27samples: bpf: convert xdp_fwd_user.c to libbpfJakub Kicinski2-12/+24
2018-07-27samples/bpf: Add BTF build flags to MakefileTaeung Song1-1/+16
2018-07-27samples/bpf: xdpsock: order memory on AArch64Brian Brooks1-0/+5
2018-07-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller2-1/+4
2018-07-20Merge ra.kernel.org:/pub/scm/linux/kernel/git/torvalds/linuxDavid S. Miller7-28/+104
2018-07-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds6-16/+93
2018-07-18kbuild: Rename HOST_LOADLIBES to KBUILD_HOSTLDLIBSLaura Abbott2-9/+9
2018-07-18kbuild: Rename HOSTCFLAGS to KBUILD_HOSTCFLAGSLaura Abbott1-5/+5
2018-07-16samples/bpf: test_cgrp2_sock2: fix an off by oneDan Carpenter1-1/+1
2018-07-16samples: bpf: ensure that we don't load over MAX_PROGS programsDan Carpenter1-0/+3
2018-07-14samples/bpf: xdp_redirect_cpu handle parsing of double VLAN tagged packetsJesper Dangaard Brouer1-1/+10
2018-07-11sample: vfio-mdev: avoid deadlock in mdev_access()Alexey Khoroshilov1-1/+3
2018-07-10samples/bpf: Fix tc and ip paths in xdp2skb_meta.shTaeung Song1-3/+3
2018-07-06Merge tag 'vfio-v4.18-rc4' of git://github.com/awilliam/linux-vfioLinus Torvalds1-11/+8
2018-07-05samples/bpf: add .gitignore fileTaeung Song1-0/+49
2018-07-05samples/bpf: Check the error of write() and read()Taeung Song1-4/+15
2018-07-05samples/bpf: Check the result of system()Taeung Song1-3/+24
2018-07-05samples/bpf: add missing <linux/if_vlan.h>Taeung Song1-5/+1
2018-07-04sample/vfio-mdev: Change return type to vm_fault_tSouptick Joarder1-2/+2
2018-07-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller5-6/+321
2018-07-02samples/bpf: deal with EBUSY return code from sendmsg in xdpsock sampleMagnus Karlsson1-1/+1
2018-06-29bpf: Change bpf_fib_lookup to return lookup statusDavid Ahern1-4/+4
2018-06-28samples/bpf: xdp_rxq_info action XDP_TX must adjust MAC-addrsJesper Dangaard Brouer2-1/+36
2018-06-28samples/bpf: extend xdp_rxq_info to read packet payloadJesper Dangaard Brouer2-6/+47
2018-06-27samples/bpf: Add xdp_sample_pkts exampleToke Høiland-Jørgensen3-0/+239
2018-06-26sample/mdev/mbochs: add mbochs_kunmap_dmabufGerd Hoffmann1-0/+7
2018-06-26sample/mdev/mbochs: remove mbochs_kmap_atomic_dmabufGerd Hoffmann1-10/+0
2018-06-12Merge tag 'vfio-v4.18-rc1' of git://github.com/awilliam/linux-vfioLinus Torvalds6-0/+2501
2018-06-09samples: mbochs: add DMA_SHARED_BUFFER dependencyArnd Bergmann1-0/+1
2018-06-08sample: vfio bochs vbe display (host device for bochs-drm)Gerd Hoffmann3-0/+1420
2018-06-08sample: vfio mdev display - guest driverGerd Hoffmann3-0/+242
2018-06-08sample: vfio mdev display - host deviceGerd Hoffmann4-0/+838
2018-06-07Merge tag 'auxdisplay-for-linus-v4.18-rc1' of git://github.com/ojeda/linuxLinus Torvalds1-15/+1
2018-06-05samples/bpf: xdpsock: use skb Tx path for XDP_SKBBjörn Töpel1-0/+5
2018-06-04samples/bpf: minor *_nb_free performance fixMagnus Karlsson1-3/+5
2018-06-04samples/bpf: adapted to new uapiBjörn Töpel1-48/+36
2018-06-03bpf: flowlabel in bpf_fib_lookup should be flowinfoDavid Ahern1-1/+1
2018-05-24Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller6-59/+599
2018-05-24samples/bpf: xdp_monitor use err code from tracepoint xdp:xdp_devmap_xmitJesper Dangaard Brouer2-5/+40
2018-05-24samples/bpf: xdp_monitor use tracepoint xdp:xdp_devmap_xmitJesper Dangaard Brouer2-1/+82
2018-05-24samples/bpf: add a samples/bpf test for BPF_TASK_FD_QUERYYonghong Song3-0/+405
2018-05-22samples/bpf: adapt xdpsock to the new uapiBjörn Töpel1-47/+76
2018-05-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2018-05-18xsk: clean up SPDX headersBjörn Töpel1-11/+1
2018-05-16samples/bpf: Decrement ttl in fib forwarding exampleDavid Ahern1-8/+31
2018-05-14samples: bpf: make the build less noisyJakub Kicinski1-1/+2
2018-05-14samples: bpf: move libbpf from object dependencies to libsJakub Kicinski1-94/+51
2018-05-14samples: bpf: fix build after move to compiling full libbpf.aJakub Kicinski1-5/+12
2018-05-14samples: bpf: rename libbpf.h to bpf_insn.hJakub Kicinski8-12/+17
2018-05-14samples: bpf: include bpf/bpf.h instead of local libbpf.hJakub Kicinski35-35/+34
2018-05-14samples/bpf: xdp_monitor, accept short optionsPrashant Bhole1-2/+2
2018-05-13x86/cpufeature: Guard asm_volatile_goto usage for BPF compilationAlexei Starovoitov1-1/+1
2018-05-11samples: bpf: convert some XDP samples from bpf_load to libbpfJakub Kicinski4-43/+78
2018-05-11tools: bpf: move the event reading loop to libbpfJakub Kicinski2-3/+11
2018-05-11samples: bpf: compile and link against full libbpfJakub Kicinski1-7/+14
2018-05-11samples: bpf: rename struct bpf_map_def to avoid conflict with libbpfJakub Kicinski2-7/+7
2018-05-11samples/bpf: Add example of ipv4 and ipv6 forwarding in XDPDavid Ahern3-0/+255
2018-05-03samples/bpf: sample application and documentation for AF_XDP socketsMagnus Karlsson4-0/+1019
2018-04-29samples/bpf: fix kprobe attachment issue on x64Yonghong Song1-8/+26
2018-04-29samples/bpf: move common-purpose trace functions to selftestsYonghong Song8-175/+20
2018-04-27samples, bpf: remove redundant ret assignment in bpf_load_program()Wang Sheng-Hui1-2/+0
2018-04-27samples/bpf: remove the bpf tunnel testsuite.William Tu3-1003/+0
2018-04-25bpf: sockmap, remove samples programJohn Fastabend4-2276/+0
2018-04-25bpf: sockmap, add a set of tests to run by defaultJohn Fastabend1-51/+512
2018-04-25bpf: sockmap, code sockmap_test in CJohn Fastabend1-96/+113
2018-04-24samples/bpf: extend test_tunnel_bpf.sh with xfrm state testEyal Birger2-0/+87
2018-04-23bpf: sockmap sample use clang flag, -target bpfJohn Fastabend1-2/+5
2018-04-21Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller2-26/+50
2018-04-20Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds2-26/+50
2018-04-18bpf: add bpf_xdp_adjust_tail sample progNikita V. Shirokov3-0/+298
2018-04-18samples/bpf: fix xdp_monitor user output for tracepoint exceptionJesper Dangaard Brouer1-1/+1
2018-04-18samples/bpf: correct comment in sock_example.cWang Sheng-Hui1-2/+2
2018-04-17livepatch: Allow to call a custom callback when freeing shadow variablesPetr Mladek2-21/+31
2018-04-17livepatch: Initialize shadow variables safely by a custom callbackPetr Mladek2-5/+19
2018-04-12auxdisplay: Replace licenses with SPDX identifiersMiguel Ojeda1-15/+1
2018-04-10Merge tag 'rproc-v4.17' of git://github.com/andersson/remoteprocLinus Torvalds4-1/+634
2018-04-06Merge tag 'vfio-v4.17-rc1' of git://github.com/awilliam/linux-vfioLinus Torvalds1-1/+1
2018-04-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds18-35/+1653
2018-03-30bpf: sockmap, more BPF_SK_SKB_STREAM_VERDICT testsJohn Fastabend3-4/+60
2018-03-30bpf: sockmap, add BPF_F_INGRESS testsJohn Fastabend3-11/+87
2018-03-28samples/bpf: raw tracepoint testAlexei Starovoitov4-0/+44
2018-03-28samples/bpf: fix spelling mistake: "revieve" -> "receive"Colin Ian King1-1/+1
2018-03-27soc: qcom: qmi: add CONFIG_NET dependencyArnd Bergmann1-0/+1
2018-03-22vfio-mdev/samples: change RDI interrupt conditionShunyong Yang1-1/+1
2018-03-19bpf: sockmap test scriptJohn Fastabend1-0/+450
2018-03-19bpf: sockmap sample test for bpf_msg_pull_dataJohn Fastabend2-14/+97
2018-03-19bpf: sockmap add SK_DROP testsJohn Fastabend2-16/+61
2018-03-19bpf: sockmap sample support for bpf_msg_cork_bytes()John Fastabend2-8/+64
2018-03-19bpf: sockmap, add sample option to test apply_bytes helperJohn Fastabend2-7/+66
2018-03-19bpf: sockmap sample, add data verification optionJohn Fastabend1-34/+84
2018-03-19bpf: sockmap sample, add sendfile testJohn Fastabend1-10/+60
2018-03-19bpf: sockmap sample, add option to attach SK_MSG programJohn Fastabend3-8/+119
2018-03-16arch: remove tile portArnd Bergmann1-8/+0
2018-03-16arch: remove blackfin portArnd Bergmann4-99/+1
2018-03-08samples/bpf: add example to test reading addressTeng Qin2-0/+19
2018-03-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-9/+1
2018-03-04samples/bpf: add gre sequence number test.William Tu2-4/+7
2018-03-02samples/bpf: detach prog from cgroupPrashant Bhole2-0/+4
2018-02-27Merge tag 'seccomp-v4.16-rc4' of https://git.kernel.org/pub/scm/linux/kernel/...James Morris1-9/+1
2018-02-26samples/bpf: Add program for CPU state statisticsLeo Yan3-0/+504
2018-02-22samples/seccomp: do not compile when cross compiledMichal Hocko1-9/+1
2018-02-13bpf: samples/sockmap detach sock ops programPrashant Bhole1-0/+1
2018-02-13bpf: samples/sockmap fix Makefile for build errorPrashant Bhole1-1/+1
2018-02-13samples/bpf: adjust rlimit RLIMIT_MEMLOCK for xdp_redirectTushar Dave1-0/+7
2018-02-12samples: Introduce Qualcomm QMI sample clientBjorn Andersson4-1/+633
2018-02-06sample/bpf: fix erspan metadataWilliam Tu2-27/+18
2018-02-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfDavid S. Miller10-127/+25
2018-02-02samples/bpf: use bpf_set_link_xdp_fdEric Leblond9-126/+24
2018-02-02libbpf: add error reporting in XDPEric Leblond1-1/+1
2018-02-01Merge tag 'driver-core-4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds2-6/+2
2018-01-31Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds14-142/+2121
2018-01-31Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jik...Linus Torvalds4-60/+0
2018-01-26samples/bpf: Partially fixes the bpf.o buildMickaël Salaün1-1/+4
2018-01-24bpf: sockmap set rlimitJohn Fastabend1-0/+7
2018-01-24bpf: sockmap put client sockets in blocking modeJohn Fastabend1-1/+1
2018-01-24bpf: sockmap sample add base test without any BPF for comparisonJohn Fastabend1-5/+21
2018-01-24bpf: sockmap sample, report bytes/secJohn Fastabend1-5/+42
2018-01-24bpf: sockmap sample, use fork() for send and recvJohn Fastabend1-16/+39
2018-01-24bpf: add sendmsg option for testing BPF programsJohn Fastabend1-3/+145
2018-01-24bpf: refactor sockmap sample program update for arg parsingJohn Fastabend1-51/+114
2018-01-20samples/bpf: xdp_monitor include cpumap tracepoints in monitoringJesper Dangaard Brouer2-67/+443
2018-01-18samples/bpf: xdp2skb_meta comment explain why pkt-data pointers are invalidatedJesper Dangaard Brouer1-3/+5
2018-01-17samples/bpf: Fix trailing semicolonLuis de Bethencourt1-1/+1
2018-01-11livepatch: Remove immediate featureMiroslav Benes4-60/+0
2018-01-11samples/bpf: xdp2skb_meta shows transferring info from XDP to SKBJesper Dangaard Brouer3-0/+324
2018-01-05samples/bpf: program demonstrating access to xdp_rxq_infoJesper Dangaard Brouer3-0/+631
2017-12-18Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller4-0/+63
2017-12-15samples/bpf: add erspan v2 sample codeWilliam Tu2-19/+96
2017-12-12samples/bpf: add a test for bpf_override_returnJosef Bacik4-0/+63
2017-12-11Merge 4.15-rc3 into driver-core-nextGreg Kroah-Hartman1-2/+12
2017-12-07kobject: Remove redundant license textGreg Kroah-Hartman2-6/+0
2017-12-07kobject: add SPDX identifiers to all kobject filesGreg Kroah-Hartman2-0/+2
2017-12-06samples/bpf: add ip6erspan sample codeWilliam Tu2-0/+95
2017-12-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+12
2017-12-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-nextDavid S. Miller1-12/+24
2017-12-04samples/bpf: extend test_tunnel_bpf.sh with ip6greWilliam Tu2-0/+108
2017-12-03Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpfDavid S. Miller1-2/+12
2017-12-01samples/bpf: add error checking for perf ioctl calls in bpf loaderYonghong Song1-2/+12
2017-11-30samples/bpf: Convert magic numbers to names in multi-prog cgroup test caseDavid Ahern1-12/+24
2017-11-18kbuild: remove all dummy assignments to obj-Masahiro Yamada6-18/+0
2017-11-15Merge tag 'media/v4.15-1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-2/+4
2017-11-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds35-493/+2958
2017-11-15Merge branch 'for-linus' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds8-3/+932
2017-11-15Merge branch 'for-linus' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-5/+5
2017-11-14Merge tag 'vfio-v4.15-rc1' of git://github.com/awilliam/linux-vfioLinus Torvalds1-1/+1
2017-11-14Merge tag 'configfs-for-4.15' of git://git.infradead.org/users/hch/configfsLinus Torvalds1-4/+4
2017-11-14Merge tag 'staging-4.15-rc1' into v4l_for_linusMauro Carvalho Chehab2-4/+12
2017-11-14xdp: sample: Missing curly braces in read_route()Dan Carpenter1-2/+3
2017-11-13Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds2-68/+1
2017-11-13Merge branch 'locking-core-for-linus' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-3/+3
2017-11-13Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s39...Linus Torvalds1-0/+8
2017-11-13Merge tag 'docs-4.15' of git://git.lwn.net/linuxLinus Torvalds1-3/+3
2017-11-11bpf: Revert bpf_overrid_function() helper changes.David S. Miller4-63/+0
2017-11-11bpf: Fix tcp_clamp_kern.c sample programLawrence Brakmo1-11/+13
2017-11-11bpf: Fix tcp_iw_kern.c sample programLawrence Brakmo1-6/+8
2017-11-11bpf: Fix tcp_cong_kern.c sample programLawrence Brakmo1-2/+4
2017-11-11bpf: Fix tcp_bufs_kern.c sample programLawrence Brakmo1-6/+8
2017-11-11bpf: Fix tcp_rwnd_kern.c sample programLawrence Brakmo1-2/+4
2017-11-11bpf: Fix tcp_synrto_kern.c sample programLawrence Brakmo1-2/+4
2017-11-11samples/bpf: add a test for bpf_override_returnJosef Bacik4-0/+63
2017-11-08bpf: Rename tcp_bbf.readme to tcp_bpf.readmeLawrence Brakmo1-0/+0
2017-11-08xdp: Sample xdp program implementing ip forwardChristina Jacob3-0/+849
2017-11-07Merge branch 'linus' into locking/core, to resolve conflictsIngo Molnar59-1/+59
2017-11-07Merge branch 'linus' into perf/core, to fix conflictsIngo Molnar59-1/+59
2017-11-05bpf: move cgroup_helpers from samples/bpf/ to tools/testing/selftesting/bpf/Roman Gushchin3-197/+3
2017-11-04Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller55-0/+55
2017-11-02Merge tag 'spdx_identifiers-4.14-rc8' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds58-0/+58
2017-11-02License cleanup: add SPDX GPL-2.0 license identifier to files with no licenseGreg Kroah-Hartman58-0/+58
2017-11-02samples/pktgen: remove remaining old pktgen sample scriptsJesper Dangaard Brouer3-192/+0
2017-11-02samples/pktgen: update sample03, no need for clones when burstingJesper Dangaard Brouer1-1/+1
2017-11-02samples/pktgen: add script pktgen_sample06_numa_awared_queue_irq_affinity.shRobert Hoo1-0/+97
2017-11-02samples/pktgen: Add some helper functionsRobert Hoo1-0/+43
2017-10-30Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-1/+1
2017-10-29samples/bpf: adjust rlimit RLIMIT_MEMLOCK for xdp_redirect_mapTushar Dave1-0/+7
2017-10-29samples/bpf: adjust rlimit RLIMIT_MEMLOCK for xdp1Tushar Dave1-0/+8
2017-10-27Fix tracing sample code warning.Linus Torvalds1-1/+1