Bug 2157592

Summary: update libbpf to BPF version 5.19
Product: Red Hat Enterprise Linux 9 Reporter: Viktor Malik <vmalik>
Component: libbpfAssignee: Viktor Malik <vmalik>
Status: CLOSED ERRATA QA Contact: Jean-Tsung Hsiao <jhsiao>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 9.2CC: efuller, jtrossba, zsun
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libbpf-1.0.0-1.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 2149243 Environment:
Last Closed: 2023-05-09 08:24:23 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: 2157827    

Description Viktor Malik 2023-01-02 09:07:36 UTC
After BPF rebase to 5.19 is merged, update the libbpf package.

Comment 4 Jean-Tsung Hsiao 2023-01-06 00:57:59 UTC
Hi Viktor,
I have resolved the issue. I removed the existing one and then installed the new one.
Thanks!
Jean

Comment 5 Jean-Tsung Hsiao 2023-01-06 02:31:53 UTC
The libbpf package has been pre-verified successfully.

[root@wsfd-advnetlab152 xdp-tools]# make clean
[root@wsfd-advnetlab152 xdp-tools]# make

lib

  libxdp
    CC       staticobjs/libxdp.o
    CC       staticobjs/xsk.o
    M4       xdp-dispatcher.c
    CLANG    xdp-dispatcher.o
    LLC      xdp-dispatcher.o
    GEN      xdp-dispatcher.embed.o
    CLANG    xsk_def_xdp_prog.o
    LLC      xsk_def_xdp_prog.o
    GEN      xsk_def_xdp_prog.embed.o
    CLANG    xsk_def_xdp_prog_5.3.o
    LLC      xsk_def_xdp_prog_5.3.o
    GEN      xsk_def_xdp_prog_5.3.embed.o
    LINK     libxdp.a
    CC       sharedobjs/libxdp.o
    CC       sharedobjs/xsk.o
    LINK     libxdp.so.1.3.0

  util
    CLANG    xdp_sample.bpf.o
    LLC      xdp_sample.bpf.o
    GEN      xdp_sample.skel.h
    CC       params.o
    CC       logging.o
    CC       util.o
    CC       stats.o
    CC       xpcapng.o
    CC       xdp_sample.o

  testing
    CLANG    test_long_func_name.o
    LLC      test_long_func_name.o
    CLANG    xdp_drop.o
    LLC      xdp_drop.o
    CLANG    xdp_pass.o
    LLC      xdp_pass.o
    CC       test-tool

xdp-filter
    CLANG    xdpfilt_dny_udp.o
    LLC      xdpfilt_dny_udp.o
    CLANG    xdpfilt_dny_tcp.o
    LLC      xdpfilt_dny_tcp.o
    CLANG    xdpfilt_dny_ip.o
    LLC      xdpfilt_dny_ip.o
    CLANG    xdpfilt_dny_eth.o
    LLC      xdpfilt_dny_eth.o
    CLANG    xdpfilt_dny_all.o
    LLC      xdpfilt_dny_all.o
    CLANG    xdpfilt_alw_udp.o
    LLC      xdpfilt_alw_udp.o
    CLANG    xdpfilt_alw_tcp.o
    LLC      xdpfilt_alw_tcp.o
    CLANG    xdpfilt_alw_ip.o
    LLC      xdpfilt_alw_ip.o
    CLANG    xdpfilt_alw_eth.o
    LLC      xdpfilt_alw_eth.o
    CLANG    xdpfilt_alw_all.o
    LLC      xdpfilt_alw_all.o
    CC       xdp-filter

xdp-loader
    CC       xdp-loader

xdp-dump
    CC       xdpdump
    CLANG    xdpdump_bpf.o
    LLC      xdpdump_bpf.o
    CLANG    xdpdump_xdp.o
    LLC      xdpdump_xdp.o

xdp-bench
    CLANG    xdp_redirect_basic.bpf.o
    LLC      xdp_redirect_basic.bpf.o
    GEN      xdp_redirect_basic.skel.h
    CLANG    xdp_redirect_cpumap.bpf.o
    LLC      xdp_redirect_cpumap.bpf.o
    GEN      xdp_redirect_cpumap.skel.h
    CLANG    xdp_redirect_devmap.bpf.o
    LLC      xdp_redirect_devmap.bpf.o
    GEN      xdp_redirect_devmap.skel.h
    CLANG    xdp_redirect_devmap_multi.bpf.o
    LLC      xdp_redirect_devmap_multi.bpf.o
    GEN      xdp_redirect_devmap_multi.skel.h
    CLANG    xdp_droptx.bpf.o
    LLC      xdp_droptx.bpf.o
    GEN      xdp_droptx.skel.h
    CC       xdp-bench

xdp-monitor
    CLANG    xdp_monitor.bpf.o
    LLC      xdp_monitor.bpf.o
    GEN      xdp_monitor.skel.h
    CC       xdp-monitor
[root@wsfd-advnetlab152 xdp-tools]#

Comment 6 Viktor Malik 2023-01-06 05:37:09 UTC
Thanks Jean!

Yeah, libbpf 1.0.0 is in conflict with iproute and iproute-tc, we're working on this problem.

Comment 9 Jean-Tsung Hsiao 2023-01-09 03:54:26 UTC
Per Comment 5 set the status to VERIFIED.

Comment 10 Eirik Fuller 2023-01-11 16:12:52 UTC
Bug 2160148 describes a packaging conflict with perf.

Comment 11 Ziqian SUN (Zamir) 2023-03-13 12:27:10 UTC
*** Bug 2157809 has been marked as a duplicate of this bug. ***

Comment 13 errata-xmlrpc 2023-05-09 08:24:23 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 (libbpf 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:2549