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 1921557 - xdp-filter print error message when the xdp-filter even successfully loaded
Summary: xdp-filter print error message when the xdp-filter even successfully loaded
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: xdp-tools
Version: 8.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Toke Høiland-Jørgensen
QA Contact: Zhiqian Guan
URL:
Whiteboard:
Depends On: 1912596
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-28 07:45 UTC by Zhiqian Guan
Modified: 2021-05-18 16:10 UTC (History)
0 users

Fixed In Version: xdp-tools-1.1.1-2.el8.x86_64
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 16:09:59 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
xdp-filter-issue.log (132.42 KB, application/octet-stream)
2021-01-28 07:45 UTC, Zhiqian Guan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2021:1925 0 None None None 2021-05-18 16:10:07 UTC

Description Zhiqian Guan 2021-01-28 07:45:21 UTC
Created attachment 1751591 [details]
xdp-filter-issue.log

Description of problem:
The xdp-filter will print error messages when the filter is even successfully loaded

Version-Release number of selected component (if applicable):
xdp-tools-1.1.0-1.el8.x86_64

How reproducible:
always

Steps to Reproduce:
[root@netqe30 ~]# xdp-filter load ens1f0
libxdp: Failed to load program xdpfilt_alw_all: Operation not permitted
libxdp: Failed to load program xdpfilt_alw_all: Operation not permitted
libxdp: Failed to load program xdpfilt_alw_all: Operation not permitted
libxdp: Failed to load program xdpfilt_alw_all: Operation not permitted
libxdp: Failed to load program xdpfilt_alw_all: Operation not permitted
libxdp: Failed to load program xdpfilt_alw_all: Operation not permitted
[root@netqe30 ~]# ip link show ens1f0
2: ens1f0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 xdp qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 40:a6:b7:26:00:cc brd ff:ff:ff:ff:ff:ff
    prog/xdp id 361 tag d51e469e988d81da jited


Actual results:
xdp-filter successfully loaded, but print misleading error

Expected results:
no misleading error

Additional info:
attach -vv logging

Comment 1 Zhiqian Guan 2021-01-28 07:56:10 UTC
Base on email with Toke, this will be fixed in next xdp-tools build, and the next build will require 5.10 backport, so add depends on 5.10 backport

Comment 2 Toke Høiland-Jørgensen 2021-01-28 08:32:57 UTC
Fixed upstream in https://github.com/xdp-project/xdp-tools/commit/48abc91e8fa01d61d5ce7fe5fe301d441374eeb2 - will be in the next package version, as Zhiqian noted above.

Comment 6 Zhiqian Guan 2021-02-18 06:13:12 UTC
[root@netqe4 ~]# xdp-filter load ens3f0np0
[root@netqe4 ~]# xdp-filter status
CURRENT XDP-FILTER STATUS:

Aggregate per-action statistics:
  XDP_ABORTED                                   0 pkts           0 KiB
  XDP_DROP                                      0 pkts           0 KiB
  XDP_PASS                                      0 pkts           0 KiB

Loaded on interfaces:
                                           Enabled features
xdpfilt_alw_all
  ens3f0np0 (native mode)                  tcp,udp,ipv6,ipv4,ethernet,allow

Filtered ports:
                                           Mode             Hit counter

Filtered IP addresses:
                                           Mode             Hit counter

Filtered MAC addresses:
                                           Mode             Hit counter

[root@netqe4 ~]# rpm -qa xdp-tools
xdp-tools-1.1.1-2.el8.x86_64
[root@netqe4 ~]# ip link show ens3f0np0
4: ens3f0np0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 xdp qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 00:0f:53:7c:b2:70 brd ff:ff:ff:ff:ff:ff
    prog/xdp id 555 tag d51e469e988d81da jited
[root@netqe4 ~]#
[root@netqe4 ~]#

Comment 7 Zhiqian Guan 2021-02-18 06:18:21 UTC
Remove 5.10 backport depends, add fixed in xdp-tools-1.1.1-2.el8.x86_64, based on comment6, set this to VERIFIED

Comment 8 Zhiqian Guan 2021-02-18 06:21:31 UTC
add depends on bz1912596 back, I thought it's the 5.10 backport bz...

Comment 10 errata-xmlrpc 2021-05-18 16:09:59 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/RHEA-2021:1925


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