Bug 1944779 - xdp-tools version update for RHEL 8.5
Summary: xdp-tools version update for RHEL 8.5
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: xdp-tools
Version: 8.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Toke Høiland-Jørgensen
QA Contact: Zhiqian Guan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-30 16:34 UTC by Toke Høiland-Jørgensen
Modified: 2021-11-10 01:38 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-09 18:50:26 UTC
Type: Bug
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2021:4303 0 None None None 2021-11-09 18:50:27 UTC

Description Toke Høiland-Jørgensen 2021-03-30 16:34:32 UTC
Description of problem:

Like before we anticipate shipping an updated version of xdp-tools for RHEL 8.5 - this tracks that packaging effort...

Comment 1 Toke Høiland-Jørgensen 2021-04-12 10:30:53 UTC
Set DTM fairly close to beta as the idea is to collect everything that's happened in the upstream repo until that date. Zhiqian, let me know if it's too close to beta, I don't mind moving it a week or two...

Comment 2 Zhiqian Guan 2021-04-19 02:53:52 UTC
(In reply to Toke Høiland-Jørgensen from comment #1)
> Set DTM fairly close to beta as the idea is to collect everything that's
> happened in the upstream repo until that date. Zhiqian, let me know if it's
> too close to beta, I don't mind moving it a week or two...

I suggest set DTM to 21 or 22, gives me one or two weeks to test it:) 
I'll set the ITM to 24

Comment 3 Toke Høiland-Jørgensen 2021-04-19 10:27:09 UTC
OK, updating... :)

Comment 4 Toke Høiland-Jørgensen 2021-07-13 14:50:13 UTC
xdp-tools-1.2.0-1.el8 is now in rhel-8.5.0-candidate

Comment 8 Toke Høiland-Jørgensen 2021-07-19 12:30:51 UTC
Ah, oops, totally forgot to create the errata, sorry about that! Did so now, and assigned it to you; that should also include the link to the brew build :)

Comment 9 Zhiqian Guan 2021-07-20 10:45:50 UTC
(In reply to Toke Høiland-Jørgensen from comment #8)
> Ah, oops, totally forgot to create the errata, sorry about that! Did so now,
> and assigned it to you; that should also include the link to the brew build
> :)

Great, thanks Toke!

I ran the test for this build. And it seems in xdpdump, I cannot listen to the program "xdp_dispatcher" anymore, I can listen to the dispatcher program before, is that expected?


[root@netqe3 ~]# uname -r
4.18.0-321.el8.x86_64
[root@netqe3 ~]# rpm -q xdp-tools
xdp-tools-1.2.0-1.el8.x86_64
[root@netqe3 ~]#
[root@netqe3 ~]# xdpdump -i ens1f0 -p "xdp_dispatcher"
ERROR: Can't attach XDP trace fentry function: Device or resource busy

[root@netqe3 ~]# xdp-loader status
CURRENT XDP PROGRAM STATUS:

Interface        Prio  Program name      Mode     ID   Tag               Chain actions
--------------------------------------------------------------------------------------
lo                     <No XDP program loaded!>
eno1                   <No XDP program loaded!>
eno2                   <No XDP program loaded!>
ens1f0                 xdp_dispatcher    skb      1411 94d5f00c20184d17
 =>              10     xdpfilt_alw_all           1423 0b394f43ab24501c  XDP_PASS
eno3                   <No XDP program loaded!>
ens1f1                 <No XDP program loaded!>
ens5f0                 <No XDP program loaded!>
eno4                   <No XDP program loaded!>
ens5f1                 <No XDP program loaded!>
ens4f0                 <No XDP program loaded!>
ens4f1                 <No XDP program loaded!>
ens3np0                <No XDP program loaded!>
ens3np1                <No XDP program loaded!>

[root@netqe3 ~]# xdpdump -i ens1f0 -p "xdpfilt_alw_all"
listening on ens1f0, ingress XDP program ID 1423 func xdpfilt_alw_all, capture mode entry, capture size 262144 bytes
^C
0 packets captured
0 packets dropped by perf ring

Comment 11 Toke Høiland-Jørgensen 2021-07-20 13:09:16 UTC
Hmm, not sure if that's expected for xdpdump. Eelco should know...

Comment 12 Eelco Chaudron 2021-07-20 13:41:48 UTC
(In reply to Toke Høiland-Jørgensen from comment #11)
> Hmm, not sure if that's expected for xdpdump. Eelco should know...

This was related to a change you made Toke ;) 

If there is only one program loaded, the xdp_dispatcher program is not executed/used, hence you can not attach to it. If you would load another program, so you would have two programs on the same interface, you should be able to attach to the dispatcher again.

Comment 13 Toke Høiland-Jørgensen 2021-07-20 14:56:53 UTC
Ahh, right, of course; my bad! Right, so this is expected, Zhiqian :)

Comment 14 Zhiqian Guan 2021-07-21 03:28:49 UTC
Got it! Thanks, Toke&Eelco!

Comment 17 errata-xmlrpc 2021-11-09 18:50:26 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:4303


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