Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pcap example, add ixy-ci config, and fix some Virtio bugs #18

Merged
merged 11 commits into from
Nov 4, 2019

Conversation

Bobo1239
Copy link
Contributor

@Bobo1239 Bobo1239 commented Oct 6, 2019

As stated in the title this adds everything needed for ixy-ci and also fixes the first bugs found by it :)

The IO handling of the pcap example is rather naive and not optimized for performance so it doesn't really satisfy the README wish list entry (tcpdump-like example based on mmap/fallocate). It does suffice for ixy-ci though.

I'll manually start an ixy-ci run on this PR for demonstration purposes. Later you'll have to add a GitHub webhook for this repository to start test runs.

Certain VM setups filter out packets that do this which breaks our
example.
The descriptor size includes the net_hdr but isn't part of the data the
user receives.
Fixes the issue where packets were duplicated when the tx queue was
drained (e.g. by sleeping in pktgen between batches).
@ixy-ci
Copy link

ixy-ci commented Oct 6, 2019

Test passed!

pktgen logs
$ sudo apt update

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Get:1 http://security.debian.org buster/updates InRelease [39.1 kB]
Get:2 http://deb.debian.org/debian buster InRelease [122 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
Get:4 http://deb.debian.org/debian buster-backports InRelease [46.7 kB]
Get:5 http://security.debian.org buster/updates/main Sources [75.4 kB]
Get:6 http://security.debian.org buster/updates/main amd64 Packages [97.2 kB]
Get:7 http://security.debian.org buster/updates/main Translation-en [59.6 kB]
Get:8 http://deb.debian.org/debian buster/main Sources [7,832 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 Packages [7,899 kB]
Get:10 http://deb.debian.org/debian buster/main Translation-en [5,967 kB]
Get:11 http://deb.debian.org/debian buster-updates/main Sources [2,544 B]
Get:12 http://deb.debian.org/debian buster-updates/main amd64 Packages [5,792 B]
Get:13 http://deb.debian.org/debian buster-updates/main Translation-en [3,655 B]
Get:14 http://deb.debian.org/debian buster-backports/main Sources [82.8 kB]
Get:15 http://deb.debian.org/debian buster-backports/main amd64 Packages [109 kB]
Get:16 http://deb.debian.org/debian buster-backports/main Translation-en [89.0 kB]
Fetched 22.5 MB in 4s (5,880 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
31 packages can be upgraded. Run 'apt list --upgradable' to see them.


$ sudo apt install -y git

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  git-man libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm6 libldap-2.4-2
  libldap-common libnghttp2-14 libperl5.28 librtmp1 libsasl2-2
  libsasl2-modules libsasl2-modules-db libssh2-1 patch perl perl-modules-5.28
Suggested packages:
  git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk
  gitweb git-cvs git-mediawiki git-svn libsasl2-modules-gssapi-mit
  | libsasl2-modules-gssapi-heimdal libsasl2-modules-ldap libsasl2-modules-otp
  libsasl2-modules-sql ed diffutils-doc perl-doc libterm-readline-gnu-perl
  | libterm-readline-perl-perl make libb-debug-perl liblocale-codes-perl
The following NEW packages will be installed:
  git git-man libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm6
  libldap-2.4-2 libldap-common libnghttp2-14 libperl5.28 librtmp1 libsasl2-2
  libsasl2-modules libsasl2-modules-db libssh2-1 patch perl perl-modules-5.28
0 upgraded, 18 newly installed, 0 to remove and 31 not upgraded.
Need to get 15.7 MB of archives.
After this operation, 87.7 MB of additional disk space will be used.
Get:1 http://security.debian.org buster/updates/main amd64 libnghttp2-14 amd64 1.36.0-2+deb10u1 [85.0 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 perl-modules-5.28 all 5.28.1-6 [2,873 kB]
Get:3 http://deb.debian.org/debian buster/main amd64 libgdbm6 amd64 1.18.1-4 [64.7 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 libgdbm-compat4 amd64 1.18.1-4 [44.1 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 libperl5.28 amd64 5.28.1-6 [3,883 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 perl amd64 5.28.1-6 [204 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 libsasl2-modules-db amd64 2.1.27+dfsg-1 [69.0 kB]
Get:8 http://deb.debian.org/debian buster/main amd64 libsasl2-2 amd64 2.1.27+dfsg-1 [106 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 libldap-common all 2.4.47+dfsg-3+deb10u1 [89.6 kB]
Get:10 http://deb.debian.org/debian buster/main amd64 libldap-2.4-2 amd64 2.4.47+dfsg-3+deb10u1 [225 kB]
Get:11 http://deb.debian.org/debian buster/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2 [60.5 kB]
Get:12 http://deb.debian.org/debian buster/main amd64 libssh2-1 amd64 1.8.0-2.1 [140 kB]
Get:13 http://deb.debian.org/debian buster/main amd64 libcurl3-gnutls amd64 7.64.0-4 [329 kB]
Get:14 http://deb.debian.org/debian buster/main amd64 liberror-perl all 0.17027-2 [30.9 kB]
Get:15 http://deb.debian.org/debian buster/main amd64 git-man all 1:2.20.1-2 [1,619 kB]
Get:16 http://deb.debian.org/debian buster/main amd64 git amd64 1:2.20.1-2 [5,621 kB]
Get:17 http://deb.debian.org/debian buster/main amd64 libsasl2-modules amd64 2.1.27+dfsg-1 [104 kB]
Get:18 http://deb.debian.org/debian buster/main amd64 patch amd64 2.7.6-3+deb10u1 [126 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7, <> line 18.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
Fetched 15.7 MB in 0s (32.9 MB/s)
Selecting previously unselected package perl-modules-5.28.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 26960 files and directories currently installed.)
Preparing to unpack .../00-perl-modules-5.28_5.28.1-6_all.deb ...
Unpacking perl-modules-5.28 (5.28.1-6) ...
Selecting previously unselected package libgdbm6:amd64.
Preparing to unpack .../01-libgdbm6_1.18.1-4_amd64.deb ...
Unpacking libgdbm6:amd64 (1.18.1-4) ...
Selecting previously unselected package libgdbm-compat4:amd64.
Preparing to unpack .../02-libgdbm-compat4_1.18.1-4_amd64.deb ...
Unpacking libgdbm-compat4:amd64 (1.18.1-4) ...
Selecting previously unselected package libperl5.28:amd64.
Preparing to unpack .../03-libperl5.28_5.28.1-6_amd64.deb ...
Unpacking libperl5.28:amd64 (5.28.1-6) ...
Selecting previously unselected package perl.
Preparing to unpack .../04-perl_5.28.1-6_amd64.deb ...
Unpacking perl (5.28.1-6) ...
Selecting previously unselected package libsasl2-modules-db:amd64.
Preparing to unpack .../05-libsasl2-modules-db_2.1.27+dfsg-1_amd64.deb ...
Unpacking libsasl2-modules-db:amd64 (2.1.27+dfsg-1) ...
Selecting previously unselected package libsasl2-2:amd64.
Preparing to unpack .../06-libsasl2-2_2.1.27+dfsg-1_amd64.deb ...
Unpacking libsasl2-2:amd64 (2.1.27+dfsg-1) ...
Selecting previously unselected package libldap-common.
Preparing to unpack .../07-libldap-common_2.4.47+dfsg-3+deb10u1_all.deb ...
Unpacking libldap-common (2.4.47+dfsg-3+deb10u1) ...
Selecting previously unselected package libldap-2.4-2:amd64.
Preparing to unpack .../08-libldap-2.4-2_2.4.47+dfsg-3+deb10u1_amd64.deb ...
Unpacking libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u1) ...
Selecting previously unselected package libnghttp2-14:amd64.
Preparing to unpack .../09-libnghttp2-14_1.36.0-2+deb10u1_amd64.deb ...
Unpacking libnghttp2-14:amd64 (1.36.0-2+deb10u1) ...
Selecting previously unselected package librtmp1:amd64.
Preparing to unpack .../10-librtmp1_2.4+20151223.gitfa8646d.1-2_amd64.deb ...
Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2) ...
Selecting previously unselected package libssh2-1:amd64.
Preparing to unpack .../11-libssh2-1_1.8.0-2.1_amd64.deb ...
Unpacking libssh2-1:amd64 (1.8.0-2.1) ...
Selecting previously unselected package libcurl3-gnutls:amd64.
Preparing to unpack .../12-libcurl3-gnutls_7.64.0-4_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.64.0-4) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../13-liberror-perl_0.17027-2_all.deb ...
Unpacking liberror-perl (0.17027-2) ...
Selecting previously unselected package git-man.
Preparing to unpack .../14-git-man_1%3a2.20.1-2_all.deb ...
Unpacking git-man (1:2.20.1-2) ...
Selecting previously unselected package git.
Preparing to unpack .../15-git_1%3a2.20.1-2_amd64.deb ...
Unpacking git (1:2.20.1-2) ...
Selecting previously unselected package libsasl2-modules:amd64.
Preparing to unpack .../16-libsasl2-modules_2.1.27+dfsg-1_amd64.deb ...
Unpacking libsasl2-modules:amd64 (2.1.27+dfsg-1) ...
Selecting previously unselected package patch.
Preparing to unpack .../17-patch_2.7.6-3+deb10u1_amd64.deb ...
Unpacking patch (2.7.6-3+deb10u1) ...
Setting up perl-modules-5.28 (5.28.1-6) ...
Setting up libsasl2-modules:amd64 (2.1.27+dfsg-1) ...
Setting up libnghttp2-14:amd64 (1.36.0-2+deb10u1) ...
Setting up libldap-common (2.4.47+dfsg-3+deb10u1) ...
Setting up libsasl2-modules-db:amd64 (2.1.27+dfsg-1) ...
Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2) ...
Setting up patch (2.7.6-3+deb10u1) ...
Setting up libsasl2-2:amd64 (2.1.27+dfsg-1) ...
Setting up git-man (1:2.20.1-2) ...
Setting up libssh2-1:amd64 (1.8.0-2.1) ...
Setting up libgdbm6:amd64 (1.18.1-4) ...
Setting up libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u1) ...
Setting up libcurl3-gnutls:amd64 (7.64.0-4) ...
Setting up libgdbm-compat4:amd64 (1.18.1-4) ...
Setting up libperl5.28:amd64 (5.28.1-6) ...
Setting up perl (5.28.1-6) ...
Setting up liberror-perl (0.17027-2) ...
Setting up git (1:2.20.1-2) ...
Processing triggers for libc-bin (2.28-10) ...


$ git clone https://github.com/bobo1239/ixy --branch ci --single-branch --recurse-submodules
Cloning into 'ixy'...


$ cd ixy && sudo apt install -y cmake gcc

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu cmake-data cpp cpp-8
  gcc-8 libarchive13 libasan5 libatomic1 libbinutils libc-dev-bin libc6-dev
  libcc1-0 libcurl4 libgcc-8-dev libgomp1 libisl19 libitm1 libjsoncpp1
  liblsan0 libmpc3 libmpfr6 libmpx2 libquadmath0 librhash0 libtsan0 libubsan1
  libuv1 linux-libc-dev make manpages manpages-dev
Suggested packages:
  binutils-doc cmake-doc ninja-build cpp-doc gcc-8-locales gcc-multilib
  autoconf automake libtool flex bison gdb gcc-doc gcc-8-multilib gcc-8-doc
  libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan5-dbg
  liblsan0-dbg libtsan0-dbg libubsan1-dbg libmpx2-dbg libquadmath0-dbg lrzip
  glibc-doc make-doc man-browser
The following NEW packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu cmake cmake-data cpp
  cpp-8 gcc gcc-8 libarchive13 libasan5 libatomic1 libbinutils libc-dev-bin
  libc6-dev libcc1-0 libcurl4 libgcc-8-dev libgomp1 libisl19 libitm1
  libjsoncpp1 liblsan0 libmpc3 libmpfr6 libmpx2 libquadmath0 librhash0
  libtsan0 libubsan1 libuv1 linux-libc-dev make manpages manpages-dev
0 upgraded, 35 newly installed, 0 to remove and 31 not upgraded.
Need to get 41.7 MB of archives.
After this operation, 164 MB of additional disk space will be used.
Get:1 http://security.debian.org buster/updates/main amd64 linux-libc-dev amd64 4.19.67-2+deb10u1 [1,233 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 manpages all 4.16-2 [1,295 kB]
Get:3 http://deb.debian.org/debian buster/main amd64 binutils-common amd64 2.31.1-16 [2,073 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 libbinutils amd64 2.31.1-16 [478 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 binutils-x86-64-linux-gnu amd64 2.31.1-16 [1,823 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 binutils amd64 2.31.1-16 [56.8 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 cmake-data all 3.13.4-1 [1,476 kB]
Get:8 http://deb.debian.org/debian buster/main amd64 libarchive13 amd64 3.3.3-4 [314 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 libcurl4 amd64 7.64.0-4 [332 kB]
Get:10 http://deb.debian.org/debian buster/main amd64 libjsoncpp1 amd64 1.7.4-3 [75.6 kB]
Get:11 http://deb.debian.org/debian buster/main amd64 librhash0 amd64 1.3.8-1 [122 kB]
Get:12 http://deb.debian.org/debian buster/main amd64 libuv1 amd64 1.24.1-1 [110 kB]
Get:13 http://deb.debian.org/debian buster/main amd64 cmake amd64 3.13.4-1 [3,480 kB]
Get:14 http://deb.debian.org/debian buster/main amd64 libisl19 amd64 0.20-2 [587 kB]
Get:15 http://deb.debian.org/debian buster/main amd64 libmpfr6 amd64 4.0.2-1 [775 kB]
Get:16 http://deb.debian.org/debian buster/main amd64 libmpc3 amd64 1.1.0-1 [41.3 kB]
Get:17 http://deb.debian.org/debian buster/main amd64 cpp-8 amd64 8.3.0-6 [8,914 kB]
Get:18 http://deb.debian.org/debian buster/main amd64 cpp amd64 4:8.3.0-1 [19.4 kB]
Get:19 http://deb.debian.org/debian buster/main amd64 libcc1-0 amd64 8.3.0-6 [46.6 kB]
Get:20 http://deb.debian.org/debian buster/main amd64 libgomp1 amd64 8.3.0-6 [75.8 kB]
Get:21 http://deb.debian.org/debian buster/main amd64 libitm1 amd64 8.3.0-6 [27.7 kB]
Get:22 http://deb.debian.org/debian buster/main amd64 libatomic1 amd64 8.3.0-6 [9,032 B]
Get:23 http://deb.debian.org/debian buster/main amd64 libasan5 amd64 8.3.0-6 [362 kB]
Get:24 http://deb.debian.org/debian buster/main amd64 liblsan0 amd64 8.3.0-6 [131 kB]
Get:25 http://deb.debian.org/debian buster/main amd64 libtsan0 amd64 8.3.0-6 [283 kB]
Get:26 http://deb.debian.org/debian buster/main amd64 libubsan1 amd64 8.3.0-6 [120 kB]
Get:27 http://deb.debian.org/debian buster/main amd64 libmpx2 amd64 8.3.0-6 [11.4 kB]
Get:28 http://deb.debian.org/debian buster/main amd64 libquadmath0 amd64 8.3.0-6 [133 kB]
Get:29 http://deb.debian.org/debian buster/main amd64 libgcc-8-dev amd64 8.3.0-6 [2,298 kB]
Get:30 http://deb.debian.org/debian buster/main amd64 gcc-8 amd64 8.3.0-6 [9,452 kB]
Get:31 http://deb.debian.org/debian buster/main amd64 gcc amd64 4:8.3.0-1 [5,196 B]
Get:32 http://deb.debian.org/debian buster/main amd64 libc-dev-bin amd64 2.28-10 [275 kB]
Get:33 http://deb.debian.org/debian buster/main amd64 libc6-dev amd64 2.28-10 [2,691 kB]
Get:34 http://deb.debian.org/debian buster/main amd64 make amd64 4.2.1-1.2 [341 kB]
Get:35 http://deb.debian.org/debian buster/main amd64 manpages-dev all 4.16-2 [2,232 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
Fetched 41.7 MB in 1s (38.8 MB/s)
Selecting previously unselected package manpages.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 29934 files and directories currently installed.)
Preparing to unpack .../00-manpages_4.16-2_all.deb ...
Unpacking manpages (4.16-2) ...
Selecting previously unselected package binutils-common:amd64.
Preparing to unpack .../01-binutils-common_2.31.1-16_amd64.deb ...
Unpacking binutils-common:amd64 (2.31.1-16) ...
Selecting previously unselected package libbinutils:amd64.
Preparing to unpack .../02-libbinutils_2.31.1-16_amd64.deb ...
Unpacking libbinutils:amd64 (2.31.1-16) ...
Selecting previously unselected package binutils-x86-64-linux-gnu.
Preparing to unpack .../03-binutils-x86-64-linux-gnu_2.31.1-16_amd64.deb ...
Unpacking binutils-x86-64-linux-gnu (2.31.1-16) ...
Selecting previously unselected package binutils.
Preparing to unpack .../04-binutils_2.31.1-16_amd64.deb ...
Unpacking binutils (2.31.1-16) ...
Selecting previously unselected package cmake-data.
Preparing to unpack .../05-cmake-data_3.13.4-1_all.deb ...
Unpacking cmake-data (3.13.4-1) ...
Selecting previously unselected package libarchive13:amd64.
Preparing to unpack .../06-libarchive13_3.3.3-4_amd64.deb ...
Unpacking libarchive13:amd64 (3.3.3-4) ...
Selecting previously unselected package libcurl4:amd64.
Preparing to unpack .../07-libcurl4_7.64.0-4_amd64.deb ...
Unpacking libcurl4:amd64 (7.64.0-4) ...
Selecting previously unselected package libjsoncpp1:amd64.
Preparing to unpack .../08-libjsoncpp1_1.7.4-3_amd64.deb ...
Unpacking libjsoncpp1:amd64 (1.7.4-3) ...
Selecting previously unselected package librhash0:amd64.
Preparing to unpack .../09-librhash0_1.3.8-1_amd64.deb ...
Unpacking librhash0:amd64 (1.3.8-1) ...
Selecting previously unselected package libuv1:amd64.
Preparing to unpack .../10-libuv1_1.24.1-1_amd64.deb ...
Unpacking libuv1:amd64 (1.24.1-1) ...
Selecting previously unselected package cmake.
Preparing to unpack .../11-cmake_3.13.4-1_amd64.deb ...
Unpacking cmake (3.13.4-1) ...
Selecting previously unselected package libisl19:amd64.
Preparing to unpack .../12-libisl19_0.20-2_amd64.deb ...
Unpacking libisl19:amd64 (0.20-2) ...
Selecting previously unselected package libmpfr6:amd64.
Preparing to unpack .../13-libmpfr6_4.0.2-1_amd64.deb ...
Unpacking libmpfr6:amd64 (4.0.2-1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../14-libmpc3_1.1.0-1_amd64.deb ...
Unpacking libmpc3:amd64 (1.1.0-1) ...
Selecting previously unselected package cpp-8.
Preparing to unpack .../15-cpp-8_8.3.0-6_amd64.deb ...
Unpacking cpp-8 (8.3.0-6) ...
Selecting previously unselected package cpp.
Preparing to unpack .../16-cpp_4%3a8.3.0-1_amd64.deb ...
Unpacking cpp (4:8.3.0-1) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../17-libcc1-0_8.3.0-6_amd64.deb ...
Unpacking libcc1-0:amd64 (8.3.0-6) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../18-libgomp1_8.3.0-6_amd64.deb ...
Unpacking libgomp1:amd64 (8.3.0-6) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../19-libitm1_8.3.0-6_amd64.deb ...
Unpacking libitm1:amd64 (8.3.0-6) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../20-libatomic1_8.3.0-6_amd64.deb ...
Unpacking libatomic1:amd64 (8.3.0-6) ...
Selecting previously unselected package libasan5:amd64.
Preparing to unpack .../21-libasan5_8.3.0-6_amd64.deb ...
Unpacking libasan5:amd64 (8.3.0-6) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../22-liblsan0_8.3.0-6_amd64.deb ...
Unpacking liblsan0:amd64 (8.3.0-6) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../23-libtsan0_8.3.0-6_amd64.deb ...
Unpacking libtsan0:amd64 (8.3.0-6) ...
Selecting previously unselected package libubsan1:amd64.
Preparing to unpack .../24-libubsan1_8.3.0-6_amd64.deb ...
Unpacking libubsan1:amd64 (8.3.0-6) ...
Selecting previously unselected package libmpx2:amd64.
Preparing to unpack .../25-libmpx2_8.3.0-6_amd64.deb ...
Unpacking libmpx2:amd64 (8.3.0-6) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../26-libquadmath0_8.3.0-6_amd64.deb ...
Unpacking libquadmath0:amd64 (8.3.0-6) ...
Selecting previously unselected package libgcc-8-dev:amd64.
Preparing to unpack .../27-libgcc-8-dev_8.3.0-6_amd64.deb ...
Unpacking libgcc-8-dev:amd64 (8.3.0-6) ...
Selecting previously unselected package gcc-8.
Preparing to unpack .../28-gcc-8_8.3.0-6_amd64.deb ...
Unpacking gcc-8 (8.3.0-6) ...
Selecting previously unselected package gcc.
Preparing to unpack .../29-gcc_4%3a8.3.0-1_amd64.deb ...
Unpacking gcc (4:8.3.0-1) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../30-libc-dev-bin_2.28-10_amd64.deb ...
Unpacking libc-dev-bin (2.28-10) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../31-linux-libc-dev_4.19.67-2+deb10u1_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.19.67-2+deb10u1) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../32-libc6-dev_2.28-10_amd64.deb ...
Unpacking libc6-dev:amd64 (2.28-10) ...
Selecting previously unselected package make.
Preparing to unpack .../33-make_4.2.1-1.2_amd64.deb ...
Unpacking make (4.2.1-1.2) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../34-manpages-dev_4.16-2_all.deb ...
Unpacking manpages-dev (4.16-2) ...
Setting up libarchive13:amd64 (3.3.3-4) ...
Setting up manpages (4.16-2) ...
Setting up binutils-common:amd64 (2.31.1-16) ...
Setting up linux-libc-dev:amd64 (4.19.67-2+deb10u1) ...
Setting up libgomp1:amd64 (8.3.0-6) ...
Setting up libasan5:amd64 (8.3.0-6) ...
Setting up libuv1:amd64 (1.24.1-1) ...
Setting up make (4.2.1-1.2) ...
Setting up libmpfr6:amd64 (4.0.2-1) ...
Setting up libquadmath0:amd64 (8.3.0-6) ...
Setting up libmpc3:amd64 (1.1.0-1) ...
Setting up libatomic1:amd64 (8.3.0-6) ...
Setting up libmpx2:amd64 (8.3.0-6) ...
Setting up libubsan1:amd64 (8.3.0-6) ...
Setting up libisl19:amd64 (0.20-2) ...
Setting up librhash0:amd64 (1.3.8-1) ...
Setting up libcurl4:amd64 (7.64.0-4) ...
Setting up cmake-data (3.13.4-1) ...
Setting up libbinutils:amd64 (2.31.1-16) ...
Setting up cpp-8 (8.3.0-6) ...
Setting up libc-dev-bin (2.28-10) ...
Setting up libcc1-0:amd64 (8.3.0-6) ...
Setting up liblsan0:amd64 (8.3.0-6) ...
Setting up libitm1:amd64 (8.3.0-6) ...
Setting up libjsoncpp1:amd64 (1.7.4-3) ...
Setting up binutils-x86-64-linux-gnu (2.31.1-16) ...
Setting up libtsan0:amd64 (8.3.0-6) ...
Setting up manpages-dev (4.16-2) ...
Setting up binutils (2.31.1-16) ...
Setting up libgcc-8-dev:amd64 (8.3.0-6) ...
Setting up cpp (4:8.3.0-1) ...
Setting up cmake (3.13.4-1) ...
Setting up libc6-dev:amd64 (2.28-10) ...
Setting up gcc-8 (8.3.0-6) ...
Setting up gcc (4:8.3.0-1) ...
Processing triggers for libc-bin (2.28-10) ...


