Skip to content

Releases: xdp-project/xdp-tools

v1.5.6

15 Aug 08:57
Compare
Choose a tag to compare

Commits

  • 6ce34ee: xdp-trafficgen: fix description of num-packets option (Yuya Kusakabe) #511
  • 2398dd4: lib/xdp_sample: Remove xdp_redirect_map tracepoints (Toke Høiland-Jørgensen) #513
  • 180fa46: xdp-trafficgen: fix probe_options missing END_OPTIONS (Frank Liang) #518
  • cf980d8: lib/util: Fix build on old versions of libbpf without XDP feature flag support (Toke Høiland-Jørgensen)
  • cf7ed01: xdp-trafficgen: Document the 'probe' command (Toke Høiland-Jørgensen)
  • 756101c: xdp-trafficgen: Exit non-zero if interface probing fails (Toke Høiland-Jørgensen)
  • b4a633a: xdp-trafficgen: Drop "the driver is missing support in this kernel version" text (Toke Høiland-Jørgensen)
  • 5ee4434: xdp-trafficgen: Output helpful suggestions if interface probing fails (Toke Høiland-Jørgensen)
  • 98f8278: xdp-trafficgen: Fix automatic loading of xdp_pass program (Toke Høiland-Jørgensen)
  • a020ee9: xdp-bench: Skip incompatible tests if progmap support is unavaliable (Toke Høiland-Jørgensen)
  • 9205d13: xdp-bench/tests: Don't remove interface until the test ends (Toke Høiland-Jørgensen)
  • 317edcf: tests/xdp-trafficgen: Skip tests if probe fails for any reason (Toke Høiland-Jørgensen)
  • fa3bcd0: Bump version to v1.5.6 (Toke Høiland-Jørgensen)

v1.5.5

26 May 11:53
Compare
Choose a tag to compare

Commits

  • 5950651: xdp-filter: Disable Python tests (Toke Høiland-Jørgensen) #502
  • d527fc0: xdp-loader: Move querying for XDP feature flags into a util helper function (Toke Høiland-Jørgensen) #499
  • 1dad1d6: xdp-trafficgen: Load a dummy XDP program if needed (Toke Høiland-Jørgensen) #499
  • 8fc3930: xdp-trafficgen: Error out if interface doesn't support sending packets (Toke Høiland-Jørgensen) #499
  • 4cb4067: xdp-trafficgen: Support probing an interface in 'probe' command (Toke Høiland-Jørgensen) #499
  • 7bbb9bc: xdp-trafficgen: Add test for error message on missing features (Toke Høiland-Jørgensen) #499
  • 1d58978: xdp-trafficgen: Add missing comma in list of drivers (Toke Høiland-Jørgensen)
  • Adapt the behavior of util.c find_bpf_file() to the libxdp.c variant #508 (Lukas Schreckenberg)
  • Prevent blocking of programs that modify the packet pointer #509 (Toke Høiland-Jørgensen)
  • 766b337: xdp-loader: Add a test for loading a program that modifies the packet pointer (Toke Høiland-Jørgensen) #509
  • 9d337ac: .github/workflows: Add a 6.14 kernel to the test matrix (Toke Høiland-Jørgensen) #509
  • 1666052: Bump version to v1.5.5 (Toke Høiland-Jørgensen)

v1.5.4

28 Apr 09:16
Compare
Choose a tag to compare

Commits

  • c7f38eb: Get rid of llc and use clang to build BPF object files directly (Toke Høiland-Jørgensen) #492
  • 9665aac: .github/workflows: Update test matrix (Toke Høiland-Jørgensen) #492
  • 4f7f5cb: xdp-trafficgen: Fix data size when probing for kernel support (Toke Høiland-Jørgensen)
  • d9217fa: lib/defines: Propagate include directories to BPF_CFLAGS (Toke Høiland-Jørgensen) #498
  • dd6193b: packaging/rpm: fix clang location (Yaakov Selkowitz) #500
  • e78d8d2: Bump version to v1.5.4 (Toke Høiland-Jørgensen)

v1.5.3

07 Mar 14:44
Compare
Choose a tag to compare

