[PATCH 0/1] libbpf dependecy for docker containers.

Andrew Melnychenko posted 1 patch 1 week, 1 day ago
Test checkpatch passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20210406082947.672708-1-andrew@daynix.com
Maintainers: "Philippe Mathieu-Daudé" <f4bug@amsat.org>, Wainer dos Santos Moschetta <wainersm@redhat.com>, Thomas Huth <thuth@redhat.com>, Willian Rampazzo <willianr@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>
tests/docker/dockerfiles/alpine.docker  | 1 +
tests/docker/dockerfiles/centos8.docker | 1 +
tests/docker/dockerfiles/fedora.docker  | 1 +
3 files changed, 3 insertions(+)

[PATCH 0/1] libbpf dependecy for docker containers.

Posted by Andrew Melnychenko 1 week, 1 day ago
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(+)

-- 
2.31.0


Re: [PATCH 0/1] libbpf dependecy for docker containers.

Posted by Alex Bennée 12 hours ago
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.

-- 
Alex Bennée