$ cd ixy && mkdir build


$ cd ixy && cd build && cmake ..
-- The C compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/debian/ixy/build


$ cd ixy && cd build && make
Scanning dependencies of target ixy-vfio
[  3%] Building C object CMakeFiles/ixy-vfio.dir/src/libixy-vfio.c.o
[  6%] Linking C shared library libixy-vfio.so
[  6%] Built target ixy-vfio
Scanning dependencies of target ixy-pcap
[  9%] Building C object CMakeFiles/ixy-pcap.dir/src/app/ixy-pcap.c.o
[ 12%] Building C object CMakeFiles/ixy-pcap.dir/src/pci.c.o
[ 15%] Building C object CMakeFiles/ixy-pcap.dir/src/memory.c.o
[ 18%] Building C object CMakeFiles/ixy-pcap.dir/src/stats.c.o
[ 21%] Building C object CMakeFiles/ixy-pcap.dir/src/interrupts.c.o
[ 25%] Building C object CMakeFiles/ixy-pcap.dir/src/driver/device.c.o
[ 28%] Building C object CMakeFiles/ixy-pcap.dir/src/driver/ixgbe.c.o
[ 31%] Building C object CMakeFiles/ixy-pcap.dir/src/driver/virtio.c.o
[ 34%] Building C object CMakeFiles/ixy-pcap.dir/src/libixy-vfio.c.o
[ 37%] Linking C executable ixy-pcap
[ 37%] Built target ixy-pcap
Scanning dependencies of target ixy-pktgen
[ 40%] Building C object CMakeFiles/ixy-pktgen.dir/src/app/ixy-pktgen.c.o
[ 43%] Building C object CMakeFiles/ixy-pktgen.dir/src/pci.c.o
[ 46%] Building C object CMakeFiles/ixy-pktgen.dir/src/memory.c.o
[ 50%] Building C object CMakeFiles/ixy-pktgen.dir/src/stats.c.o
[ 53%] Building C object CMakeFiles/ixy-pktgen.dir/src/interrupts.c.o
[ 56%] Building C object CMakeFiles/ixy-pktgen.dir/src/driver/device.c.o
[ 59%] Building C object CMakeFiles/ixy-pktgen.dir/src/driver/ixgbe.c.o
[ 62%] Building C object CMakeFiles/ixy-pktgen.dir/src/driver/virtio.c.o
[ 65%] Building C object CMakeFiles/ixy-pktgen.dir/src/libixy-vfio.c.o
[ 68%] Linking C executable ixy-pktgen
[ 68%] Built target ixy-pktgen
Scanning dependencies of target ixy-fwd
[ 71%] Building C object CMakeFiles/ixy-fwd.dir/src/app/ixy-fwd.c.o
[ 75%] Building C object CMakeFiles/ixy-fwd.dir/src/pci.c.o
[ 78%] Building C object CMakeFiles/ixy-fwd.dir/src/memory.c.o
[ 81%] Building C object CMakeFiles/ixy-fwd.dir/src/stats.c.o
[ 84%] Building C object CMakeFiles/ixy-fwd.dir/src/interrupts.c.o
[ 87%] Building C object CMakeFiles/ixy-fwd.dir/src/driver/device.c.o
[ 90%] Building C object CMakeFiles/ixy-fwd.dir/src/driver/ixgbe.c.o
[ 93%] Building C object CMakeFiles/ixy-fwd.dir/src/driver/virtio.c.o
[ 96%] Building C object CMakeFiles/ixy-fwd.dir/src/libixy-vfio.c.o
[100%] Linking C executable ixy-fwd
[100%] Built target ixy-fwd


$ cd ixy && sudo ./setup-hugetlbfs.sh


$ sudo mv runner /usr/bin/runner


$ sudo build/ixy-pktgen $PCI_ADDR_PKTGEN
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/pci.c:57 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:06.0/config
[DEBUG] /home/debian/ixy/src/pci.c:57 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:06.0/config
[DEBUG] /home/debian/ixy/src/pci.c:57 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:06.0/resource0
[DEBUG] /home/debian/ixy/src/driver/virtio.c:277 virtio_legacy_init(): Configuring bar0
[DEBUG] /home/debian/ixy/src/driver/virtio.c:286 virtio_legacy_init(): Host features: 79ffffef
[DEBUG] /home/debian/ixy/src/driver/virtio.c:296 virtio_legacy_init(): Guest features before negotiation: 0
[DEBUG] /home/debian/ixy/src/driver/virtio.c:298 virtio_legacy_init(): Guest features after negotiation: 8060003
[DEBUG] /home/debian/ixy/src/driver/virtio.c:231 virtio_legacy_setup_rx_queue(): Max queue size of rx queue #0: 256
[DEBUG] /home/debian/ixy/src/driver/virtio.c:236 virtio_legacy_setup_rx_queue(): Notifcation offset 65535
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:240 virtio_legacy_setup_rx_queue(): Allocated 10244 bytes for virt queue at 0x7f63c1e00000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:246 virtio_legacy_setup_rx_queue(): vring desc: 0x7f63c1e00000, vring avail: 0x7f63c1e01000, vring used: 0x7f63c1e02000
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:57 virtio_legacy_setup_tx_queue(): Max queue size of tx queue #1: 256
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:64 virtio_legacy_setup_tx_queue(): Allocated 10244 bytes for virt queue at 0x7f63c1a00000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:70 virtio_legacy_setup_tx_queue(): vring desc: 0x7f63c1a00000, vring avail: 0x7f63c1a01000, vring used: 0x7f63c1a02000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:86 virtio_legacy_setup_tx_queue(): vq notifcation offset 65535
[DEBUG] /home/debian/ixy/src/driver/virtio.c:57 virtio_legacy_setup_tx_queue(): Max queue size of tx queue #2: 64
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:64 virtio_legacy_setup_tx_queue(): Allocated 4612 bytes for virt queue at 0x7f63c1800000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:70 virtio_legacy_setup_tx_queue(): vring desc: 0x7f63c1800000, vring avail: 0x7f63c1800400, vring used: 0x7f63c1801000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:86 virtio_legacy_setup_tx_queue(): vq notifcation offset 65535
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:127 virtio_legacy_send_command(): Found free desc slot at 0 (64)
[DEBUG] /home/debian/ixy/src/driver/virtio.c:179 virtio_legacy_send_command(): e 0x7f63c180100c: id 0 len 0
fwd logs
$ sudo apt update

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Get:1 http://security.debian.org buster/updates InRelease [39.1 kB]
Get:2 http://deb.debian.org/debian buster InRelease [122 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
Get:4 http://deb.debian.org/debian buster-backports InRelease [46.7 kB]
Get:5 http://security.debian.org buster/updates/main Sources [75.4 kB]
Get:6 http://security.debian.org buster/updates/main amd64 Packages [97.2 kB]
Get:7 http://security.debian.org buster/updates/main Translation-en [59.6 kB]
Get:8 http://deb.debian.org/debian buster/main Sources [7,832 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 Packages [7,899 kB]
Get:10 http://deb.debian.org/debian buster/main Translation-en [5,967 kB]
Get:11 http://deb.debian.org/debian buster-updates/main Sources [2,544 B]
Get:12 http://deb.debian.org/debian buster-updates/main amd64 Packages [5,792 B]
Get:13 http://deb.debian.org/debian buster-updates/main Translation-en [3,655 B]
Get:14 http://deb.debian.org/debian buster-backports/main Sources [82.8 kB]
Get:15 http://deb.debian.org/debian buster-backports/main amd64 Packages [109 kB]
Get:16 http://deb.debian.org/debian buster-backports/main Translation-en [89.0 kB]
Fetched 22.5 MB in 4s (5,916 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
31 packages can be upgraded. Run 'apt list --upgradable' to see them.


$ sudo apt install -y git

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  git-man libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm6 libldap-2.4-2
  libldap-common libnghttp2-14 libperl5.28 librtmp1 libsasl2-2
  libsasl2-modules libsasl2-modules-db libssh2-1 patch perl perl-modules-5.28
Suggested packages:
  git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk
  gitweb git-cvs git-mediawiki git-svn libsasl2-modules-gssapi-mit
  | libsasl2-modules-gssapi-heimdal libsasl2-modules-ldap libsasl2-modules-otp
  libsasl2-modules-sql ed diffutils-doc perl-doc libterm-readline-gnu-perl
  | libterm-readline-perl-perl make libb-debug-perl liblocale-codes-perl
The following NEW packages will be installed:
  git git-man libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm6
  libldap-2.4-2 libldap-common libnghttp2-14 libperl5.28 librtmp1 libsasl2-2
  libsasl2-modules libsasl2-modules-db libssh2-1 patch perl perl-modules-5.28
0 upgraded, 18 newly installed, 0 to remove and 31 not upgraded.
Need to get 15.7 MB of archives.
After this operation, 87.7 MB of additional disk space will be used.
Get:1 http://security.debian.org buster/updates/main amd64 libnghttp2-14 amd64 1.36.0-2+deb10u1 [85.0 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 perl-modules-5.28 all 5.28.1-6 [2,873 kB]
Get:3 http://deb.debian.org/debian buster/main amd64 libgdbm6 amd64 1.18.1-4 [64.7 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 libgdbm-compat4 amd64 1.18.1-4 [44.1 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 libperl5.28 amd64 5.28.1-6 [3,883 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 perl amd64 5.28.1-6 [204 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 libsasl2-modules-db amd64 2.1.27+dfsg-1 [69.0 kB]
Get:8 http://deb.debian.org/debian buster/main amd64 libsasl2-2 amd64 2.1.27+dfsg-1 [106 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 libldap-common all 2.4.47+dfsg-3+deb10u1 [89.6 kB]
Get:10 http://deb.debian.org/debian buster/main amd64 libldap-2.4-2 amd64 2.4.47+dfsg-3+deb10u1 [225 kB]
Get:11 http://deb.debian.org/debian buster/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2 [60.5 kB]
Get:12 http://deb.debian.org/debian buster/main amd64 libssh2-1 amd64 1.8.0-2.1 [140 kB]
Get:13 http://deb.debian.org/debian buster/main amd64 libcurl3-gnutls amd64 7.64.0-4 [329 kB]
Get:14 http://deb.debian.org/debian buster/main amd64 liberror-perl all 0.17027-2 [30.9 kB]
Get:15 http://deb.debian.org/debian buster/main amd64 git-man all 1:2.20.1-2 [1,619 kB]
Get:16 http://deb.debian.org/debian buster/main amd64 git amd64 1:2.20.1-2 [5,621 kB]
Get:17 http://deb.debian.org/debian buster/main amd64 libsasl2-modules amd64 2.1.27+dfsg-1 [104 kB]
Get:18 http://deb.debian.org/debian buster/main amd64 patch amd64 2.7.6-3+deb10u1 [126 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7, <> line 18.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
Fetched 15.7 MB in 0s (31.7 MB/s)
Selecting previously unselected package perl-modules-5.28.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 26960 files and directories currently installed.)
Preparing to unpack .../00-perl-modules-5.28_5.28.1-6_all.deb ...
Unpacking perl-modules-5.28 (5.28.1-6) ...
Selecting previously unselected package libgdbm6:amd64.
Preparing to unpack .../01-libgdbm6_1.18.1-4_amd64.deb ...
Unpacking libgdbm6:amd64 (1.18.1-4) ...
Selecting previously unselected package libgdbm-compat4:amd64.
Preparing to unpack .../02-libgdbm-compat4_1.18.1-4_amd64.deb ...
Unpacking libgdbm-compat4:amd64 (1.18.1-4) ...
Selecting previously unselected package libperl5.28:amd64.
Preparing to unpack .../03-libperl5.28_5.28.1-6_amd64.deb ...
Unpacking libperl5.28:amd64 (5.28.1-6) ...
Selecting previously unselected package perl.
Preparing to unpack .../04-perl_5.28.1-6_amd64.deb ...
Unpacking perl (5.28.1-6) ...
Selecting previously unselected package libsasl2-modules-db:amd64.
Preparing to unpack .../05-libsasl2-modules-db_2.1.27+dfsg-1_amd64.deb ...
Unpacking libsasl2-modules-db:amd64 (2.1.27+dfsg-1) ...
Selecting previously unselected package libsasl2-2:amd64.
Preparing to unpack .../06-libsasl2-2_2.1.27+dfsg-1_amd64.deb ...
Unpacking libsasl2-2:amd64 (2.1.27+dfsg-1) ...
Selecting previously unselected package libldap-common.
Preparing to unpack .../07-libldap-common_2.4.47+dfsg-3+deb10u1_all.deb ...
Unpacking libldap-common (2.4.47+dfsg-3+deb10u1) ...
Selecting previously unselected package libldap-2.4-2:amd64.
Preparing to unpack .../08-libldap-2.4-2_2.4.47+dfsg-3+deb10u1_amd64.deb ...
Unpacking libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u1) ...
Selecting previously unselected package libnghttp2-14:amd64.
Preparing to unpack .../09-libnghttp2-14_1.36.0-2+deb10u1_amd64.deb ...
Unpacking libnghttp2-14:amd64 (1.36.0-2+deb10u1) ...
Selecting previously unselected package librtmp1:amd64.
Preparing to unpack .../10-librtmp1_2.4+20151223.gitfa8646d.1-2_amd64.deb ...
Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2) ...
Selecting previously unselected package libssh2-1:amd64.
Preparing to unpack .../11-libssh2-1_1.8.0-2.1_amd64.deb ...
Unpacking libssh2-1:amd64 (1.8.0-2.1) ...
Selecting previously unselected package libcurl3-gnutls:amd64.
Preparing to unpack .../12-libcurl3-gnutls_7.64.0-4_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.64.0-4) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../13-liberror-perl_0.17027-2_all.deb ...
Unpacking liberror-perl (0.17027-2) ...
Selecting previously unselected package git-man.
Preparing to unpack .../14-git-man_1%3a2.20.1-2_all.deb ...
Unpacking git-man (1:2.20.1-2) ...
Selecting previously unselected package git.
Preparing to unpack .../15-git_1%3a2.20.1-2_amd64.deb ...
Unpacking git (1:2.20.1-2) ...
Selecting previously unselected package libsasl2-modules:amd64.
Preparing to unpack .../16-libsasl2-modules_2.1.27+dfsg-1_amd64.deb ...
Unpacking libsasl2-modules:amd64 (2.1.27+dfsg-1) ...
Selecting previously unselected package patch.
Preparing to unpack .../17-patch_2.7.6-3+deb10u1_amd64.deb ...
Unpacking patch (2.7.6-3+deb10u1) ...
Setting up perl-modules-5.28 (5.28.1-6) ...
Setting up libsasl2-modules:amd64 (2.1.27+dfsg-1) ...
Setting up libnghttp2-14:amd64 (1.36.0-2+deb10u1) ...
Setting up libldap-common (2.4.47+dfsg-3+deb10u1) ...
Setting up libsasl2-modules-db:amd64 (2.1.27+dfsg-1) ...
Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2) ...
Setting up patch (2.7.6-3+deb10u1) ...
Setting up libsasl2-2:amd64 (2.1.27+dfsg-1) ...
Setting up git-man (1:2.20.1-2) ...
Setting up libssh2-1:amd64 (1.8.0-2.1) ...
Setting up libgdbm6:amd64 (1.18.1-4) ...
Setting up libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u1) ...
Setting up libcurl3-gnutls:amd64 (7.64.0-4) ...
Setting up libgdbm-compat4:amd64 (1.18.1-4) ...
Setting up libperl5.28:amd64 (5.28.1-6) ...
Setting up perl (5.28.1-6) ...
Setting up liberror-perl (0.17027-2) ...
Setting up git (1:2.20.1-2) ...
Processing triggers for libc-bin (2.28-10) ...


$ git clone https://github.com/bobo1239/ixy --branch ci --single-branch --recurse-submodules
Cloning into 'ixy'...


$ cd ixy && sudo apt install -y cmake gcc

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu cmake-data cpp cpp-8
  gcc-8 libarchive13 libasan5 libatomic1 libbinutils libc-dev-bin libc6-dev
  libcc1-0 libcurl4 libgcc-8-dev libgomp1 libisl19 libitm1 libjsoncpp1
  liblsan0 libmpc3 libmpfr6 libmpx2 libquadmath0 librhash0 libtsan0 libubsan1
  libuv1 linux-libc-dev make manpages manpages-dev
Suggested packages:
  binutils-doc cmake-doc ninja-build cpp-doc gcc-8-locales gcc-multilib
  autoconf automake libtool flex bison gdb gcc-doc gcc-8-multilib gcc-8-doc
  libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan5-dbg
  liblsan0-dbg libtsan0-dbg libubsan1-dbg libmpx2-dbg libquadmath0-dbg lrzip
  glibc-doc make-doc man-browser
The following NEW packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu cmake cmake-data cpp
  cpp-8 gcc gcc-8 libarchive13 libasan5 libatomic1 libbinutils libc-dev-bin
  libc6-dev libcc1-0 libcurl4 libgcc-8-dev libgomp1 libisl19 libitm1
  libjsoncpp1 liblsan0 libmpc3 libmpfr6 libmpx2 libquadmath0 librhash0
  libtsan0 libubsan1 libuv1 linux-libc-dev make manpages manpages-dev
