RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2160066 - xdp-tools update for RHEL9.2
Summary: xdp-tools update for RHEL9.2
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: xdp-tools
Version: 9.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Toke Høiland-Jørgensen
QA Contact: Jon Trossbach
Marc Muehlfeld
URL:
Whiteboard:
Depends On:
Blocks: 2159277
TreeView+ depends on / blocked
 
Reported: 2023-01-11 13:18 UTC by Toke Høiland-Jørgensen
Modified: 2023-05-09 09:27 UTC (History)
1 user (show)

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.
Clone Of:
Environment:
Last Closed: 2023-05-09 07:55:10 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-144832 0 None None None 2023-01-11 13:23:26 UTC
Red Hat Product Errata RHBA-2023:2450 0 None None None 2023-05-09 07:55:11 UTC

Description Toke Høiland-Jørgensen 2023-01-11 13:18:57 UTC
Description of problem:
We're planning to bump the release of xdp-tools for RHEL 9.2 to incorporate new features and bug fixes.

Comment 1 Toke Høiland-Jørgensen 2023-01-20 20:50:22 UTC
Going to have to push this a week, still some unresolved stuff before I can tag the upstream release...

Comment 2 Toke Høiland-Jørgensen 2023-02-08 18:01:06 UTC
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...

Comment 3 Toke Høiland-Jørgensen 2023-02-09 20:58:57 UTC
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 :)

Comment 9 Toke Høiland-Jørgensen 2023-02-14 20:45:04 UTC
Switching state to make the errata bot happy...

Comment 11 Toke Høiland-Jørgensen 2023-02-21 15:25:59 UTC
Build available here: https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=2375439

Comment 12 Jon Trossbach 2023-02-21 18:30:05 UTC
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.

Comment 13 Jon Trossbach 2023-02-21 18:48:55 UTC
Image and kernel version for immediate context
<^lamp^> RHEL-9.2.0-20230220.9 ==> kernel-5.14.0-268.el9

Comment 14 Toke Høiland-Jørgensen 2023-02-23 17:51:30 UTC
New build here which should at least fix the xdp-loader test failures: https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=2389961

Comment 15 Jon Trossbach 2023-02-28 20:34:22 UTC
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

Comment 19 Toke Høiland-Jørgensen 2023-02-28 21:39:54 UTC
This should be the final RHEL9 build (same one linked above): https://brewweb.engineering.redhat.com/brew/buildinfo?buildID=2389961

Comment 22 Jon Trossbach 2023-03-01 13:37:15 UTC
Based on the above tests I think this is ready. Moving to VERIFIED.

Comment 23 Toke Høiland-Jørgensen 2023-03-06 11:26:21 UTC
@Marc, FYI we ended up pushing another build of version 1.3.1 of the xdp-tools RPM. Updated the doc text accordingly...

Comment 27 errata-xmlrpc 2023-05-09 07:55:10 UTC
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


Note You need to log in before you can comment on or make changes to this bug.