mirror-linux/tools/testing/selftests/bpf/progs
Linus Torvalds 07fdad3a93 Networking changes for 6.18.
Core & protocols
 ----------------
 
  - Improve drop account scalability on NUMA hosts for RAW and UDP sockets
    and the backlog, almost doubling the Pps capacity under DoS.
 
  - Optimize the UDP RX performance under stress, reducing contention,
    revisiting the binary layout of the involved data structs and
    implementing NUMA-aware locking. This improves UDP RX performance by
    an additional 50%, even more under extreme conditions.
 
  - Add support for PSP encryption of TCP connections; this mechanism has
    some similarities with IPsec and TLS, but offers superior HW offloads
    capabilities.
 
  - Ongoing work to support Accurate ECN for TCP. AccECN allows more than
    one congestion notification signal per RTT and is a building block for
    Low Latency, Low Loss, and Scalable Throughput (L4S).
 
  - Reorganize the TCP socket binary layout for data locality, reducing
    the number of touched cachelines in the fastpath.
 
  - Refactor skb deferral free to better scale on large multi-NUMA hosts,
    this improves TCP and UDP RX performances significantly on such HW.
 
  - Increase the default socket memory buffer limits from 256K to 4M to
    better fit modern link speeds.
 
  - Improve handling of setups with a large number of nexthop, making dump
    operating scaling linearly and avoiding unneeded synchronize_rcu() on
    delete.
 
  - Improve bridge handling of VLAN FDB, storing a single entry per bridge
    instead of one entry per port; this makes the dump order of magnitude
    faster on large switches.
 
  - Restore IP ID correctly for encapsulated packets at GSO segmentation
    time, allowing GRO to merge packets in more scenarios.
 
  - Improve netfilter matching performance on large sets.
 
  - Improve MPTCP receive path performance by leveraging recently
    introduced core infrastructure (skb deferral free) and adopting recent
    TCP autotuning changes.
 
  - Allow bridges to redirect to a backup port when the bridge port is
    administratively down.
 
  - Introduce MPTCP 'laminar' endpoint that con be used only once per
    connection and simplify common MPTCP setups.
 
  - Add RCU safety to dst->dev, closing a lot of possible races.
 
  - A significant crypto library API for SCTP, MPTCP and IPv6 SR, reducing
    code duplication.
 
  - Supports pulling data from an skb frag into the linear area of an XDP
    buffer.
 
 Things we sprinkled into general kernel code
 --------------------------------------------
 
  - Generate netlink documentation from YAML using an integrated
    YAML parser.
 
 Driver API
 ----------
 
  - Support using IPv6 Flow Label in Rx hash computation and RSS queue
    selection.
 
  - Introduce API for fetching the DMA device for a given queue, allowing
    TCP zerocopy RX on more H/W setups.
 
  - Make XDP helpers compatible with unreadable memory, allowing more
    easily building DevMem-enabled drivers with a unified XDP/skbs
    datapath.
 
  - Add a new dedicated ethtool callback enabling drivers to provide the
    number of RX rings directly, improving efficiency and clarity in RX
    ring queries and RSS configuration.
 
  - Introduce a burst period for the health reporter, allowing better
    handling of multiple errors due to the same root cause.
 
  - Support for DPLL phase offset exponential moving average, controlling
    the average smoothing factor.
 
 Device drivers
 --------------
 
  - Add a new Huawei driver for 3rd gen NIC (hinic3).
 
  - Add a new SpacemiT driver for K1 ethernet MAC.
 
  - Add a generic abstraction for shared memory communication devices
    (dibps)
 
  - Ethernet high-speed NICs:
    - nVidia/Mellanox:
      - Use multiple per-queue doorbell, to avoid MMIO contention issues
      - support adjacent functions, allowing them to delegate their
        SR-IOV VFs to sibling PFs
      - support RSS for IPSec offload
      - support exposing raw cycle counters in PTP and mlx5
      - support for disabling host PFs.
    - Intel (100G, ice, idpf):
      - ice: support for SRIOV VFs over an Active-Active link aggregate
      - ice: support for firmware logging via debugfs
      - ice: support for Earliest TxTime First (ETF) hardware offload
      - idpf: support basic XDP functionalities and XSk
    - Broadcom (bnxt):
      - support Hyper-V VF ID
      - dynamic SRIOV resource allocations for RoCE
    - Meta (fbnic):
      - support queue API, zero-copy Rx and Tx
      - support basic XDP functionalities
      - devlink health support for FW crashes and OTP mem corruptions
      - expand hardware stats coverage to FEC, PHY, and Pause
    - Wangxun:
      - support ethtool coalesce options
      - support for multiple RSS contexts
 
  - Ethernet virtual:
    - Macsec:
      - replace custom netlink attribute checks with policy-level checks
    - Bonding:
      - support aggregator selection based on port priority
    - Microsoft vNIC:
      - use page pool fragments for RX buffers instead of full pages to
        improve memory efficiency
 
  - Ethernet NICs consumer, and embedded:
    - Qualcomm: support Ethernet function for IPQ9574 SoC
    - Airoha: implement wlan offloading via NPU
    - Freescale
      - enetc: add NETC timer PTP driver and add PTP support
      - fec: enable the Jumbo frame support for i.MX8QM
    - Renesas (R-Car S4): support HW offloading for layer 2 switching
      - support for RZ/{T2H, N2H} SoCs
    - Cadence (macb): support TAPRIO traffic scheduling
    - TI:
      - support for Gigabit ICSS ethernet SoC (icssm-prueth)
    - Synopsys (stmmac): a lot of cleanups
 
  - Ethernet PHYs:
    - Support 10g-qxgmi phy-mode for AQR412C, Felix DSA and Lynx PCS
      driver
    - Support bcm63268 GPHY power control
    - Support for Micrel lan8842 PHY and PTP
    - Support for Aquantia AQR412 and AQR115
 
  - CAN:
    - a large CAN-XL preparation work
    - reorganize raw_sock and uniqframe struct to minimize memory usage
    - rcar_canfd: update the CAN-FD handling
 
  - WiFi:
    - extended Neighbor Awareness Networking (NAN) support
    - S1G channel representation cleanup
    - improve S1G support
 
  - WiFi drivers:
    - Intel (iwlwifi):
      - major refactor and cleanup
    - Broadcom (brcm80211):
      - support for AP isolation
    - RealTek (rtw88/89) rtw88/89:
      - preparation work for RTL8922DE support
    - MediaTek (mt76):
      - HW restart improvements
      - MLO support
    - Qualcomm/Atheros (ath10k_
      - GTK rekey fixes
 
  - Bluetooth drivers:
    - btusb: support for several new IDs for MT7925
    - btintel: support for BlazarIW core
    - btintel_pcie: support for _suspend() / _resume()
    - btintel_pcie: support for Scorpious, Panther Lake-H484 IDs
 
 Signed-off-by: Paolo Abeni <pabeni@redhat.com>
 -----BEGIN PGP SIGNATURE-----
 
 iQJGBAABCAAwFiEEg1AjqC77wbdLX2LbKSR5jcyPE6QFAmjdBdsSHHBhYmVuaUBy
 ZWRoYXQuY29tAAoJECkkeY3MjxOkWnAP/2Jz0ExnYMDxLxkkKqMte+3JNeF/KNjB
 zVIslYN/5ekkd1TMXyDLFlWHqUOUMSF9+cK5ZRMHG6/lzOueSzFuuuDFsWs6Kf2f
 q7Q9MzlXhR9++YCsdES1uS5x3PPjMInzo2ZivMFa6fUDLLFSzeAOKL9k+RS0EggU
 VlXv2Wkm73R0O6KAssgDsHke9cnNz+F0DzhQ0S3qkyZF9tS5NrDeUl7fZ47XZgwb
 ZuXdEzKmTTepo2XvZGxJoF2D7nekWFlHhLjEPpDJtET19nwhukCry41/FplJwlKR
 dWsYkqLkrOEQKFQ+q++/5c3BgFOG+IrQLbP5bGQF1tZRMl4Dqp9PDxK5fKJfccbS
 0VY3Y2qWOSYejT2Ji2kEHR5E5rPyFm3Y5A4Rnpz0yEHj14vL2v4zf7CZRkCyyDfD
 doIZXFGkM0+N7QeXLEN833cje9zjaXuP9GAE+2bb+wAWAZAqof4KX8JgHh+y5Rwm
 pvUtvFxmEtntlMwNBap8aT3FquGtfZncU8pzAE5kvWjuMvyF0NVWiE5rB2kSQM/X
 NLmUdvDyjwwJqthXAJG0fl+a0mNJ/kOAqSOKJDJrfKDGWa+ovwY0iY06SpK0wIbO
 Wz7tpMk5MSlYXW8xWMlbyhvvU6T9xuoQ2KV4QTdMxc6Ir3sNX6YkQr+gjQjxB0gx
 ST2QF6lZeWFh
 =w2Kz
 -----END PGP SIGNATURE-----

Merge tag 'net-next-6.18' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next

Pull networking updates from Paolo Abeni:
 "Core & protocols:

   - Improve drop account scalability on NUMA hosts for RAW and UDP
     sockets and the backlog, almost doubling the Pps capacity under DoS

   - Optimize the UDP RX performance under stress, reducing contention,
     revisiting the binary layout of the involved data structs and
     implementing NUMA-aware locking. This improves UDP RX performance
     by an additional 50%, even more under extreme conditions

   - Add support for PSP encryption of TCP connections; this mechanism
     has some similarities with IPsec and TLS, but offers superior HW
     offloads capabilities

   - Ongoing work to support Accurate ECN for TCP. AccECN allows more
     than one congestion notification signal per RTT and is a building
     block for Low Latency, Low Loss, and Scalable Throughput (L4S)

   - Reorganize the TCP socket binary layout for data locality, reducing
     the number of touched cachelines in the fastpath

   - Refactor skb deferral free to better scale on large multi-NUMA
     hosts, this improves TCP and UDP RX performances significantly on
     such HW

   - Increase the default socket memory buffer limits from 256K to 4M to
     better fit modern link speeds

   - Improve handling of setups with a large number of nexthop, making
     dump operating scaling linearly and avoiding unneeded
     synchronize_rcu() on delete

   - Improve bridge handling of VLAN FDB, storing a single entry per
     bridge instead of one entry per port; this makes the dump order of
     magnitude faster on large switches

   - Restore IP ID correctly for encapsulated packets at GSO
     segmentation time, allowing GRO to merge packets in more scenarios

   - Improve netfilter matching performance on large sets

   - Improve MPTCP receive path performance by leveraging recently
     introduced core infrastructure (skb deferral free) and adopting
     recent TCP autotuning changes

   - Allow bridges to redirect to a backup port when the bridge port is
     administratively down

   - Introduce MPTCP 'laminar' endpoint that con be used only once per
     connection and simplify common MPTCP setups

   - Add RCU safety to dst->dev, closing a lot of possible races

   - A significant crypto library API for SCTP, MPTCP and IPv6 SR,
     reducing code duplication

   - Supports pulling data from an skb frag into the linear area of an
     XDP buffer

  Things we sprinkled into general kernel code:

   - Generate netlink documentation from YAML using an integrated YAML
     parser

  Driver API:

   - Support using IPv6 Flow Label in Rx hash computation and RSS queue
     selection

   - Introduce API for fetching the DMA device for a given queue,
     allowing TCP zerocopy RX on more H/W setups

   - Make XDP helpers compatible with unreadable memory, allowing more
     easily building DevMem-enabled drivers with a unified XDP/skbs
     datapath

   - Add a new dedicated ethtool callback enabling drivers to provide
     the number of RX rings directly, improving efficiency and clarity
     in RX ring queries and RSS configuration

   - Introduce a burst period for the health reporter, allowing better
     handling of multiple errors due to the same root cause

   - Support for DPLL phase offset exponential moving average,
     controlling the average smoothing factor

  Device drivers:

   - Add a new Huawei driver for 3rd gen NIC (hinic3)

   - Add a new SpacemiT driver for K1 ethernet MAC

   - Add a generic abstraction for shared memory communication
     devices (dibps)

   - Ethernet high-speed NICs:
      - nVidia/Mellanox:
         - Use multiple per-queue doorbell, to avoid MMIO contention
           issues
         - support adjacent functions, allowing them to delegate their
           SR-IOV VFs to sibling PFs
         - support RSS for IPSec offload
         - support exposing raw cycle counters in PTP and mlx5
         - support for disabling host PFs.
      - Intel (100G, ice, idpf):
         - ice: support for SRIOV VFs over an Active-Active link
           aggregate
         - ice: support for firmware logging via debugfs
         - ice: support for Earliest TxTime First (ETF) hardware offload
         - idpf: support basic XDP functionalities and XSk
      - Broadcom (bnxt):
         - support Hyper-V VF ID
         - dynamic SRIOV resource allocations for RoCE
      - Meta (fbnic):
         - support queue API, zero-copy Rx and Tx
         - support basic XDP functionalities
         - devlink health support for FW crashes and OTP mem corruptions
         - expand hardware stats coverage to FEC, PHY, and Pause
      - Wangxun:
         - support ethtool coalesce options
         - support for multiple RSS contexts

   - Ethernet virtual:
      - Macsec:
         - replace custom netlink attribute checks with policy-level
           checks
      - Bonding:
         - support aggregator selection based on port priority
      - Microsoft vNIC:
         - use page pool fragments for RX buffers instead of full pages
           to improve memory efficiency

   - Ethernet NICs consumer, and embedded:
      - Qualcomm: support Ethernet function for IPQ9574 SoC
      - Airoha: implement wlan offloading via NPU
      - Freescale
         - enetc: add NETC timer PTP driver and add PTP support
         - fec: enable the Jumbo frame support for i.MX8QM
      - Renesas (R-Car S4):
         - support HW offloading for layer 2 switching
         - support for RZ/{T2H, N2H} SoCs
      - Cadence (macb): support TAPRIO traffic scheduling
      - TI:
         - support for Gigabit ICSS ethernet SoC (icssm-prueth)
      - Synopsys (stmmac): a lot of cleanups

   - Ethernet PHYs:
      - Support 10g-qxgmi phy-mode for AQR412C, Felix DSA and Lynx PCS
        driver
      - Support bcm63268 GPHY power control
      - Support for Micrel lan8842 PHY and PTP
      - Support for Aquantia AQR412 and AQR115

   - CAN:
      - a large CAN-XL preparation work
      - reorganize raw_sock and uniqframe struct to minimize memory
        usage
      - rcar_canfd: update the CAN-FD handling

   - WiFi:
      - extended Neighbor Awareness Networking (NAN) support
      - S1G channel representation cleanup
      - improve S1G support

   - WiFi drivers:
      - Intel (iwlwifi):
         - major refactor and cleanup
      - Broadcom (brcm80211):
         - support for AP isolation
      - RealTek (rtw88/89) rtw88/89:
         - preparation work for RTL8922DE support
      - MediaTek (mt76):
         - HW restart improvements
         - MLO support
      - Qualcomm/Atheros (ath10k):
         - GTK rekey fixes

   - Bluetooth drivers:
      - btusb: support for several new IDs for MT7925
      - btintel: support for BlazarIW core
      - btintel_pcie: support for _suspend() / _resume()
      - btintel_pcie: support for Scorpious, Panther Lake-H484 IDs"

* tag 'net-next-6.18' of git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next: (1536 commits)
  net: stmmac: Add support for Allwinner A523 GMAC200
  dt-bindings: net: sun8i-emac: Add A523 GMAC200 compatible
  Revert "Documentation: net: add flow control guide and document ethtool API"
  octeontx2-pf: fix bitmap leak
  octeontx2-vf: fix bitmap leak
  net/mlx5e: Use extack in set rxfh callback
  net/mlx5e: Introduce mlx5e_rss_params for RSS configuration
  net/mlx5e: Introduce mlx5e_rss_init_params
  net/mlx5e: Remove unused mdev param from RSS indir init
  net/mlx5: Improve QoS error messages with actual depth values
  net/mlx5e: Prevent entering switchdev mode with inconsistent netns
  net/mlx5: HWS, Generalize complex matchers
  net/mlx5: Improve write-combining test reliability for ARM64 Grace CPUs
  selftests/net: add tcp_port_share to .gitignore
  Revert "net/mlx5e: Update and set Xon/Xoff upon MTU set"
  net: add NUMA awareness to skb_attempt_defer_free()
  net: use llist for sd->defer_list
  net: make softnet_data.defer_count an atomic
  selftests: drv-net: psp: add tests for destroying devices
  selftests: drv-net: psp: add test for auto-adjusting TCP MSS
  ...
2025-10-02 15:17:01 -07:00
..
access_map_in_map.c selftests/bpf: Add test cases for inner map 2023-12-04 17:50:27 -08:00
arena_atomics.c selftests/bpf: Enable arena atomics tests for RV64 2025-08-15 10:46:51 +02:00
arena_htab.c selftests/bpf: Add tests for add_const 2024-06-14 21:52:40 +02:00
arena_htab_asm.c selftests/bpf: Add bpf_arena_htab test. 2024-03-11 15:43:43 -07:00
arena_list.c bpf: selftests: Do not use generated kfunc prototypes for arena progs 2024-06-13 11:18:43 -07:00
arena_spin_lock.c selftests/bpf: Fix arena_spin_lock selftest failure 2025-09-15 10:49:18 -07:00
async_stack_depth.c bpf: Fix test verif_scale_strobemeta_subprogs failure due to llvm19 2024-02-15 13:45:27 -08:00
atomic_bounds.c
atomics.c
bad_struct_ops.c selftests/bpf: Consolidate kernel modules into common directory 2024-12-06 10:44:10 -08:00
bad_struct_ops2.c selftests/bpf: Verify struct_ops autoload/autocreate sync 2024-03-06 15:18:15 -08:00
bench_local_storage_create.c bpf: Fix verifier assumptions about socket->sk 2024-04-29 14:16:41 -07:00
bench_sockmap_prog.c selftest/bpf/benchs: Add benchmark for sockmap usage 2025-04-09 19:59:00 -07:00
bind4_prog.c sefltests/bpf: Expand sockaddr hook deny tests 2024-05-12 17:10:42 -07:00
bind6_prog.c sefltests/bpf: Expand sockaddr hook deny tests 2024-05-12 17:10:42 -07:00
bind_perm.c
bind_prog.h selftests/bpf: Fix bind program for big endian systems 2024-05-02 12:09:22 -07:00
bloom_filter_bench.c
bloom_filter_map.c
bpf_arena_spin_lock.h selftests/bpf: Fix "expression result unused" warnings with icecc 2025-09-09 15:07:58 -07:00
bpf_cc_cubic.c selftests/bpf: Fix typos and grammar in test sources 2025-08-27 15:13:08 -07:00
bpf_compiler.h bpf: Abstract loop unrolling pragmas in BPF selftests 2024-02-13 11:17:30 -08:00
bpf_cubic.c selftests/bpf: fix some typos in selftests 2024-09-05 13:07:47 -07:00
bpf_dctcp.c selftests/bpf: Fix typos and grammar in test sources 2025-08-27 15:13:08 -07:00
bpf_dctcp_release.c selftests/bpf: Remove bpf_tcp_helpers.h usages from other misc bpf tcp-cc tests 2024-05-09 11:13:12 -07:00
bpf_flow.c
bpf_hashmap_full_update_bench.c
bpf_hashmap_lookup.c
bpf_iter_bpf_array_map.c selftests/bpf: drop unnecessary bpf_iter.h type duplication 2024-10-29 17:43:29 -07:00
bpf_iter_bpf_hash_map.c selftests/bpf: drop unnecessary bpf_iter.h type duplication 2024-10-29 17:43:29 -07:00
bpf_iter_bpf_link.c selftests/bpf: drop unnecessary bpf_iter.h type duplication 2024-10-29 17:43:29 -07:00
bpf_iter_bpf_map.c selftests/bpf: drop unnecessary bpf_iter.h type duplication 2024-10-29 17:43:29 -07:00
bpf_iter_bpf_percpu_array_map.c selftests/bpf: drop unnecessary bpf_iter.h type duplication 2024-10-29 17:43:29 -07:00
bpf_iter_bpf_percpu_hash_map.c selftests/bpf: drop unnecessary bpf_iter.h type duplication 2024-10-29 17:43:29 -07:00
bpf_iter_bpf_sk_storage_helpers.c selftests/bpf: drop unnecessary bpf_iter.h type duplication 2024-10-29 17:43:29 -07:00
bpf_iter_bpf_sk_storage_map.c selftests/bpf: drop unnecessary bpf_iter.h type duplication 2024-10-29 17:43:29 -07:00
bpf_iter_ipv6_route.c selftests/bpf: drop unnecessary bpf_iter.h type duplication 2024-10-29 17:43:29 -07:00
bpf_iter_ksym.c selftests/bpf: drop unnecessary bpf_iter.h type duplication 2024-10-29 17:43:29 -07:00
bpf_iter_map_elem.c selftests/bpf: Add test for bpftool access to read-only protected maps 2025-06-20 11:13:03 -07:00
bpf_iter_netlink.c selftests/bpf: drop unnecessary bpf_iter.h type duplication 2024-10-29 17:43:29 -07:00
bpf_iter_setsockopt.c selftests/bpf: drop unnecessary bpf_iter.h type duplication 2024-10-29 17:43:29 -07:00
bpf_iter_setsockopt_unix.c selftests/bpf: drop unnecessary bpf_iter.h type duplication 2024-10-29 17:43:29 -07:00
bpf_iter_sockmap.c selftests/bpf: drop unnecessary bpf_iter.h type duplication 2024-10-29 17:43:29 -07:00
bpf_iter_task_btf.c selftests/bpf: drop unnecessary bpf_iter.h type duplication 2024-10-29 17:43:29 -07:00
bpf_iter_task_file.c selftests/bpf: drop unnecessary bpf_iter.h type duplication 2024-10-29 17:43:29 -07:00
bpf_iter_task_stack.c selftests/bpf: drop unnecessary bpf_iter.h type duplication 2024-10-29 17:43:29 -07:00
bpf_iter_task_vmas.c selftests/bpf: drop unnecessary bpf_iter.h type duplication 2024-10-29 17:43:29 -07:00
bpf_iter_tasks.c selftests/bpf: Add tests for bpf_copy_from_user_task_str 2025-02-19 17:01:36 -08:00
bpf_iter_tcp4.c tcp/dccp: remove icsk->icsk_timeout 2025-03-25 10:34:33 -07:00
bpf_iter_tcp6.c tcp/dccp: remove icsk->icsk_timeout 2025-03-25 10:34:33 -07:00
bpf_iter_test_kern1.c
bpf_iter_test_kern2.c
bpf_iter_test_kern3.c selftests/bpf: drop unnecessary bpf_iter.h type duplication 2024-10-29 17:43:29 -07:00
bpf_iter_test_kern4.c selftests/bpf: drop unnecessary bpf_iter.h type duplication 2024-10-29 17:43:29 -07:00
bpf_iter_test_kern5.c selftests/bpf: drop unnecessary bpf_iter.h type duplication 2024-10-29 17:43:29 -07:00
bpf_iter_test_kern6.c selftests/bpf: drop unnecessary bpf_iter.h type duplication 2024-10-29 17:43:29 -07:00
bpf_iter_test_kern_common.h selftests/bpf: drop unnecessary bpf_iter.h type duplication 2024-10-29 17:43:29 -07:00
bpf_iter_udp4.c udp: add drop_counters to udp socket 2025-08-28 13:14:50 +02:00
bpf_iter_udp6.c udp: add drop_counters to udp socket 2025-08-28 13:14:50 +02:00
bpf_iter_unix.c selftests/bpf: drop unnecessary bpf_iter.h type duplication 2024-10-29 17:43:29 -07:00
bpf_iter_vma_offset.c selftests/bpf: drop unnecessary bpf_iter.h type duplication 2024-10-29 17:43:29 -07:00
bpf_loop.c
bpf_loop_bench.c selftests/bpf: fix bpf_loop_bench for new callback verification scheme 2023-11-20 18:33:35 -08:00
bpf_misc.h selftests/bpf: __not_msg() tag for test_loader framework 2025-09-19 09:27:23 -07:00
bpf_mod_race.c
bpf_qdisc_common.h selftests/bpf: Cleanup bpf qdisc selftests 2025-05-02 15:51:17 -07:00
bpf_qdisc_fail__incompl_ops.c selftests/bpf: Test attaching a bpf qdisc with incomplete operators 2025-05-02 15:42:48 -07:00
bpf_qdisc_fifo.c selftests/bpf: Test attaching a bpf qdisc with incomplete operators 2025-05-02 15:42:48 -07:00
bpf_qdisc_fq.c selftests/bpf: Test attaching a bpf qdisc with incomplete operators 2025-05-02 15:42:48 -07:00
bpf_syscall_macro.c selftests/bpf: Enable test_bpf_syscall_macro: Syscall_arg1 on s390 and arm64 2024-09-04 17:06:09 -07:00
bpf_tcp_nogpl.c selftests/bpf: Remove bpf_tcp_helpers.h usages from other misc bpf tcp-cc tests 2024-05-09 11:13:12 -07:00
bpf_test_utils.h selftests/bpf: Clobber a lot of registers in tailcall_bpf2bpf_hierarchy tests 2025-08-18 15:08:30 +02:00
bpf_tracing_net.h selftests/bpf: Return socket cookies from sock_iter_batch progs 2025-05-02 12:07:53 -07:00
bprm_opts.c
btf__core_reloc_arrays.c
btf__core_reloc_arrays___diff_arr_dim.c
btf__core_reloc_arrays___diff_arr_val_sz.c
btf__core_reloc_arrays___equiv_zero_sz_arr.c
btf__core_reloc_arrays___err_bad_signed_arr_elem_sz.c selftests/bpf: add test for LDX/STX/ST relocations over array field 2025-02-14 19:58:14 -08:00
btf__core_reloc_arrays___err_bad_zero_sz_arr.c
btf__core_reloc_arrays___err_non_array.c
btf__core_reloc_arrays___err_too_shallow.c
btf__core_reloc_arrays___err_too_small.c
btf__core_reloc_arrays___err_wrong_val_type.c
btf__core_reloc_arrays___fixed_arr.c
btf__core_reloc_bitfields.c
btf__core_reloc_bitfields___bit_sz_change.c
btf__core_reloc_bitfields___bitfield_vs_int.c
btf__core_reloc_bitfields___err_too_big_bitfield.c
btf__core_reloc_bitfields___just_big_enough.c
btf__core_reloc_enum64val.c
btf__core_reloc_enum64val___diff.c
btf__core_reloc_enum64val___err_missing.c
btf__core_reloc_enum64val___val3_missing.c
btf__core_reloc_enumval.c
btf__core_reloc_enumval___diff.c
btf__core_reloc_enumval___err_missing.c
btf__core_reloc_enumval___val3_missing.c
btf__core_reloc_existence.c
btf__core_reloc_existence___minimal.c
btf__core_reloc_existence___wrong_field_defs.c
btf__core_reloc_flavors.c
btf__core_reloc_flavors__err_wrong_name.c
btf__core_reloc_ints.c
btf__core_reloc_ints___bool.c
btf__core_reloc_ints___reverse_sign.c
btf__core_reloc_misc.c
btf__core_reloc_mods.c
btf__core_reloc_mods___mod_swap.c
btf__core_reloc_mods___typedefs.c
btf__core_reloc_nesting.c
btf__core_reloc_nesting___anon_embed.c
btf__core_reloc_nesting___dup_compat_types.c
btf__core_reloc_nesting___err_array_container.c
btf__core_reloc_nesting___err_array_field.c
btf__core_reloc_nesting___err_dup_incompat_types.c
btf__core_reloc_nesting___err_missing_container.c
btf__core_reloc_nesting___err_missing_field.c
btf__core_reloc_nesting___err_nonstruct_container.c
btf__core_reloc_nesting___err_partial_match_dups.c
btf__core_reloc_nesting___err_too_deep.c
btf__core_reloc_nesting___extra_nesting.c
btf__core_reloc_nesting___struct_union_mixup.c
btf__core_reloc_primitives.c
btf__core_reloc_primitives___diff_enum_def.c
btf__core_reloc_primitives___diff_func_proto.c
btf__core_reloc_primitives___diff_ptr_type.c
btf__core_reloc_primitives___err_non_enum.c
btf__core_reloc_primitives___err_non_int.c
btf__core_reloc_primitives___err_non_ptr.c
btf__core_reloc_ptr_as_arr.c
btf__core_reloc_ptr_as_arr___diff_sz.c
btf__core_reloc_size.c
btf__core_reloc_size___diff_offs.c
btf__core_reloc_size___diff_sz.c
btf__core_reloc_size___err_ambiguous.c
btf__core_reloc_type_based.c
btf__core_reloc_type_based___all_missing.c
btf__core_reloc_type_based___diff.c
btf__core_reloc_type_based___diff_sz.c
btf__core_reloc_type_based___fn_wrong_args.c
btf__core_reloc_type_based___incompat.c
btf__core_reloc_type_id.c
btf__core_reloc_type_id___missing_targets.c
btf_data.c
btf_dump_test_case_bitfields.c
btf_dump_test_case_multidim.c libbpf: Fix no-args func prototype BTF dumping syntax 2024-07-17 22:42:47 +02:00
btf_dump_test_case_namespacing.c
btf_dump_test_case_ordering.c
btf_dump_test_case_packing.c
btf_dump_test_case_padding.c
btf_dump_test_case_syntax.c libbpf: Fix no-args func prototype BTF dumping syntax 2024-07-17 22:42:47 +02:00
btf_ptr.h
btf_type_tag.c
btf_type_tag_percpu.c selftests/bpf: Fix selftest btf_tag/btf_type_tag_percpu_vmlinux_helper failure 2025-06-01 13:07:47 -07:00
btf_type_tag_user.c
cb_refs.c selftests/bpf: Consolidate kernel modules into common directory 2024-12-06 10:44:10 -08:00
cg_storage_multi.h selftests/bpf: Fix errors compiling cg_storage_multi.h with musl libc 2024-07-29 15:05:08 -07:00
cg_storage_multi_egress_only.c
cg_storage_multi_isolated.c
cg_storage_multi_shared.c
cgroup_ancestor.c selftests/bpf: convert test_skb_cgroup_id_user to test_progs 2024-08-14 18:49:57 -07:00
cgroup_getset_retval_getsockopt.c
cgroup_getset_retval_hooks.c
cgroup_getset_retval_setsockopt.c selftests/bpf: Attempt to build BPF programs with -Wsign-compare 2024-01-03 10:41:22 -08:00
cgroup_hierarchical_stats.c cgroup: change rstat function signatures from cgroup-based to css-based 2025-04-04 10:06:25 -10:00
cgroup_iter.c selftests/bpf: drop unnecessary bpf_iter.h type duplication 2024-10-29 17:43:29 -07:00
cgroup_mprog.c selftests/bpf: Add two selftests for mprog API based cgroup progs 2025-06-09 16:28:31 -07:00
cgroup_preorder.c selftests/bpf: Add selftests allowing cgroup prog pre-ordering 2025-03-15 11:48:25 -07:00
cgroup_read_xattr.c bpf: Enforce RCU protection for KF_RCU_PROTECTED 2025-09-18 15:36:17 -07:00
cgroup_skb_direct_packet_access.c selftests/bpf: add cgroup skb direct packet access test 2024-12-02 08:41:17 -08:00
cgroup_skb_sk_lookup_kern.c
cgroup_storage.c selftests/bpf: convert test_cgroup_storage to test_progs 2024-08-14 18:10:47 -07:00
cgroup_tcp_skb.c
cgrp_kfunc_common.h selftests/bpf: Verify calling core kfuncs from BPF_PROG_TYPE_SYCALL 2024-04-05 10:58:10 -07:00
cgrp_kfunc_failure.c bpf: reuse btf_prepare_func_args() check for main program BTF validation 2023-12-19 18:06:46 -08:00
cgrp_kfunc_success.c selftests/bpf: Add a test for bpf_cgroup_from_id lookup in non-root cgns 2025-09-15 10:53:15 -07:00
cgrp_ls_attach_cgroup.c
cgrp_ls_negative.c
cgrp_ls_recursion.c bpf: Allow compiler to inline most of bpf_local_storage_lookup() 2024-02-11 14:06:24 -08:00
cgrp_ls_sleepable.c selftests/bpf: drop unnecessary bpf_iter.h type duplication 2024-10-29 17:43:29 -07:00
cgrp_ls_tp_btf.c selftests/bpf: Add selftests for cgroup1 local storage 2023-12-08 17:08:18 -08:00
compute_live_registers.c selftests/bpf: verify jset handling in CFG computation 2025-06-13 11:51:19 -07:00
connect4_dropper.c selftests/bpf: Allow auto port binding for cgroup connect 2025-03-15 11:48:24 -07:00
connect4_prog.c sefltests/bpf: Expand sockaddr hook deny tests 2024-05-12 17:10:42 -07:00
connect6_prog.c sefltests/bpf: Expand sockaddr hook deny tests 2024-05-12 17:10:42 -07:00
connect_force_port4.c
connect_force_port6.c
connect_ping.c
connect_unix_prog.c sefltests/bpf: Expand sockaddr hook deny tests 2024-05-12 17:10:42 -07:00
core_kern.c
core_kern_overflow.c
core_reloc_types.h selftests/bpf: add test for LDX/STX/ST relocations over array field 2025-02-14 19:58:14 -08:00
cpumask_common.h selftests: bpf: add bpf_cpumask_populate selftests 2025-03-15 11:48:57 -07:00
cpumask_failure.c selftests: bpf: add bpf_cpumask_populate selftests 2025-03-15 11:48:57 -07:00
cpumask_success.c selftests: bpf: fix duplicate selftests in cpumask_success. 2025-03-15 11:48:58 -07:00
crypto_basic.c selftests: bpf: crypto skcipher algo selftests 2024-04-24 16:01:10 -07:00
crypto_bench.c selftests: bpf: crypto: adjust bench to use nullable IV 2024-06-13 16:33:04 -07:00
crypto_common.h selftests: bpf: crypto skcipher algo selftests 2024-04-24 16:01:10 -07:00
crypto_sanity.c selftests/bpf: Extend crypto_sanity selftest with invalid dst buffer 2025-09-09 15:07:57 -07:00
csum_diff_test.c selftests/bpf: Add a selftest for bpf_csum_diff() 2024-10-30 15:29:59 +01:00
decap_sanity.c
dev_cgroup.c selftests/bpf: do not disable /dev/null device access in cgroup dev test 2024-07-31 10:00:20 -07:00
dmabuf_iter.c selftests/bpf: Add test for open coded dmabuf_iter 2025-05-27 09:51:26 -07:00
dummy_st_ops_fail.c
dummy_st_ops_success.c selftests/bpf: do not pass NULL for non-nullable params in dummy_st_ops 2024-04-25 12:42:43 -07:00
dynptr_fail.c selftests/bpf: Cover verifier checks for skb_meta dynptr type 2025-08-18 10:29:42 -07:00
dynptr_success.c selftests/bpf: Cover verifier checks for skb_meta dynptr type 2025-08-18 10:29:42 -07:00
empty_skb.c
epilogue_exit.c selftests/bpf: Consolidate kernel modules into common directory 2024-12-06 10:44:10 -08:00
epilogue_tailcall.c selftests/bpf: Consolidate kernel modules into common directory 2024-12-06 10:44:10 -08:00
err.h selftests/bpf: Add return value checks for failed tests 2024-07-29 13:09:37 -07:00
exceptions.c bpf: Introduce "volatile compare" macros 2024-01-03 10:58:42 -08:00
exceptions_assert.c bpf: disable and remove registers chain based liveness 2025-09-19 09:27:23 -07:00
exceptions_ext.c selftests/bpf: Add tests for BPF exceptions 2023-09-16 09:36:43 -07:00
exceptions_fail.c bpf: Improve verifier log for resource leak on exit 2024-12-04 08:38:29 -08:00
exhandler_kern.c
fd_htab_lookup.c selftests/bpf: Add test case for atomic update of fd htab 2025-04-09 20:12:54 -07:00
fentry_many_args.c
fentry_recursive.c selftests/bpf: Add test for recursive attachment of tracing progs 2024-01-04 20:40:14 -08:00
fentry_recursive_target.c selftests/bpf: Test re-attachment fix for bpf_tracing_prog_attach 2024-01-04 20:40:49 -08:00
fentry_test.c
fexit_bpf2bpf.c
fexit_bpf2bpf_simple.c
fexit_many_args.c
fexit_sleep.c
fexit_test.c
fib_lookup.c selftests/bpf: Remove bpf_tracing_net.h usages from two networking tests 2024-05-09 11:13:11 -07:00
find_vma.c dcache: back inline names with a struct-wrapped array of unsigned long 2025-01-17 17:46:05 -05:00
find_vma_fail1.c
find_vma_fail2.c
fmod_ret_freplace.c
for_each_array_map_elem.c
for_each_hash_map_elem.c
for_each_hash_modify.c selftests/bpf: add test for softlock when modifying hashmap while iterating 2025-04-25 08:36:59 -07:00
for_each_map_elem_write_key.c
for_each_multi_maps.c selftests/bpf: add test for bpf_for_each_map_elem() with different maps 2024-04-05 10:31:18 -07:00
free_timer.c selftests/bpf: Add test case for the freeing of bpf_timer 2025-01-20 09:09:02 -08:00
freplace_attach_probe.c
freplace_cls_redirect.c
freplace_connect4.c
freplace_connect_v4_prog.c selftests/bpf: Fix typos and grammar in test sources 2025-08-27 15:13:08 -07:00
freplace_dead_global_func.c selftests/bpf: validate eliminated global subprog is not freplaceable 2023-12-11 19:16:32 -08:00
freplace_get_constant.c
freplace_global_func.c
freplace_progmap.c
freplace_unreliable_prog.c selftests/bpf: add freplace of BTF-unreliable main prog test 2023-12-19 18:06:47 -08:00
get_branch_snapshot.c
get_cgroup_id_kern.c selftests/bpf: convert get_current_cgroup_id_user to test_progs 2024-08-14 18:10:46 -07:00
get_func_args_test.c
get_func_ip_test.c bpf: selftests: Fix fentry test kfunc prototypes 2024-06-12 11:01:30 -07:00
get_func_ip_uprobe_test.c
getpeername4_prog.c selftests/bpf: Expand getsockname and getpeername tests 2024-05-12 17:10:42 -07:00
getpeername6_prog.c selftests/bpf: Expand getsockname and getpeername tests 2024-05-12 17:10:42 -07:00
getpeername_unix_prog.c selftests/bpf: convert bpf_rdonly_cast() uses to bpf_core_cast() macro 2024-01-30 15:55:50 -08:00
getsockname4_prog.c selftests/bpf: Expand getsockname and getpeername tests 2024-05-12 17:10:42 -07:00
getsockname6_prog.c selftests/bpf: Expand getsockname and getpeername tests 2024-05-12 17:10:42 -07:00
getsockname_unix_prog.c selftests/bpf: convert bpf_rdonly_cast() uses to bpf_core_cast() macro 2024-01-30 15:55:50 -08:00
htab_mem_bench.c
htab_reuse.c
htab_update.c
ima.c
inner_array_lookup.c
ip_check_defrag.c bpf: treewide: Align kfunc signatures to prog point-of-view 2024-06-12 11:01:31 -07:00
irq.c selftests/bpf: Add tests for rqspinlock 2025-03-19 08:03:06 -07:00
iters.c selftests/bpf: tests with a loop state missing read/precision mark 2025-06-12 16:52:43 -07:00
iters_css.c selftests/bpf: Add tests for open-coded task and css iter 2023-10-19 17:02:47 -07:00
iters_css_task.c selftests/bpf: get trusted cgrp from bpf_iter__cgroup directly 2023-11-07 15:28:06 -08:00
iters_looping.c
iters_num.c
iters_state_safety.c bpf: disable and remove registers chain based liveness 2025-09-19 09:27:23 -07:00
iters_task.c selftests/bpf: Add negtive test cases for task iter 2024-02-19 12:28:15 +01:00
iters_task_failure.c bpf: Enforce RCU protection for KF_RCU_PROTECTED 2025-09-18 15:36:17 -07:00
iters_task_vma.c bpf: Introduce "volatile compare" macros 2024-01-03 10:58:42 -08:00
iters_testmod.c selftests/bpf: Add tests for KF_RCU_PROTECTED 2025-09-18 15:36:17 -07:00
iters_testmod_seq.c bpf: disable and remove registers chain based liveness 2025-09-19 09:27:23 -07:00
jeq_infer_not_null_fail.c selftests/bpf: Fix a few tests for GCC related warnings. 2024-05-12 17:25:14 -07:00
jit_probe_mem.c selftests/bpf: Consolidate kernel modules into common directory 2024-12-06 10:44:10 -08:00
kfree_skb.c
kfunc_call_destructive.c selftests/bpf: Consolidate kernel modules into common directory 2024-12-06 10:44:10 -08:00
kfunc_call_fail.c selftests/bpf: Consolidate kernel modules into common directory 2024-12-06 10:44:10 -08:00
kfunc_call_race.c selftests/bpf: Consolidate kernel modules into common directory 2024-12-06 10:44:10 -08:00
kfunc_call_test.c selftests/bpf: Consolidate kernel modules into common directory 2024-12-06 10:44:10 -08:00
kfunc_call_test_subprog.c selftests/bpf: Consolidate kernel modules into common directory 2024-12-06 10:44:10 -08:00
kfunc_module_order.c selftests/bpf: Add test for kfunc module order 2024-10-10 10:44:03 -07:00
kmem_cache_iter.c selftests/bpf: Add a test for open coded kmem_cache iter 2024-11-01 11:08:32 -07:00
kprobe_multi.c
kprobe_multi_empty.c
kprobe_multi_override.c selftests/bpf: Add kprobe_multi override test 2023-09-08 16:53:10 -07:00
kprobe_multi_session.c selftests/bpf: Move ARRAY_SIZE to bpf_misc.h 2024-06-26 17:08:43 -07:00
kprobe_multi_session_cookie.c bpf: Change bpf_session_cookie return value to __u64 * 2024-06-21 19:32:36 +02:00
kprobe_multi_verifier.c selftests/bpf: Add kprobe session verifier test for return value 2024-11-11 08:18:16 -08:00
kprobe_write_ctx.c selftests/bpf: Add kprobe multi write ctx attach test 2025-09-24 02:25:06 -07:00
kptr_xchg_inline.c selftests/bpf: Test the inlining of bpf_kptr_xchg() 2024-01-23 14:40:21 -08:00
ksym_race.c
linked_funcs1.c selftests/bpf: Test linking with duplicate extern functions 2024-10-07 20:28:53 -07:00
linked_funcs2.c selftests/bpf: Test linking with duplicate extern functions 2024-10-07 20:28:53 -07:00
linked_list.c selftests/bpf: Move ARRAY_SIZE to bpf_misc.h 2024-06-26 17:08:43 -07:00
linked_list.h
linked_list_fail.c selftests/bpf: Fix "expression result unused" warnings with icecc 2025-09-09 15:07:58 -07:00
linked_list_peek.c selftests/bpf: Add test for bpf_list_{front,back} 2025-05-06 10:21:06 -07:00
linked_maps1.c
linked_maps2.c
linked_vars1.c
linked_vars2.c
load_bytes_relative.c
local_kptr_stash.c selftests/bpf: Consolidate kernel modules into common directory 2024-12-06 10:44:10 -08:00
local_kptr_stash_fail.c
local_storage.c bpf: Fix verifier assumptions about socket->sk 2024-04-29 14:16:41 -07:00
local_storage_bench.c
local_storage_rcu_tasks_trace_bench.c
loop1.c selftests/bpf: Use vmlinux.h for BPF programs 2025-08-21 11:32:25 -07:00
loop2.c selftests/bpf: Use vmlinux.h for BPF programs 2025-08-21 11:32:25 -07:00
loop3.c selftests/bpf: Use vmlinux.h for BPF programs 2025-08-21 11:32:25 -07:00
loop4.c bpf: Abstract loop unrolling pragmas in BPF selftests 2024-02-13 11:17:30 -08:00
loop5.c
loop6.c selftests/bpf: Use vmlinux.h for BPF programs 2025-08-21 11:32:25 -07:00
lpm_trie.h selftests/bpf: Add LPM trie microbenchmarks 2025-08-27 17:28:14 -07:00
lpm_trie_bench.c selftests/bpf: Add LPM trie microbenchmarks 2025-08-27 17:28:14 -07:00
lpm_trie_map.c selftests/bpf: Add LPM trie microbenchmarks 2025-08-27 17:28:14 -07:00
lru_bug.c
lsm.c selftests/bpf: Attempt to build BPF programs with -Wsign-compare 2024-01-03 10:41:22 -08:00
lsm_cgroup.c bpf: Fix verifier assumptions about socket->sk 2024-04-29 14:16:41 -07:00
lsm_cgroup_nonvoid.c
lsm_tailcall.c selftests/bpf: Add test for lsm tail call 2024-07-29 13:09:41 -07:00
map_excl.c selftests/bpf: Add tests for exclusive maps 2025-09-18 19:11:42 -07:00
map_in_map_btf.c selftests/bpf: Test the release of map btf 2023-12-18 18:15:49 +01:00
map_kptr.c selftests/bpf: Consolidate kernel modules into common directory 2024-12-06 10:44:10 -08:00
map_kptr_fail.c bpf: verifier: Support eliding map lookup nullness 2025-01-16 17:51:10 -08:00
map_percpu_stats.c bpf: selftests: Fix bpf_map_sum_elem_count() kfunc prototype 2024-06-12 11:01:31 -07:00
map_ptr_kern.c bpf: Replace bpf_lpm_trie_key 0-length array with flexible array 2024-02-29 22:52:43 +01:00
mem_rdonly_untrusted.c bpf: disable and remove registers chain based liveness 2025-09-19 09:27:23 -07:00
metadata_unused.c
metadata_used.c
missed_kprobe.c selftests/bpf: Consolidate kernel modules into common directory 2024-12-06 10:44:10 -08:00
missed_kprobe_recursion.c selftests/bpf: Add kprobe session recursion check test 2025-01-08 09:39:58 -08:00
missed_tp_recursion.c selftests/bpf: Add test for recursion counts of perf event link tracepoint 2023-09-25 16:37:45 -07:00
mmap_inner_array.c selftests/bpf: Add a test for mmap-able map in map 2024-07-29 15:05:04 -07:00
modify_return.c
mptcp_bpf.h selftests/bpf: Add getsockopt to inspect mptcp subflow 2024-09-30 17:20:41 -07:00
mptcp_sock.c selftests/bpf: Remove the bpf_tcp_helpers.h usages from other non tcp-cc tests 2024-05-09 11:13:12 -07:00
mptcp_subflow.c mptcp: pm: rename 'subflows' to 'extra_subflows' 2025-09-26 17:44:04 -07:00
mptcpify.c selftests/bpf: Add pid limit for mptcpify prog 2024-04-02 10:05:49 -07:00
nested_acquire.c selftests/bpf: Consolidate kernel modules into common directory 2024-12-06 10:44:10 -08:00
nested_trust_common.h bpf: selftests: Fix bpf_cpumask_first_zero() kfunc prototype 2024-06-12 11:01:31 -07:00
nested_trust_failure.c bpf: relax zero fixed offset constraint on KF_TRUSTED_ARGS/KF_RCU 2024-07-09 19:11:47 -07:00
nested_trust_success.c bpf: relax zero fixed offset constraint on KF_TRUSTED_ARGS/KF_RCU 2024-07-09 19:11:47 -07:00
net_timestamping.c selftests/bpf: Add simple bpf tests in the tx path for timestamping feature 2025-02-20 14:30:07 -08:00
netcnt_prog.c
netif_receive_skb.c selftests/bpf: Move ARRAY_SIZE to bpf_misc.h 2024-06-26 17:08:43 -07:00
netns_cookie_prog.c selftests/bpf: add cgroup_skb netns cookie tests 2025-02-26 07:35:51 -08:00
normal_map_btf.c selftests/bpf: Attempt to build BPF programs with -Wsign-compare 2024-01-03 10:41:22 -08:00
percpu_alloc_array.c selftests/bpf: Improve percpu_alloc test robustness 2023-10-16 13:49:18 +02:00
percpu_alloc_cgrp_local_storage.c selftests/bpf: Improve percpu_alloc test robustness 2023-10-16 13:49:18 +02:00
percpu_alloc_fail.c selftests/bpf: Add a selftest with > 512-byte percpu allocation size 2024-01-03 21:08:26 -08:00
perf_event_stackmap.c
perfbuf_bench.c
preempt_lock.c selftests/bpf: Test sleepable global subprogs in atomic contexts 2025-03-15 11:48:25 -07:00
preempted_bpf_ma_op.c selftests/bpf: Test preemption between bpf_obj_new() and bpf_obj_drop() 2023-09-08 08:42:19 -07:00
prepare.c selftests/bpf: Support struct/union presets in veristat 2025-04-09 16:16:12 -07:00
priv_freplace_prog.c selftests/bpf: Test freplace from user namespace 2025-03-17 13:45:12 -07:00
priv_map.c selftests/bpf: Add BPF object loading tests with explicit token passing 2024-01-24 16:21:03 -08:00
priv_prog.c selftests/bpf: Test freplace from user namespace 2025-03-17 13:45:12 -07:00
pro_epilogue.c selftests/bpf: Consolidate kernel modules into common directory 2024-12-06 10:44:10 -08:00
pro_epilogue_goto_start.c selftests/bpf: Consolidate kernel modules into common directory 2024-12-06 10:44:10 -08:00
pro_epilogue_with_kfunc.c selftests/bpf: Test gen_pro/epilogue that generate kfuncs 2025-02-25 19:04:43 -08:00
profiler.h
profiler.inc.h kernfs: Use RCU to access kernfs_node::parent. 2025-02-15 17:46:32 +01:00
profiler1.c
profiler2.c
profiler3.c
pyperf.h bpf: Abstract loop unrolling pragmas in BPF selftests 2024-02-13 11:17:30 -08:00
pyperf50.c
pyperf100.c
pyperf180.c selftests/bpf: Fix pyperf180 compilation failure with clang18 2023-11-11 12:18:10 -08:00
pyperf600.c
pyperf600_bpf_loop.c
pyperf600_iter.c
pyperf600_nounroll.c
pyperf_global.c
pyperf_subprogs.c
raw_tp_null.c tracepoint: Have tracepoints created with DECLARE_TRACE() have _tp suffix 2025-05-14 11:19:32 -04:00
raw_tp_null_fail.c tracepoint: Have tracepoints created with DECLARE_TRACE() have _tp suffix 2025-05-14 11:19:32 -04:00
rbtree.c selftests/bpf: rbtree: Fix incorrect global variable usage 2025-06-05 13:55:26 -07:00
rbtree_btf_fail__add_wrong_type.c
rbtree_btf_fail__wrong_node_type.c
rbtree_fail.c bpf: Allow refcounted bpf_rb_node used in bpf_rbtree_{remove,left,right} 2025-05-06 10:21:05 -07:00
rbtree_search.c selftests/bpf: Fix typos and grammar in test sources 2025-08-27 15:13:08 -07:00
rcu_read_lock.c bpf: Fix key serial argument of bpf_lookup_user_key() 2025-06-17 18:15:27 -07:00
rcu_tasks_trace_gp.c
read_bpf_task_storage_busy.c selftests/bpf: Check for PREEMPTION instead of PREEMPT 2024-11-26 08:55:01 -08:00
read_cgroupfs_xattr.c selftests/bpf: Add tests for bpf_cgroup_read_xattr 2025-07-02 14:18:20 +02:00
read_vsyscall.c selftests/bpf: Add tests for bpf_copy_from_user_task_str 2025-02-19 17:01:36 -08:00
recursion.c
recvmsg4_prog.c
recvmsg6_prog.c
recvmsg_unix_prog.c selftests/bpf: convert bpf_rdonly_cast() uses to bpf_core_cast() macro 2024-01-30 15:55:50 -08:00
refcounted_kptr.c
refcounted_kptr_fail.c selftests/bpf: replace __regex macro with "{{...}}" patterns 2024-08-21 11:03:00 -07:00
res_spin_lock.c selftests/bpf: Make res_spin_lock AA test condition stronger 2025-04-10 12:45:37 -07:00
res_spin_lock_fail.c selftests/bpf: Add tests for rqspinlock 2025-03-19 08:03:06 -07:00
ringbuf_bench.c
security_bpf_map.c selftests/bpf: Add test for bpftool access to read-only protected maps 2025-06-20 11:13:03 -07:00
sendmsg4_prog.c selftests/bpf: Migrate sendmsg deny test cases 2024-05-12 17:10:41 -07:00
sendmsg6_prog.c selftests/bpf: Migrate wildcard destination rewrite test 2024-05-12 17:10:41 -07:00
sendmsg_unix_prog.c sefltests/bpf: Expand sockaddr hook deny tests 2024-05-12 17:10:42 -07:00
set_global_vars.c selftests/bpf: Test array presets in veristat 2025-06-26 10:28:51 -07:00
setget_sockopt.c tcp: Restrict SO_TXREHASH to TCP socket. 2025-05-23 10:24:18 +01:00
sk_storage_omem_uncharge.c selftests/bpf: convert bpf_rdonly_cast() uses to bpf_core_cast() macro 2024-01-30 15:55:50 -08:00
skb_load_bytes.c
skb_pkt_end.c selftests/bpf: Validate CHECKSUM_COMPLETE option 2024-06-13 14:29:53 +02:00
sock_addr_kern.c selftests/bpf: Consolidate kernel modules into common directory 2024-12-06 10:44:10 -08:00
sock_destroy_prog.c
sock_destroy_prog_fail.c
sock_iter_batch.c selftests/bpf: Create iter_tcp_destroy test program 2025-07-14 15:12:54 -07:00
socket_cookie_prog.c
sockmap_parse_prog.c
sockmap_tcp_msg_prog.c
sockmap_verdict_prog.c
sockopt_inherit.c selftests/bpf: Attempt to build BPF programs with -Wsign-compare 2024-01-03 10:41:22 -08:00
sockopt_multi.c selftests/bpf: Attempt to build BPF programs with -Wsign-compare 2024-01-03 10:41:22 -08:00
sockopt_qos_to_cc.c selftests/bpf: Remove the bpf_tcp_helpers.h usages from other non tcp-cc tests 2024-05-09 11:13:12 -07:00
sockopt_sk.c
stacktrace_map.c selftests/bpf: Add stacktrace map lookup_and_delete_elem test case 2025-09-25 16:17:30 -07:00
stacktrace_map_skip.c
stream.c selftests/bpf: Add tests for arena fault reporting 2025-09-11 13:00:44 -07:00
stream_fail.c selftests/bpf: Add tests for prog streams 2025-07-03 19:30:07 -07:00
string_kfuncs_failure1.c selftests/bpf: Test kfunc bpf_strcasecmp 2025-09-04 09:00:57 -07:00
string_kfuncs_failure2.c selftests/bpf: Test kfunc bpf_strcasecmp 2025-09-04 09:00:57 -07:00
string_kfuncs_success.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf after rc5 2025-09-11 09:34:37 -07:00
strncmp_bench.c selftests/bpf: Fix string read in strncmp benchmark 2025-03-15 11:49:24 -07:00
strncmp_test.c
strobemeta.c
strobemeta.h selftests/bpf: fix some typos in selftests 2024-09-05 13:07:47 -07:00
strobemeta_bpf_loop.c
strobemeta_nounroll1.c
strobemeta_nounroll2.c
strobemeta_subprogs.c
struct_ops_autocreate.c selftests/bpf: Test case for SEC("?.struct_ops") 2024-03-06 15:18:16 -08:00
struct_ops_autocreate2.c selftests/bpf: Verify struct_ops autoload/autocreate sync 2024-03-06 15:18:15 -08:00
struct_ops_detach.c selftests/bpf: Consolidate kernel modules into common directory 2024-12-06 10:44:10 -08:00
struct_ops_forgotten_cb.c selftests/bpf: Consolidate kernel modules into common directory 2024-12-06 10:44:10 -08:00
struct_ops_id_ops_mapping1.c selftests/bpf: Test multi_st_ops and calling kfuncs from different programs 2025-08-06 16:01:58 -07:00
struct_ops_id_ops_mapping2.c selftests/bpf: Test multi_st_ops and calling kfuncs from different programs 2025-08-06 16:01:58 -07:00
struct_ops_kptr_return.c selftests/bpf: Fix typos and grammar in test sources 2025-08-27 15:13:08 -07:00
struct_ops_kptr_return_fail__invalid_scalar.c selftests/bpf: Test returning referenced kptr from struct_ops programs 2025-02-17 18:47:27 -08:00
struct_ops_kptr_return_fail__local_kptr.c selftests/bpf: Test returning referenced kptr from struct_ops programs 2025-02-17 18:47:27 -08:00
struct_ops_kptr_return_fail__nonzero_offset.c selftests/bpf: Test returning referenced kptr from struct_ops programs 2025-02-17 18:47:27 -08:00
struct_ops_kptr_return_fail__wrong_type.c selftests/bpf: Test returning referenced kptr from struct_ops programs 2025-02-17 18:47:27 -08:00
struct_ops_maybe_null.c selftests/bpf: Consolidate kernel modules into common directory 2024-12-06 10:44:10 -08:00
struct_ops_maybe_null_fail.c selftests/bpf: Consolidate kernel modules into common directory 2024-12-06 10:44:10 -08:00
struct_ops_module.c selftests/bpf: Consolidate kernel modules into common directory 2024-12-06 10:44:10 -08:00
struct_ops_multi_pages.c selftests/bpf: Consolidate kernel modules into common directory 2024-12-06 10:44:10 -08:00
struct_ops_nulled_out_cb.c selftests/bpf: Consolidate kernel modules into common directory 2024-12-06 10:44:10 -08:00
struct_ops_private_stack.c selftests/bpf: Enable private stack tests for arm64 2025-07-26 21:27:15 +02:00
struct_ops_private_stack_fail.c selftests/bpf: Enable private stack tests for arm64 2025-07-26 21:27:15 +02:00
struct_ops_private_stack_recur.c selftests/bpf: Enable private stack tests for arm64 2025-07-26 21:27:15 +02:00
struct_ops_refcounted.c selftests/bpf: Fix typos and grammar in test sources 2025-08-27 15:13:08 -07:00
struct_ops_refcounted_fail__global_subprog.c selftests/bpf: Test referenced kptr arguments of struct_ops programs 2025-02-17 18:47:27 -08:00
struct_ops_refcounted_fail__ref_leak.c selftests/bpf: Test referenced kptr arguments of struct_ops programs 2025-02-17 18:47:27 -08:00
struct_ops_refcounted_fail__tail_call.c selftests/bpf: Test struct_ops program with __ref arg calling bpf_tail_call 2025-02-20 18:44:35 -08:00
summarization.c selftests/bpf: Add tests for extending sleepable global subprogs 2025-03-15 11:48:25 -07:00
summarization_freplace.c selftests/bpf: Add tests for extending sleepable global subprogs 2025-03-15 11:48:25 -07:00
syscall.c selftest/bpf: Replace magic constants by macros 2024-12-13 14:48:39 -08:00
tailcall1.c
tailcall2.c
tailcall3.c
tailcall4.c
tailcall5.c
tailcall6.c
tailcall_bpf2bpf1.c
tailcall_bpf2bpf2.c
tailcall_bpf2bpf3.c
tailcall_bpf2bpf4.c
tailcall_bpf2bpf6.c
tailcall_bpf2bpf_fentry.c selftests/bpf: Add testcases for tailcall infinite loop fixing 2023-09-12 13:06:12 -07:00
tailcall_bpf2bpf_fexit.c selftests/bpf: Add testcases for tailcall infinite loop fixing 2023-09-12 13:06:12 -07:00
tailcall_bpf2bpf_hierarchy1.c selftests/bpf: Clobber a lot of registers in tailcall_bpf2bpf_hierarchy tests 2025-08-18 15:08:30 +02:00
tailcall_bpf2bpf_hierarchy2.c selftests/bpf: Clobber a lot of registers in tailcall_bpf2bpf_hierarchy tests 2025-08-18 15:08:30 +02:00
tailcall_bpf2bpf_hierarchy3.c selftests/bpf: Clobber a lot of registers in tailcall_bpf2bpf_hierarchy tests 2025-08-18 15:08:30 +02:00
tailcall_bpf2bpf_hierarchy_fentry.c selftests/bpf: Clobber a lot of registers in tailcall_bpf2bpf_hierarchy tests 2025-08-18 15:08:30 +02:00
tailcall_fail.c selftests/bpf: Add tests for tail calls with locks and refs 2024-11-03 16:52:06 -08:00
tailcall_freplace.c selftests/bpf: Add testcase for updating attached freplace prog to prog_array map 2024-08-22 13:28:19 -07:00
tailcall_poke.c selftests/bpf: Add test for early update in prog_array_map_poke_run 2023-12-06 22:40:43 +01:00
task_kfunc_common.h selftests/bpf: Add tests for bpf_task_from_vpid() kfunc 2024-10-16 09:21:18 -07:00
task_kfunc_failure.c selftests/bpf: Add tests for bpf_task_from_vpid() kfunc 2024-10-16 09:21:18 -07:00
task_kfunc_success.c selftests/bpf: Add tests for bpf_task_from_vpid() kfunc 2024-10-16 09:21:18 -07:00
task_local_data.bpf.h selftests/bpf: Introduce task local data 2025-08-01 18:00:46 -07:00
task_local_storage.c
task_local_storage_exit_creds.c
task_ls_recursion.c bpf: Allow compiler to inline most of bpf_local_storage_lookup() 2024-02-11 14:06:24 -08:00
task_ls_uptr.c selftests/bpf: Some basic __uptr tests 2024-10-24 10:25:59 -07:00
task_storage_nodeadlock.c selftests/bpf: Check for PREEMPTION instead of PREEMPT 2024-11-26 08:55:01 -08:00
task_work.c selftests/bpf: BPF task work scheduling tests 2025-09-23 07:34:39 -07:00
task_work_fail.c selftests/bpf: BPF task work scheduling tests 2025-09-23 07:34:39 -07:00
task_work_stress.c selftests/bpf: add bpf task work stress tests 2025-09-23 07:34:39 -07:00
tc_bpf2bpf.c bpf: consider that tail calls invalidate packet pointers 2024-12-10 10:24:57 -08:00
tc_dummy.c selftests/bpf: Add testcases for tailcall hierarchy fixing 2024-07-29 12:53:42 -07:00
tcp_ca_incompl_cong_ops.c selftests/bpf: Sanitize the SEC and inline usages in the bpf-tcp-cc tests 2024-05-09 11:13:11 -07:00
tcp_ca_kfunc.c selftests/bpf: Sanitize the SEC and inline usages in the bpf-tcp-cc tests 2024-05-09 11:13:11 -07:00
tcp_ca_unsupp_cong_op.c selftests/bpf: Sanitize the SEC and inline usages in the bpf-tcp-cc tests 2024-05-09 11:13:11 -07:00
tcp_ca_update.c selftests/bpf: Sanitize the SEC and inline usages in the bpf-tcp-cc tests 2024-05-09 11:13:11 -07:00
tcp_ca_write_sk_pacing.c selftests/bpf: Sanitize the SEC and inline usages in the bpf-tcp-cc tests 2024-05-09 11:13:11 -07:00
tcp_rtt.c selftests/bpf: extend BPF_SOCK_OPS_RTT_CB test for srtt and mrtt_us 2024-04-25 14:09:05 -07:00
test_access_variable_array.c selftests/bpf: Adjust test_access_variable_array after a kernel function name change 2024-05-17 01:48:16 +02:00
test_assign_reuse.c
test_attach_kprobe_sleepable.c
test_attach_probe.c selftests/bpf: Add tests for bpf_copy_from_user_str kfunc. 2024-08-23 15:40:11 -07:00
test_attach_probe_manual.c
test_autoattach.c
test_autoload.c
test_bpf_cookie.c selftests/bpf: add raw_tp/tp_btf BPF cookie subtests 2024-03-19 23:05:34 -07:00
test_bpf_ma.c selftests/bpf: Move ARRAY_SIZE to bpf_misc.h 2024-06-26 17:08:43 -07:00
test_bpf_nf.c bpf: selftests: nf: Opt out of using generated kfunc prototypes 2024-06-12 11:01:31 -07:00
test_bpf_nf_fail.c bpf: selftests: nf: Opt out of using generated kfunc prototypes 2024-06-12 11:01:31 -07:00
test_btf_decl_tag.c
test_btf_ext.c selftests/bpf: Add BTF.ext line/func info getter tests 2025-04-09 16:16:56 -07:00
test_btf_map_in_map.c
test_btf_newkv.c
test_btf_nokv.c
test_btf_skc_cls_ingress.c selftests/bpf: test MSS value returned with bpf_tcp_gen_syncookie 2024-10-21 13:18:51 -07:00
test_build_id.c selftests/bpf: add build ID tests 2024-09-11 09:58:31 -07:00
test_cgroup1_hierarchy.c security: Propagate caller information in bpf hooks 2025-03-15 11:48:58 -07:00
test_cgroup_link.c
test_check_mtu.c
test_cls_redirect.c selftests/bpf: Move macros to bpf_misc.h 2025-09-17 16:15:37 +02:00
test_cls_redirect.h selftests/bpf: use the same udp and tcp headers in tests under test_progs 2024-12-02 08:41:17 -08:00
test_cls_redirect_dynptr.c selftests/bpf: Fix typos and grammar in test sources 2025-08-27 15:13:08 -07:00
test_cls_redirect_subprogs.c
test_core_autosize.c
test_core_extern.c
test_core_read_macros.c selftests/bpf: fix some typos in selftests 2024-09-05 13:07:47 -07:00
test_core_reloc_arrays.c selftests/bpf: add test for LDX/STX/ST relocations over array field 2025-02-14 19:58:14 -08:00
test_core_reloc_bitfields_direct.c
test_core_reloc_bitfields_probed.c
test_core_reloc_enum64val.c
test_core_reloc_enumval.c
test_core_reloc_existence.c
test_core_reloc_flavors.c
test_core_reloc_ints.c
test_core_reloc_kernel.c selftests/bpf: Attempt to build BPF programs with -Wsign-compare 2024-01-03 10:41:22 -08:00
test_core_reloc_misc.c
test_core_reloc_mods.c
test_core_reloc_module.c selftests/bpf: Attempt to build BPF programs with -Wsign-compare 2024-01-03 10:41:22 -08:00
test_core_reloc_nesting.c
test_core_reloc_primitives.c
test_core_reloc_ptr_as_arr.c
test_core_reloc_size.c
test_core_reloc_type_based.c
test_core_reloc_type_id.c selftests/bpf: Update LLVM Phabricator links 2024-01-23 14:40:22 -08:00
test_core_retro.c
test_custom_sec_handlers.c
test_d_path.c
test_d_path_check_rdonly_mem.c
test_d_path_check_types.c
test_deny_namespace.c
test_enable_stats.c
test_endian.c
test_fill_link_info.c selftests/bpf: Fix fill_link_info selftest on powerpc 2024-12-09 13:55:29 -08:00
test_fsverity.c selftests/bpf: Attempt to build BPF programs with -Wsign-compare 2024-01-03 10:41:22 -08:00
test_get_stack_rawtp.c
test_get_stack_rawtp_err.c
test_get_xattr.c selftests/bpf: Extend test fs_kfuncs to cover security.bpf. xattr names 2025-02-13 19:35:31 -08:00
test_global_data.c
test_global_func1.c bpf: Fix test verif_scale_strobemeta_subprogs failure due to llvm19 2024-02-15 13:45:27 -08:00
test_global_func2.c
test_global_func3.c
test_global_func4.c
test_global_func5.c bpf: reuse subprog argument parsing logic for subprog call checks 2023-12-19 18:06:46 -08:00
test_global_func6.c
test_global_func7.c
test_global_func8.c
test_global_func9.c
test_global_func10.c bpf: verifier: Refactor helper access type tracking 2025-01-16 17:51:10 -08:00
test_global_func11.c
test_global_func12.c bpf: Validate global subprogs lazily 2023-11-24 10:40:06 +01:00
test_global_func13.c
test_global_func14.c
test_global_func15.c selftests/bpf: fix some typos in selftests 2024-09-05 13:07:47 -07:00
test_global_func16.c bpf: Fix accesses to uninit stack slots 2023-12-08 14:19:00 -08:00
test_global_func17.c bpf: Fix a few selftest failures due to llvm18 change 2023-11-27 14:53:39 +01:00
test_global_func_args.c
test_global_func_ctx_args.c bpf: don't infer PTR_TO_CTX for programs with unnamed context type 2024-02-13 18:46:47 -08:00
test_global_map_resize.c libbpf: Fix possible use-after-free for externs 2025-06-25 12:28:58 -07:00
test_hash_large_key.c
test_helper_restricted.c
test_jhash.h selftests/bpf: Test udp and tcp iter batching 2024-01-13 11:01:44 -08:00
test_kernel_flag.c selftests/bpf: Add a kernel flag test for LSM bpf hook 2025-03-15 11:48:58 -07:00
test_kfunc_dynptr_param.c security: Propagate caller information in bpf hooks 2025-03-15 11:48:58 -07:00
test_kfunc_param_nullable.c selftests/bpf: Consolidate kernel modules into common directory 2024-12-06 10:44:10 -08:00
test_ksyms.c
test_ksyms_btf.c
test_ksyms_btf_null_check.c
test_ksyms_btf_write_check.c
test_ksyms_module.c
test_ksyms_weak.c
test_l4lb.c
test_l4lb_noinline.c
test_l4lb_noinline_dynptr.c
test_ldsx_insn.c selftests/bpf: Enable cpu v4 tests for LoongArch 2023-11-08 14:12:21 +08:00
test_legacy_printk.c
test_libbpf_get_fd_by_id_opts.c selftests/bpf: Workaround strict bpf_lsm return value check. 2024-07-29 15:04:55 -07:00
test_link_pinning.c
test_lirc_mode2_kern.c
test_log_buf.c
test_log_fixup.c
test_lookup_and_delete.c
test_lookup_key.c bpf: Fix key serial argument of bpf_lookup_user_key() 2025-06-17 18:15:27 -07:00
test_lwt_ip_encap.c
test_lwt_redirect.c selftests/bpf: Remove bpf_tracing_net.h usages from two networking tests 2024-05-09 11:13:11 -07:00
test_lwt_reroute.c
test_lwt_seg6local.c bpf: Abstract loop unrolling pragmas in BPF selftests 2024-02-13 11:17:30 -08:00
test_map_in_map.c selftest/bpf: Add map_in_maps with BPF_MAP_TYPE_PERF_EVENT_ARRAY values 2024-01-23 14:43:12 -08:00
test_map_in_map_invalid.c
test_map_init.c
test_map_lock.c
test_map_lookup_percpu_elem.c
test_map_ops.c
test_migrate_reuseport.c
test_misc_tcp_hdr_options.c
test_mmap.c
test_module_attach.c tracepoint: Have tracepoints created with DECLARE_TRACE() have _tp suffix 2025-05-14 11:19:32 -04:00
test_netfilter_link_attach.c
test_ns_current_pid_tgid.c selftests/bpf: Add a sk_msg prog bpf_get_ns_current_pid_tgid() test 2024-03-19 14:27:00 -07:00
test_obj_id.c
test_overhead.c selftests/bpf: Use vmlinux.h for BPF programs 2025-08-21 11:32:25 -07:00
test_parse_tcp_hdr_opt.c
test_parse_tcp_hdr_opt_dynptr.c
test_pe_preserve_elems.c
test_perf_branches.c
test_perf_buffer.c
test_perf_link.c
test_perf_skip.c selftest/bpf: Test a perf BPF program that suppresses side effects 2024-04-12 11:49:51 +02:00
test_pinning.c
test_pinning_devmap.c selftests/bpf: Add test for DEVMAP reuse 2025-08-15 16:52:52 -07:00
test_pinning_invalid.c
test_pkt_access.c
test_pkt_md_access.c
test_probe_read_user_str.c
test_probe_user.c
test_prog_array_init.c
test_ptr_untrusted.c security: Propagate caller information in bpf hooks 2025-03-15 11:48:58 -07:00
test_queue_map.c
test_queue_stack_map.h
test_raw_tp_test_run.c
test_rdonly_maps.c selftests: bpf: Replace sizeof(arr)/sizeof(arr[0]) with ARRAY_SIZE 2024-09-04 12:58:46 -07:00
test_ringbuf.c
test_ringbuf_map_key.c
test_ringbuf_multi.c
test_ringbuf_n.c selftests/bpf: Add ring_buffer__consume_n test. 2024-04-25 11:46:04 -07:00
test_ringbuf_write.c selftests/bpf: Fix ringbuf/ringbuf_write test failure with arm64 64KB page size 2025-06-06 19:21:43 -07:00
test_seg6_loop.c bpf: Abstract loop unrolling pragmas in BPF selftests 2024-02-13 11:17:30 -08:00
test_select_reuseport_kern.c bpf/selftests: test_select_reuseport_kern: Remove unused header 2025-03-15 11:48:25 -07:00
test_send_signal_kern.c selftests/bpf: Augment send_signal test with remote signaling 2024-10-21 15:02:49 -07:00
test_set_remove_xattr.c selftests/bpf: Test kfuncs that set and remove xattr from BPF programs 2025-02-13 19:35:32 -08:00
test_sig_in_xattr.c bpf: Fix key serial argument of bpf_lookup_user_key() 2025-06-17 18:15:27 -07:00
test_siphash.h selftest: bpf: Test bpf_sk_assign_tcp_reqsk(). 2024-01-23 14:40:24 -08:00
test_sk_assign.c
test_sk_assign_libbpf.c
test_sk_lookup.c
test_sk_lookup_kern.c
test_sk_storage_trace_itself.c
test_sk_storage_tracing.c selftests/bpf: fix inet_csk_accept prototype in test_sk_storage_tracing.c 2024-05-31 14:54:25 -07:00
test_skb_ctx.c bpf: Abstract loop unrolling pragmas in BPF selftests 2024-02-13 11:17:30 -08:00
test_skb_helpers.c
test_skc_to_unix_sock.c selftests/bpf: Attempt to build BPF programs with -Wsign-compare 2024-01-03 10:41:22 -08:00
test_skeleton.c
test_skmsg_load_helpers.c selftests/bpf: Add some tests with new bpf_program__attach_sockmap() APIs 2024-04-10 19:52:25 -07:00
test_snprintf.c
test_snprintf_single.c
test_sock_fields.c selftests/bpf: Remove the bpf_tcp_helpers.h usages from other non tcp-cc tests 2024-05-09 11:13:12 -07:00
test_sockhash_kern.c
test_sockmap_change_tail.c selftests/bpf: Fix two net related test failures with 64K page size 2025-06-12 19:07:51 -07:00
test_sockmap_drop_prog.c
test_sockmap_invalid_update.c
test_sockmap_kern.c
test_sockmap_kern.h selftests/bpf: Drop duplicate bpf_map_lookup_elem in test_sockmap 2024-06-03 19:32:55 +02:00
test_sockmap_ktls.c selftests/bpf: Add test to cover ktls with bpf_msg_pop_data 2025-06-11 16:59:45 +02:00
test_sockmap_listen.c bpf, sockmap: Add af_unix test with both sockets in map 2023-11-30 00:25:25 +01:00
test_sockmap_pass_prog.c selftests/bpf: Add some tests with new bpf_program__attach_sockmap() APIs 2024-04-10 19:52:25 -07:00
test_sockmap_progs_query.c
test_sockmap_redir.c selftests/bpf: Introduce verdict programs for sockmap_redir 2025-05-22 14:26:58 -07:00
test_sockmap_skb_verdict_attach.c selftests/bpf: Add some tests with new bpf_program__attach_sockmap() APIs 2024-04-10 19:52:25 -07:00
test_sockmap_strp.c selftests/bpf: Add strparser test for bpf 2025-01-29 13:32:48 -08:00
test_sockmap_update.c
test_spin_lock.c selftests/bpf: Add test for static subprog call in lock cs 2024-02-05 19:58:47 -08:00
test_spin_lock_fail.c selftests/bpf: Test sleepable global subprogs in atomic contexts 2025-03-15 11:48:25 -07:00
test_stack_map.c
test_stack_var_off.c
test_stacktrace_build_id.c
test_static_linked1.c
test_static_linked2.c
test_subprogs.c
test_subprogs_extable.c selftests/bpf: Fix tests after fields reorder in struct file 2025-04-02 21:55:43 -07:00
test_subprogs_unused.c
test_subskeleton.c
test_subskeleton_lib.c
test_subskeleton_lib2.c
test_sysctl_loop1.c selftests/bpf: Move ARRAY_SIZE to bpf_misc.h 2024-06-26 17:08:43 -07:00
test_sysctl_loop2.c selftests/bpf: Move ARRAY_SIZE to bpf_misc.h 2024-06-26 17:08:43 -07:00
test_sysctl_prog.c selftests/bpf: Move ARRAY_SIZE to bpf_misc.h 2024-06-26 17:08:43 -07:00
test_task_local_data.c selftests/bpf: Test basic task local data operations 2025-08-01 18:00:46 -07:00
test_task_pt_regs.c
test_task_under_cgroup.c security: Propagate caller information in bpf hooks 2025-03-15 11:48:58 -07:00
test_tc_bpf.c
test_tc_change_tail.c selftests/bpf: Fix two net related test failures with 64K page size 2025-06-12 19:07:51 -07:00
test_tc_dtime.c selftests/bpf: Handle forwarding of UDP CLOCK_TAI packets 2024-05-23 14:14:43 -07:00
test_tc_edt.c
test_tc_link.c selftests/bpf: Extend netkit tests to validate set {head,tail}room 2025-01-06 09:48:58 +01:00
test_tc_neigh.c
test_tc_neigh_fib.c
test_tc_peer.c
test_tc_tunnel.c bpf: Abstract loop unrolling pragmas in BPF selftests 2024-02-13 11:17:30 -08:00
test_tcp_custom_syncookie.c selftests/bpf: Relax TCPOPT_WINDOW validation in test_tcp_custom_syncookie.c. 2025-05-14 15:13:24 -07:00
test_tcp_custom_syncookie.h move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
test_tcp_estats.c
test_tcp_hdr_options.c selftests/bpf: Move macros to bpf_misc.h 2025-09-17 16:15:37 +02:00
test_tcpbpf_kern.c selftests/bpf: Remove the bpf_tcp_helpers.h usages from other non tcp-cc tests 2024-05-09 11:13:12 -07:00
test_tcpnotify_kern.c bpf/selftests: Fix test_tcpnotify_user 2025-08-15 13:05:29 -07:00
test_time_tai.c
test_tp_btf_nullable.c tracepoint: Have tracepoints created with DECLARE_TRACE() have _tp suffix 2025-05-14 11:19:32 -04:00
test_trace_ext.c
test_trace_ext_tracing.c
test_tracepoint.c
test_trampoline_count.c
test_tunnel_kern.c selftests/bpf: Fix compilation failure when CONFIG_NET_FOU!=y 2024-07-29 15:05:04 -07:00
test_unpriv_bpf_disabled.c
test_uprobe.c selftests/bpf: Add uprobe context ip register change test 2025-09-24 02:25:06 -07:00
test_uprobe_autoattach.c
test_urandom_usdt.c
test_usdt.c selftests/bpf: Enrich subtest_basic_usdt case in selftests to cover SIB handling logic 2025-08-27 15:48:05 -07:00
test_usdt_multispec.c
test_user_ringbuf.h
test_varlen.c
test_verif_scale1.c
test_verif_scale2.c
test_verif_scale3.c
test_verify_pkcs7_sig.c bpf: Fix key serial argument of bpf_lookup_user_key() 2025-06-17 18:15:27 -07:00
test_vmlinux.c bpf: Change syscall_nr type to int in struct syscall_tp_t 2023-10-13 12:39:36 -07:00
test_xdp.c bpf: Abstract loop unrolling pragmas in BPF selftests 2024-02-13 11:17:30 -08:00
test_xdp_adjust_tail_grow.c bpf: Fix an issue in bpf_prog_test_run_xdp when page size greater than 4K 2025-06-12 19:07:51 -07:00
test_xdp_adjust_tail_shrink.c
test_xdp_attach_fail.c
test_xdp_bpf2bpf.c
test_xdp_context_test_run.c
test_xdp_devmap_helpers.c
test_xdp_devmap_tailcall.c selftests/bpf: Add test case for different expected_attach_type 2025-09-27 06:24:27 -07:00
test_xdp_do_redirect.c selftests/bpf: Migrate test_xdp_redirect.c to test_xdp_do_redirect.c 2025-01-10 17:29:05 -08:00
test_xdp_dynptr.c bpf: avoid VLAs in progs/test_xdp_dynptr.c 2024-01-23 15:50:47 -08:00
test_xdp_link.c
test_xdp_loop.c bpf: Abstract loop unrolling pragmas in BPF selftests 2024-02-13 11:17:30 -08:00
test_xdp_meta.c selftests/bpf: Cover metadata access from a modified skb clone 2025-08-18 10:29:43 -07:00
test_xdp_noinline.c selftests/bpf: Change functions definitions to support GCC 2024-05-07 14:41:00 -07:00
test_xdp_pull_data.c selftests/bpf: Test bpf_xdp_pull_data 2025-09-23 13:35:12 -07:00
test_xdp_update_frags.c
test_xdp_vlan.c selftests/bpf: test_xdp_vlan: Rename BPF sections 2025-03-19 15:59:27 -07:00
test_xdp_with_cpumap_frags_helpers.c
test_xdp_with_cpumap_helpers.c selftests/bpf: check program redirect in xdp_cpumap_attach 2024-10-10 18:01:52 -07:00
test_xdp_with_devmap_frags_helpers.c
test_xdp_with_devmap_helpers.c bpf: selftests: send packet to devmap redirect XDP 2024-10-02 13:51:43 -07:00
timer.c selftests/bpf: Use bpf_tracing.h instead of bpf_tcp_helpers.h 2024-05-06 13:40:24 -07:00
timer_crash.c
timer_failure.c selftests/bpf: Use bpf_tracing.h instead of bpf_tcp_helpers.h 2024-05-06 13:40:24 -07:00
timer_interrupt.c selftests/bpf: Add case to test bpf_in_interrupt() 2025-09-04 09:05:58 -07:00
timer_lockup.c selftests/bpf: Add timer lockup selftest 2024-07-11 10:18:31 +02:00
timer_mim.c selftests/bpf: Use bpf_tracing.h instead of bpf_tcp_helpers.h 2024-05-06 13:40:24 -07:00
timer_mim_reject.c selftests/bpf: Use bpf_tracing.h instead of bpf_tcp_helpers.h 2024-05-06 13:40:24 -07:00
token_lsm.c selftests/bpf: Avoid load failure for token_lsm.c 2024-07-29 13:09:34 -07:00
trace_dummy_st_ops.c
trace_printk.c
trace_vprintk.c
tracing_failure.c selftests/bpf: Migrate fexit_noreturns case into tracing_failure test suite 2025-07-28 19:39:30 -07:00
tracing_struct.c selftests/bpf: Add union argument tests using fexit programs 2025-09-23 12:07:47 -07:00
tracing_struct_many_args.c selftests/bpf: Add testcase where 7th argment is struct 2024-07-02 16:02:02 +02:00
trigger_bench.c selftests/bpf: add benchmark testing for kprobe-multi-all 2025-09-04 09:00:25 -07:00
twfw.c
type_cast.c selftests/bpf: convert bpf_rdonly_cast() uses to bpf_core_cast() macro 2024-01-30 15:55:50 -08:00
udp_limit.c
uninit_stack.c bpf: verifier: Refactor helper access type tracking 2025-01-16 17:51:10 -08:00
unsupported_ops.c selftests/bpf: Consolidate kernel modules into common directory 2024-12-06 10:44:10 -08:00
update_map_in_htab.c selftests/bpf: Test the update operations for htab of maps 2024-11-11 08:18:39 -08:00
uprobe_multi.c selftests/bpf: extend multi-uprobe tests with USDTs 2024-05-25 10:46:02 -07:00
uprobe_multi_bench.c
uprobe_multi_consumers.c selftests/bpf: Add uprobe sessions to consumer test 2024-11-11 08:18:20 -08:00
uprobe_multi_pid_filter.c selftests/bpf: Add uprobe multi pid filter test for fork-ed processes 2024-09-05 12:43:22 -07:00
uprobe_multi_session.c selftests/bpf: Add uprobe session test 2024-11-11 08:18:08 -08:00
uprobe_multi_session_cookie.c selftests/bpf: Add uprobe session cookie test 2024-11-11 08:18:10 -08:00
uprobe_multi_session_recursive.c selftests/bpf: Add uprobe session recursive test 2024-11-11 08:18:12 -08:00
uprobe_multi_session_single.c selftests/bpf: Add uprobe session single consumer test 2024-11-11 08:18:18 -08:00
uprobe_multi_usdt.c
uprobe_multi_verifier.c selftests/bpf: Add uprobe session verifier test for return value 2024-11-11 08:18:14 -08:00
uprobe_syscall.c selftests/bpf: Add uprobe_regs_equal test 2025-08-21 20:09:25 +02:00
uprobe_syscall_executed.c selftests/bpf: Add uprobe/usdt syscall tests 2025-08-21 20:09:24 +02:00
uptr_failure.c selftests/bpf: Add uptr failure verifier tests 2024-10-24 10:26:00 -07:00
uptr_map_failure.c selftests/bpf: Create task_local_storage map with invalid uptr's struct 2024-10-24 10:26:00 -07:00
uptr_update_failure.c selftests/bpf: Add update_elem failure test for task storage uptr 2024-10-24 10:25:59 -07:00
uretprobe_stack.c selftests/bpf: Fix typos and grammar in test sources 2025-08-27 15:13:08 -07:00
user_ringbuf_fail.c bpf: add new negative selftests to cover missing check_func_arg_reg_off() and reg->type check 2024-06-26 13:17:32 -07:00
user_ringbuf_success.c
verifier_and.c bpf: Fall back to nospec for Spectre v1 2025-06-09 20:11:10 -07:00
verifier_arena.c selftests/bpf: add selftests for bpf_arena_reserve_pages 2025-07-11 10:43:54 -07:00
verifier_arena_large.c selftests/bpf: Fix selftest verifier_arena_large failure 2025-09-20 15:49:35 -07:00
verifier_array_access.c bpf: selftests: Test constant key extraction on irrelevant maps 2025-02-07 15:45:44 -08:00
verifier_basic_stack.c bpf: verifier: Refactor helper access type tracking 2025-01-16 17:51:10 -08:00
verifier_bitfield_write.c bpf: selftests: Add verifier tests for CO-RE bitfield writes 2023-12-13 15:42:19 -08:00
verifier_bits_iter.c bpf: Zero index arg error string for dynptr and iter 2024-12-02 18:47:41 -08:00
verifier_bounds.c bpf: disable and remove registers chain based liveness 2025-09-19 09:27:23 -07:00
verifier_bounds_deduction.c bpf: Add range tracking for BPF_NEG 2025-06-25 15:12:17 -07:00
verifier_bounds_deduction_non_const.c
verifier_bounds_mix_sign_unsign.c
verifier_bpf_fastcall.c selftests/bpf: Enable timed may_goto tests for arm64 2025-08-27 17:16:22 -07:00
verifier_bpf_get_stack.c
verifier_bpf_trap.c selftests/bpf: Add unit tests with __bpf_trap() kfunc 2025-05-27 10:30:07 -07:00
verifier_bswap.c selftests/bpf: Enable cpu v4 tests for LoongArch 2023-11-08 14:12:21 +08:00
verifier_btf_ctx_access.c selftests/bpf: Add test to access const void pointer argument in tracing program 2025-04-23 11:26:22 -07:00
verifier_btf_unreliable_prog.c selftests/bpf: add freplace of BTF-unreliable main prog test 2023-12-19 18:06:47 -08:00
verifier_cfg.c selftests/bpf: add more test cases for check_cfg() 2023-11-09 22:57:25 -08:00
verifier_cgroup_inv_retcode.c bpf: enforce precise retval range on program exit 2023-12-02 11:36:50 -08:00
verifier_cgroup_skb.c
verifier_cgroup_storage.c
verifier_const.c selftests/bpf: Add test for writes to .rodata 2024-10-22 15:42:56 -07:00
verifier_const_or.c bpf: verifier: Refactor helper access type tracking 2025-01-16 17:51:10 -08:00
verifier_ctx.c selftests/bpf: Test accesses to ctx padding 2025-09-17 16:15:57 +02:00
verifier_ctx_sk_msg.c
verifier_d_path.c bpf: Check size for BTF-based ctx access of pointer members 2024-12-12 11:40:18 -08:00
verifier_direct_packet_access.c bpf: Assign ID to scalars on spill 2024-01-23 14:40:23 -08:00
verifier_direct_stack_access_wraparound.c
verifier_div0.c
verifier_div_overflow.c selftests/bpf: Allow macros in __retval 2025-06-26 09:44:46 -07:00
verifier_global_ptr_args.c bpf: disable and remove registers chain based liveness 2025-09-19 09:27:23 -07:00
verifier_global_subprogs.c selftests/bpf: Add return value checks for failed tests 2024-07-29 13:09:37 -07:00
verifier_gotol.c selftests/bpf: test cases for compute_live_registers() 2025-03-15 11:48:30 -07:00
verifier_helper_access_var_len.c bpf: verifier: Refactor helper access type tracking 2025-01-16 17:51:10 -08:00
verifier_helper_packet_access.c
verifier_helper_restricted.c bpf: improve error message for unsupported helper 2024-03-28 18:30:53 -07:00
verifier_helper_value_access.c bpf: Add a possibly-zero-sized read test 2024-01-03 10:37:56 -08:00
verifier_int_ptr.c bpf: verifier: Refactor helper access type tracking 2025-01-16 17:51:10 -08:00
verifier_iterating_callbacks.c selftests/bpf: test cases for compute_live_registers() 2025-03-15 11:48:30 -07:00
verifier_jeq_infer_not_null.c
verifier_jit_convergence.c selftests/bpf: Add a selftest for x86 jit convergence issues 2024-09-04 16:46:22 -07:00
verifier_kfunc_prog_types.c bpf/selftests: coverage for tp and perf event progs using kfuncs 2024-09-05 17:02:03 -07:00
verifier_ld_ind.c
verifier_ldsx.c selftests: bpf: Add tests for signed loads from arena 2025-09-23 12:00:23 -07:00
verifier_leak_ptr.c
verifier_linked_scalars.c selftests/bpf: Add test case for delta propagation 2024-10-17 11:06:34 -07:00
verifier_live_stack.c selftests/bpf: test cases for callchain sensitive live stack tracking 2025-09-19 09:27:24 -07:00
verifier_load_acquire.c selftests/bpf: Verify zero-extension behavior in load-acquire tests 2025-05-09 10:05:27 -07:00
verifier_loops1.c selftests/bpf: trigger verifier.c:maybe_exit_scc() for a speculative state 2025-09-17 11:19:58 -07:00
verifier_lsm.c selftests/bpf: Add verifier tests for bpf lsm 2024-07-29 13:09:45 -07:00
verifier_lwt.c
verifier_map_in_map.c selftests/bpf: Add test cases with CONST_PTR_TO_MAP null checks 2025-06-09 16:42:04 -07:00
verifier_map_ptr.c bpf: Return hashes of maps in BPF_OBJ_GET_INFO_BY_FD 2025-09-18 19:11:42 -07:00
verifier_map_ptr_mixing.c
verifier_map_ret_val.c
verifier_masking.c
verifier_may_goto_1.c selftests/bpf: Enable timed may_goto tests for arm64 2025-08-27 17:16:22 -07:00
verifier_may_goto_2.c selftests/bpf: Add some tests related to 'may_goto 0' insns 2025-01-20 09:47:14 -08:00
verifier_meta_access.c
verifier_movsx.c bpf: Fall back to nospec for Spectre v1 2025-06-09 20:11:10 -07:00
verifier_mtu.c bpf: verifier: Refactor helper access type tracking 2025-01-16 17:51:10 -08:00
verifier_mul.c bpf: Add selftest to check the verifier's abstract multiplication 2025-08-27 15:00:31 -07:00
verifier_netfilter_ctx.c bpf: treewide: Align kfunc signatures to prog point-of-view 2024-06-12 11:01:31 -07:00
verifier_netfilter_retcode.c bpf: enforce precise retval range on program exit 2023-12-02 11:36:50 -08:00
verifier_or_jmp32_k.c selftests/bpf: Add test coverage for reg_set_min_max handling 2024-06-13 11:16:01 -07:00
verifier_precision.c bpf: disable and remove registers chain based liveness 2025-09-19 09:27:23 -07:00
verifier_prevent_map_lookup.c
verifier_private_stack.c selftests/bpf: Enable private stack tests for arm64 2025-07-26 21:27:15 +02:00
verifier_raw_stack.c bpf: verifier: Refactor helper access type tracking 2025-01-16 17:51:10 -08:00
verifier_raw_tp_writable.c
verifier_ref_tracking.c bpf: Fix key serial argument of bpf_lookup_user_key() 2025-06-17 18:15:27 -07:00
verifier_reg_equal.c
verifier_regalloc.c
verifier_ringbuf.c
verifier_runtime_jit.c
verifier_scalar_ids.c bpf: disable and remove registers chain based liveness 2025-09-19 09:27:23 -07:00
verifier_sdiv.c selftests/bpf: Add tests for sdiv/smod overflow cases 2024-09-13 13:08:06 -07:00
verifier_search_pruning.c selftests/bpf: Test with a very short loop 2024-10-29 11:42:23 -07:00
verifier_sock.c selftests/bpf: Test changing packet data from kfunc 2025-09-26 10:44:51 -07:00
verifier_sock_addr.c selftests/bpf: Expand sockaddr program return value tests 2024-05-12 17:10:42 -07:00
verifier_sockmap_mutate.c selftests/bpf: Cover verifier checks for mutating sockmap/sockhash 2024-05-27 19:34:26 +02:00
verifier_spill_fill.c bpf: disable and remove registers chain based liveness 2025-09-19 09:27:23 -07:00
verifier_spin_lock.c selftests/bpf: test bpf_for within spin lock section 2025-01-06 10:59:49 -08:00
verifier_stack_ptr.c selftests/bpf: Add selftest for may_goto 2025-02-14 19:55:15 -08:00
verifier_store_release.c selftests/bpf: Avoid passing out-of-range values to __retval() 2025-05-09 10:05:27 -07:00
verifier_subprog_precision.c bpf: disable and remove registers chain based liveness 2025-09-19 09:27:23 -07:00
verifier_subreg.c
verifier_tailcall.c selftests/bpf: Negative test case for tail call map 2025-07-07 08:46:13 -07:00
verifier_tailcall_jit.c selftests/bpf: match both retq/rethunk in verifier_tailcall_jit 2024-08-23 07:29:02 -07:00
verifier_typedef.c
verifier_uninit.c
verifier_unpriv.c selftests/bpf: Add Spectre v4 tests 2025-07-07 08:32:34 -07:00
verifier_unpriv_perf.c
verifier_value.c
verifier_value_adj_spill.c
verifier_value_illegal_alu.c selftests/bpf: Add test for alu on PTR_TO_FLOW_KEYS 2024-01-16 17:12:48 +01:00
verifier_value_or_null.c
verifier_value_ptr_arith.c bpf: Add range tracking for BPF_NEG 2025-06-25 15:12:17 -07:00
verifier_var_off.c selftests/bpf: Fix typos and grammar in test sources 2025-08-27 15:13:08 -07:00
verifier_vfs_accept.c bpf: Mark dentry->d_inode as trusted_or_null 2025-06-17 08:40:59 -07:00
verifier_vfs_reject.c bpf: Mark dentry->d_inode as trusted_or_null 2025-06-17 08:40:59 -07:00
verifier_xadd.c
verifier_xdp.c
verifier_xdp_direct_packet_access.c
vrf_socket_lookup.c
wq.c selftests/bpf: Consolidate kernel modules into common directory 2024-12-06 10:44:10 -08:00
wq_failures.c selftests/bpf: Consolidate kernel modules into common directory 2024-12-06 10:44:10 -08:00
xdp_dummy.c
xdp_features.c
xdp_flowtable.c selftests/bpf: fix compilation failure when CONFIG_NF_FLOW_TABLE=m 2024-07-10 11:39:47 -07:00
xdp_hw_metadata.c selftests/bpf: Add flags and VLAN hint to xdp_hw_metadata 2023-12-13 16:16:41 -08:00
xdp_metadata.c selftests/bpf: xdp_metadata: Check XDP_REDIRCT support for dev-bound progs 2025-05-01 12:54:06 -07:00
xdp_metadata2.c
xdp_redirect_map.c selftests/bpf: test_xdp_veth: Add XDP program on egress test 2025-02-18 13:56:34 -08:00
xdp_redirect_multi_kern.c selftests/bpf: Optionally select broadcasting flags 2025-02-18 13:56:34 -08:00
xdp_synproxy_kern.c selftests/bpf: remove xdp_synproxy IP_DF check 2024-10-29 11:52:55 -07:00
xdp_tx.c
xdping_kern.c bpf: Abstract loop unrolling pragmas in BPF selftests 2024-02-13 11:17:30 -08:00
xdpwall.c
xfrm_info.c bpf: selftests: xfrm: Opt out of using generated kfunc prototypes 2024-06-12 11:01:31 -07:00
xsk_xdp_progs.c selftests/xsk: Add tail adjustment tests and support check 2025-04-10 10:08:55 -07:00