0 upgraded, 35 newly installed, 0 to remove and 31 not upgraded.
Need to get 41.7 MB of archives.
After this operation, 164 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 manpages all 4.16-2 [1,295 kB]
Get:2 http://security.debian.org buster/updates/main amd64 linux-libc-dev amd64 4.19.67-2+deb10u1 [1,233 kB]
Get:3 http://deb.debian.org/debian buster/main amd64 binutils-common amd64 2.31.1-16 [2,073 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 libbinutils amd64 2.31.1-16 [478 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 binutils-x86-64-linux-gnu amd64 2.31.1-16 [1,823 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 binutils amd64 2.31.1-16 [56.8 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 cmake-data all 3.13.4-1 [1,476 kB]
Get:8 http://deb.debian.org/debian buster/main amd64 libarchive13 amd64 3.3.3-4 [314 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 libcurl4 amd64 7.64.0-4 [332 kB]
Get:10 http://deb.debian.org/debian buster/main amd64 libjsoncpp1 amd64 1.7.4-3 [75.6 kB]
Get:11 http://deb.debian.org/debian buster/main amd64 librhash0 amd64 1.3.8-1 [122 kB]
Get:12 http://deb.debian.org/debian buster/main amd64 libuv1 amd64 1.24.1-1 [110 kB]
Get:13 http://deb.debian.org/debian buster/main amd64 cmake amd64 3.13.4-1 [3,480 kB]
Get:14 http://deb.debian.org/debian buster/main amd64 libisl19 amd64 0.20-2 [587 kB]
Get:15 http://deb.debian.org/debian buster/main amd64 libmpfr6 amd64 4.0.2-1 [775 kB]
Get:16 http://deb.debian.org/debian buster/main amd64 libmpc3 amd64 1.1.0-1 [41.3 kB]
Get:17 http://deb.debian.org/debian buster/main amd64 cpp-8 amd64 8.3.0-6 [8,914 kB]
Get:18 http://deb.debian.org/debian buster/main amd64 cpp amd64 4:8.3.0-1 [19.4 kB]
Get:19 http://deb.debian.org/debian buster/main amd64 libcc1-0 amd64 8.3.0-6 [46.6 kB]
Get:20 http://deb.debian.org/debian buster/main amd64 libgomp1 amd64 8.3.0-6 [75.8 kB]
Get:21 http://deb.debian.org/debian buster/main amd64 libitm1 amd64 8.3.0-6 [27.7 kB]
Get:22 http://deb.debian.org/debian buster/main amd64 libatomic1 amd64 8.3.0-6 [9,032 B]
Get:23 http://deb.debian.org/debian buster/main amd64 libasan5 amd64 8.3.0-6 [362 kB]
Get:24 http://deb.debian.org/debian buster/main amd64 liblsan0 amd64 8.3.0-6 [131 kB]
Get:25 http://deb.debian.org/debian buster/main amd64 libtsan0 amd64 8.3.0-6 [283 kB]
Get:26 http://deb.debian.org/debian buster/main amd64 libubsan1 amd64 8.3.0-6 [120 kB]
Get:27 http://deb.debian.org/debian buster/main amd64 libmpx2 amd64 8.3.0-6 [11.4 kB]
Get:28 http://deb.debian.org/debian buster/main amd64 libquadmath0 amd64 8.3.0-6 [133 kB]
Get:29 http://deb.debian.org/debian buster/main amd64 libgcc-8-dev amd64 8.3.0-6 [2,298 kB]
Get:30 http://deb.debian.org/debian buster/main amd64 gcc-8 amd64 8.3.0-6 [9,452 kB]
Get:31 http://deb.debian.org/debian buster/main amd64 gcc amd64 4:8.3.0-1 [5,196 B]
Get:32 http://deb.debian.org/debian buster/main amd64 libc-dev-bin amd64 2.28-10 [275 kB]
Get:33 http://deb.debian.org/debian buster/main amd64 libc6-dev amd64 2.28-10 [2,691 kB]
Get:34 http://deb.debian.org/debian buster/main amd64 make amd64 4.2.1-1.2 [341 kB]
Get:35 http://deb.debian.org/debian buster/main amd64 manpages-dev all 4.16-2 [2,232 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
Fetched 41.7 MB in 1s (40.4 MB/s)
Selecting previously unselected package manpages.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 29934 files and directories currently installed.)
Preparing to unpack .../00-manpages_4.16-2_all.deb ...
Unpacking manpages (4.16-2) ...
Selecting previously unselected package binutils-common:amd64.
Preparing to unpack .../01-binutils-common_2.31.1-16_amd64.deb ...
Unpacking binutils-common:amd64 (2.31.1-16) ...
Selecting previously unselected package libbinutils:amd64.
Preparing to unpack .../02-libbinutils_2.31.1-16_amd64.deb ...
Unpacking libbinutils:amd64 (2.31.1-16) ...
Selecting previously unselected package binutils-x86-64-linux-gnu.
Preparing to unpack .../03-binutils-x86-64-linux-gnu_2.31.1-16_amd64.deb ...
Unpacking binutils-x86-64-linux-gnu (2.31.1-16) ...
Selecting previously unselected package binutils.
Preparing to unpack .../04-binutils_2.31.1-16_amd64.deb ...
Unpacking binutils (2.31.1-16) ...
Selecting previously unselected package cmake-data.
Preparing to unpack .../05-cmake-data_3.13.4-1_all.deb ...
Unpacking cmake-data (3.13.4-1) ...
Selecting previously unselected package libarchive13:amd64.
Preparing to unpack .../06-libarchive13_3.3.3-4_amd64.deb ...
Unpacking libarchive13:amd64 (3.3.3-4) ...
Selecting previously unselected package libcurl4:amd64.
Preparing to unpack .../07-libcurl4_7.64.0-4_amd64.deb ...
Unpacking libcurl4:amd64 (7.64.0-4) ...
Selecting previously unselected package libjsoncpp1:amd64.
Preparing to unpack .../08-libjsoncpp1_1.7.4-3_amd64.deb ...
Unpacking libjsoncpp1:amd64 (1.7.4-3) ...
Selecting previously unselected package librhash0:amd64.
Preparing to unpack .../09-librhash0_1.3.8-1_amd64.deb ...
Unpacking librhash0:amd64 (1.3.8-1) ...
Selecting previously unselected package libuv1:amd64.
Preparing to unpack .../10-libuv1_1.24.1-1_amd64.deb ...
Unpacking libuv1:amd64 (1.24.1-1) ...
Selecting previously unselected package cmake.
Preparing to unpack .../11-cmake_3.13.4-1_amd64.deb ...
Unpacking cmake (3.13.4-1) ...
Selecting previously unselected package libisl19:amd64.
Preparing to unpack .../12-libisl19_0.20-2_amd64.deb ...
Unpacking libisl19:amd64 (0.20-2) ...
Selecting previously unselected package libmpfr6:amd64.
Preparing to unpack .../13-libmpfr6_4.0.2-1_amd64.deb ...
Unpacking libmpfr6:amd64 (4.0.2-1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../14-libmpc3_1.1.0-1_amd64.deb ...
Unpacking libmpc3:amd64 (1.1.0-1) ...
Selecting previously unselected package cpp-8.
Preparing to unpack .../15-cpp-8_8.3.0-6_amd64.deb ...
Unpacking cpp-8 (8.3.0-6) ...
Selecting previously unselected package cpp.
Preparing to unpack .../16-cpp_4%3a8.3.0-1_amd64.deb ...
Unpacking cpp (4:8.3.0-1) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../17-libcc1-0_8.3.0-6_amd64.deb ...
Unpacking libcc1-0:amd64 (8.3.0-6) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../18-libgomp1_8.3.0-6_amd64.deb ...
Unpacking libgomp1:amd64 (8.3.0-6) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../19-libitm1_8.3.0-6_amd64.deb ...
Unpacking libitm1:amd64 (8.3.0-6) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../20-libatomic1_8.3.0-6_amd64.deb ...
Unpacking libatomic1:amd64 (8.3.0-6) ...
Selecting previously unselected package libasan5:amd64.
Preparing to unpack .../21-libasan5_8.3.0-6_amd64.deb ...
Unpacking libasan5:amd64 (8.3.0-6) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../22-liblsan0_8.3.0-6_amd64.deb ...
Unpacking liblsan0:amd64 (8.3.0-6) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../23-libtsan0_8.3.0-6_amd64.deb ...
Unpacking libtsan0:amd64 (8.3.0-6) ...
Selecting previously unselected package libubsan1:amd64.
Preparing to unpack .../24-libubsan1_8.3.0-6_amd64.deb ...
Unpacking libubsan1:amd64 (8.3.0-6) ...
Selecting previously unselected package libmpx2:amd64.
Preparing to unpack .../25-libmpx2_8.3.0-6_amd64.deb ...
Unpacking libmpx2:amd64 (8.3.0-6) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../26-libquadmath0_8.3.0-6_amd64.deb ...
Unpacking libquadmath0:amd64 (8.3.0-6) ...
Selecting previously unselected package libgcc-8-dev:amd64.
Preparing to unpack .../27-libgcc-8-dev_8.3.0-6_amd64.deb ...
Unpacking libgcc-8-dev:amd64 (8.3.0-6) ...
Selecting previously unselected package gcc-8.
Preparing to unpack .../28-gcc-8_8.3.0-6_amd64.deb ...
Unpacking gcc-8 (8.3.0-6) ...
Selecting previously unselected package gcc.
Preparing to unpack .../29-gcc_4%3a8.3.0-1_amd64.deb ...
Unpacking gcc (4:8.3.0-1) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../30-libc-dev-bin_2.28-10_amd64.deb ...
Unpacking libc-dev-bin (2.28-10) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../31-linux-libc-dev_4.19.67-2+deb10u1_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.19.67-2+deb10u1) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../32-libc6-dev_2.28-10_amd64.deb ...
Unpacking libc6-dev:amd64 (2.28-10) ...
Selecting previously unselected package make.
Preparing to unpack .../33-make_4.2.1-1.2_amd64.deb ...
Unpacking make (4.2.1-1.2) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../34-manpages-dev_4.16-2_all.deb ...
Unpacking manpages-dev (4.16-2) ...
Setting up libarchive13:amd64 (3.3.3-4) ...
Setting up manpages (4.16-2) ...
Setting up binutils-common:amd64 (2.31.1-16) ...
Setting up linux-libc-dev:amd64 (4.19.67-2+deb10u1) ...
Setting up libgomp1:amd64 (8.3.0-6) ...
Setting up libasan5:amd64 (8.3.0-6) ...
Setting up libuv1:amd64 (1.24.1-1) ...
Setting up make (4.2.1-1.2) ...
Setting up libmpfr6:amd64 (4.0.2-1) ...
Setting up libquadmath0:amd64 (8.3.0-6) ...
Setting up libmpc3:amd64 (1.1.0-1) ...
Setting up libatomic1:amd64 (8.3.0-6) ...
Setting up libmpx2:amd64 (8.3.0-6) ...
Setting up libubsan1:amd64 (8.3.0-6) ...
Setting up libisl19:amd64 (0.20-2) ...
Setting up librhash0:amd64 (1.3.8-1) ...
Setting up libcurl4:amd64 (7.64.0-4) ...
Setting up cmake-data (3.13.4-1) ...
Setting up libbinutils:amd64 (2.31.1-16) ...
Setting up cpp-8 (8.3.0-6) ...
Setting up libc-dev-bin (2.28-10) ...
Setting up libcc1-0:amd64 (8.3.0-6) ...
Setting up liblsan0:amd64 (8.3.0-6) ...
Setting up libitm1:amd64 (8.3.0-6) ...
Setting up libjsoncpp1:amd64 (1.7.4-3) ...
Setting up binutils-x86-64-linux-gnu (2.31.1-16) ...
Setting up libtsan0:amd64 (8.3.0-6) ...
Setting up manpages-dev (4.16-2) ...
Setting up binutils (2.31.1-16) ...
Setting up libgcc-8-dev:amd64 (8.3.0-6) ...
Setting up cpp (4:8.3.0-1) ...
Setting up cmake (3.13.4-1) ...
Setting up libc6-dev:amd64 (2.28-10) ...
Setting up gcc-8 (8.3.0-6) ...
Setting up gcc (4:8.3.0-1) ...
Processing triggers for libc-bin (2.28-10) ...


$ cd ixy && mkdir build


$ cd ixy && cd build && cmake ..
-- The C compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/debian/ixy/build


$ cd ixy && cd build && make
Scanning dependencies of target ixy-vfio
[  3%] Building C object CMakeFiles/ixy-vfio.dir/src/libixy-vfio.c.o
[  6%] Linking C shared library libixy-vfio.so
[  6%] Built target ixy-vfio
Scanning dependencies of target ixy-pcap
[  9%] Building C object CMakeFiles/ixy-pcap.dir/src/app/ixy-pcap.c.o
[ 12%] Building C object CMakeFiles/ixy-pcap.dir/src/pci.c.o
[ 15%] Building C object CMakeFiles/ixy-pcap.dir/src/memory.c.o
[ 18%] Building C object CMakeFiles/ixy-pcap.dir/src/stats.c.o
[ 21%] Building C object CMakeFiles/ixy-pcap.dir/src/interrupts.c.o
[ 25%] Building C object CMakeFiles/ixy-pcap.dir/src/driver/device.c.o
[ 28%] Building C object CMakeFiles/ixy-pcap.dir/src/driver/ixgbe.c.o
[ 31%] Building C object CMakeFiles/ixy-pcap.dir/src/driver/virtio.c.o
[ 34%] Building C object CMakeFiles/ixy-pcap.dir/src/libixy-vfio.c.o
[ 37%] Linking C executable ixy-pcap
[ 37%] Built target ixy-pcap
Scanning dependencies of target ixy-pktgen
[ 40%] Building C object CMakeFiles/ixy-pktgen.dir/src/app/ixy-pktgen.c.o
[ 43%] Building C object CMakeFiles/ixy-pktgen.dir/src/pci.c.o
[ 46%] Building C object CMakeFiles/ixy-pktgen.dir/src/memory.c.o
[ 50%] Building C object CMakeFiles/ixy-pktgen.dir/src/stats.c.o
[ 53%] Building C object CMakeFiles/ixy-pktgen.dir/src/interrupts.c.o
[ 56%] Building C object CMakeFiles/ixy-pktgen.dir/src/driver/device.c.o
[ 59%] Building C object CMakeFiles/ixy-pktgen.dir/src/driver/ixgbe.c.o
[ 62%] Building C object CMakeFiles/ixy-pktgen.dir/src/driver/virtio.c.o
[ 65%] Building C object CMakeFiles/ixy-pktgen.dir/src/libixy-vfio.c.o
[ 68%] Linking C executable ixy-pktgen
[ 68%] Built target ixy-pktgen
Scanning dependencies of target ixy-fwd
[ 71%] Building C object CMakeFiles/ixy-fwd.dir/src/app/ixy-fwd.c.o
[ 75%] Building C object CMakeFiles/ixy-fwd.dir/src/pci.c.o
[ 78%] Building C object CMakeFiles/ixy-fwd.dir/src/memory.c.o
[ 81%] Building C object CMakeFiles/ixy-fwd.dir/src/stats.c.o
[ 84%] Building C object CMakeFiles/ixy-fwd.dir/src/interrupts.c.o
[ 87%] Building C object CMakeFiles/ixy-fwd.dir/src/driver/device.c.o
[ 90%] Building C object CMakeFiles/ixy-fwd.dir/src/driver/ixgbe.c.o
[ 93%] Building C object CMakeFiles/ixy-fwd.dir/src/driver/virtio.c.o
[ 96%] Building C object CMakeFiles/ixy-fwd.dir/src/libixy-vfio.c.o
[100%] Linking C executable ixy-fwd
[100%] Built target ixy-fwd


$ cd ixy && sudo ./setup-hugetlbfs.sh


$ sudo mv runner /usr/bin/runner


$ sudo build/ixy-fwd $PCI_ADDR_FWD_SRC $PCI_ADDR_FWD_DST
[DEBUG] /home/debian/ixy/src/pci.c:57 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:06.0/config
[DEBUG] /home/debian/ixy/src/pci.c:57 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:06.0/config
[DEBUG] /home/debian/ixy/src/pci.c:57 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:06.0/resource0
[DEBUG] /home/debian/ixy/src/driver/virtio.c:277 virtio_legacy_init(): Configuring bar0
[DEBUG] /home/debian/ixy/src/driver/virtio.c:286 virtio_legacy_init(): Host features: 79ffffef
[DEBUG] /home/debian/ixy/src/driver/virtio.c:296 virtio_legacy_init(): Guest features before negotiation: 0
[DEBUG] /home/debian/ixy/src/driver/virtio.c:298 virtio_legacy_init(): Guest features after negotiation: 8060003
[DEBUG] /home/debian/ixy/src/driver/virtio.c:231 virtio_legacy_setup_rx_queue(): Max queue size of rx queue #0: 256
[DEBUG] /home/debian/ixy/src/driver/virtio.c:236 virtio_legacy_setup_rx_queue(): Notifcation offset 65535
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:240 virtio_legacy_setup_rx_queue(): Allocated 10244 bytes for virt queue at 0x7f8494600000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:246 virtio_legacy_setup_rx_queue(): vring desc: 0x7f8494600000, vring avail: 0x7f8494601000, vring used: 0x7f8494602000
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:57 virtio_legacy_setup_tx_queue(): Max queue size of tx queue #1: 256
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:64 virtio_legacy_setup_tx_queue(): Allocated 10244 bytes for virt queue at 0x7f8494200000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:70 virtio_legacy_setup_tx_queue(): vring desc: 0x7f8494200000, vring avail: 0x7f8494201000, vring used: 0x7f8494202000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:86 virtio_legacy_setup_tx_queue(): vq notifcation offset 65535
[DEBUG] /home/debian/ixy/src/driver/virtio.c:57 virtio_legacy_setup_tx_queue(): Max queue size of tx queue #2: 64
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:64 virtio_legacy_setup_tx_queue(): Allocated 4612 bytes for virt queue at 0x7f8494000000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:70 virtio_legacy_setup_tx_queue(): vring desc: 0x7f8494000000, vring avail: 0x7f8494000400, vring used: 0x7f8494001000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:86 virtio_legacy_setup_tx_queue(): vq notifcation offset 65535
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:127 virtio_legacy_send_command(): Found free desc slot at 0 (64)
[DEBUG] /home/debian/ixy/src/driver/virtio.c:179 virtio_legacy_send_command(): e 0x7f849400100c: id 0 len 0
[DEBUG] /home/debian/ixy/src/pci.c:57 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:07.0/config
[DEBUG] /home/debian/ixy/src/pci.c:57 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:07.0/config
[DEBUG] /home/debian/ixy/src/pci.c:57 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:07.0/resource0
[DEBUG] /home/debian/ixy/src/driver/virtio.c:277 virtio_legacy_init(): Configuring bar0
[DEBUG] /home/debian/ixy/src/driver/virtio.c:286 virtio_legacy_init(): Host features: 79ffffef
[DEBUG] /home/debian/ixy/src/driver/virtio.c:296 virtio_legacy_init(): Guest features before negotiation: 0
[DEBUG] /home/debian/ixy/src/driver/virtio.c:298 virtio_legacy_init(): Guest features after negotiation: 8060003
[DEBUG] /home/debian/ixy/src/driver/virtio.c:231 virtio_legacy_setup_rx_queue(): Max queue size of rx queue #0: 256
[DEBUG] /home/debian/ixy/src/driver/virtio.c:236 virtio_legacy_setup_rx_queue(): Notifcation offset 65535
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:240 virtio_legacy_setup_rx_queue(): Allocated 10244 bytes for virt queue at 0x7f8493c00000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:246 virtio_legacy_setup_rx_queue(): vring desc: 0x7f8493c00000, vring avail: 0x7f8493c01000, vring used: 0x7f8493c02000
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:57 virtio_legacy_setup_tx_queue(): Max queue size of tx queue #1: 256
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:64 virtio_legacy_setup_tx_queue(): Allocated 10244 bytes for virt queue at 0x7f8493800000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:70 virtio_legacy_setup_tx_queue(): vring desc: 0x7f8493800000, vring avail: 0x7f8493801000, vring used: 0x7f8493802000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:86 virtio_legacy_setup_tx_queue(): vq notifcation offset 65535
[DEBUG] /home/debian/ixy/src/driver/virtio.c:57 virtio_legacy_setup_tx_queue(): Max queue size of tx queue #2: 64
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:64 virtio_legacy_setup_tx_queue(): Allocated 4612 bytes for virt queue at 0x7f8493600000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:70 virtio_legacy_setup_tx_queue(): vring desc: 0x7f8493600000, vring avail: 0x7f8493600400, vring used: 0x7f8493601000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:86 virtio_legacy_setup_tx_queue(): vq notifcation offset 65535
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:127 virtio_legacy_send_command(): Found free desc slot at 0 (64)
[DEBUG] /home/debian/ixy/src/driver/virtio.c:179 virtio_legacy_send_command(): e 0x7f849360100c: id 0 len 0
pcap logs
$ sudo apt update

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Get:1 http://deb.debian.org/debian buster InRelease [122 kB]
Get:2 http://security.debian.org buster/updates InRelease [39.1 kB]
Get:3 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
Get:4 http://deb.debian.org/debian buster-backports InRelease [46.7 kB]
Get:5 http://security.debian.org buster/updates/main Sources [75.4 kB]
Get:6 http://security.debian.org buster/updates/main amd64 Packages [97.2 kB]
Get:7 http://security.debian.org buster/updates/main Translation-en [59.6 kB]
Get:8 http://deb.debian.org/debian buster/main Sources [7,832 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 Packages [7,899 kB]
Get:10 http://deb.debian.org/debian buster/main Translation-en [5,967 kB]
Get:11 http://deb.debian.org/debian buster-updates/main Sources [2,544 B]
Get:12 http://deb.debian.org/debian buster-updates/main amd64 Packages [5,792 B]
Get:13 http://deb.debian.org/debian buster-updates/main Translation-en [3,655 B]
Get:14 http://deb.debian.org/debian buster-backports/main Sources [82.8 kB]
Get:15 http://deb.debian.org/debian buster-backports/main amd64 Packages [109 kB]
Get:16 http://deb.debian.org/debian buster-backports/main Translation-en [89.0 kB]
Fetched 22.5 MB in 4s (5,779 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
31 packages can be upgraded. Run 'apt list --upgradable' to see them.


$ sudo apt install -y git

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  git-man libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm6 libldap-2.4-2
  libldap-common libnghttp2-14 libperl5.28 librtmp1 libsasl2-2
  libsasl2-modules libsasl2-modules-db libssh2-1 patch perl perl-modules-5.28
Suggested packages:
  git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk
  gitweb git-cvs git-mediawiki git-svn libsasl2-modules-gssapi-mit
  | libsasl2-modules-gssapi-heimdal libsasl2-modules-ldap libsasl2-modules-otp
  libsasl2-modules-sql ed diffutils-doc perl-doc libterm-readline-gnu-perl
  | libterm-readline-perl-perl make libb-debug-perl liblocale-codes-perl
The following NEW packages will be installed:
  git git-man libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm6
  libldap-2.4-2 libldap-common libnghttp2-14 libperl5.28 librtmp1 libsasl2-2
  libsasl2-modules libsasl2-modules-db libssh2-1 patch perl perl-modules-5.28
0 upgraded, 18 newly installed, 0 to remove and 31 not upgraded.
Need to get 15.7 MB of archives.
After this operation, 87.7 MB of additional disk space will be used.
Get:1 http://security.debian.org buster/updates/main amd64 libnghttp2-14 amd64 1.36.0-2+deb10u1 [85.0 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 perl-modules-5.28 all 5.28.1-6 [2,873 kB]
Get:3 http://deb.debian.org/debian buster/main amd64 libgdbm6 amd64 1.18.1-4 [64.7 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 libgdbm-compat4 amd64 1.18.1-4 [44.1 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 libperl5.28 amd64 5.28.1-6 [3,883 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 perl amd64 5.28.1-6 [204 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 libsasl2-modules-db amd64 2.1.27+dfsg-1 [69.0 kB]
Get:8 http://deb.debian.org/debian buster/main amd64 libsasl2-2 amd64 2.1.27+dfsg-1 [106 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 libldap-common all 2.4.47+dfsg-3+deb10u1 [89.6 kB]
Get:10 http://deb.debian.org/debian buster/main amd64 libldap-2.4-2 amd64 2.4.47+dfsg-3+deb10u1 [225 kB]
Get:11 http://deb.debian.org/debian buster/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2 [60.5 kB]
Get:12 http://deb.debian.org/debian buster/main amd64 libssh2-1 amd64 1.8.0-2.1 [140 kB]
Get:13 http://deb.debian.org/debian buster/main amd64 libcurl3-gnutls amd64 7.64.0-4 [329 kB]
Get:14 http://deb.debian.org/debian buster/main amd64 liberror-perl all 0.17027-2 [30.9 kB]
Get:15 http://deb.debian.org/debian buster/main amd64 git-man all 1:2.20.1-2 [1,619 kB]
Get:16 http://deb.debian.org/debian buster/main amd64 git amd64 1:2.20.1-2 [5,621 kB]
Get:17 http://deb.debian.org/debian buster/main amd64 libsasl2-modules amd64 2.1.27+dfsg-1 [104 kB]
Get:18 http://deb.debian.org/debian buster/main amd64 patch amd64 2.7.6-3+deb10u1 [126 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7, <> line 18.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
Fetched 15.7 MB in 0s (34.0 MB/s)
Selecting previously unselected package perl-modules-5.28.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 26960 files and directories currently installed.)
Preparing to unpack .../00-perl-modules-5.28_5.28.1-6_all.deb ...
Unpacking perl-modules-5.28 (5.28.1-6) ...
Selecting previously unselected package libgdbm6:amd64.
Preparing to unpack .../01-libgdbm6_1.18.1-4_amd64.deb ...
Unpacking libgdbm6:amd64 (1.18.1-4) ...
Selecting previously unselected package libgdbm-compat4:amd64.
Preparing to unpack .../02-libgdbm-compat4_1.18.1-4_amd64.deb ...
Unpacking libgdbm-compat4:amd64 (1.18.1-4) ...
Selecting previously unselected package libperl5.28:amd64.
Preparing to unpack .../03-libperl5.28_5.28.1-6_amd64.deb ...
Unpacking libperl5.28:amd64 (5.28.1-6) ...
Selecting previously unselected package perl.
Preparing to unpack .../04-perl_5.28.1-6_amd64.deb ...
Unpacking perl (5.28.1-6) ...
Selecting previously unselected package libsasl2-modules-db:amd64.
Preparing to unpack .../05-libsasl2-modules-db_2.1.27+dfsg-1_amd64.deb ...
Unpacking libsasl2-modules-db:amd64 (2.1.27+dfsg-1) ...
Selecting previously unselected package libsasl2-2:amd64.
Preparing to unpack .../06-libsasl2-2_2.1.27+dfsg-1_amd64.deb ...
Unpacking libsasl2-2:amd64 (2.1.27+dfsg-1) ...
Selecting previously unselected package libldap-common.
Preparing to unpack .../07-libldap-common_2.4.47+dfsg-3+deb10u1_all.deb ...
Unpacking libldap-common (2.4.47+dfsg-3+deb10u1) ...
Selecting previously unselected package libldap-2.4-2:amd64.
Preparing to unpack .../08-libldap-2.4-2_2.4.47+dfsg-3+deb10u1_amd64.deb ...
Unpacking libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u1) ...
Selecting previously unselected package libnghttp2-14:amd64.
Preparing to unpack .../09-libnghttp2-14_1.36.0-2+deb10u1_amd64.deb ...
Unpacking libnghttp2-14:amd64 (1.36.0-2+deb10u1) ...
Selecting previously unselected package librtmp1:amd64.
Preparing to unpack .../10-librtmp1_2.4+20151223.gitfa8646d.1-2_amd64.deb ...
Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2) ...
Selecting previously unselected package libssh2-1:amd64.
Preparing to unpack .../11-libssh2-1_1.8.0-2.1_amd64.deb ...
Unpacking libssh2-1:amd64 (1.8.0-2.1) ...
Selecting previously unselected package libcurl3-gnutls:amd64.
Preparing to unpack .../12-libcurl3-gnutls_7.64.0-4_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.64.0-4) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../13-liberror-perl_0.17027-2_all.deb ...
Unpacking liberror-perl (0.17027-2) ...
Selecting previously unselected package git-man.
Preparing to unpack .../14-git-man_1%3a2.20.1-2_all.deb ...
Unpacking git-man (1:2.20.1-2) ...
Selecting previously unselected package git.
Preparing to unpack .../15-git_1%3a2.20.1-2_amd64.deb ...
Unpacking git (1:2.20.1-2) ...
Selecting previously unselected package libsasl2-modules:amd64.
Preparing to unpack .../16-libsasl2-modules_2.1.27+dfsg-1_amd64.deb ...
Unpacking libsasl2-modules:amd64 (2.1.27+dfsg-1) ...
Selecting previously unselected package patch.
Preparing to unpack .../17-patch_2.7.6-3+deb10u1_amd64.deb ...
Unpacking patch (2.7.6-3+deb10u1) ...
Setting up perl-modules-5.28 (5.28.1-6) ...
Setting up libsasl2-modules:amd64 (2.1.27+dfsg-1) ...
Setting up libnghttp2-14:amd64 (1.36.0-2+deb10u1) ...
Setting up libldap-common (2.4.47+dfsg-3+deb10u1) ...
Setting up libsasl2-modules-db:amd64 (2.1.27+dfsg-1) ...
Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2) ...
Setting up patch (2.7.6-3+deb10u1) ...
Setting up libsasl2-2:amd64 (2.1.27+dfsg-1) ...
Setting up git-man (1:2.20.1-2) ...
Setting up libssh2-1:amd64 (1.8.0-2.1) ...
Setting up libgdbm6:amd64 (1.18.1-4) ...
Setting up libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u1) ...
Setting up libcurl3-gnutls:amd64 (7.64.0-4) ...
Setting up libgdbm-compat4:amd64 (1.18.1-4) ...
Setting up libperl5.28:amd64 (5.28.1-6) ...
Setting up perl (5.28.1-6) ...
Setting up liberror-perl (0.17027-2) ...
Setting up git (1:2.20.1-2) ...
Processing triggers for libc-bin (2.28-10) ...


