Releases: xdp-project/xdp-tools
Releases · xdp-project/xdp-tools
v1.6.2
Immutable
release. Only release title and notes can be modified.
What's Changed
- .github/workflows: Switch to maintained release creation action by @tohojo in #551
- util/xdpsock: Don't loop forever on RX by @tohojo in #552
- xdpsock: Fix 32bit compile error by @reatmon-ti in #553
- Makefile: remove all built artifacts on make clean by @bluca in #555
- Update xdpsock.c, fix build with "-Werror=stringop-overread" by @LocutusOfBorg in #554
- Add documentation for XSK commands by @tohojo in #556
- Version 1.6.2 by @tohojo in #557
New Contributors
- @reatmon-ti made their first contribution in #553
- @LocutusOfBorg made their first contribution in #554
Full Changelog: v1.6.1...v1.6.2
v1.6.1
Immutable
release. Only release title and notes can be modified.
Commits
- a91cbfc: lib/common: Add -lpthread to all userspace builds (Toke Høiland-Jørgensen) #542
- Fix build with old libbpf versions #542 (Toke Høiland-Jørgensen)
- bdf1df5: libxdp/tests: Fix build with old versions of libbpf (Toke Høiland-Jørgensen) #542
- 741155b: lib/xdpsock: fix 32bit builds (Luca Boccassi) #543
- a7f0b4a: Fix WRITE_CONST_FIELD coverity error (Toke Høiland-Jørgensen) #544
- a8faaf0: Fix OVERFLOW_BEFORE_WIDEN coverity warnings (Toke Høiland-Jørgensen) #544
- 5673898: Fix CHECKED_RETURN coverity warnings (Toke Høiland-Jørgensen) #544
- 30f3751: Fix UNREACHABLE coverity error (Toke Høiland-Jørgensen) #544
- 6754fac: Document xdp_program__find_file DEBUG and PREFIX behaviour (Alex Guo) #541
- ffeb70d: xdp-trafficgen: Fix support for mlx5 devices (Dragos Tatulea) #546
- 772777b: xdp-trafficgen: Enable multibuf for the xdp-pass program (Dragos Tatulea) #546
- Include $CFLAGS when checking libbpf version #547 (Toke Høiland-Jørgensen)
- cc07f14: .github/workflows: Add permissions to workflows (Toke Høiland-Jørgensen) #549
- 93ecf32: util/xdpsock: Cast variables to u64 before multiplication (Toke Høiland-Jørgensen) #549
- Make sure loop variables are same type as comparisons #549 (Toke Høiland-Jørgensen)
- 8c4478d: .github/workflows: Use commit hash for action-automatic-releases action (Toke Høiland-Jørgensen) #549
- 8bbfc13: xdp-tools: fix build with GCC maybe-uninitialized warning (Nick Hainke) #548
- avoid stddef.h and size_t in BPF headers #548 (Nick Hainke)
- 84906a0: Bump version to v1.6.1 (Toke Høiland-Jørgensen) #550
v1.6.0
Commits
- 127f33a: .github/workflows: Add 6.17 and 6.18 kernels to CI matrix (Toke Høiland-Jørgensen) #537
- a02e946: xdp-bench: Add devmap egress action option (Dragos Tatulea) #532
- a28950b: xdp-bench: Add drop mode for egress action (Dragos Tatulea) #532
- a346ef9: headers/linux: Update bpf.h to kernel version 6.3 (Jalal Mostafa) #495
- add device binding support #495 (Jalal Mostafa)
- Add selftest for device binding #495 (Jalal Mostafa)
- indent test_dispatcher_versions selftest using tabs #495 (Jalal Mostafa)
- add selftest for dispatcher v2 compatibility #495 (Jalal Mostafa)
- skip devbind selftests if no kernel support #495 (Jalal Mostafa)
- Fix munmap on error in xsk_create_umem_rings() #535 (Toke Høiland-Jørgensen)
- 4018c4a: lib/params: Always include the command name in usage output (Toke Høiland-Jørgensen) #535
- 83871d7: lib/params: Refuse to execute ambiguous command prefix (Toke Høiland-Jørgensen) #535
- 4b8727a: util/params: Check for duplicate options on dispatch (Toke Høiland-Jørgensen) #535
- f487e85: lib/params.c: Support parsing integer values as hex (Toke Høiland-Jørgensen) #535
- 7a5ef0d: util/params: Support U64 as option type (Toke Høiland-Jørgensen) #535
- 0a4cc74: xdp-bench: Add 'xsk' command for running AF_XDP benchmarks (Toke Høiland-Jørgensen) #535
- 7028cce: headers/linux: Update if_xdp.h (Toke Høiland-Jørgensen) #535
- 9ffe911: lib/util: Import xdpsock code from bpf_examples (Toke Høiland-Jørgensen) #535
- cb2830b: lib/xdpsock: Get rid of u8/u16/u32/u64 typedefs (Toke Høiland-Jørgensen) #535
- eff891c: xdp-bench: Move options into xdpsock.h (Toke Høiland-Jørgensen) #535
- 08e16e7: lib/xdpsock: Introduce context object (Toke Høiland-Jørgensen) #535
- ec02d32: lib/xdpsock: Restructure setup code to use context object (Toke Høiland-Jørgensen) #535
- aef14c5: xdp-bench: Implement xsk-drop and xdp-tx actions (Toke Høiland-Jørgensen) #535
- 112d7ba: xdp-trafficgen: Add xsk-udp mode for xsksock operation (Toke Høiland-Jørgensen) #535
- Swap foreground and background threads #535 (Toke Høiland-Jørgensen)
- 4ee86e7: lib/xdpsock: Rework stats output (Toke Høiland-Jørgensen) #535
- Reuse immediate exit logic from xdp_sample #535 (Toke Høiland-Jørgensen)
- bf9ddf0: lib/xdpsock: Make sure to check benchmark_done on every loop iteration (Toke Høiland-Jørgensen) #535
- 01ad313: lib/xdpsock: Don't set frags support in section name (Toke Høiland-Jørgensen) #535
- a6fd2f7: lib/util: Add probing for XSK busy poll support (Toke Høiland-Jørgensen) #535
- e5ed64a: xdp-bench: Add selftests for XSK mode (Toke Høiland-Jørgensen) #535
- aa6028c: xdp-trafficgen: Add XSK tests (Toke Høiland-Jørgensen) #535
- 9a05b38: util/xdpsock: Use PRIu64 for printing u64 variables (Toke Høiland-Jørgensen)
- efc3619: lib/testing: Don't call xsk_probe_busy_poll() if we don't have bpftool (Toke Høiland-Jørgensen)
- 2ac18fa: Bump version to v1.6.0 (Toke Høiland-Jørgensen)
v1.5.8
Commits
- Wait for background output file to appear before moving it #527 (Toke Høiland-Jørgensen)
- 2074703: xdp-loader: Make feature flags printing future-proof (Asbjørn Sloth Tønnesen) #528
- 472eb13: xdp-trafficgen: Add an option to set the hop limit in UDP mode (Toke Høiland-Jørgensen) #533
- Respect LDFLAGS in test compilations #533 (Daniel Golle)
- Use noinline reserved attribute for XDP dispatcher #533 (Christian Marangi)
- d37286a: util/params.c: Fix option help printer definitions (Toke Høiland-Jørgensen) #533
- Avoid populating .rodata in libbpf test #534 (Toke Høiland-Jørgensen)
- ef5e099: Bump version to v1.5.8 (Toke Høiland-Jørgensen) #534
v1.5.7
Commits
- bd388ac: Add Dockerfile (Joseph Ligier) #522
- dbc9f9d: xdp-bench: Fix --extended switch for redirect-cpu mode (Toke Høiland-Jørgensen) #523
- d15d978: packaging/rpm: Re-enable debug packages (Toke Høiland-Jørgensen) #523
- c0f1faa: libxdp/tests: Mount bpffs before compatibility check (Toke Høiland-Jørgensen) #523
- update libxdp README.org and man page with architecture support (Vincent Li)
- 342bea5: .github/workflows: Update kernel versions (Toke Høiland-Jørgensen)
- bfa18dc: .github/workflows: Include LLVM-21 in test matrix (Toke Høiland-Jørgensen)
- 9bf7581: testing/test_runner: Enable realtime output in verbose mode (Toke Høiland-Jørgensen) #524
- Get MAC addresses later #524 (Toke Høiland-Jørgensen)
- 3caba38: test-runner: Disable ARP and multicast on test interfaces (Toke Høiland-Jørgensen) #524
- e4791d4: test-runner: Monitor process exit instead of sleeping (Toke Høiland-Jørgensen) #524
- Don't sleep after spawning background processes #524 (Toke Høiland-Jørgensen)
- cf1ca7c: xdp-filter/tests: Use start_tcpdump() and decrease timeouts (Toke Høiland-Jørgensen) #524
- 6a0718e: xdp-forward/tests: Remove sleep and use start_socat function (Toke Høiland-Jørgensen) #524
- 3ac982f: xdp-dump/tests: Use start_tcpdump() and decrease timeouts (Toke Høiland-Jørgensen) #524
- Flush stdout after finishing output #524 (Toke Høiland-Jørgensen)
- Move "listening on" output later #524 (Toke Høiland-Jørgensen)
- Add a couple of missing newlines in debug output #524 (Toke Høiland-Jørgensen)
- Make sure to build the test files as part of the regular compile #524 (Toke Høiland-Jørgensen)
- fbfa944: xdp-dump/tests: Don't assume a particular length of program IDs (Toke Høiland-Jørgensen) #524
- 93ba25e: .github/workflows: Update to Ubuntu 24.04 and use system packages (Toke Høiland-Jørgensen) #524
- ce44f55: test-xdpdump: Drop unneeded escape for grep command (Toke Høiland-Jørgensen) #524
- Support retrying tests #524 (Toke Høiland-Jørgensen)
- skip cleanup proc dir in teardown if no STATEDIR #516 (Frank Liang)
- df7da30: xdp-filter: Parse ARP packets (Toke Høiland-Jørgensen) #474
- 07a0303: xdp-filter: Parse IPv6 neighbour solicitations (Toke Høiland-Jørgensen) #474
- Add ndisc6 and arping as required test tools #474 (Toke Høiland-Jørgensen)
- bef282a: xdp-filter: Add selftests for ARP and ICMPv6 neighbour requests (Toke Høiland-Jørgensen) #474
- d0f14bd: libxdp/tests: Add libxdp.mk include (Toke Høiland-Jørgensen) #525
- c586acd: libxdp/Makefile: Remove back-dating of generated man page (Toke Høiland-Jørgensen) #525
- 7776315: libxdp/tests: Always link some test programs statically (Toke Høiland-Jørgensen) #525
- 0cdc1a8: libxdp/Makefile: Add missing .PHONY designations for clean and install (Toke Høiland-Jørgensen) #525
- 905f9fd: libxdp/tests: Move skip_if_missing_libxdp_compat() function into libxdp_tests (Toke Høiland-Jørgensen) #525
- Install selftests as part of 'make install' #525 (Toke Høiland-Jørgensen)
- 973c544: libxdp/tests: Support running tests outside of build environment (Toke Høiland-Jørgensen) #525
- 9a3cc37: libxdp/tests: Import find_bpf_file() function from util (Toke Høiland-Jørgensen) #525
- ffe5d36: libxdp/tests: Load test BPF programs from TESTS_DIR (Toke Høiland-Jørgensen) #525
- babddd8: libxdp/tests: Keep trying to unmount bpffs (Toke Høiland-Jørgensen) #525
- 960231c: xdp-filter/tests: Use inside address for arping -A (Toke Høiland-Jørgensen) #525
- 5349850: Bump version to v1.5.7 (Toke Høiland-Jørgensen)
v1.5.6
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
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
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
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
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)