Commits

  • fix return to be -errno #479 (Brian Poole)
  • 981123b: Explicitly set PREFIX=/ when installing libbpf headers (Robert Edmonds) #476
  • 48f514c: util/xdp_sample: Collect PPS values for stats_get_devmap_xmit_multi() (Toke Høiland-Jørgensen) #483
  • 9cd2ed6: Support building with Emacs 30 (K900) #484
  • bf4e962: xdp-dump/xdpdump.h: Increase MAX_CPUS to 512 (Lucas Crijns) #486
  • 88dc10f: xdp-forward: Don't use ambiguous function names for flowtable mode (Toke Høiland-Jørgensen) #489
  • 765244f: xdp-forward: Use DEVMAP_HASH map types (Toke Høiland-Jørgensen) #489
  • 2fbcce8: xdp-forward: Don't use errno as program exit code (Toke Høiland-Jørgensen) #489
  • f8819ea: xdp-forward: Add unload to flowtable test (Toke Høiland-Jørgensen) #489
  • 6b1c35c: xdp-forward: Add test for attaching to a high ifindex (Toke Høiland-Jørgensen) #489
  • Also capture stderr from emacs output (Toke Høiland-Jørgensen)
  • 982fea3: man pages: Whitespace changes (Toke Høiland-Jørgensen)
  • b85d2ad: Bump version to v1.5.3 (Toke Høiland-Jørgensen)

v1.5.2

19 Feb 12:54
Compare
Choose a tag to compare

Commits

  • 36784c8: util/xdp_sample: Count total packets correctly (Toke Høiland-Jørgensen)
  • f7f9992: Revert "util/xdp_sample: Count total packets correctly" (Toke Høiland-Jørgensen)
  • ce26540: util/xdp_sample: Count total packets correctly (Toke Høiland-Jørgensen) #475
  • c2c54e9: util/xdp_sample: Don't reimplement round (Toke Høiland-Jørgensen) #475
  • 65d3155: util/xdp_sample: Change interval parameter of sample_run() to unsigned (Toke Høiland-Jørgensen) #475
  • a40ae7a: util/xdp_sample: Calculate average PPS from elapsed time (Toke Høiland-Jørgensen) #475
  • 7b3bbe2: util/xdp_sample: Print PPS values in summary line instead of totals (Toke Høiland-Jørgensen) #475
  • Fix incorrect setsockopt xdp_umem_reg size. #477 (Frode Nordahl)
  • Add testcase for xsk_umem__create_opts with flags. #477 (Frode Nordahl)
  • b5b199f: Bump version to v1.5.2 (Toke Høiland-Jørgensen)

v1.5.1

14 Jan 11:34
Compare
Choose a tag to compare

Commits

  • 66fa840: xdp-trafficgen: fix typo in log message detected by Lintian (Luca Boccassi) #467
  • cd66f66: lib/testing: Add xdp-forward to test_config.install.sh (Toke Høiland-Jørgensen)
  • add forgotten LDFLAGS (Luca Boccassi)
  • 0cf0fed: Get rid of references to the master branch (Toke Høiland-Jørgensen)
  • 1cb08b9: Bump version to v1.5.1 (Toke Høiland-Jørgensen)

v1.5.0

09 Jan 20:54
Compare
Choose a tag to compare