$ git clone https://github.com/bobo1239/ixy --branch ci --single-branch --recurse-submodules
Cloning into 'ixy'...


$ cd ixy && sudo apt install -y cmake gcc

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu cmake-data cpp cpp-8
  gcc-8 libarchive13 libasan5 libatomic1 libbinutils libc-dev-bin libc6-dev
  libcc1-0 libcurl4 libgcc-8-dev libgomp1 libisl19 libitm1 libjsoncpp1
  liblsan0 libmpc3 libmpfr6 libmpx2 libquadmath0 librhash0 libtsan0 libubsan1
  libuv1 linux-libc-dev make manpages manpages-dev
Suggested packages:
  binutils-doc cmake-doc ninja-build cpp-doc gcc-8-locales gcc-multilib
  autoconf automake libtool flex bison gdb gcc-doc gcc-8-multilib gcc-8-doc
  libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan5-dbg
  liblsan0-dbg libtsan0-dbg libubsan1-dbg libmpx2-dbg libquadmath0-dbg lrzip
  glibc-doc make-doc man-browser
The following NEW packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu cmake cmake-data cpp
  cpp-8 gcc gcc-8 libarchive13 libasan5 libatomic1 libbinutils libc-dev-bin
  libc6-dev libcc1-0 libcurl4 libgcc-8-dev libgomp1 libisl19 libitm1
  libjsoncpp1 liblsan0 libmpc3 libmpfr6 libmpx2 libquadmath0 librhash0
  libtsan0 libubsan1 libuv1 linux-libc-dev make manpages manpages-dev
0 upgraded, 35 newly installed, 0 to remove and 31 not upgraded.
Need to get 41.7 MB of archives.
After this operation, 164 MB of additional disk space will be used.
Get:1 http://security.debian.org buster/updates/main amd64 linux-libc-dev amd64 4.19.67-2+deb10u1 [1,233 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 manpages all 4.16-2 [1,295 kB]
Get:3 http://deb.debian.org/debian buster/main amd64 binutils-common amd64 2.31.1-16 [2,073 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 libbinutils amd64 2.31.1-16 [478 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 binutils-x86-64-linux-gnu amd64 2.31.1-16 [1,823 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 binutils amd64 2.31.1-16 [56.8 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 cmake-data all 3.13.4-1 [1,476 kB]
Get:8 http://deb.debian.org/debian buster/main amd64 libarchive13 amd64 3.3.3-4 [314 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 libcurl4 amd64 7.64.0-4 [332 kB]
Get:10 http://deb.debian.org/debian buster/main amd64 libjsoncpp1 amd64 1.7.4-3 [75.6 kB]
Get:11 http://deb.debian.org/debian buster/main amd64 librhash0 amd64 1.3.8-1 [122 kB]
Get:12 http://deb.debian.org/debian buster/main amd64 libuv1 amd64 1.24.1-1 [110 kB]
Get:13 http://deb.debian.org/debian buster/main amd64 cmake amd64 3.13.4-1 [3,480 kB]
Get:14 http://deb.debian.org/debian buster/main amd64 libisl19 amd64 0.20-2 [587 kB]
Get:15 http://deb.debian.org/debian buster/main amd64 libmpfr6 amd64 4.0.2-1 [775 kB]
Get:16 http://deb.debian.org/debian buster/main amd64 libmpc3 amd64 1.1.0-1 [41.3 kB]
Get:17 http://deb.debian.org/debian buster/main amd64 cpp-8 amd64 8.3.0-6 [8,914 kB]
Get:18 http://deb.debian.org/debian buster/main amd64 cpp amd64 4:8.3.0-1 [19.4 kB]
Get:19 http://deb.debian.org/debian buster/main amd64 libcc1-0 amd64 8.3.0-6 [46.6 kB]
Get:20 http://deb.debian.org/debian buster/main amd64 libgomp1 amd64 8.3.0-6 [75.8 kB]
Get:21 http://deb.debian.org/debian buster/main amd64 libitm1 amd64 8.3.0-6 [27.7 kB]
Get:22 http://deb.debian.org/debian buster/main amd64 libatomic1 amd64 8.3.0-6 [9,032 B]
Get:23 http://deb.debian.org/debian buster/main amd64 libasan5 amd64 8.3.0-6 [362 kB]
Get:24 http://deb.debian.org/debian buster/main amd64 liblsan0 amd64 8.3.0-6 [131 kB]
Get:25 http://deb.debian.org/debian buster/main amd64 libtsan0 amd64 8.3.0-6 [283 kB]
Get:26 http://deb.debian.org/debian buster/main amd64 libubsan1 amd64 8.3.0-6 [120 kB]
Get:27 http://deb.debian.org/debian buster/main amd64 libmpx2 amd64 8.3.0-6 [11.4 kB]
Get:28 http://deb.debian.org/debian buster/main amd64 libquadmath0 amd64 8.3.0-6 [133 kB]
Get:29 http://deb.debian.org/debian buster/main amd64 libgcc-8-dev amd64 8.3.0-6 [2,298 kB]
Get:30 http://deb.debian.org/debian buster/main amd64 gcc-8 amd64 8.3.0-6 [9,452 kB]
Get:31 http://deb.debian.org/debian buster/main amd64 gcc amd64 4:8.3.0-1 [5,196 B]
Get:32 http://deb.debian.org/debian buster/main amd64 libc-dev-bin amd64 2.28-10 [275 kB]
Get:33 http://deb.debian.org/debian buster/main amd64 libc6-dev amd64 2.28-10 [2,691 kB]
Get:34 http://deb.debian.org/debian buster/main amd64 make amd64 4.2.1-1.2 [341 kB]
Get:35 http://deb.debian.org/debian buster/main amd64 manpages-dev all 4.16-2 [2,232 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
Fetched 41.7 MB in 1s (39.9 MB/s)
Selecting previously unselected package manpages.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 29934 files and directories currently installed.)
Preparing to unpack .../00-manpages_4.16-2_all.deb ...
Unpacking manpages (4.16-2) ...
Selecting previously unselected package binutils-common:amd64.
Preparing to unpack .../01-binutils-common_2.31.1-16_amd64.deb ...
Unpacking binutils-common:amd64 (2.31.1-16) ...
Selecting previously unselected package libbinutils:amd64.
Preparing to unpack .../02-libbinutils_2.31.1-16_amd64.deb ...
Unpacking libbinutils:amd64 (2.31.1-16) ...
Selecting previously unselected package binutils-x86-64-linux-gnu.
Preparing to unpack .../03-binutils-x86-64-linux-gnu_2.31.1-16_amd64.deb ...
Unpacking binutils-x86-64-linux-gnu (2.31.1-16) ...
Selecting previously unselected package binutils.
Preparing to unpack .../04-binutils_2.31.1-16_amd64.deb ...
Unpacking binutils (2.31.1-16) ...
Selecting previously unselected package cmake-data.
Preparing to unpack .../05-cmake-data_3.13.4-1_all.deb ...
Unpacking cmake-data (3.13.4-1) ...
Selecting previously unselected package libarchive13:amd64.
Preparing to unpack .../06-libarchive13_3.3.3-4_amd64.deb ...
Unpacking libarchive13:amd64 (3.3.3-4) ...
Selecting previously unselected package libcurl4:amd64.
Preparing to unpack .../07-libcurl4_7.64.0-4_amd64.deb ...
Unpacking libcurl4:amd64 (7.64.0-4) ...
Selecting previously unselected package libjsoncpp1:amd64.
Preparing to unpack .../08-libjsoncpp1_1.7.4-3_amd64.deb ...
Unpacking libjsoncpp1:amd64 (1.7.4-3) ...
Selecting previously unselected package librhash0:amd64.
Preparing to unpack .../09-librhash0_1.3.8-1_amd64.deb ...
Unpacking librhash0:amd64 (1.3.8-1) ...
Selecting previously unselected package libuv1:amd64.
Preparing to unpack .../10-libuv1_1.24.1-1_amd64.deb ...
Unpacking libuv1:amd64 (1.24.1-1) ...
Selecting previously unselected package cmake.
Preparing to unpack .../11-cmake_3.13.4-1_amd64.deb ...
Unpacking cmake (3.13.4-1) ...
Selecting previously unselected package libisl19:amd64.
Preparing to unpack .../12-libisl19_0.20-2_amd64.deb ...
Unpacking libisl19:amd64 (0.20-2) ...
Selecting previously unselected package libmpfr6:amd64.
Preparing to unpack .../13-libmpfr6_4.0.2-1_amd64.deb ...
Unpacking libmpfr6:amd64 (4.0.2-1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../14-libmpc3_1.1.0-1_amd64.deb ...
Unpacking libmpc3:amd64 (1.1.0-1) ...
Selecting previously unselected package cpp-8.
Preparing to unpack .../15-cpp-8_8.3.0-6_amd64.deb ...
Unpacking cpp-8 (8.3.0-6) ...
Selecting previously unselected package cpp.
Preparing to unpack .../16-cpp_4%3a8.3.0-1_amd64.deb ...
Unpacking cpp (4:8.3.0-1) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../17-libcc1-0_8.3.0-6_amd64.deb ...
Unpacking libcc1-0:amd64 (8.3.0-6) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../18-libgomp1_8.3.0-6_amd64.deb ...
Unpacking libgomp1:amd64 (8.3.0-6) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../19-libitm1_8.3.0-6_amd64.deb ...
Unpacking libitm1:amd64 (8.3.0-6) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../20-libatomic1_8.3.0-6_amd64.deb ...
Unpacking libatomic1:amd64 (8.3.0-6) ...
Selecting previously unselected package libasan5:amd64.
Preparing to unpack .../21-libasan5_8.3.0-6_amd64.deb ...
Unpacking libasan5:amd64 (8.3.0-6) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../22-liblsan0_8.3.0-6_amd64.deb ...
Unpacking liblsan0:amd64 (8.3.0-6) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../23-libtsan0_8.3.0-6_amd64.deb ...
Unpacking libtsan0:amd64 (8.3.0-6) ...
Selecting previously unselected package libubsan1:amd64.
Preparing to unpack .../24-libubsan1_8.3.0-6_amd64.deb ...
Unpacking libubsan1:amd64 (8.3.0-6) ...
Selecting previously unselected package libmpx2:amd64.
Preparing to unpack .../25-libmpx2_8.3.0-6_amd64.deb ...
Unpacking libmpx2:amd64 (8.3.0-6) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../26-libquadmath0_8.3.0-6_amd64.deb ...
Unpacking libquadmath0:amd64 (8.3.0-6) ...
Selecting previously unselected package libgcc-8-dev:amd64.
Preparing to unpack .../27-libgcc-8-dev_8.3.0-6_amd64.deb ...
Unpacking libgcc-8-dev:amd64 (8.3.0-6) ...
Selecting previously unselected package gcc-8.
Preparing to unpack .../28-gcc-8_8.3.0-6_amd64.deb ...
Unpacking gcc-8 (8.3.0-6) ...
Selecting previously unselected package gcc.
Preparing to unpack .../29-gcc_4%3a8.3.0-1_amd64.deb ...
Unpacking gcc (4:8.3.0-1) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../30-libc-dev-bin_2.28-10_amd64.deb ...
Unpacking libc-dev-bin (2.28-10) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../31-linux-libc-dev_4.19.67-2+deb10u1_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.19.67-2+deb10u1) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../32-libc6-dev_2.28-10_amd64.deb ...
Unpacking libc6-dev:amd64 (2.28-10) ...
Selecting previously unselected package make.
Preparing to unpack .../33-make_4.2.1-1.2_amd64.deb ...
Unpacking make (4.2.1-1.2) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../34-manpages-dev_4.16-2_all.deb ...
Unpacking manpages-dev (4.16-2) ...
Setting up libarchive13:amd64 (3.3.3-4) ...
Setting up manpages (4.16-2) ...
Setting up binutils-common:amd64 (2.31.1-16) ...
Setting up linux-libc-dev:amd64 (4.19.67-2+deb10u1) ...
Setting up libgomp1:amd64 (8.3.0-6) ...
Setting up libasan5:amd64 (8.3.0-6) ...
Setting up libuv1:amd64 (1.24.1-1) ...
Setting up make (4.2.1-1.2) ...
Setting up libmpfr6:amd64 (4.0.2-1) ...
Setting up libquadmath0:amd64 (8.3.0-6) ...
Setting up libmpc3:amd64 (1.1.0-1) ...
Setting up libatomic1:amd64 (8.3.0-6) ...
Setting up libmpx2:amd64 (8.3.0-6) ...
Setting up libubsan1:amd64 (8.3.0-6) ...
Setting up libisl19:amd64 (0.20-2) ...
Setting up librhash0:amd64 (1.3.8-1) ...
Setting up libcurl4:amd64 (7.64.0-4) ...
Setting up cmake-data (3.13.4-1) ...
Setting up libbinutils:amd64 (2.31.1-16) ...
Setting up cpp-8 (8.3.0-6) ...
Setting up libc-dev-bin (2.28-10) ...
Setting up libcc1-0:amd64 (8.3.0-6) ...
Setting up liblsan0:amd64 (8.3.0-6) ...
Setting up libitm1:amd64 (8.3.0-6) ...
Setting up libjsoncpp1:amd64 (1.7.4-3) ...
Setting up binutils-x86-64-linux-gnu (2.31.1-16) ...
Setting up libtsan0:amd64 (8.3.0-6) ...
Setting up manpages-dev (4.16-2) ...
Setting up binutils (2.31.1-16) ...
Setting up libgcc-8-dev:amd64 (8.3.0-6) ...
Setting up cpp (4:8.3.0-1) ...
Setting up cmake (3.13.4-1) ...
Setting up libc6-dev:amd64 (2.28-10) ...
Setting up gcc-8 (8.3.0-6) ...
Setting up gcc (4:8.3.0-1) ...
Processing triggers for libc-bin (2.28-10) ...


$ cd ixy && mkdir build


$ cd ixy && cd build && cmake ..
-- The C compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/debian/ixy/build


$ cd ixy && cd build && make
Scanning dependencies of target ixy-vfio
[  3%] Building C object CMakeFiles/ixy-vfio.dir/src/libixy-vfio.c.o
[  6%] Linking C shared library libixy-vfio.so
[  6%] Built target ixy-vfio
Scanning dependencies of target ixy-pcap
[  9%] Building C object CMakeFiles/ixy-pcap.dir/src/app/ixy-pcap.c.o
[ 12%] Building C object CMakeFiles/ixy-pcap.dir/src/pci.c.o
[ 15%] Building C object CMakeFiles/ixy-pcap.dir/src/memory.c.o
[ 18%] Building C object CMakeFiles/ixy-pcap.dir/src/stats.c.o
[ 21%] Building C object CMakeFiles/ixy-pcap.dir/src/interrupts.c.o
[ 25%] Building C object CMakeFiles/ixy-pcap.dir/src/driver/device.c.o
[ 28%] Building C object CMakeFiles/ixy-pcap.dir/src/driver/ixgbe.c.o
[ 31%] Building C object CMakeFiles/ixy-pcap.dir/src/driver/virtio.c.o
[ 34%] Building C object CMakeFiles/ixy-pcap.dir/src/libixy-vfio.c.o
[ 37%] Linking C executable ixy-pcap
[ 37%] Built target ixy-pcap
Scanning dependencies of target ixy-pktgen
[ 40%] Building C object CMakeFiles/ixy-pktgen.dir/src/app/ixy-pktgen.c.o
[ 43%] Building C object CMakeFiles/ixy-pktgen.dir/src/pci.c.o
[ 46%] Building C object CMakeFiles/ixy-pktgen.dir/src/memory.c.o
[ 50%] Building C object CMakeFiles/ixy-pktgen.dir/src/stats.c.o
[ 53%] Building C object CMakeFiles/ixy-pktgen.dir/src/interrupts.c.o
[ 56%] Building C object CMakeFiles/ixy-pktgen.dir/src/driver/device.c.o
[ 59%] Building C object CMakeFiles/ixy-pktgen.dir/src/driver/ixgbe.c.o
[ 62%] Building C object CMakeFiles/ixy-pktgen.dir/src/driver/virtio.c.o
[ 65%] Building C object CMakeFiles/ixy-pktgen.dir/src/libixy-vfio.c.o
[ 68%] Linking C executable ixy-pktgen
[ 68%] Built target ixy-pktgen
Scanning dependencies of target ixy-fwd
[ 71%] Building C object CMakeFiles/ixy-fwd.dir/src/app/ixy-fwd.c.o
[ 75%] Building C object CMakeFiles/ixy-fwd.dir/src/pci.c.o
[ 78%] Building C object CMakeFiles/ixy-fwd.dir/src/memory.c.o
[ 81%] Building C object CMakeFiles/ixy-fwd.dir/src/stats.c.o
[ 84%] Building C object CMakeFiles/ixy-fwd.dir/src/interrupts.c.o
[ 87%] Building C object CMakeFiles/ixy-fwd.dir/src/driver/device.c.o
[ 90%] Building C object CMakeFiles/ixy-fwd.dir/src/driver/ixgbe.c.o
[ 93%] Building C object CMakeFiles/ixy-fwd.dir/src/driver/virtio.c.o
[ 96%] Building C object CMakeFiles/ixy-fwd.dir/src/libixy-vfio.c.o
[100%] Linking C executable ixy-fwd
[100%] Built target ixy-fwd


$ cd ixy && sudo ./setup-hugetlbfs.sh


$ sudo mv runner /usr/bin/runner


$ sudo build/ixy-pcap $PCI_ADDR_PCAP $PCAP_OUT $PCAP_N
[DEBUG] /home/debian/ixy/src/pci.c:57 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:06.0/config
[DEBUG] /home/debian/ixy/src/pci.c:57 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:06.0/config
[DEBUG] /home/debian/ixy/src/pci.c:57 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:06.0/resource0
[DEBUG] /home/debian/ixy/src/driver/virtio.c:277 virtio_legacy_init(): Configuring bar0
[DEBUG] /home/debian/ixy/src/driver/virtio.c:286 virtio_legacy_init(): Host features: 79ffffef
[DEBUG] /home/debian/ixy/src/driver/virtio.c:296 virtio_legacy_init(): Guest features before negotiation: 0
[DEBUG] /home/debian/ixy/src/driver/virtio.c:298 virtio_legacy_init(): Guest features after negotiation: 8060003
[DEBUG] /home/debian/ixy/src/driver/virtio.c:231 virtio_legacy_setup_rx_queue(): Max queue size of rx queue #0: 256
[DEBUG] /home/debian/ixy/src/driver/virtio.c:236 virtio_legacy_setup_rx_queue(): Notifcation offset 65535
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:240 virtio_legacy_setup_rx_queue(): Allocated 10244 bytes for virt queue at 0x7fec29a00000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:246 virtio_legacy_setup_rx_queue(): vring desc: 0x7fec29a00000, vring avail: 0x7fec29a01000, vring used: 0x7fec29a02000
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:57 virtio_legacy_setup_tx_queue(): Max queue size of tx queue #1: 256
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:64 virtio_legacy_setup_tx_queue(): Allocated 10244 bytes for virt queue at 0x7fec29600000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:70 virtio_legacy_setup_tx_queue(): vring desc: 0x7fec29600000, vring avail: 0x7fec29601000, vring used: 0x7fec29602000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:86 virtio_legacy_setup_tx_queue(): vq notifcation offset 65535
[DEBUG] /home/debian/ixy/src/driver/virtio.c:57 virtio_legacy_setup_tx_queue(): Max queue size of tx queue #2: 64
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:64 virtio_legacy_setup_tx_queue(): Allocated 4612 bytes for virt queue at 0x7fec29400000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:70 virtio_legacy_setup_tx_queue(): vring desc: 0x7fec29400000, vring avail: 0x7fec29400400, vring used: 0x7fec29401000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:86 virtio_legacy_setup_tx_queue(): vq notifcation offset 65535
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:127 virtio_legacy_send_command(): Found free desc slot at 0 (64)
[DEBUG] /home/debian/ixy/src/driver/virtio.c:179 virtio_legacy_send_command(): e 0x7fec2940100c: id 0 len 0
[INFO ] /home/debian/ixy/src/driver/virtio.c:360 virtio_init(): Detected virtio legacy network card
[INFO ] /home/debian/ixy/src/driver/virtio.c:307 virtio_legacy_init(): Setup complete
[INFO ] /home/debian/ixy/src/driver/virtio.c:205 virtio_legacy_set_promiscuous(): Set promisc to 1
Capturing 100000 packets...

@emmericp
Copy link
Owner

emmericp commented Oct 6, 2019

Cool

Copy link
Owner

@emmericp emmericp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please change indent from spaces to tabs to be consistent with the other code in the repo

src/app/ixy-pcap.c Outdated Show resolved Hide resolved
Copy link
Owner

