mbox series

[0/1] libbpf dependecy for docker containers.

Message ID 20210406082947.672708-1-andrew@daynix.com
Headers show
Series libbpf dependecy for docker containers. | expand

Message

Andrew Melnichenko April 6, 2021, 8:29 a.m. UTC
For eBPF RSS steering, qemu required to be built with libbpf.
(https://lists.gnu.org/archive/html/qemu-devel/2021-03/msg08887.html)
So, for few docker containers there was added libbpf.
Some docker containers doesn't have that library, g.e. Ubuntu 20.04.
On some systems, like Centos7 or Debian, libbpf is pressent but doesn't
resolved as dependency by meson(may be pkg-config issues?).
On those systems qemu will be build without eBPF RSS steering.
The patch privedes changes for containers that able to build qemu
with libbpf: Alpine, Centos8 and Fedora.

Andrew Melnychenko (1):
  Added libbpf library to the docker files.

 tests/docker/dockerfiles/alpine.docker  | 1 +
 tests/docker/dockerfiles/centos8.docker | 1 +
 tests/docker/dockerfiles/fedora.docker  | 1 +
 3 files changed, 3 insertions(+)

Comments

Alex Bennée April 14, 2021, 1:35 p.m. UTC | #1
Andrew Melnychenko <andrew@daynix.com> writes:

> For eBPF RSS steering, qemu required to be built with libbpf.
> (https://lists.gnu.org/archive/html/qemu-devel/2021-03/msg08887.html)
> So, for few docker containers there was added libbpf.
> Some docker containers doesn't have that library, g.e. Ubuntu 20.04.
> On some systems, like Centos7 or Debian, libbpf is pressent but doesn't
> resolved as dependency by meson(may be pkg-config issues?).
> On those systems qemu will be build without eBPF RSS steering.
> The patch privedes changes for containers that able to build qemu
> with libbpf: Alpine, Centos8 and Fedora.

Queued to testing/next, thanks.