Commits

  • 660f64b: Add xdp-forward utility (Toke Høiland-Jørgensen) #430
  • 3444291: xdp-forward: Add man page (Toke Høiland-Jørgensen) #430
  • cb44e8c: xdp-forward: Add tests (Toke Høiland-Jørgensen) #430
  • 0cc367a: fix compile xdp-forward fail (calcky) #440
  • bad5f36: xdp-loader/README: netronome cards have HW support (Arthur Gautier) #437
  • fb111a7: xdp-forward: fix typos in test-xdp-forward.sh (Lorenzo Bianconi) #442
  • f8fffe4: lib/common.mk: support eBPF programs in nested directories (Jalal Mostafa) #436
  • 9db1ee6: xdp-forward: Introduce xdp-fwd-flowtable bpf sample (Lorenzo Bianconi) #441
  • 7881bee: xdp-forward: Add the capability to load xdp_fwd_flowtable sample from userspace (Lorenzo Bianconi) #441
  • e520114: xdp-forward: Add selftest for flowtable mode (Lorenzo Bianconi) #441
  • c808801: xdp-forward: splict fwd-mode in fib-mode and fwd-mode (Lorenzo Bianconi) #441
  • add 6.12 kernel version #441 (Lorenzo Bianconi)
  • Add link to xdp-forward subdirectory (Toke Høiland-Jørgensen)
  • 66dc003: .github: Update versions in covscan and release workflows (Toke Høiland-Jørgensen)
  • 78324c6: Use socat as default utility for tcp/udp client/server connections (Lorenzo Bianconi) #445
  • e3e7087: lib/libbpf: Update to v1.4.6 (Toke Høiland-Jørgensen) #448
  • 9b5f059: xdp-dump: Don't pass fd to strerror (Toke Høiland-Jørgensen)
  • Check return value of clock_gettime() (Toke Høiland-Jørgensen)
  • 164c143: util/xdp_sample: remove <sys/sysinfo.h> for musl compatibility (Til Kaiser) #450
  • cc7a112: .github/workflows: Bump selftest kernel version to v6.10.14 (Toke Høiland-Jørgensen)
  • Add tx_metadata_len/xsk_umem__create_opts() to support AF_XDP Tx metadata #443 (Muyang Tian)
  • Assign default values for fields in xsk_umem_opts #443 (Muyang Tian)
  • cefc8db: xdp-bench: Enable xdp_frags for dummy programs (Nimrod Oren) #451
  • 7aafb57: .github/workflows: Bump 6.12 kernel to final v6.12.0 version (Toke Høiland-Jørgensen)
  • a746871: xdp-bench: Update load-mode documentation (Nimrod Oren) #452
  • 3b199c0: xdp-bench: Introduce xdp_redirect_basic_load_bytes_prog (Nimrod Oren) #452
  • Doc adaptation for XSk umem opts-creation #453 (Muyang Tian)
  • improve portability #457 (Renato Botelho do Couto)
  • improve portability #457 (Renato Botelho do Couto)
  • remove dead symbol #457 (Renato Botelho do Couto)
  • fix build with clang 18 #457 (Renato Botelho do Couto)
  • Use opts to create XDP socket #454 (Muyang Tian)
  • Modify semantic of fill and comp in xsk_socket_opts #462 (Muyang Tian)
  • Use opts-style API to create XDP socket in libxdp tests #462 (Muyang Tian)
  • Add validation for only one of fill and comp are set #462 (Muyang Tian)
  • 875843a: .github/workflows: Update kernel versions for selftests (Toke Høiland-Jørgensen)
  • 794e49d: xdp-filter/tests: Replace FAIL with NOTOK in packet checks (Toke Høiland-Jørgensen)
  • Use opts-style API to create umem in libxdp tests #461 (Muyang Tian)
  • 063ec71: xdp-trafficgen: Support specifying the packet size for UDP packets (Toke Høiland-Jørgensen)
  • 4a73a24: util/xdp_sample: Output final statistics line before exiting due to signal (Toke Høiland-Jørgensen)
  • 0b92f9b: xdp-trafficgen: Fix exiting after completion of packet send loop (Toke Høiland-Jørgensen)
  • 9059c20: lib/libbpf: Update submodule version to v1.5.0 (Toke Høiland-Jørgensen)
  • Print a warning if there are not enough free slots in the dispatcher (Toke Høiland-Jørgensen)
  • 6f19b7d: Bump version to v1.5.0 (Toke Høiland-Jørgensen)

v1.4.3

07 Aug 12:30
Compare
Choose a tag to compare