@emmericp emmericp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you want me to squash it into a single commit or do you want separate commits? please rebase and squash into a few commits if you want more than one commit

src/app/ixy-pcap.c Outdated Show resolved Hide resolved
@Bobo1239
Copy link
Contributor Author

Bobo1239 commented Oct 9, 2019

Let's just squash it into a single commit.

I'd also suggest to integrate ixy-ci into this repository while we're at it. See here for how to set up the webhook.

@emmericp
Copy link
Owner

emmericp commented Nov 4, 2019

@ixy-ci test

1 similar comment
@emmericp
Copy link
Owner

emmericp commented Nov 4, 2019

@ixy-ci test

@emmericp emmericp merged commit 02eafc8 into emmericp:master Nov 4, 2019
@ixy-ci
Copy link

ixy-ci commented Nov 4, 2019

Test passed!

pktgen logs
$ sudo apt update

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Get:1 http://security.debian.org buster/updates InRelease [39.1 kB]
Hit:2 http://deb.debian.org/debian buster InRelease
Get:3 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
Get:4 http://deb.debian.org/debian buster-backports InRelease [46.7 kB]
Get:5 http://security.debian.org buster/updates/main Sources [83.8 kB]
Get:6 http://security.debian.org buster/updates/main amd64 Packages [112 kB]
Get:7 http://security.debian.org buster/updates/main Translation-en [68.0 kB]
Get:8 http://deb.debian.org/debian buster-backports/main Sources [103 kB]
Get:9 http://deb.debian.org/debian buster-backports/main amd64 Packages [126 kB]
Get:10 http://deb.debian.org/debian buster-backports/main Translation-en [104 kB]
Fetched 732 kB in 1s (658 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
3 packages can be upgraded. Run 'apt list --upgradable' to see them.


$ sudo apt install -y git

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  git-man libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm6 libldap-2.4-2
  libldap-common libnghttp2-14 libperl5.28 librtmp1 libsasl2-2
  libsasl2-modules libsasl2-modules-db libssh2-1 patch perl perl-modules-5.28
Suggested packages:
  git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk
  gitweb git-cvs git-mediawiki git-svn libsasl2-modules-gssapi-mit
  | libsasl2-modules-gssapi-heimdal libsasl2-modules-ldap libsasl2-modules-otp
  libsasl2-modules-sql ed diffutils-doc perl-doc libterm-readline-gnu-perl
  | libterm-readline-perl-perl make libb-debug-perl liblocale-codes-perl
The following NEW packages will be installed:
  git git-man libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm6
  libldap-2.4-2 libldap-common libnghttp2-14 libperl5.28 librtmp1 libsasl2-2
  libsasl2-modules libsasl2-modules-db libssh2-1 patch perl perl-modules-5.28
0 upgraded, 18 newly installed, 0 to remove and 3 not upgraded.
Need to get 15.7 MB of archives.
After this operation, 87.7 MB of additional disk space will be used.
Get:1 http://security.debian.org buster/updates/main amd64 libnghttp2-14 amd64 1.36.0-2+deb10u1 [85.0 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 perl-modules-5.28 all 5.28.1-6 [2,873 kB]
Get:3 http://deb.debian.org/debian buster/main amd64 libgdbm6 amd64 1.18.1-4 [64.7 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 libgdbm-compat4 amd64 1.18.1-4 [44.1 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 libperl5.28 amd64 5.28.1-6 [3,883 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 perl amd64 5.28.1-6 [204 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 libsasl2-modules-db amd64 2.1.27+dfsg-1 [69.0 kB]
Get:8 http://deb.debian.org/debian buster/main amd64 libsasl2-2 amd64 2.1.27+dfsg-1 [106 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 libldap-common all 2.4.47+dfsg-3+deb10u1 [89.6 kB]
Get:10 http://deb.debian.org/debian buster/main amd64 libldap-2.4-2 amd64 2.4.47+dfsg-3+deb10u1 [225 kB]
Get:11 http://deb.debian.org/debian buster/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2 [60.5 kB]
Get:12 http://deb.debian.org/debian buster/main amd64 libssh2-1 amd64 1.8.0-2.1 [140 kB]
Get:13 http://deb.debian.org/debian buster/main amd64 libcurl3-gnutls amd64 7.64.0-4 [329 kB]
Get:14 http://deb.debian.org/debian buster/main amd64 liberror-perl all 0.17027-2 [30.9 kB]
Get:15 http://deb.debian.org/debian buster/main amd64 git-man all 1:2.20.1-2 [1,619 kB]
Get:16 http://deb.debian.org/debian buster/main amd64 git amd64 1:2.20.1-2 [5,621 kB]
Get:17 http://deb.debian.org/debian buster/main amd64 libsasl2-modules amd64 2.1.27+dfsg-1 [104 kB]
Get:18 http://deb.debian.org/debian buster/main amd64 patch amd64 2.7.6-3+deb10u1 [126 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7, <> line 18.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
Fetched 15.7 MB in 0s (34.4 MB/s)
Selecting previously unselected package perl-modules-5.28.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 26960 files and directories currently installed.)
Preparing to unpack .../00-perl-modules-5.28_5.28.1-6_all.deb ...
Unpacking perl-modules-5.28 (5.28.1-6) ...
Selecting previously unselected package libgdbm6:amd64.
Preparing to unpack .../01-libgdbm6_1.18.1-4_amd64.deb ...
Unpacking libgdbm6:amd64 (1.18.1-4) ...
Selecting previously unselected package libgdbm-compat4:amd64.
Preparing to unpack .../02-libgdbm-compat4_1.18.1-4_amd64.deb ...
Unpacking libgdbm-compat4:amd64 (1.18.1-4) ...
Selecting previously unselected package libperl5.28:amd64.
Preparing to unpack .../03-libperl5.28_5.28.1-6_amd64.deb ...
Unpacking libperl5.28:amd64 (5.28.1-6) ...
Selecting previously unselected package perl.
Preparing to unpack .../04-perl_5.28.1-6_amd64.deb ...
Unpacking perl (5.28.1-6) ...
Selecting previously unselected package libsasl2-modules-db:amd64.
Preparing to unpack .../05-libsasl2-modules-db_2.1.27+dfsg-1_amd64.deb ...
Unpacking libsasl2-modules-db:amd64 (2.1.27+dfsg-1) ...
Selecting previously unselected package libsasl2-2:amd64.
Preparing to unpack .../06-libsasl2-2_2.1.27+dfsg-1_amd64.deb ...
Unpacking libsasl2-2:amd64 (2.1.27+dfsg-1) ...
Selecting previously unselected package libldap-common.
Preparing to unpack .../07-libldap-common_2.4.47+dfsg-3+deb10u1_all.deb ...
Unpacking libldap-common (2.4.47+dfsg-3+deb10u1) ...
Selecting previously unselected package libldap-2.4-2:amd64.
Preparing to unpack .../08-libldap-2.4-2_2.4.47+dfsg-3+deb10u1_amd64.deb ...
Unpacking libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u1) ...
Selecting previously unselected package libnghttp2-14:amd64.
Preparing to unpack .../09-libnghttp2-14_1.36.0-2+deb10u1_amd64.deb ...
Unpacking libnghttp2-14:amd64 (1.36.0-2+deb10u1) ...
Selecting previously unselected package librtmp1:amd64.
Preparing to unpack .../10-librtmp1_2.4+20151223.gitfa8646d.1-2_amd64.deb ...
Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2) ...
Selecting previously unselected package libssh2-1:amd64.
Preparing to unpack .../11-libssh2-1_1.8.0-2.1_amd64.deb ...
Unpacking libssh2-1:amd64 (1.8.0-2.1) ...
Selecting previously unselected package libcurl3-gnutls:amd64.
Preparing to unpack .../12-libcurl3-gnutls_7.64.0-4_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.64.0-4) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../13-liberror-perl_0.17027-2_all.deb ...
Unpacking liberror-perl (0.17027-2) ...
Selecting previously unselected package git-man.
Preparing to unpack .../14-git-man_1%3a2.20.1-2_all.deb ...
Unpacking git-man (1:2.20.1-2) ...
Selecting previously unselected package git.
Preparing to unpack .../15-git_1%3a2.20.1-2_amd64.deb ...
Unpacking git (1:2.20.1-2) ...
Selecting previously unselected package libsasl2-modules:amd64.
Preparing to unpack .../16-libsasl2-modules_2.1.27+dfsg-1_amd64.deb ...
Unpacking libsasl2-modules:amd64 (2.1.27+dfsg-1) ...
Selecting previously unselected package patch.
Preparing to unpack .../17-patch_2.7.6-3+deb10u1_amd64.deb ...
Unpacking patch (2.7.6-3+deb10u1) ...
Setting up perl-modules-5.28 (5.28.1-6) ...
Setting up libsasl2-modules:amd64 (2.1.27+dfsg-1) ...
Setting up libnghttp2-14:amd64 (1.36.0-2+deb10u1) ...
Setting up libldap-common (2.4.47+dfsg-3+deb10u1) ...
Setting up libsasl2-modules-db:amd64 (2.1.27+dfsg-1) ...
Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2) ...
Setting up patch (2.7.6-3+deb10u1) ...
Setting up libsasl2-2:amd64 (2.1.27+dfsg-1) ...
Setting up git-man (1:2.20.1-2) ...
Setting up libssh2-1:amd64 (1.8.0-2.1) ...
Setting up libgdbm6:amd64 (1.18.1-4) ...
Setting up libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u1) ...
Setting up libcurl3-gnutls:amd64 (7.64.0-4) ...
Setting up libgdbm-compat4:amd64 (1.18.1-4) ...
Setting up libperl5.28:amd64 (5.28.1-6) ...
Setting up perl (5.28.1-6) ...
Setting up liberror-perl (0.17027-2) ...
Setting up git (1:2.20.1-2) ...
Processing triggers for libc-bin (2.28-10) ...


$ git clone https://github.com/Bobo1239/ixy --branch ci --single-branch --recurse-submodules
Cloning into 'ixy'...


$ cd ixy && sudo apt-get install -y cmake gcc
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu cmake-data cpp cpp-8
  gcc-8 libarchive13 libasan5 libatomic1 libbinutils libc-dev-bin libc6-dev
  libcc1-0 libcurl4 libgcc-8-dev libgomp1 libisl19 libitm1 libjsoncpp1
  liblsan0 libmpc3 libmpfr6 libmpx2 libquadmath0 librhash0 libtsan0 libubsan1
  libuv1 linux-libc-dev make manpages manpages-dev
Suggested packages:
  binutils-doc cmake-doc ninja-build cpp-doc gcc-8-locales gcc-multilib
  autoconf automake libtool flex bison gdb gcc-doc gcc-8-multilib gcc-8-doc
  libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan5-dbg
  liblsan0-dbg libtsan0-dbg libubsan1-dbg libmpx2-dbg libquadmath0-dbg lrzip
  glibc-doc make-doc man-browser
The following NEW packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu cmake cmake-data cpp
  cpp-8 gcc gcc-8 libarchive13 libasan5 libatomic1 libbinutils libc-dev-bin
  libc6-dev libcc1-0 libcurl4 libgcc-8-dev libgomp1 libisl19 libitm1
  libjsoncpp1 liblsan0 libmpc3 libmpfr6 libmpx2 libquadmath0 librhash0
  libtsan0 libubsan1 libuv1 linux-libc-dev make manpages manpages-dev
0 upgraded, 35 newly installed, 0 to remove and 3 not upgraded.
Need to get 41.7 MB of archives.
After this operation, 164 MB of additional disk space will be used.
Get:1 http://security.debian.org buster/updates/main amd64 libarchive13 amd64 3.3.3-4+deb10u1 [313 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 manpages all 4.16-2 [1,295 kB]
Get:3 http://security.debian.org buster/updates/main amd64 linux-libc-dev amd64 4.19.67-2+deb10u1 [1,233 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 binutils-common amd64 2.31.1-16 [2,073 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 libbinutils amd64 2.31.1-16 [478 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 binutils-x86-64-linux-gnu amd64 2.31.1-16 [1,823 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 binutils amd64 2.31.1-16 [56.8 kB]
Get:8 http://deb.debian.org/debian buster/main amd64 cmake-data all 3.13.4-1 [1,476 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 libcurl4 amd64 7.64.0-4 [332 kB]
Get:10 http://deb.debian.org/debian buster/main amd64 libjsoncpp1 amd64 1.7.4-3 [75.6 kB]
Get:11 http://deb.debian.org/debian buster/main amd64 librhash0 amd64 1.3.8-1 [122 kB]
Get:12 http://deb.debian.org/debian buster/main amd64 libuv1 amd64 1.24.1-1 [110 kB]
Get:13 http://deb.debian.org/debian buster/main amd64 cmake amd64 3.13.4-1 [3,480 kB]
Get:14 http://deb.debian.org/debian buster/main amd64 libisl19 amd64 0.20-2 [587 kB]
Get:15 http://deb.debian.org/debian buster/main amd64 libmpfr6 amd64 4.0.2-1 [775 kB]
Get:16 http://deb.debian.org/debian buster/main amd64 libmpc3 amd64 1.1.0-1 [41.3 kB]
Get:17 http://deb.debian.org/debian buster/main amd64 cpp-8 amd64 8.3.0-6 [8,914 kB]
Get:18 http://deb.debian.org/debian buster/main amd64 cpp amd64 4:8.3.0-1 [19.4 kB]
Get:19 http://deb.debian.org/debian buster/main amd64 libcc1-0 amd64 8.3.0-6 [46.6 kB]
Get:20 http://deb.debian.org/debian buster/main amd64 libgomp1 amd64 8.3.0-6 [75.8 kB]
Get:21 http://deb.debian.org/debian buster/main amd64 libitm1 amd64 8.3.0-6 [27.7 kB]
Get:22 http://deb.debian.org/debian buster/main amd64 libatomic1 amd64 8.3.0-6 [9,032 B]
Get:23 http://deb.debian.org/debian buster/main amd64 libasan5 amd64 8.3.0-6 [362 kB]
Get:24 http://deb.debian.org/debian buster/main amd64 liblsan0 amd64 8.3.0-6 [131 kB]
Get:25 http://deb.debian.org/debian buster/main amd64 libtsan0 amd64 8.3.0-6 [283 kB]
Get:26 http://deb.debian.org/debian buster/main amd64 libubsan1 amd64 8.3.0-6 [120 kB]
Get:27 http://deb.debian.org/debian buster/main amd64 libmpx2 amd64 8.3.0-6 [11.4 kB]
Get:28 http://deb.debian.org/debian buster/main amd64 libquadmath0 amd64 8.3.0-6 [133 kB]
Get:29 http://deb.debian.org/debian buster/main amd64 libgcc-8-dev amd64 8.3.0-6 [2,298 kB]
Get:30 http://deb.debian.org/debian buster/main amd64 gcc-8 amd64 8.3.0-6 [9,452 kB]
Get:31 http://deb.debian.org/debian buster/main amd64 gcc amd64 4:8.3.0-1 [5,196 B]
Get:32 http://deb.debian.org/debian buster/main amd64 libc-dev-bin amd64 2.28-10 [275 kB]
Get:33 http://deb.debian.org/debian buster/main amd64 libc6-dev amd64 2.28-10 [2,691 kB]
Get:34 http://deb.debian.org/debian buster/main amd64 make amd64 4.2.1-1.2 [341 kB]
Get:35 http://deb.debian.org/debian buster/main amd64 manpages-dev all 4.16-2 [2,232 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
Fetched 41.7 MB in 1s (39.8 MB/s)
Selecting previously unselected package manpages.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 29934 files and directories currently installed.)
Preparing to unpack .../00-manpages_4.16-2_all.deb ...
Unpacking manpages (4.16-2) ...
Selecting previously unselected package binutils-common:amd64.
Preparing to unpack .../01-binutils-common_2.31.1-16_amd64.deb ...
Unpacking binutils-common:amd64 (2.31.1-16) ...
Selecting previously unselected package libbinutils:amd64.
Preparing to unpack .../02-libbinutils_2.31.1-16_amd64.deb ...
Unpacking libbinutils:amd64 (2.31.1-16) ...
Selecting previously unselected package binutils-x86-64-linux-gnu.
Preparing to unpack .../03-binutils-x86-64-linux-gnu_2.31.1-16_amd64.deb ...
Unpacking binutils-x86-64-linux-gnu (2.31.1-16) ...
Selecting previously unselected package binutils.
Preparing to unpack .../04-binutils_2.31.1-16_amd64.deb ...
Unpacking binutils (2.31.1-16) ...
Selecting previously unselected package cmake-data.
Preparing to unpack .../05-cmake-data_3.13.4-1_all.deb ...
Unpacking cmake-data (3.13.4-1) ...
Selecting previously unselected package libarchive13:amd64.
Preparing to unpack .../06-libarchive13_3.3.3-4+deb10u1_amd64.deb ...
Unpacking libarchive13:amd64 (3.3.3-4+deb10u1) ...
Selecting previously unselected package libcurl4:amd64.
Preparing to unpack .../07-libcurl4_7.64.0-4_amd64.deb ...
Unpacking libcurl4:amd64 (7.64.0-4) ...
Selecting previously unselected package libjsoncpp1:amd64.
Preparing to unpack .../08-libjsoncpp1_1.7.4-3_amd64.deb ...
Unpacking libjsoncpp1:amd64 (1.7.4-3) ...
Selecting previously unselected package librhash0:amd64.
Preparing to unpack .../09-librhash0_1.3.8-1_amd64.deb ...
Unpacking librhash0:amd64 (1.3.8-1) ...
Selecting previously unselected package libuv1:amd64.
Preparing to unpack .../10-libuv1_1.24.1-1_amd64.deb ...
Unpacking libuv1:amd64 (1.24.1-1) ...
Selecting previously unselected package cmake.
Preparing to unpack .../11-cmake_3.13.4-1_amd64.deb ...
Unpacking cmake (3.13.4-1) ...
Selecting previously unselected package libisl19:amd64.
Preparing to unpack .../12-libisl19_0.20-2_amd64.deb ...
Unpacking libisl19:amd64 (0.20-2) ...
Selecting previously unselected package libmpfr6:amd64.
Preparing to unpack .../13-libmpfr6_4.0.2-1_amd64.deb ...
Unpacking libmpfr6:amd64 (4.0.2-1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../14-libmpc3_1.1.0-1_amd64.deb ...
Unpacking libmpc3:amd64 (1.1.0-1) ...
Selecting previously unselected package cpp-8.
Preparing to unpack .../15-cpp-8_8.3.0-6_amd64.deb ...
Unpacking cpp-8 (8.3.0-6) ...
Selecting previously unselected package cpp.
Preparing to unpack .../16-cpp_4%3a8.3.0-1_amd64.deb ...
Unpacking cpp (4:8.3.0-1) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../17-libcc1-0_8.3.0-6_amd64.deb ...
Unpacking libcc1-0:amd64 (8.3.0-6) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../18-libgomp1_8.3.0-6_amd64.deb ...
Unpacking libgomp1:amd64 (8.3.0-6) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../19-libitm1_8.3.0-6_amd64.deb ...
Unpacking libitm1:amd64 (8.3.0-6) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../20-libatomic1_8.3.0-6_amd64.deb ...
Unpacking libatomic1:amd64 (8.3.0-6) ...
Selecting previously unselected package libasan5:amd64.
Preparing to unpack .../21-libasan5_8.3.0-6_amd64.deb ...
Unpacking libasan5:amd64 (8.3.0-6) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../22-liblsan0_8.3.0-6_amd64.deb ...
Unpacking liblsan0:amd64 (8.3.0-6) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../23-libtsan0_8.3.0-6_amd64.deb ...
Unpacking libtsan0:amd64 (8.3.0-6) ...
Selecting previously unselected package libubsan1:amd64.
Preparing to unpack .../24-libubsan1_8.3.0-6_amd64.deb ...
Unpacking libubsan1:amd64 (8.3.0-6) ...
Selecting previously unselected package libmpx2:amd64.
Preparing to unpack .../25-libmpx2_8.3.0-6_amd64.deb ...
Unpacking libmpx2:amd64 (8.3.0-6) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../26-libquadmath0_8.3.0-6_amd64.deb ...
Unpacking libquadmath0:amd64 (8.3.0-6) ...
Selecting previously unselected package libgcc-8-dev:amd64.
Preparing to unpack .../27-libgcc-8-dev_8.3.0-6_amd64.deb ...
Unpacking libgcc-8-dev:amd64 (8.3.0-6) ...
Selecting previously unselected package gcc-8.
Preparing to unpack .../28-gcc-8_8.3.0-6_amd64.deb ...
Unpacking gcc-8 (8.3.0-6) ...
Selecting previously unselected package gcc.
Preparing to unpack .../29-gcc_4%3a8.3.0-1_amd64.deb ...
Unpacking gcc (4:8.3.0-1) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../30-libc-dev-bin_2.28-10_amd64.deb ...
Unpacking libc-dev-bin (2.28-10) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../31-linux-libc-dev_4.19.67-2+deb10u1_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.19.67-2+deb10u1) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../32-libc6-dev_2.28-10_amd64.deb ...
Unpacking libc6-dev:amd64 (2.28-10) ...
Selecting previously unselected package make.
Preparing to unpack .../33-make_4.2.1-1.2_amd64.deb ...
Unpacking make (4.2.1-1.2) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../34-manpages-dev_4.16-2_all.deb ...
Unpacking manpages-dev (4.16-2) ...
Setting up libarchive13:amd64 (3.3.3-4+deb10u1) ...
Setting up manpages (4.16-2) ...
Setting up binutils-common:amd64 (2.31.1-16) ...
Setting up linux-libc-dev:amd64 (4.19.67-2+deb10u1) ...
Setting up libgomp1:amd64 (8.3.0-6) ...
Setting up libasan5:amd64 (8.3.0-6) ...
Setting up libuv1:amd64 (1.24.1-1) ...
Setting up make (4.2.1-1.2) ...
Setting up libmpfr6:amd64 (4.0.2-1) ...
Setting up libquadmath0:amd64 (8.3.0-6) ...
Setting up libmpc3:amd64 (1.1.0-1) ...
Setting up libatomic1:amd64 (8.3.0-6) ...
Setting up libmpx2:amd64 (8.3.0-6) ...
Setting up libubsan1:amd64 (8.3.0-6) ...
Setting up libisl19:amd64 (0.20-2) ...
Setting up librhash0:amd64 (1.3.8-1) ...
Setting up libcurl4:amd64 (7.64.0-4) ...
Setting up cmake-data (3.13.4-1) ...
Setting up libbinutils:amd64 (2.31.1-16) ...
Setting up cpp-8 (8.3.0-6) ...
Setting up libc-dev-bin (2.28-10) ...
Setting up libcc1-0:amd64 (8.3.0-6) ...
Setting up liblsan0:amd64 (8.3.0-6) ...
Setting up libitm1:amd64 (8.3.0-6) ...
Setting up libjsoncpp1:amd64 (1.7.4-3) ...
Setting up binutils-x86-64-linux-gnu (2.31.1-16) ...
Setting up libtsan0:amd64 (8.3.0-6) ...
Setting up manpages-dev (4.16-2) ...
Setting up binutils (2.31.1-16) ...
Setting up libgcc-8-dev:amd64 (8.3.0-6) ...
Setting up cpp (4:8.3.0-1) ...
Setting up cmake (3.13.4-1) ...
Setting up libc6-dev:amd64 (2.28-10) ...
Setting up gcc-8 (8.3.0-6) ...
Setting up gcc (4:8.3.0-1) ...
Processing triggers for libc-bin (2.28-10) ...


