Bug 1944754

Summary: update libbpf with latest kernel sync
Product: Red Hat Enterprise Linux 8 Reporter: Jiri Olsa <jolsa>
Component: libbpfAssignee: Jiri Olsa <jolsa>
Status: CLOSED ERRATA QA Contact: Jean-Tsung Hsiao <jhsiao>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.5CC: ctrautma, jhsiao, zsun
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libbpf-0.3.0-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-09 20:02:35 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:

Description Jiri Olsa 2021-03-30 15:23:45 UTC
update libbpf with latest kernel sync

Comment 5 Jiri Olsa 2021-07-20 14:09:35 UTC
can you please set itm? thanks

Comment 6 Jean-Tsung Hsiao 2021-07-20 14:12:59 UTC
(In reply to Jiri Olsa from comment #5)
> can you please set itm? thanks

Set it to 25, 8/23.

Comment 12 Jean-Tsung Hsiao 2021-08-12 17:28:07 UTC
The libbpf package has been verified successfully.

The package was installed on the system, and make the following xdp tools successfully: xdp-filter and xdp-loader.

[root@netqe7 xdp-tools]# rpm -q libbpf
libbpf-0.3.0-1.el8.x86_64
[root@netqe7 xdp-tools]# uname -r
4.18.0-328.el8.x86_64
[root@netqe7 xdp-tools]# 

[root@netqe7 xdp-tools]# !21
make FORCE_SYSTEM_LIBBPF=1
sh configure
Found clang binary 'clang' with version 12 (from 'clang version 12.0.0 (Red Hat 12.0.0-1.module+el8.5.0+11188+97d2441b)')
libbpf support: system v0.3.0
perf_buffer__consume support: yes
secure_getenv support: yes

lib

  util
    CC       params.o
    CC       logging.o
    CC       util.o
    CC       stats.o
    CC       xpcapng.o

  libxdp
    CC       staticobjs/libxdp.o
    CC       staticobjs/xsk.o
    LINK     libxdp.a
    CC       sharedobjs/libxdp.o
    CC       sharedobjs/xsk.o
    LINK     libxdp.so.1.2.0
    M4       xdp-dispatcher.c
    CLANG    xdp-dispatcher.o
    LLC      xdp-dispatcher.o
    CLANG    xsk_def_xdp_prog.o
    LLC      xsk_def_xdp_prog.o
    CLANG    xsk_def_xdp_prog_5.3.o
    LLC      xsk_def_xdp_prog_5.3.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
    LINK     xdp-dispatcher.o

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
    LINK     xdp-dispatcher.o

xdp-loader
    CC       xdp-loader
    LINK     xdp-dispatcher.o
[root@netqe7 xdp-tools]#

Comment 14 errata-xmlrpc 2021-11-09 20:02:35 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/RHEA-2021:4491