Commits

  • remove lib/testing/test-tool on clean #391 (Luca Boccassi)
  • remove *.ll when 'clean' has local override #391 (Luca Boccassi)
  • 3d7c83c: packaging/rpm: remove unneeded runtime dependency on kernel-header (Shung-Hsi Yu)
  • 7fe0a09: fix formula error in comment (ZENOTME) #404
  • 07007b0: xdp-bench: Remove "header in linear part" assumption for -l load-bytes (Nimrod Oren) #409
  • 6f9ae82: xdp-bench: Remove "header in linear part" assumption for -p no-touch (Nimrod Oren) #409
  • 87915eb: xdp-bench: Introduce xdp_read_data_load_bytes_prog (Nimrod Oren) #409
  • 0f8fc8b: xdp-bench: Introduce xdp_swap_macs_load_bytes_prog (Nimrod Oren) #409
  • cecda0c: xdp-bench: Add correct logging message for XDP_PASS (Nimrod Oren) #411
  • 509e248: xdp-bench: Fix packet-operation values in documentation (Nimrod Oren) #410
  • a4d84ca: Fix include path of libxdp for each arch (ami-GS) #408
  • d92fac5: xdp-dump: add check for new promiscuous mode message in tests (Xiao Liang) #428
  • 7169367: xdp-trafficgen: Fix copy/paste error in man page (Toke Høiland-Jørgensen)
  • 23865d4: lib/testing: Add missing exports to test_runner.sh (Toke Høiland-Jørgensen) #431
  • f9d5502: lib/testing: Execute tests in separate namespaces (Toke Høiland-Jørgensen) #431
  • 795995f: lib/testing: Simplify test_runner.sh script (Toke Høiland-Jørgensen) #431
  • e676b0a: lib/common.mk: Support supplying test names on the command line (Toke Høiland-Jørgensen) #431
  • 6f8525e: xdp-dump/tests: Fixup test definitions (Toke Høiland-Jørgensen) #431
  • 4d83d52: testing/test_runner: Support interactive test debugging (Toke Høiland-Jørgensen) #431
  • 4ceb4fc: testing/test_runner: Enable GRO on veth interfaces (Toke Høiland-Jørgensen) #431
  • c44e276: testing/test_runner: Always mount new bpffs (Toke Høiland-Jørgensen) #431
  • cdf6657: testing/test_runner: Only set errexit during setup (Toke Høiland-Jørgensen) #431
  • a301ba8: .github/workflows: Add more recent kernel versions to text matrix (Toke Høiland-Jørgensen) #431
  • d767f28: .github/workflows: Set DID_UNSHARE programmatically instead of explicitly (Toke Høiland-Jørgensen) #431
  • 6fa62fc: .github/workflows: Sync LLVM apt repository version with runner version (Toke Høiland-Jørgensen) #431
  • 7ed2797: .github/workflows: Add different LLVM versions to test matrix (Toke Høiland-Jørgensen) #431
  • e08cd89: .github/workflows: Update checkout action to v4 (Toke Høiland-Jørgensen) #431
  • 6768a75: .github/workflows: Rename workflow job (Toke Høiland-Jørgensen) #431
  • 4f0c4e7: lib/testing: Enable forwarding on interfaces (Toke Høiland-Jørgensen)
  • 5c88569: Bump version to v1.4.3 (Toke Høiland-Jørgensen)

v1.4.2

30 Jan 14:18
Compare
Choose a tag to compare

Commits

  • 606d332: mkarchive.sh: Default to current version (Toke Høiland-Jørgensen)
  • d3e4549: .github/workflows: Run mkarchive.sh directly from release workflow (Toke Høiland-Jørgensen)
  • c9913f9: xdp-bench: Add l4-sport and l4-dport cpumap modes (Daniel Xu) #374
  • Fix xdp prog memory leak in xsk_setup_xdp_prog #376 (Ric Li)
  • a7b0903: Added support for clang-17 in configure script (Pavel Odintsov) #379
  • b184d10: Fix transposed calloc() arguments (Toke Høiland-Jørgensen) #388
  • 66d5764: xdp-bench: Update man page (Toke Høiland-Jørgensen) #390
  • 009f456: Bump version to v1.4.2 (Toke Høiland-Jørgensen) #390

v1.4.1

20 Oct 22:46
Compare
Choose a tag to compare

What's Changed

  • libxdp: Add selftest for non-privileged xsk creation by @igsilya in #340
  • libxdp: don't use direct call to readelf for symbol table comparison by @hhoffstaette in #341
  • .github/workflows: Bump Clang version to clang-16 by @tohojo in #349
  • Fix bpf program original file descriptor management by @marcos44pl in #345
  • xdp-bench: flushing outputs after writing stats by @enhaut in #351
  • Support detaching xdp_link-based attachments fix #361 by @msherif1234 in #362
  • xdp-trafficgen: Cast argument to getsockname() to struct sockaddr by @tohojo in #350
  • need to support xdp detach link for skb and native modes by @msherif1234 in #365
  • libxdp: Move hard-coded -DLIBXDP_STATIC=1 compiler flag into a new by @ajmmm in #372
  • v1.4.1 by @tohojo in #373

New Contributors

Full Changelog: v1.4.0...v1.4.1