$ cd ixy && mkdir build


$ cd ixy && cd build && cmake ..
-- The C compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/debian/ixy/build


$ cd ixy && cd build && make
Scanning dependencies of target ixy-vfio
[  3%] Building C object CMakeFiles/ixy-vfio.dir/src/libixy-vfio.c.o
[  6%] Linking C shared library libixy-vfio.so
[  6%] Built target ixy-vfio
Scanning dependencies of target ixy-pcap
[  9%] Building C object CMakeFiles/ixy-pcap.dir/src/app/ixy-pcap.c.o
[ 12%] Building C object CMakeFiles/ixy-pcap.dir/src/pci.c.o
[ 15%] Building C object CMakeFiles/ixy-pcap.dir/src/memory.c.o
[ 18%] Building C object CMakeFiles/ixy-pcap.dir/src/stats.c.o
[ 21%] Building C object CMakeFiles/ixy-pcap.dir/src/interrupts.c.o
[ 25%] Building C object CMakeFiles/ixy-pcap.dir/src/driver/device.c.o
[ 28%] Building C object CMakeFiles/ixy-pcap.dir/src/driver/ixgbe.c.o
[ 31%] Building C object CMakeFiles/ixy-pcap.dir/src/driver/virtio.c.o
[ 34%] Building C object CMakeFiles/ixy-pcap.dir/src/libixy-vfio.c.o
[ 37%] Linking C executable ixy-pcap
[ 37%] Built target ixy-pcap
Scanning dependencies of target ixy-pktgen
[ 40%] Building C object CMakeFiles/ixy-pktgen.dir/src/app/ixy-pktgen.c.o
[ 43%] Building C object CMakeFiles/ixy-pktgen.dir/src/pci.c.o
[ 46%] Building C object CMakeFiles/ixy-pktgen.dir/src/memory.c.o
[ 50%] Building C object CMakeFiles/ixy-pktgen.dir/src/stats.c.o
[ 53%] Building C object CMakeFiles/ixy-pktgen.dir/src/interrupts.c.o
[ 56%] Building C object CMakeFiles/ixy-pktgen.dir/src/driver/device.c.o
[ 59%] Building C object CMakeFiles/ixy-pktgen.dir/src/driver/ixgbe.c.o
[ 62%] Building C object CMakeFiles/ixy-pktgen.dir/src/driver/virtio.c.o
[ 65%] Building C object CMakeFiles/ixy-pktgen.dir/src/libixy-vfio.c.o
[ 68%] Linking C executable ixy-pktgen
[ 68%] Built target ixy-pktgen
Scanning dependencies of target ixy-fwd
[ 71%] Building C object CMakeFiles/ixy-fwd.dir/src/app/ixy-fwd.c.o
[ 75%] Building C object CMakeFiles/ixy-fwd.dir/src/pci.c.o
[ 78%] Building C object CMakeFiles/ixy-fwd.dir/src/memory.c.o
[ 81%] Building C object CMakeFiles/ixy-fwd.dir/src/stats.c.o
[ 84%] Building C object CMakeFiles/ixy-fwd.dir/src/interrupts.c.o
[ 87%] Building C object CMakeFiles/ixy-fwd.dir/src/driver/device.c.o
[ 90%] Building C object CMakeFiles/ixy-fwd.dir/src/driver/ixgbe.c.o
[ 93%] Building C object CMakeFiles/ixy-fwd.dir/src/driver/virtio.c.o
[ 96%] Building C object CMakeFiles/ixy-fwd.dir/src/libixy-vfio.c.o
[100%] Linking C executable ixy-fwd
[100%] Built target ixy-fwd


$ cd ixy && sudo ./setup-hugetlbfs.sh


$ sudo mv runner /usr/bin/runner


$ sudo build/ixy-pktgen $PCI_ADDR_PKTGEN
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/pci.c:57 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:06.0/config
[DEBUG] /home/debian/ixy/src/pci.c:57 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:06.0/config
[DEBUG] /home/debian/ixy/src/pci.c:57 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:06.0/resource0
[DEBUG] /home/debian/ixy/src/driver/virtio.c:277 virtio_legacy_init(): Configuring bar0
[DEBUG] /home/debian/ixy/src/driver/virtio.c:286 virtio_legacy_init(): Host features: 79ffffef
[DEBUG] /home/debian/ixy/src/driver/virtio.c:296 virtio_legacy_init(): Guest features before negotiation: 0
[DEBUG] /home/debian/ixy/src/driver/virtio.c:298 virtio_legacy_init(): Guest features after negotiation: 8060003
[DEBUG] /home/debian/ixy/src/driver/virtio.c:231 virtio_legacy_setup_rx_queue(): Max queue size of rx queue #0: 256
[DEBUG] /home/debian/ixy/src/driver/virtio.c:236 virtio_legacy_setup_rx_queue(): Notifcation offset 65535
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:240 virtio_legacy_setup_rx_queue(): Allocated 10244 bytes for virt queue at 0x7f3512c00000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:246 virtio_legacy_setup_rx_queue(): vring desc: 0x7f3512c00000, vring avail: 0x7f3512c01000, vring used: 0x7f3512c02000
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:57 virtio_legacy_setup_tx_queue(): Max queue size of tx queue #1: 256
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:64 virtio_legacy_setup_tx_queue(): Allocated 10244 bytes for virt queue at 0x7f3512800000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:70 virtio_legacy_setup_tx_queue(): vring desc: 0x7f3512800000, vring avail: 0x7f3512801000, vring used: 0x7f3512802000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:86 virtio_legacy_setup_tx_queue(): vq notifcation offset 65535
[DEBUG] /home/debian/ixy/src/driver/virtio.c:57 virtio_legacy_setup_tx_queue(): Max queue size of tx queue #2: 64
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:64 virtio_legacy_setup_tx_queue(): Allocated 4612 bytes for virt queue at 0x7f3512600000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:70 virtio_legacy_setup_tx_queue(): vring desc: 0x7f3512600000, vring avail: 0x7f3512600400, vring used: 0x7f3512601000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:86 virtio_legacy_setup_tx_queue(): vq notifcation offset 65535
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:127 virtio_legacy_send_command(): Found free desc slot at 0 (64)
[DEBUG] /home/debian/ixy/src/driver/virtio.c:179 virtio_legacy_send_command(): e 0x7f351260100c: id 0 len 0
fwd logs
$ sudo apt update

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Get:1 http://security.debian.org buster/updates InRelease [39.1 kB]
Hit:2 http://deb.debian.org/debian buster InRelease
Get:3 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
Get:4 http://deb.debian.org/debian buster-backports InRelease [46.7 kB]
Get:5 http://security.debian.org buster/updates/main Sources [83.8 kB]
Get:6 http://security.debian.org buster/updates/main amd64 Packages [112 kB]
Get:7 http://security.debian.org buster/updates/main Translation-en [68.0 kB]
Get:8 http://deb.debian.org/debian buster-backports/main Sources [103 kB]
Get:9 http://deb.debian.org/debian buster-backports/main amd64 Packages [126 kB]
Get:10 http://deb.debian.org/debian buster-backports/main Translation-en [104 kB]
Fetched 732 kB in 1s (1,020 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
3 packages can be upgraded. Run 'apt list --upgradable' to see them.


$ sudo apt install -y git

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  git-man libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm6 libldap-2.4-2
  libldap-common libnghttp2-14 libperl5.28 librtmp1 libsasl2-2
  libsasl2-modules libsasl2-modules-db libssh2-1 patch perl perl-modules-5.28
Suggested packages:
  git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk
  gitweb git-cvs git-mediawiki git-svn libsasl2-modules-gssapi-mit
  | libsasl2-modules-gssapi-heimdal libsasl2-modules-ldap libsasl2-modules-otp
  libsasl2-modules-sql ed diffutils-doc perl-doc libterm-readline-gnu-perl
  | libterm-readline-perl-perl make libb-debug-perl liblocale-codes-perl
The following NEW packages will be installed:
  git git-man libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm6
  libldap-2.4-2 libldap-common libnghttp2-14 libperl5.28 librtmp1 libsasl2-2
  libsasl2-modules libsasl2-modules-db libssh2-1 patch perl perl-modules-5.28
0 upgraded, 18 newly installed, 0 to remove and 3 not upgraded.
Need to get 15.7 MB of archives.
After this operation, 87.7 MB of additional disk space will be used.
Get:1 http://deb.debian.org/debian buster/main amd64 perl-modules-5.28 all 5.28.1-6 [2,873 kB]
Get:2 http://security.debian.org buster/updates/main amd64 libnghttp2-14 amd64 1.36.0-2+deb10u1 [85.0 kB]
Get:3 http://deb.debian.org/debian buster/main amd64 libgdbm6 amd64 1.18.1-4 [64.7 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 libgdbm-compat4 amd64 1.18.1-4 [44.1 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 libperl5.28 amd64 5.28.1-6 [3,883 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 perl amd64 5.28.1-6 [204 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 libsasl2-modules-db amd64 2.1.27+dfsg-1 [69.0 kB]
Get:8 http://deb.debian.org/debian buster/main amd64 libsasl2-2 amd64 2.1.27+dfsg-1 [106 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 libldap-common all 2.4.47+dfsg-3+deb10u1 [89.6 kB]
Get:10 http://deb.debian.org/debian buster/main amd64 libldap-2.4-2 amd64 2.4.47+dfsg-3+deb10u1 [225 kB]
Get:11 http://deb.debian.org/debian buster/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2 [60.5 kB]
Get:12 http://deb.debian.org/debian buster/main amd64 libssh2-1 amd64 1.8.0-2.1 [140 kB]
Get:13 http://deb.debian.org/debian buster/main amd64 libcurl3-gnutls amd64 7.64.0-4 [329 kB]
Get:14 http://deb.debian.org/debian buster/main amd64 liberror-perl all 0.17027-2 [30.9 kB]
Get:15 http://deb.debian.org/debian buster/main amd64 git-man all 1:2.20.1-2 [1,619 kB]
Get:16 http://deb.debian.org/debian buster/main amd64 git amd64 1:2.20.1-2 [5,621 kB]
Get:17 http://deb.debian.org/debian buster/main amd64 libsasl2-modules amd64 2.1.27+dfsg-1 [104 kB]
Get:18 http://deb.debian.org/debian buster/main amd64 patch amd64 2.7.6-3+deb10u1 [126 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7, <> line 18.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
Fetched 15.7 MB in 0s (34.6 MB/s)
Selecting previously unselected package perl-modules-5.28.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 26960 files and directories currently installed.)
Preparing to unpack .../00-perl-modules-5.28_5.28.1-6_all.deb ...
Unpacking perl-modules-5.28 (5.28.1-6) ...
Selecting previously unselected package libgdbm6:amd64.
Preparing to unpack .../01-libgdbm6_1.18.1-4_amd64.deb ...
Unpacking libgdbm6:amd64 (1.18.1-4) ...
Selecting previously unselected package libgdbm-compat4:amd64.
Preparing to unpack .../02-libgdbm-compat4_1.18.1-4_amd64.deb ...
Unpacking libgdbm-compat4:amd64 (1.18.1-4) ...
Selecting previously unselected package libperl5.28:amd64.
Preparing to unpack .../03-libperl5.28_5.28.1-6_amd64.deb ...
Unpacking libperl5.28:amd64 (5.28.1-6) ...
Selecting previously unselected package perl.
Preparing to unpack .../04-perl_5.28.1-6_amd64.deb ...
Unpacking perl (5.28.1-6) ...
Selecting previously unselected package libsasl2-modules-db:amd64.
Preparing to unpack .../05-libsasl2-modules-db_2.1.27+dfsg-1_amd64.deb ...
Unpacking libsasl2-modules-db:amd64 (2.1.27+dfsg-1) ...
Selecting previously unselected package libsasl2-2:amd64.
Preparing to unpack .../06-libsasl2-2_2.1.27+dfsg-1_amd64.deb ...
Unpacking libsasl2-2:amd64 (2.1.27+dfsg-1) ...
Selecting previously unselected package libldap-common.
Preparing to unpack .../07-libldap-common_2.4.47+dfsg-3+deb10u1_all.deb ...
Unpacking libldap-common (2.4.47+dfsg-3+deb10u1) ...
Selecting previously unselected package libldap-2.4-2:amd64.
Preparing to unpack .../08-libldap-2.4-2_2.4.47+dfsg-3+deb10u1_amd64.deb ...
Unpacking libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u1) ...
Selecting previously unselected package libnghttp2-14:amd64.
Preparing to unpack .../09-libnghttp2-14_1.36.0-2+deb10u1_amd64.deb ...
Unpacking libnghttp2-14:amd64 (1.36.0-2+deb10u1) ...
Selecting previously unselected package librtmp1:amd64.
Preparing to unpack .../10-librtmp1_2.4+20151223.gitfa8646d.1-2_amd64.deb ...
Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2) ...
Selecting previously unselected package libssh2-1:amd64.
Preparing to unpack .../11-libssh2-1_1.8.0-2.1_amd64.deb ...
Unpacking libssh2-1:amd64 (1.8.0-2.1) ...
Selecting previously unselected package libcurl3-gnutls:amd64.
Preparing to unpack .../12-libcurl3-gnutls_7.64.0-4_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.64.0-4) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../13-liberror-perl_0.17027-2_all.deb ...
Unpacking liberror-perl (0.17027-2) ...
Selecting previously unselected package git-man.
Preparing to unpack .../14-git-man_1%3a2.20.1-2_all.deb ...
Unpacking git-man (1:2.20.1-2) ...
Selecting previously unselected package git.
Preparing to unpack .../15-git_1%3a2.20.1-2_amd64.deb ...
Unpacking git (1:2.20.1-2) ...
Selecting previously unselected package libsasl2-modules:amd64.
Preparing to unpack .../16-libsasl2-modules_2.1.27+dfsg-1_amd64.deb ...
Unpacking libsasl2-modules:amd64 (2.1.27+dfsg-1) ...
Selecting previously unselected package patch.
Preparing to unpack .../17-patch_2.7.6-3+deb10u1_amd64.deb ...
Unpacking patch (2.7.6-3+deb10u1) ...
Setting up perl-modules-5.28 (5.28.1-6) ...
Setting up libsasl2-modules:amd64 (2.1.27+dfsg-1) ...
Setting up libnghttp2-14:amd64 (1.36.0-2+deb10u1) ...
Setting up libldap-common (2.4.47+dfsg-3+deb10u1) ...
Setting up libsasl2-modules-db:amd64 (2.1.27+dfsg-1) ...
Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2) ...
Setting up patch (2.7.6-3+deb10u1) ...
Setting up libsasl2-2:amd64 (2.1.27+dfsg-1) ...
Setting up git-man (1:2.20.1-2) ...
Setting up libssh2-1:amd64 (1.8.0-2.1) ...
Setting up libgdbm6:amd64 (1.18.1-4) ...
Setting up libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u1) ...
Setting up libcurl3-gnutls:amd64 (7.64.0-4) ...
Setting up libgdbm-compat4:amd64 (1.18.1-4) ...
Setting up libperl5.28:amd64 (5.28.1-6) ...
Setting up perl (5.28.1-6) ...
Setting up liberror-perl (0.17027-2) ...
Setting up git (1:2.20.1-2) ...
Processing triggers for libc-bin (2.28-10) ...


$ git clone https://github.com/Bobo1239/ixy --branch ci --single-branch --recurse-submodules
Cloning into 'ixy'...


$ cd ixy && sudo apt-get install -y cmake gcc
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu cmake-data cpp cpp-8
  gcc-8 libarchive13 libasan5 libatomic1 libbinutils libc-dev-bin libc6-dev
  libcc1-0 libcurl4 libgcc-8-dev libgomp1 libisl19 libitm1 libjsoncpp1
  liblsan0 libmpc3 libmpfr6 libmpx2 libquadmath0 librhash0 libtsan0 libubsan1
  libuv1 linux-libc-dev make manpages manpages-dev
Suggested packages:
  binutils-doc cmake-doc ninja-build cpp-doc gcc-8-locales gcc-multilib
  autoconf automake libtool flex bison gdb gcc-doc gcc-8-multilib gcc-8-doc
  libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan5-dbg
  liblsan0-dbg libtsan0-dbg libubsan1-dbg libmpx2-dbg libquadmath0-dbg lrzip
  glibc-doc make-doc man-browser
The following NEW packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu cmake cmake-data cpp
  cpp-8 gcc gcc-8 libarchive13 libasan5 libatomic1 libbinutils libc-dev-bin
  libc6-dev libcc1-0 libcurl4 libgcc-8-dev libgomp1 libisl19 libitm1
  libjsoncpp1 liblsan0 libmpc3 libmpfr6 libmpx2 libquadmath0 librhash0
  libtsan0 libubsan1 libuv1 linux-libc-dev make manpages manpages-dev
