Bug 2160066
| Summary: | xdp-tools update for RHEL9.2 | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Toke Høiland-Jørgensen <thoiland> |
| Component: | xdp-tools | Assignee: | Toke Høiland-Jørgensen <thoiland> |
| Status: | CLOSED ERRATA | QA Contact: | Jon Trossbach <jtrossba> |
| Severity: | unspecified | Docs Contact: | Marc Muehlfeld <mmuehlfe> |
| Priority: | unspecified | ||
| Version: | 9.2 | CC: | emartyny |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | xdp-tools-1.3.1-1.el9 | Doc Type: | Enhancement |
| Doc Text: |
.`xdp-tools` rebased to version 1.3.1
The `xdp-tools` packages have been upgraded to upstream version 1.3.1, which provides a number of enhancements and bug fixes over the previous version:
* The following utilities have been added:
** `xdp-bench`: Performs XDP benchmarks on the receive side.
** `xdp-monitor`: Monitors XDP errors and statistics using kernel trace points.
** `xdp-trafficgen`: Generates and sends traffic through the XDP driver hook.
* The following features have been added to the `libxdp` library:
** The `pass:[xdp_multiprog__xdp_frags_support()]`, `pass:[xdp_program__set_xdp_frags_support()]`, and `pass:[xdp_program__xdp_frags_support()]` functions have been added to support loading programs with XDP `frags` support, a feature that is also known as `multibuffer XDP`.
** The library performs proper reference counting when attaching programs to `AF_XDP` sockets. As a result, the application no longer has to manually detach XDP programs when using sockets. The `libxdp` library detaches the program now automatically when the program is no longer used.
** The following functions have been added to the library:
*** `pass:[xdp_program__create()]` for creating `xdp_program` objects
*** `pass:[xdp_program__clone()]` for cloning an `xdp_program` reference
*** `pass:[xdp_program__test_run()]` for running XDP programs through the `BPF_PROG_TEST_RUN` kernel API
** When the `LIBXDP_BPFFS_AUTOMOUNT` environment variable is set, the `libxdp` library now supports automatically mounting of a `bpffs` virtual file system if none is found. A subset of the library features can now also function when no `bpffs` is mounted.
Note that this version also changes the version number of the XDP dispatcher program that is being loaded on the network devices. This means that you can not use a previous and a new version of `libxdp` and `xdp-tools` at the same time. The `libxdp` 1.3 library will display old versions of the dispatcher, but not automatically upgrade them. Additionally, after loading a program with `libxdp` 1.3, older versions will not interoperate with the newer one.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-05-09 07:55:10 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2159277 | ||
|
Description
Toke Høiland-Jørgensen
2023-01-11 13:18:57 UTC
Going to have to push this a week, still some unresolved stuff before I can tag the upstream release... Okay, so the 1.3 update is merged into stream with: https://gitlab.com/redhat/centos-stream/rpms/xdp-tools/-/merge_requests/9 Note, however, that I had to disable building on i686 because of https://bugzilla.redhat.com/show_bug.cgi?id=2168323 - so we may have to do a release bump to later to resolve that... And with https://gitlab.com/redhat/centos-stream/rpms/xdp-tools/-/merge_requests/10 I've restored the building on i686, so we should be good to go with this :) Switching state to make the errata bot happy... Build available here: https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=2375439 ixgbe it is failing on the following: xdp-tools-loader-native-load xdp-tools-loader-native-multi-prog xdp-tools-loader-native-unload See the full task out here ctrl-F for "fail": https://beaker-archive.hosts.prod.psi.bos.redhat.com/beaker-logs/2023/02/75561/7556115/13434810/156615286/taskout.log On top of that MLX5-CX5 and MLX5-CX6 appears to not be getting along with systemd. ... [ 17.960739] systemd-journald[1132]: Received client request to flush runtime journal. [ 18.508612] ACPI Error: No handler for Region [SYSI] (000000003a6dd703) [IPMI] (20211217/evregion-130) [ 18.509633] XFS (sda1): Mounting V5 Filesystem [ 18.518659] ACPI Error: Region IPMI (ID=7) has no handler (20211217/exfldio-261) [ 18.531282] ACPI Error: Aborting method \_SB.PMI0._GHL due to previous error (AE_NOT_EXIST) (20211217/psparse-529) [ 18.541627] ACPI Error: Aborting method \_SB.PMI0._PMC due to previous error (AE_NOT_EXIST) (20211217/psparse-529) [ 18.550026] XFS (sda1): Ending clean mount full outputs can be prodded here: mlx5-cx5 https://beaker.engineering.redhat.com/jobs/7556761 mlx5-cx6 https://beaker.engineering.redhat.com/jobs/7556780 sfc has passed others are still being run. Will run a Sainity on mlx5 cards to ensure it fails. I think it will. Image and kernel version for immediate context <^lamp^> RHEL-9.2.0-20230220.9 ==> kernel-5.14.0-268.el9 New build here which should at least fix the xdp-loader test failures: https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=2389961 After trying on the latest kernel. Some of the previous issues appear to not have been the fault of xdp-tools testing indicates this is ready. Results below: Please let me know when you have a build so I can begin final pre-verification immediately. ice: https://beaker.engineering.redhat.com/jobs/7580122 mlx5-cx5: https://beaker.engineering.redhat.com/jobs/7580115 mlx5-cx6: https://beaker.engineering.redhat.com/jobs/7578970 ixgbe: https://beaker.engineering.redhat.com/jobs/7579048 i40e: https://beaker.engineering.redhat.com/jobs/7577001 nfp: https://beaker.engineering.redhat.com/jobs/7576997 sfc: https://beaker.engineering.redhat.com/jobs/7576984 This should be the final RHEL9 build (same one linked above): https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=2389961 nfp: https://beaker.engineering.redhat.com/jobs/7582498 sfc: https://beaker.engineering.redhat.com/jobs/7582496 ixgbe: https://beaker.engineering.redhat.com/jobs/7581825 qede: https://beaker.engineering.redhat.com/jobs/7581821 i40e: https://beaker.engineering.redhat.com/jobs/7581819 mlx5-cx5:https://beaker.engineering.redhat.com/jobs/7581826 mlx5-cx6:https://beaker.engineering.redhat.com/jobs/7581818 Based on the above tests I think this is ready. Moving to VERIFIED. @Marc, FYI we ended up pushing another build of version 1.3.1 of the xdp-tools RPM. Updated the doc text accordingly... Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (xdp-tools bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:2450 |