0 upgraded, 35 newly installed, 0 to remove and 3 not upgraded.
Need to get 41.7 MB of archives.
After this operation, 164 MB of additional disk space will be used.
Get:1 http://security.debian.org buster/updates/main amd64 libarchive13 amd64 3.3.3-4+deb10u1 [313 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 manpages all 4.16-2 [1,295 kB]
Get:3 http://security.debian.org buster/updates/main amd64 linux-libc-dev amd64 4.19.67-2+deb10u1 [1,233 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 binutils-common amd64 2.31.1-16 [2,073 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 libbinutils amd64 2.31.1-16 [478 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 binutils-x86-64-linux-gnu amd64 2.31.1-16 [1,823 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 binutils amd64 2.31.1-16 [56.8 kB]
Get:8 http://deb.debian.org/debian buster/main amd64 cmake-data all 3.13.4-1 [1,476 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 libcurl4 amd64 7.64.0-4 [332 kB]
Get:10 http://deb.debian.org/debian buster/main amd64 libjsoncpp1 amd64 1.7.4-3 [75.6 kB]
Get:11 http://deb.debian.org/debian buster/main amd64 librhash0 amd64 1.3.8-1 [122 kB]
Get:12 http://deb.debian.org/debian buster/main amd64 libuv1 amd64 1.24.1-1 [110 kB]
Get:13 http://deb.debian.org/debian buster/main amd64 cmake amd64 3.13.4-1 [3,480 kB]
Get:14 http://deb.debian.org/debian buster/main amd64 libisl19 amd64 0.20-2 [587 kB]
Get:15 http://deb.debian.org/debian buster/main amd64 libmpfr6 amd64 4.0.2-1 [775 kB]
Get:16 http://deb.debian.org/debian buster/main amd64 libmpc3 amd64 1.1.0-1 [41.3 kB]
Get:17 http://deb.debian.org/debian buster/main amd64 cpp-8 amd64 8.3.0-6 [8,914 kB]
Get:18 http://deb.debian.org/debian buster/main amd64 cpp amd64 4:8.3.0-1 [19.4 kB]
Get:19 http://deb.debian.org/debian buster/main amd64 libcc1-0 amd64 8.3.0-6 [46.6 kB]
Get:20 http://deb.debian.org/debian buster/main amd64 libgomp1 amd64 8.3.0-6 [75.8 kB]
Get:21 http://deb.debian.org/debian buster/main amd64 libitm1 amd64 8.3.0-6 [27.7 kB]
Get:22 http://deb.debian.org/debian buster/main amd64 libatomic1 amd64 8.3.0-6 [9,032 B]
Get:23 http://deb.debian.org/debian buster/main amd64 libasan5 amd64 8.3.0-6 [362 kB]
Get:24 http://deb.debian.org/debian buster/main amd64 liblsan0 amd64 8.3.0-6 [131 kB]
Get:25 http://deb.debian.org/debian buster/main amd64 libtsan0 amd64 8.3.0-6 [283 kB]
Get:26 http://deb.debian.org/debian buster/main amd64 libubsan1 amd64 8.3.0-6 [120 kB]
Get:27 http://deb.debian.org/debian buster/main amd64 libmpx2 amd64 8.3.0-6 [11.4 kB]
Get:28 http://deb.debian.org/debian buster/main amd64 libquadmath0 amd64 8.3.0-6 [133 kB]
Get:29 http://deb.debian.org/debian buster/main amd64 libgcc-8-dev amd64 8.3.0-6 [2,298 kB]
Get:30 http://deb.debian.org/debian buster/main amd64 gcc-8 amd64 8.3.0-6 [9,452 kB]
Get:31 http://deb.debian.org/debian buster/main amd64 gcc amd64 4:8.3.0-1 [5,196 B]
Get:32 http://deb.debian.org/debian buster/main amd64 libc-dev-bin amd64 2.28-10 [275 kB]
Get:33 http://deb.debian.org/debian buster/main amd64 libc6-dev amd64 2.28-10 [2,691 kB]
Get:34 http://deb.debian.org/debian buster/main amd64 make amd64 4.2.1-1.2 [341 kB]
Get:35 http://deb.debian.org/debian buster/main amd64 manpages-dev all 4.16-2 [2,232 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
Fetched 41.7 MB in 1s (43.4 MB/s)
Selecting previously unselected package manpages.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 29934 files and directories currently installed.)
Preparing to unpack .../00-manpages_4.16-2_all.deb ...
Unpacking manpages (4.16-2) ...
Selecting previously unselected package binutils-common:amd64.
Preparing to unpack .../01-binutils-common_2.31.1-16_amd64.deb ...
Unpacking binutils-common:amd64 (2.31.1-16) ...
Selecting previously unselected package libbinutils:amd64.
Preparing to unpack .../02-libbinutils_2.31.1-16_amd64.deb ...
Unpacking libbinutils:amd64 (2.31.1-16) ...
Selecting previously unselected package binutils-x86-64-linux-gnu.
Preparing to unpack .../03-binutils-x86-64-linux-gnu_2.31.1-16_amd64.deb ...
Unpacking binutils-x86-64-linux-gnu (2.31.1-16) ...
Selecting previously unselected package binutils.
Preparing to unpack .../04-binutils_2.31.1-16_amd64.deb ...
Unpacking binutils (2.31.1-16) ...
Selecting previously unselected package cmake-data.
Preparing to unpack .../05-cmake-data_3.13.4-1_all.deb ...
Unpacking cmake-data (3.13.4-1) ...
Selecting previously unselected package libarchive13:amd64.
Preparing to unpack .../06-libarchive13_3.3.3-4+deb10u1_amd64.deb ...
Unpacking libarchive13:amd64 (3.3.3-4+deb10u1) ...
Selecting previously unselected package libcurl4:amd64.
Preparing to unpack .../07-libcurl4_7.64.0-4_amd64.deb ...
Unpacking libcurl4:amd64 (7.64.0-4) ...
Selecting previously unselected package libjsoncpp1:amd64.
Preparing to unpack .../08-libjsoncpp1_1.7.4-3_amd64.deb ...
Unpacking libjsoncpp1:amd64 (1.7.4-3) ...
Selecting previously unselected package librhash0:amd64.
Preparing to unpack .../09-librhash0_1.3.8-1_amd64.deb ...
Unpacking librhash0:amd64 (1.3.8-1) ...
Selecting previously unselected package libuv1:amd64.
Preparing to unpack .../10-libuv1_1.24.1-1_amd64.deb ...
Unpacking libuv1:amd64 (1.24.1-1) ...
Selecting previously unselected package cmake.
Preparing to unpack .../11-cmake_3.13.4-1_amd64.deb ...
Unpacking cmake (3.13.4-1) ...
Selecting previously unselected package libisl19:amd64.
Preparing to unpack .../12-libisl19_0.20-2_amd64.deb ...
Unpacking libisl19:amd64 (0.20-2) ...
Selecting previously unselected package libmpfr6:amd64.
Preparing to unpack .../13-libmpfr6_4.0.2-1_amd64.deb ...
Unpacking libmpfr6:amd64 (4.0.2-1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../14-libmpc3_1.1.0-1_amd64.deb ...
Unpacking libmpc3:amd64 (1.1.0-1) ...
Selecting previously unselected package cpp-8.
Preparing to unpack .../15-cpp-8_8.3.0-6_amd64.deb ...
Unpacking cpp-8 (8.3.0-6) ...
Selecting previously unselected package cpp.
Preparing to unpack .../16-cpp_4%3a8.3.0-1_amd64.deb ...
Unpacking cpp (4:8.3.0-1) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../17-libcc1-0_8.3.0-6_amd64.deb ...
Unpacking libcc1-0:amd64 (8.3.0-6) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../18-libgomp1_8.3.0-6_amd64.deb ...
Unpacking libgomp1:amd64 (8.3.0-6) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../19-libitm1_8.3.0-6_amd64.deb ...
Unpacking libitm1:amd64 (8.3.0-6) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../20-libatomic1_8.3.0-6_amd64.deb ...
Unpacking libatomic1:amd64 (8.3.0-6) ...
Selecting previously unselected package libasan5:amd64.
Preparing to unpack .../21-libasan5_8.3.0-6_amd64.deb ...
Unpacking libasan5:amd64 (8.3.0-6) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../22-liblsan0_8.3.0-6_amd64.deb ...
Unpacking liblsan0:amd64 (8.3.0-6) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../23-libtsan0_8.3.0-6_amd64.deb ...
Unpacking libtsan0:amd64 (8.3.0-6) ...
Selecting previously unselected package libubsan1:amd64.
Preparing to unpack .../24-libubsan1_8.3.0-6_amd64.deb ...
Unpacking libubsan1:amd64 (8.3.0-6) ...
Selecting previously unselected package libmpx2:amd64.
Preparing to unpack .../25-libmpx2_8.3.0-6_amd64.deb ...
Unpacking libmpx2:amd64 (8.3.0-6) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../26-libquadmath0_8.3.0-6_amd64.deb ...
Unpacking libquadmath0:amd64 (8.3.0-6) ...
Selecting previously unselected package libgcc-8-dev:amd64.
Preparing to unpack .../27-libgcc-8-dev_8.3.0-6_amd64.deb ...
Unpacking libgcc-8-dev:amd64 (8.3.0-6) ...
Selecting previously unselected package gcc-8.
Preparing to unpack .../28-gcc-8_8.3.0-6_amd64.deb ...
Unpacking gcc-8 (8.3.0-6) ...
Selecting previously unselected package gcc.
Preparing to unpack .../29-gcc_4%3a8.3.0-1_amd64.deb ...
Unpacking gcc (4:8.3.0-1) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../30-libc-dev-bin_2.28-10_amd64.deb ...
Unpacking libc-dev-bin (2.28-10) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../31-linux-libc-dev_4.19.67-2+deb10u1_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.19.67-2+deb10u1) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../32-libc6-dev_2.28-10_amd64.deb ...
Unpacking libc6-dev:amd64 (2.28-10) ...
Selecting previously unselected package make.
Preparing to unpack .../33-make_4.2.1-1.2_amd64.deb ...
Unpacking make (4.2.1-1.2) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../34-manpages-dev_4.16-2_all.deb ...
Unpacking manpages-dev (4.16-2) ...
Setting up libarchive13:amd64 (3.3.3-4+deb10u1) ...
Setting up manpages (4.16-2) ...
Setting up binutils-common:amd64 (2.31.1-16) ...
Setting up linux-libc-dev:amd64 (4.19.67-2+deb10u1) ...
Setting up libgomp1:amd64 (8.3.0-6) ...
Setting up libasan5:amd64 (8.3.0-6) ...
Setting up libuv1:amd64 (1.24.1-1) ...
Setting up make (4.2.1-1.2) ...
Setting up libmpfr6:amd64 (4.0.2-1) ...
Setting up libquadmath0:amd64 (8.3.0-6) ...
Setting up libmpc3:amd64 (1.1.0-1) ...
Setting up libatomic1:amd64 (8.3.0-6) ...
Setting up libmpx2:amd64 (8.3.0-6) ...
Setting up libubsan1:amd64 (8.3.0-6) ...
Setting up libisl19:amd64 (0.20-2) ...
Setting up librhash0:amd64 (1.3.8-1) ...
Setting up libcurl4:amd64 (7.64.0-4) ...
Setting up cmake-data (3.13.4-1) ...
Setting up libbinutils:amd64 (2.31.1-16) ...
Setting up cpp-8 (8.3.0-6) ...
Setting up libc-dev-bin (2.28-10) ...
Setting up libcc1-0:amd64 (8.3.0-6) ...
Setting up liblsan0:amd64 (8.3.0-6) ...
Setting up libitm1:amd64 (8.3.0-6) ...
Setting up libjsoncpp1:amd64 (1.7.4-3) ...
Setting up binutils-x86-64-linux-gnu (2.31.1-16) ...
Setting up libtsan0:amd64 (8.3.0-6) ...
Setting up manpages-dev (4.16-2) ...
Setting up binutils (2.31.1-16) ...
Setting up libgcc-8-dev:amd64 (8.3.0-6) ...
Setting up cpp (4:8.3.0-1) ...
Setting up cmake (3.13.4-1) ...
Setting up libc6-dev:amd64 (2.28-10) ...
Setting up gcc-8 (8.3.0-6) ...
Setting up gcc (4:8.3.0-1) ...
Processing triggers for libc-bin (2.28-10) ...


$ cd ixy && mkdir build


$ cd ixy && cd build && cmake ..
-- The C compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/debian/ixy/build


$ cd ixy && cd build && make
Scanning dependencies of target ixy-vfio
[  3%] Building C object CMakeFiles/ixy-vfio.dir/src/libixy-vfio.c.o
[  6%] Linking C shared library libixy-vfio.so
[  6%] Built target ixy-vfio
Scanning dependencies of target ixy-pcap
[  9%] Building C object CMakeFiles/ixy-pcap.dir/src/app/ixy-pcap.c.o
[ 12%] Building C object CMakeFiles/ixy-pcap.dir/src/pci.c.o
[ 15%] Building C object CMakeFiles/ixy-pcap.dir/src/memory.c.o
[ 18%] Building C object CMakeFiles/ixy-pcap.dir/src/stats.c.o
[ 21%] Building C object CMakeFiles/ixy-pcap.dir/src/interrupts.c.o
[ 25%] Building C object CMakeFiles/ixy-pcap.dir/src/driver/device.c.o
[ 28%] Building C object CMakeFiles/ixy-pcap.dir/src/driver/ixgbe.c.o
[ 31%] Building C object CMakeFiles/ixy-pcap.dir/src/driver/virtio.c.o
[ 34%] Building C object CMakeFiles/ixy-pcap.dir/src/libixy-vfio.c.o
[ 37%] Linking C executable ixy-pcap
[ 37%] Built target ixy-pcap
Scanning dependencies of target ixy-pktgen
[ 40%] Building C object CMakeFiles/ixy-pktgen.dir/src/app/ixy-pktgen.c.o
[ 43%] Building C object CMakeFiles/ixy-pktgen.dir/src/pci.c.o
[ 46%] Building C object CMakeFiles/ixy-pktgen.dir/src/memory.c.o
[ 50%] Building C object CMakeFiles/ixy-pktgen.dir/src/stats.c.o
[ 53%] Building C object CMakeFiles/ixy-pktgen.dir/src/interrupts.c.o
[ 56%] Building C object CMakeFiles/ixy-pktgen.dir/src/driver/device.c.o
[ 59%] Building C object CMakeFiles/ixy-pktgen.dir/src/driver/ixgbe.c.o
[ 62%] Building C object CMakeFiles/ixy-pktgen.dir/src/driver/virtio.c.o
[ 65%] Building C object CMakeFiles/ixy-pktgen.dir/src/libixy-vfio.c.o
[ 68%] Linking C executable ixy-pktgen
[ 68%] Built target ixy-pktgen
Scanning dependencies of target ixy-fwd
[ 71%] Building C object CMakeFiles/ixy-fwd.dir/src/app/ixy-fwd.c.o
[ 75%] Building C object CMakeFiles/ixy-fwd.dir/src/pci.c.o
[ 78%] Building C object CMakeFiles/ixy-fwd.dir/src/memory.c.o
[ 81%] Building C object CMakeFiles/ixy-fwd.dir/src/stats.c.o
[ 84%] Building C object CMakeFiles/ixy-fwd.dir/src/interrupts.c.o
[ 87%] Building C object CMakeFiles/ixy-fwd.dir/src/driver/device.c.o
[ 90%] Building C object CMakeFiles/ixy-fwd.dir/src/driver/ixgbe.c.o
[ 93%] Building C object CMakeFiles/ixy-fwd.dir/src/driver/virtio.c.o
[ 96%] Building C object CMakeFiles/ixy-fwd.dir/src/libixy-vfio.c.o
[100%] Linking C executable ixy-fwd
[100%] Built target ixy-fwd


$ cd ixy && sudo ./setup-hugetlbfs.sh


$ sudo mv runner /usr/bin/runner


$ sudo build/ixy-fwd $PCI_ADDR_FWD_SRC $PCI_ADDR_FWD_DST
[DEBUG] /home/debian/ixy/src/pci.c:57 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:06.0/config
[DEBUG] /home/debian/ixy/src/pci.c:57 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:06.0/config
[DEBUG] /home/debian/ixy/src/pci.c:57 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:06.0/resource0
[DEBUG] /home/debian/ixy/src/driver/virtio.c:277 virtio_legacy_init(): Configuring bar0
[DEBUG] /home/debian/ixy/src/driver/virtio.c:286 virtio_legacy_init(): Host features: 79ffffef
[DEBUG] /home/debian/ixy/src/driver/virtio.c:296 virtio_legacy_init(): Guest features before negotiation: 0
[DEBUG] /home/debian/ixy/src/driver/virtio.c:298 virtio_legacy_init(): Guest features after negotiation: 8060003
[DEBUG] /home/debian/ixy/src/driver/virtio.c:231 virtio_legacy_setup_rx_queue(): Max queue size of rx queue #0: 256
[DEBUG] /home/debian/ixy/src/driver/virtio.c:236 virtio_legacy_setup_rx_queue(): Notifcation offset 65535
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:240 virtio_legacy_setup_rx_queue(): Allocated 10244 bytes for virt queue at 0x7f08b7600000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:246 virtio_legacy_setup_rx_queue(): vring desc: 0x7f08b7600000, vring avail: 0x7f08b7601000, vring used: 0x7f08b7602000
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:57 virtio_legacy_setup_tx_queue(): Max queue size of tx queue #1: 256
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:64 virtio_legacy_setup_tx_queue(): Allocated 10244 bytes for virt queue at 0x7f08b7200000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:70 virtio_legacy_setup_tx_queue(): vring desc: 0x7f08b7200000, vring avail: 0x7f08b7201000, vring used: 0x7f08b7202000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:86 virtio_legacy_setup_tx_queue(): vq notifcation offset 65535
[DEBUG] /home/debian/ixy/src/driver/virtio.c:57 virtio_legacy_setup_tx_queue(): Max queue size of tx queue #2: 64
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:64 virtio_legacy_setup_tx_queue(): Allocated 4612 bytes for virt queue at 0x7f08b7000000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:70 virtio_legacy_setup_tx_queue(): vring desc: 0x7f08b7000000, vring avail: 0x7f08b7000400, vring used: 0x7f08b7001000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:86 virtio_legacy_setup_tx_queue(): vq notifcation offset 65535
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:127 virtio_legacy_send_command(): Found free desc slot at 0 (64)
[DEBUG] /home/debian/ixy/src/driver/virtio.c:179 virtio_legacy_send_command(): e 0x7f08b700100c: id 0 len 0
[DEBUG] /home/debian/ixy/src/pci.c:57 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:07.0/config
[DEBUG] /home/debian/ixy/src/pci.c:57 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:07.0/config
[DEBUG] /home/debian/ixy/src/pci.c:57 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:07.0/resource0
[DEBUG] /home/debian/ixy/src/driver/virtio.c:277 virtio_legacy_init(): Configuring bar0
[DEBUG] /home/debian/ixy/src/driver/virtio.c:286 virtio_legacy_init(): Host features: 79ffffef
[DEBUG] /home/debian/ixy/src/driver/virtio.c:296 virtio_legacy_init(): Guest features before negotiation: 0
[DEBUG] /home/debian/ixy/src/driver/virtio.c:298 virtio_legacy_init(): Guest features after negotiation: 8060003
[DEBUG] /home/debian/ixy/src/driver/virtio.c:231 virtio_legacy_setup_rx_queue(): Max queue size of rx queue #0: 256
[DEBUG] /home/debian/ixy/src/driver/virtio.c:236 virtio_legacy_setup_rx_queue(): Notifcation offset 65535
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:240 virtio_legacy_setup_rx_queue(): Allocated 10244 bytes for virt queue at 0x7f08b6c00000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:246 virtio_legacy_setup_rx_queue(): vring desc: 0x7f08b6c00000, vring avail: 0x7f08b6c01000, vring used: 0x7f08b6c02000
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:57 virtio_legacy_setup_tx_queue(): Max queue size of tx queue #1: 256
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:64 virtio_legacy_setup_tx_queue(): Allocated 10244 bytes for virt queue at 0x7f08b6800000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:70 virtio_legacy_setup_tx_queue(): vring desc: 0x7f08b6800000, vring avail: 0x7f08b6801000, vring used: 0x7f08b6802000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:86 virtio_legacy_setup_tx_queue(): vq notifcation offset 65535
[DEBUG] /home/debian/ixy/src/driver/virtio.c:57 virtio_legacy_setup_tx_queue(): Max queue size of tx queue #2: 64
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:64 virtio_legacy_setup_tx_queue(): Allocated 4612 bytes for virt queue at 0x7f08b6600000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:70 virtio_legacy_setup_tx_queue(): vring desc: 0x7f08b6600000, vring avail: 0x7f08b6600400, vring used: 0x7f08b6601000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:86 virtio_legacy_setup_tx_queue(): vq notifcation offset 65535
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:127 virtio_legacy_send_command(): Found free desc slot at 0 (64)
[DEBUG] /home/debian/ixy/src/driver/virtio.c:179 virtio_legacy_send_command(): e 0x7f08b660100c: id 0 len 0
pcap logs
$ sudo apt update

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Hit:1 http://deb.debian.org/debian buster InRelease
Get:2 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
Get:3 http://security.debian.org buster/updates InRelease [39.1 kB]
Get:4 http://deb.debian.org/debian buster-backports InRelease [46.7 kB]
Get:5 http://security.debian.org buster/updates/main Sources [83.8 kB]
Get:6 http://security.debian.org buster/updates/main amd64 Packages [112 kB]
Get:7 http://security.debian.org buster/updates/main Translation-en [68.0 kB]
Get:8 http://deb.debian.org/debian buster-backports/main Sources [103 kB]
Get:9 http://deb.debian.org/debian buster-backports/main amd64 Packages [126 kB]
Get:10 http://deb.debian.org/debian buster-backports/main Translation-en [104 kB]
Fetched 732 kB in 1s (968 kB/s)
Reading package lists...
Building dependency tree...
Reading state information...
3 packages can be upgraded. Run 'apt list --upgradable' to see them.


$ sudo apt install -y git

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  git-man libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm6 libldap-2.4-2
  libldap-common libnghttp2-14 libperl5.28 librtmp1 libsasl2-2
  libsasl2-modules libsasl2-modules-db libssh2-1 patch perl perl-modules-5.28
Suggested packages:
  git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk
  gitweb git-cvs git-mediawiki git-svn libsasl2-modules-gssapi-mit
  | libsasl2-modules-gssapi-heimdal libsasl2-modules-ldap libsasl2-modules-otp
  libsasl2-modules-sql ed diffutils-doc perl-doc libterm-readline-gnu-perl
  | libterm-readline-perl-perl make libb-debug-perl liblocale-codes-perl
The following NEW packages will be installed:
  git git-man libcurl3-gnutls liberror-perl libgdbm-compat4 libgdbm6
  libldap-2.4-2 libldap-common libnghttp2-14 libperl5.28 librtmp1 libsasl2-2
  libsasl2-modules libsasl2-modules-db libssh2-1 patch perl perl-modules-5.28
0 upgraded, 18 newly installed, 0 to remove and 3 not upgraded.
Need to get 15.7 MB of archives.
After this operation, 87.7 MB of additional disk space will be used.
Get:1 http://security.debian.org buster/updates/main amd64 libnghttp2-14 amd64 1.36.0-2+deb10u1 [85.0 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 perl-modules-5.28 all 5.28.1-6 [2,873 kB]
Get:3 http://deb.debian.org/debian buster/main amd64 libgdbm6 amd64 1.18.1-4 [64.7 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 libgdbm-compat4 amd64 1.18.1-4 [44.1 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 libperl5.28 amd64 5.28.1-6 [3,883 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 perl amd64 5.28.1-6 [204 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 libsasl2-modules-db amd64 2.1.27+dfsg-1 [69.0 kB]
Get:8 http://deb.debian.org/debian buster/main amd64 libsasl2-2 amd64 2.1.27+dfsg-1 [106 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 libldap-common all 2.4.47+dfsg-3+deb10u1 [89.6 kB]
Get:10 http://deb.debian.org/debian buster/main amd64 libldap-2.4-2 amd64 2.4.47+dfsg-3+deb10u1 [225 kB]
Get:11 http://deb.debian.org/debian buster/main amd64 librtmp1 amd64 2.4+20151223.gitfa8646d.1-2 [60.5 kB]
Get:12 http://deb.debian.org/debian buster/main amd64 libssh2-1 amd64 1.8.0-2.1 [140 kB]
Get:13 http://deb.debian.org/debian buster/main amd64 libcurl3-gnutls amd64 7.64.0-4 [329 kB]
Get:14 http://deb.debian.org/debian buster/main amd64 liberror-perl all 0.17027-2 [30.9 kB]
Get:15 http://deb.debian.org/debian buster/main amd64 git-man all 1:2.20.1-2 [1,619 kB]
Get:16 http://deb.debian.org/debian buster/main amd64 git amd64 1:2.20.1-2 [5,621 kB]
Get:17 http://deb.debian.org/debian buster/main amd64 libsasl2-modules amd64 2.1.27+dfsg-1 [104 kB]
Get:18 http://deb.debian.org/debian buster/main amd64 patch amd64 2.7.6-3+deb10u1 [126 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7, <> line 18.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
Fetched 15.7 MB in 0s (33.1 MB/s)
Selecting previously unselected package perl-modules-5.28.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 26960 files and directories currently installed.)
Preparing to unpack .../00-perl-modules-5.28_5.28.1-6_all.deb ...
Unpacking perl-modules-5.28 (5.28.1-6) ...
Selecting previously unselected package libgdbm6:amd64.
Preparing to unpack .../01-libgdbm6_1.18.1-4_amd64.deb ...
Unpacking libgdbm6:amd64 (1.18.1-4) ...
Selecting previously unselected package libgdbm-compat4:amd64.
Preparing to unpack .../02-libgdbm-compat4_1.18.1-4_amd64.deb ...
Unpacking libgdbm-compat4:amd64 (1.18.1-4) ...
Selecting previously unselected package libperl5.28:amd64.
Preparing to unpack .../03-libperl5.28_5.28.1-6_amd64.deb ...
Unpacking libperl5.28:amd64 (5.28.1-6) ...
Selecting previously unselected package perl.
Preparing to unpack .../04-perl_5.28.1-6_amd64.deb ...
Unpacking perl (5.28.1-6) ...
Selecting previously unselected package libsasl2-modules-db:amd64.
Preparing to unpack .../05-libsasl2-modules-db_2.1.27+dfsg-1_amd64.deb ...
Unpacking libsasl2-modules-db:amd64 (2.1.27+dfsg-1) ...
Selecting previously unselected package libsasl2-2:amd64.
Preparing to unpack .../06-libsasl2-2_2.1.27+dfsg-1_amd64.deb ...
Unpacking libsasl2-2:amd64 (2.1.27+dfsg-1) ...
Selecting previously unselected package libldap-common.
Preparing to unpack .../07-libldap-common_2.4.47+dfsg-3+deb10u1_all.deb ...
Unpacking libldap-common (2.4.47+dfsg-3+deb10u1) ...
Selecting previously unselected package libldap-2.4-2:amd64.
Preparing to unpack .../08-libldap-2.4-2_2.4.47+dfsg-3+deb10u1_amd64.deb ...
Unpacking libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u1) ...
Selecting previously unselected package libnghttp2-14:amd64.
Preparing to unpack .../09-libnghttp2-14_1.36.0-2+deb10u1_amd64.deb ...
Unpacking libnghttp2-14:amd64 (1.36.0-2+deb10u1) ...
Selecting previously unselected package librtmp1:amd64.
Preparing to unpack .../10-librtmp1_2.4+20151223.gitfa8646d.1-2_amd64.deb ...
Unpacking librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2) ...
Selecting previously unselected package libssh2-1:amd64.
Preparing to unpack .../11-libssh2-1_1.8.0-2.1_amd64.deb ...
Unpacking libssh2-1:amd64 (1.8.0-2.1) ...
Selecting previously unselected package libcurl3-gnutls:amd64.
Preparing to unpack .../12-libcurl3-gnutls_7.64.0-4_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.64.0-4) ...
Selecting previously unselected package liberror-perl.
Preparing to unpack .../13-liberror-perl_0.17027-2_all.deb ...
Unpacking liberror-perl (0.17027-2) ...
Selecting previously unselected package git-man.
Preparing to unpack .../14-git-man_1%3a2.20.1-2_all.deb ...
Unpacking git-man (1:2.20.1-2) ...
Selecting previously unselected package git.
Preparing to unpack .../15-git_1%3a2.20.1-2_amd64.deb ...
Unpacking git (1:2.20.1-2) ...
Selecting previously unselected package libsasl2-modules:amd64.
Preparing to unpack .../16-libsasl2-modules_2.1.27+dfsg-1_amd64.deb ...
Unpacking libsasl2-modules:amd64 (2.1.27+dfsg-1) ...
Selecting previously unselected package patch.
Preparing to unpack .../17-patch_2.7.6-3+deb10u1_amd64.deb ...
Unpacking patch (2.7.6-3+deb10u1) ...
Setting up perl-modules-5.28 (5.28.1-6) ...
Setting up libsasl2-modules:amd64 (2.1.27+dfsg-1) ...
Setting up libnghttp2-14:amd64 (1.36.0-2+deb10u1) ...
Setting up libldap-common (2.4.47+dfsg-3+deb10u1) ...
Setting up libsasl2-modules-db:amd64 (2.1.27+dfsg-1) ...
Setting up librtmp1:amd64 (2.4+20151223.gitfa8646d.1-2) ...
Setting up patch (2.7.6-3+deb10u1) ...
Setting up libsasl2-2:amd64 (2.1.27+dfsg-1) ...
Setting up git-man (1:2.20.1-2) ...
Setting up libssh2-1:amd64 (1.8.0-2.1) ...
Setting up libgdbm6:amd64 (1.18.1-4) ...
Setting up libldap-2.4-2:amd64 (2.4.47+dfsg-3+deb10u1) ...
Setting up libcurl3-gnutls:amd64 (7.64.0-4) ...
Setting up libgdbm-compat4:amd64 (1.18.1-4) ...
Setting up libperl5.28:amd64 (5.28.1-6) ...
Setting up perl (5.28.1-6) ...
Setting up liberror-perl (0.17027-2) ...
Setting up git (1:2.20.1-2) ...
Processing triggers for libc-bin (2.28-10) ...


$ git clone https://github.com/Bobo1239/ixy --branch ci --single-branch --recurse-submodules
Cloning into 'ixy'...


$ cd ixy && sudo apt-get install -y cmake gcc
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu cmake-data cpp cpp-8
  gcc-8 libarchive13 libasan5 libatomic1 libbinutils libc-dev-bin libc6-dev
  libcc1-0 libcurl4 libgcc-8-dev libgomp1 libisl19 libitm1 libjsoncpp1
  liblsan0 libmpc3 libmpfr6 libmpx2 libquadmath0 librhash0 libtsan0 libubsan1
  libuv1 linux-libc-dev make manpages manpages-dev
Suggested packages:
  binutils-doc cmake-doc ninja-build cpp-doc gcc-8-locales gcc-multilib
  autoconf automake libtool flex bison gdb gcc-doc gcc-8-multilib gcc-8-doc
  libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan5-dbg
  liblsan0-dbg libtsan0-dbg libubsan1-dbg libmpx2-dbg libquadmath0-dbg lrzip
  glibc-doc make-doc man-browser
The following NEW packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu cmake cmake-data cpp
  cpp-8 gcc gcc-8 libarchive13 libasan5 libatomic1 libbinutils libc-dev-bin
  libc6-dev libcc1-0 libcurl4 libgcc-8-dev libgomp1 libisl19 libitm1
  libjsoncpp1 liblsan0 libmpc3 libmpfr6 libmpx2 libquadmath0 librhash0
  libtsan0 libubsan1 libuv1 linux-libc-dev make manpages manpages-dev
0 upgraded, 35 newly installed, 0 to remove and 3 not upgraded.
Need to get 41.7 MB of archives.
After this operation, 164 MB of additional disk space will be used.
Get:1 http://security.debian.org buster/updates/main amd64 libarchive13 amd64 3.3.3-4+deb10u1 [313 kB]
Get:2 http://deb.debian.org/debian buster/main amd64 manpages all 4.16-2 [1,295 kB]
Get:3 http://security.debian.org buster/updates/main amd64 linux-libc-dev amd64 4.19.67-2+deb10u1 [1,233 kB]
Get:4 http://deb.debian.org/debian buster/main amd64 binutils-common amd64 2.31.1-16 [2,073 kB]
Get:5 http://deb.debian.org/debian buster/main amd64 libbinutils amd64 2.31.1-16 [478 kB]
Get:6 http://deb.debian.org/debian buster/main amd64 binutils-x86-64-linux-gnu amd64 2.31.1-16 [1,823 kB]
Get:7 http://deb.debian.org/debian buster/main amd64 binutils amd64 2.31.1-16 [56.8 kB]
Get:8 http://deb.debian.org/debian buster/main amd64 cmake-data all 3.13.4-1 [1,476 kB]
Get:9 http://deb.debian.org/debian buster/main amd64 libcurl4 amd64 7.64.0-4 [332 kB]
Get:10 http://deb.debian.org/debian buster/main amd64 libjsoncpp1 amd64 1.7.4-3 [75.6 kB]
Get:11 http://deb.debian.org/debian buster/main amd64 librhash0 amd64 1.3.8-1 [122 kB]
Get:12 http://deb.debian.org/debian buster/main amd64 libuv1 amd64 1.24.1-1 [110 kB]
Get:13 http://deb.debian.org/debian buster/main amd64 cmake amd64 3.13.4-1 [3,480 kB]
Get:14 http://deb.debian.org/debian buster/main amd64 libisl19 amd64 0.20-2 [587 kB]
Get:15 http://deb.debian.org/debian buster/main amd64 libmpfr6 amd64 4.0.2-1 [775 kB]
Get:16 http://deb.debian.org/debian buster/main amd64 libmpc3 amd64 1.1.0-1 [41.3 kB]
Get:17 http://deb.debian.org/debian buster/main amd64 cpp-8 amd64 8.3.0-6 [8,914 kB]
Get:18 http://deb.debian.org/debian buster/main amd64 cpp amd64 4:8.3.0-1 [19.4 kB]
Get:19 http://deb.debian.org/debian buster/main amd64 libcc1-0 amd64 8.3.0-6 [46.6 kB]
Get:20 http://deb.debian.org/debian buster/main amd64 libgomp1 amd64 8.3.0-6 [75.8 kB]
Get:21 http://deb.debian.org/debian buster/main amd64 libitm1 amd64 8.3.0-6 [27.7 kB]
Get:22 http://deb.debian.org/debian buster/main amd64 libatomic1 amd64 8.3.0-6 [9,032 B]
Get:23 http://deb.debian.org/debian buster/main amd64 libasan5 amd64 8.3.0-6 [362 kB]
Get:24 http://deb.debian.org/debian buster/main amd64 liblsan0 amd64 8.3.0-6 [131 kB]
Get:25 http://deb.debian.org/debian buster/main amd64 libtsan0 amd64 8.3.0-6 [283 kB]
Get:26 http://deb.debian.org/debian buster/main amd64 libubsan1 amd64 8.3.0-6 [120 kB]
Get:27 http://deb.debian.org/debian buster/main amd64 libmpx2 amd64 8.3.0-6 [11.4 kB]
Get:28 http://deb.debian.org/debian buster/main amd64 libquadmath0 amd64 8.3.0-6 [133 kB]
Get:29 http://deb.debian.org/debian buster/main amd64 libgcc-8-dev amd64 8.3.0-6 [2,298 kB]
Get:30 http://deb.debian.org/debian buster/main amd64 gcc-8 amd64 8.3.0-6 [9,452 kB]
Get:31 http://deb.debian.org/debian buster/main amd64 gcc amd64 4:8.3.0-1 [5,196 B]
Get:32 http://deb.debian.org/debian buster/main amd64 libc-dev-bin amd64 2.28-10 [275 kB]
Get:33 http://deb.debian.org/debian buster/main amd64 libc6-dev amd64 2.28-10 [2,691 kB]
Get:34 http://deb.debian.org/debian buster/main amd64 make amd64 4.2.1-1.2 [341 kB]
Get:35 http://deb.debian.org/debian buster/main amd64 manpages-dev all 4.16-2 [2,232 kB]
debconf: unable to initialize frontend: Dialog
debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin: 
Fetched 41.7 MB in 1s (44.2 MB/s)
Selecting previously unselected package manpages.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 29934 files and directories currently installed.)
Preparing to unpack .../00-manpages_4.16-2_all.deb ...
Unpacking manpages (4.16-2) ...
Selecting previously unselected package binutils-common:amd64.
Preparing to unpack .../01-binutils-common_2.31.1-16_amd64.deb ...
Unpacking binutils-common:amd64 (2.31.1-16) ...
Selecting previously unselected package libbinutils:amd64.
Preparing to unpack .../02-libbinutils_2.31.1-16_amd64.deb ...
Unpacking libbinutils:amd64 (2.31.1-16) ...
Selecting previously unselected package binutils-x86-64-linux-gnu.
Preparing to unpack .../03-binutils-x86-64-linux-gnu_2.31.1-16_amd64.deb ...
Unpacking binutils-x86-64-linux-gnu (2.31.1-16) ...
Selecting previously unselected package binutils.
Preparing to unpack .../04-binutils_2.31.1-16_amd64.deb ...
Unpacking binutils (2.31.1-16) ...
Selecting previously unselected package cmake-data.
Preparing to unpack .../05-cmake-data_3.13.4-1_all.deb ...
Unpacking cmake-data (3.13.4-1) ...
Selecting previously unselected package libarchive13:amd64.
Preparing to unpack .../06-libarchive13_3.3.3-4+deb10u1_amd64.deb ...
Unpacking libarchive13:amd64 (3.3.3-4+deb10u1) ...
Selecting previously unselected package libcurl4:amd64.
Preparing to unpack .../07-libcurl4_7.64.0-4_amd64.deb ...
Unpacking libcurl4:amd64 (7.64.0-4) ...
Selecting previously unselected package libjsoncpp1:amd64.
Preparing to unpack .../08-libjsoncpp1_1.7.4-3_amd64.deb ...
Unpacking libjsoncpp1:amd64 (1.7.4-3) ...
Selecting previously unselected package librhash0:amd64.
Preparing to unpack .../09-librhash0_1.3.8-1_amd64.deb ...
Unpacking librhash0:amd64 (1.3.8-1) ...
Selecting previously unselected package libuv1:amd64.
Preparing to unpack .../10-libuv1_1.24.1-1_amd64.deb ...
Unpacking libuv1:amd64 (1.24.1-1) ...
Selecting previously unselected package cmake.
Preparing to unpack .../11-cmake_3.13.4-1_amd64.deb ...
Unpacking cmake (3.13.4-1) ...
Selecting previously unselected package libisl19:amd64.
Preparing to unpack .../12-libisl19_0.20-2_amd64.deb ...
Unpacking libisl19:amd64 (0.20-2) ...
Selecting previously unselected package libmpfr6:amd64.
Preparing to unpack .../13-libmpfr6_4.0.2-1_amd64.deb ...
Unpacking libmpfr6:amd64 (4.0.2-1) ...
Selecting previously unselected package libmpc3:amd64.
Preparing to unpack .../14-libmpc3_1.1.0-1_amd64.deb ...
Unpacking libmpc3:amd64 (1.1.0-1) ...
Selecting previously unselected package cpp-8.
Preparing to unpack .../15-cpp-8_8.3.0-6_amd64.deb ...
Unpacking cpp-8 (8.3.0-6) ...
Selecting previously unselected package cpp.
Preparing to unpack .../16-cpp_4%3a8.3.0-1_amd64.deb ...
Unpacking cpp (4:8.3.0-1) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../17-libcc1-0_8.3.0-6_amd64.deb ...
Unpacking libcc1-0:amd64 (8.3.0-6) ...
Selecting previously unselected package libgomp1:amd64.
Preparing to unpack .../18-libgomp1_8.3.0-6_amd64.deb ...
Unpacking libgomp1:amd64 (8.3.0-6) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../19-libitm1_8.3.0-6_amd64.deb ...
Unpacking libitm1:amd64 (8.3.0-6) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../20-libatomic1_8.3.0-6_amd64.deb ...
Unpacking libatomic1:amd64 (8.3.0-6) ...
Selecting previously unselected package libasan5:amd64.
Preparing to unpack .../21-libasan5_8.3.0-6_amd64.deb ...
Unpacking libasan5:amd64 (8.3.0-6) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../22-liblsan0_8.3.0-6_amd64.deb ...
Unpacking liblsan0:amd64 (8.3.0-6) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../23-libtsan0_8.3.0-6_amd64.deb ...
Unpacking libtsan0:amd64 (8.3.0-6) ...
Selecting previously unselected package libubsan1:amd64.
Preparing to unpack .../24-libubsan1_8.3.0-6_amd64.deb ...
Unpacking libubsan1:amd64 (8.3.0-6) ...
Selecting previously unselected package libmpx2:amd64.
Preparing to unpack .../25-libmpx2_8.3.0-6_amd64.deb ...
Unpacking libmpx2:amd64 (8.3.0-6) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../26-libquadmath0_8.3.0-6_amd64.deb ...
Unpacking libquadmath0:amd64 (8.3.0-6) ...
Selecting previously unselected package libgcc-8-dev:amd64.
Preparing to unpack .../27-libgcc-8-dev_8.3.0-6_amd64.deb ...
Unpacking libgcc-8-dev:amd64 (8.3.0-6) ...
Selecting previously unselected package gcc-8.
Preparing to unpack .../28-gcc-8_8.3.0-6_amd64.deb ...
Unpacking gcc-8 (8.3.0-6) ...
Selecting previously unselected package gcc.
Preparing to unpack .../29-gcc_4%3a8.3.0-1_amd64.deb ...
Unpacking gcc (4:8.3.0-1) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../30-libc-dev-bin_2.28-10_amd64.deb ...
Unpacking libc-dev-bin (2.28-10) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../31-linux-libc-dev_4.19.67-2+deb10u1_amd64.deb ...
Unpacking linux-libc-dev:amd64 (4.19.67-2+deb10u1) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../32-libc6-dev_2.28-10_amd64.deb ...
Unpacking libc6-dev:amd64 (2.28-10) ...
Selecting previously unselected package make.
Preparing to unpack .../33-make_4.2.1-1.2_amd64.deb ...
Unpacking make (4.2.1-1.2) ...
Selecting previously unselected package manpages-dev.
Preparing to unpack .../34-manpages-dev_4.16-2_all.deb ...
Unpacking manpages-dev (4.16-2) ...
Setting up libarchive13:amd64 (3.3.3-4+deb10u1) ...
Setting up manpages (4.16-2) ...
Setting up binutils-common:amd64 (2.31.1-16) ...
Setting up linux-libc-dev:amd64 (4.19.67-2+deb10u1) ...
Setting up libgomp1:amd64 (8.3.0-6) ...
Setting up libasan5:amd64 (8.3.0-6) ...
Setting up libuv1:amd64 (1.24.1-1) ...
Setting up make (4.2.1-1.2) ...
Setting up libmpfr6:amd64 (4.0.2-1) ...
Setting up libquadmath0:amd64 (8.3.0-6) ...
Setting up libmpc3:amd64 (1.1.0-1) ...
Setting up libatomic1:amd64 (8.3.0-6) ...
Setting up libmpx2:amd64 (8.3.0-6) ...
Setting up libubsan1:amd64 (8.3.0-6) ...
Setting up libisl19:amd64 (0.20-2) ...
Setting up librhash0:amd64 (1.3.8-1) ...
Setting up libcurl4:amd64 (7.64.0-4) ...
Setting up cmake-data (3.13.4-1) ...
Setting up libbinutils:amd64 (2.31.1-16) ...
Setting up cpp-8 (8.3.0-6) ...
Setting up libc-dev-bin (2.28-10) ...
Setting up libcc1-0:amd64 (8.3.0-6) ...
Setting up liblsan0:amd64 (8.3.0-6) ...
Setting up libitm1:amd64 (8.3.0-6) ...
Setting up libjsoncpp1:amd64 (1.7.4-3) ...
Setting up binutils-x86-64-linux-gnu (2.31.1-16) ...
Setting up libtsan0:amd64 (8.3.0-6) ...
Setting up manpages-dev (4.16-2) ...
Setting up binutils (2.31.1-16) ...
Setting up libgcc-8-dev:amd64 (8.3.0-6) ...
Setting up cpp (4:8.3.0-1) ...
Setting up cmake (3.13.4-1) ...
Setting up libc6-dev:amd64 (2.28-10) ...
Setting up gcc-8 (8.3.0-6) ...
Setting up gcc (4:8.3.0-1) ...
Processing triggers for libc-bin (2.28-10) ...


$ cd ixy && mkdir build


$ cd ixy && cd build && cmake ..
-- The C compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/debian/ixy/build


$ cd ixy && cd build && make
Scanning dependencies of target ixy-vfio
[  3%] Building C object CMakeFiles/ixy-vfio.dir/src/libixy-vfio.c.o
[  6%] Linking C shared library libixy-vfio.so
[  6%] Built target ixy-vfio
Scanning dependencies of target ixy-pcap
[  9%] Building C object CMakeFiles/ixy-pcap.dir/src/app/ixy-pcap.c.o
[ 12%] Building C object CMakeFiles/ixy-pcap.dir/src/pci.c.o
[ 15%] Building C object CMakeFiles/ixy-pcap.dir/src/memory.c.o
[ 18%] Building C object CMakeFiles/ixy-pcap.dir/src/stats.c.o
[ 21%] Building C object CMakeFiles/ixy-pcap.dir/src/interrupts.c.o
[ 25%] Building C object CMakeFiles/ixy-pcap.dir/src/driver/device.c.o
[ 28%] Building C object CMakeFiles/ixy-pcap.dir/src/driver/ixgbe.c.o
[ 31%] Building C object CMakeFiles/ixy-pcap.dir/src/driver/virtio.c.o
[ 34%] Building C object CMakeFiles/ixy-pcap.dir/src/libixy-vfio.c.o
[ 37%] Linking C executable ixy-pcap
[ 37%] Built target ixy-pcap
Scanning dependencies of target ixy-pktgen
[ 40%] Building C object CMakeFiles/ixy-pktgen.dir/src/app/ixy-pktgen.c.o
[ 43%] Building C object CMakeFiles/ixy-pktgen.dir/src/pci.c.o
[ 46%] Building C object CMakeFiles/ixy-pktgen.dir/src/memory.c.o
[ 50%] Building C object CMakeFiles/ixy-pktgen.dir/src/stats.c.o
[ 53%] Building C object CMakeFiles/ixy-pktgen.dir/src/interrupts.c.o
[ 56%] Building C object CMakeFiles/ixy-pktgen.dir/src/driver/device.c.o
[ 59%] Building C object CMakeFiles/ixy-pktgen.dir/src/driver/ixgbe.c.o
[ 62%] Building C object CMakeFiles/ixy-pktgen.dir/src/driver/virtio.c.o
[ 65%] Building C object CMakeFiles/ixy-pktgen.dir/src/libixy-vfio.c.o
[ 68%] Linking C executable ixy-pktgen
[ 68%] Built target ixy-pktgen
Scanning dependencies of target ixy-fwd
[ 71%] Building C object CMakeFiles/ixy-fwd.dir/src/app/ixy-fwd.c.o
[ 75%] Building C object CMakeFiles/ixy-fwd.dir/src/pci.c.o
[ 78%] Building C object CMakeFiles/ixy-fwd.dir/src/memory.c.o
[ 81%] Building C object CMakeFiles/ixy-fwd.dir/src/stats.c.o
[ 84%] Building C object CMakeFiles/ixy-fwd.dir/src/interrupts.c.o
[ 87%] Building C object CMakeFiles/ixy-fwd.dir/src/driver/device.c.o
[ 90%] Building C object CMakeFiles/ixy-fwd.dir/src/driver/ixgbe.c.o
[ 93%] Building C object CMakeFiles/ixy-fwd.dir/src/driver/virtio.c.o
[ 96%] Building C object CMakeFiles/ixy-fwd.dir/src/libixy-vfio.c.o
[100%] Linking C executable ixy-fwd
[100%] Built target ixy-fwd


$ cd ixy && sudo ./setup-hugetlbfs.sh


$ sudo mv runner /usr/bin/runner


$ sudo build/ixy-pcap $PCI_ADDR_PCAP $PCAP_OUT $PCAP_N
[DEBUG] /home/debian/ixy/src/pci.c:57 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:06.0/config
[DEBUG] /home/debian/ixy/src/pci.c:57 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:06.0/config
[DEBUG] /home/debian/ixy/src/pci.c:57 pci_open_resource(): Opening PCI resource at /sys/bus/pci/devices/0000:00:06.0/resource0
[DEBUG] /home/debian/ixy/src/driver/virtio.c:277 virtio_legacy_init(): Configuring bar0
[DEBUG] /home/debian/ixy/src/driver/virtio.c:286 virtio_legacy_init(): Host features: 79ffffef
[DEBUG] /home/debian/ixy/src/driver/virtio.c:296 virtio_legacy_init(): Guest features before negotiation: 0
[DEBUG] /home/debian/ixy/src/driver/virtio.c:298 virtio_legacy_init(): Guest features after negotiation: 8060003
[DEBUG] /home/debian/ixy/src/driver/virtio.c:231 virtio_legacy_setup_rx_queue(): Max queue size of rx queue #0: 256
[DEBUG] /home/debian/ixy/src/driver/virtio.c:236 virtio_legacy_setup_rx_queue(): Notifcation offset 65535
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:240 virtio_legacy_setup_rx_queue(): Allocated 10244 bytes for virt queue at 0x7f43e7600000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:246 virtio_legacy_setup_rx_queue(): vring desc: 0x7f43e7600000, vring avail: 0x7f43e7601000, vring used: 0x7f43e7602000
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:57 virtio_legacy_setup_tx_queue(): Max queue size of tx queue #1: 256
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:64 virtio_legacy_setup_tx_queue(): Allocated 10244 bytes for virt queue at 0x7f43e7200000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:70 virtio_legacy_setup_tx_queue(): vring desc: 0x7f43e7200000, vring avail: 0x7f43e7201000, vring used: 0x7f43e7202000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:86 virtio_legacy_setup_tx_queue(): vq notifcation offset 65535
[DEBUG] /home/debian/ixy/src/driver/virtio.c:57 virtio_legacy_setup_tx_queue(): Max queue size of tx queue #2: 64
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:64 virtio_legacy_setup_tx_queue(): Allocated 4612 bytes for virt queue at 0x7f43e7000000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:70 virtio_legacy_setup_tx_queue(): vring desc: 0x7f43e7000000, vring avail: 0x7f43e7000400, vring used: 0x7f43e7001000
[DEBUG] /home/debian/ixy/src/driver/virtio.c:86 virtio_legacy_setup_tx_queue(): vq notifcation offset 65535
[DEBUG] /home/debian/ixy/src/memory.c:57 memory_allocate_dma(): allocating dma memory via huge page
[DEBUG] /home/debian/ixy/src/driver/virtio.c:127 virtio_legacy_send_command(): Found free desc slot at 0 (64)
[DEBUG] /home/debian/ixy/src/driver/virtio.c:179 virtio_legacy_send_command(): e 0x7f43e700100c: id 0 len 0
[INFO ] /home/debian/ixy/src/driver/virtio.c:360 virtio_init(): Detected virtio legacy network card
[INFO ] /home/debian/ixy/src/driver/virtio.c:307 virtio_legacy_init(): Setup complete
[INFO ] /home/debian/ixy/src/driver/virtio.c:205 virtio_legacy_set_promiscuous(): Set promisc to 1
Capturing 100000 packets...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants